mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 04:57:38 +00:00
feat(ble): support configurable rxbuf opt feat on ESP32-C6
(cherry picked from commit 5fbbec8655
)
Co-authored-by: cjin <jinchen@espressif.com>
This commit is contained in:
@@ -47,6 +47,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
|
||||
***************************************************************************
|
||||
@@ -143,6 +146,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user