feat(ble): support configurable rxbuf opt feat on ESP32-C5

This commit is contained in:
cjin
2025-04-14 11:35:45 +08:00
parent 5fbbec8655
commit a5c32a5fb7
2 changed files with 11 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ void adv_stack_enableScanReqRxdVsEvent(bool en);
void conn_stack_enableChanMapUpdCompVsEvent(bool en);
void sleep_stack_enableWakeupVsEvent(bool en);
#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
#if CONFIG_BT_LE_RXBUF_OPT_ENABLED
extern void mmgmt_enableRxbufOptFeature(void);
#endif // CONFIG_BT_LE_RXBUF_OPT_ENABLED
/* Local functions definition
***************************************************************************
@@ -137,6 +140,10 @@ int ble_stack_enable(void)
ble_stack_enableVsEvents(true);
#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
#if CONFIG_BT_LE_RXBUF_OPT_ENABLED
mmgmt_enableRxbufOptFeature();
#endif // CONFIG_BT_LE_RXBUF_OPT_ENABLED
return 0;
}