File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
components/bt/controller/esp32c6 Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -818,3 +818,7 @@ config BT_LE_CTRL_ADV_DATA_LENGTH_ZERO_AUX
818818 When this option is enabled, auxiliary packets will be present in the events of
819819 'Non-Connectable and Non-Scannable' regardless of whether the advertising length is 0.
820820 If this option is not enabled, auxiliary packets will only be present when the advertising length is not 0.
821+
822+ config BT_LE_RXBUF_OPT_ENABLED
823+ bool "Enable rxbuf optimization feature"
824+ default y
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ void adv_stack_enableScanReqRxdVsEvent(bool en);
4747void conn_stack_enableChanMapUpdCompVsEvent (bool en );
4848void sleep_stack_enableWakeupVsEvent (bool en );
4949#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
50+ #if CONFIG_BT_LE_RXBUF_OPT_ENABLED
51+ extern void mmgmt_enableRxbufOptFeature (void );
52+ #endif // CONFIG_BT_LE_RXBUF_OPT_ENABLED
5053
5154/* Local functions definition
5255 ***************************************************************************
@@ -143,6 +146,10 @@ int ble_stack_enable(void)
143146 ble_stack_enableVsEvents (true);
144147#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
145148
149+ #if CONFIG_BT_LE_RXBUF_OPT_ENABLED
150+ mmgmt_enableRxbufOptFeature ();
151+ #endif // CONFIG_BT_LE_RXBUF_OPT_ENABLED
152+
146153 return 0 ;
147154}
148155
You can’t perform that action at this time.
0 commit comments