From b4d2400818135d5b2e05e699d522dda96b734b1a Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:24:33 -0500 Subject: [PATCH] cleanup(l2c_api): name compression API params Rename SetCompression param_6 to config; RegisterCompression to p_callback/unused. Byte-identical; DOL sha1 unchanged. --- libs/RVL_SDK/include/private/bte/l2c_api.h | 2 +- libs/RVL_SDK/src/bte/l2c_api.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/RVL_SDK/include/private/bte/l2c_api.h b/libs/RVL_SDK/include/private/bte/l2c_api.h index 9e68e634..8318e6da 100644 --- a/libs/RVL_SDK/include/private/bte/l2c_api.h +++ b/libs/RVL_SDK/include/private/bte/l2c_api.h @@ -151,7 +151,7 @@ UINT8 L2CA_SetTraceLevel(UINT8 new_level); UINT8 L2CA_SetDesireRole(UINT8 new_role); BOOLEAN L2CA_SetAclPriority(BD_ADDR bd_addr, UINT8 priority); void L2CA_SetCompression(UINT16 local_cid, UINT8 pe_type, UINT8 mem_level, - UINT8 wbits, UINT8 direction, UINT8 param_6, + UINT8 wbits, UINT8 direction, UINT8 config, UINT8 enable); void L2CA_RegisterCompression(tL2CA_COMPRESS_CB *, signed); UINT8 L2CA_Flush(UINT16 cid); diff --git a/libs/RVL_SDK/src/bte/l2c_api.c b/libs/RVL_SDK/src/bte/l2c_api.c index 7035c691..5b21dacf 100644 --- a/libs/RVL_SDK/src/bte/l2c_api.c +++ b/libs/RVL_SDK/src/bte/l2c_api.c @@ -478,7 +478,7 @@ BOOLEAN L2CA_SetAclPriority(BD_ADDR bd_addr, UINT8 priority) } void L2CA_SetCompression(UINT16 local_cid, UINT8 pe_type, UINT8 mem_level, - UINT8 wbits, UINT8 direction, UINT8 param_6, + UINT8 wbits, UINT8 direction, UINT8 config, UINT8 enable) { tL2C_LCB *p_lcb; @@ -506,7 +506,7 @@ void L2CA_SetCompression(UINT16 local_cid, UINT8 pe_type, UINT8 mem_level, } } -void L2CA_RegisterCompression(tL2CA_COMPRESS_CB *param_1, int param_2) +void L2CA_RegisterCompression(tL2CA_COMPRESS_CB *p_callback, int unused) { #if 0 /* ... */ -- 2.49.1