Commit Graph

22187 Commits

Author SHA1 Message Date
Rahul Tank
b482d04fb6 fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:02:46 +05:30
Island
344e9ad593 Merge branch 'feat/put_bt_interface_code_to_rom_v5.1' into 'release/v5.1'
Feat/put bt interface code to rom (v5.1)

See merge request espressif/esp-idf!31551
2024-06-20 10:38:02 +08:00
Li Shuai
56526ffefa fix(wifi): fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1 2024-06-19 19:35:27 +08:00
LonerDan
cd7b8f2db1 fix(ulp-risc-v): Set RTC GPIO output mode in the correct register for ULP RISC-V
According to the ESP32-S2/S3 TRM, the output pin's mode is set in the RTC_GPIO_PINn_REG
by programming the RTC_GPIO_PINn_PAD_DRIVER bit. The current ULP RISC-V RTCIO driver
however, incorrectly programs the RTC_IO_TOUCH_PADn_REG register field RTC_IO_TOUCH_PADn_DRV.
This commit fixes the bug.
2024-06-19 09:02:23 +02:00
wuzhenghui
7ecc6ac029
fix(ci): use esp_rom_crc32_le in sleep retention frame check 2024-06-19 14:07:03 +08:00
xiongweichao
b63bcef8e0 fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-06-17 19:03:47 +08:00
xiongweichao
69729d4639 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-06-17 19:03:05 +08:00
xiongweichao
3eb54ad307 fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-06-17 19:03:05 +08:00
zwl
b01930a5c0 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-17 16:43:32 +08:00
zwl
7019204f20 feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-17 16:43:32 +08:00
Li Shuai
f5f020f6e7
fix(esp_hw_support): use iterator for regdma_link_stats to save stack consume
Closes https://github.com/espressif/esp-idf/issues/13288
2024-06-17 15:59:07 +08:00
Rahul Tank
58a9d0e27b Merge branch 'bugfix/fix_no_mem_coex_issue_v5.1' into 'release/v5.1'
fix(nimble): Added change to handle extra memory for ext adv reattempt (v5.1)

See merge request espressif/esp-idf!31502
2024-06-14 20:04:19 +08:00
Mohammad-Mohsen Aseman-Manzar
098a804f73 Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble
Related to 60354c39a9
2024-06-14 14:27:41 +05:30
Rahul Tank
d5c4973bd3 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:05:09 +05:30
Abhik Roy
4e2e2b2c53 fix(lwip): Fixed compilation error referencing undefined POSIX interface API
Closes https://github.com/espressif/esp-idf/issues/13577
2024-06-14 13:13:39 +10:00
Island
fe475fe87a Merge branch 'bugfix/fix_ble_evt_time_v5.1' into 'release/v5.1'
fix(ble/controller): Update esp32 bt-lib (1e63e23) (v5.1)

See merge request espressif/esp-idf!31483
2024-06-14 10:43:25 +08:00
Shu Chen
b0bece2812 Merge branch 'backport/shortened_uart_read_bytes_blocking_51' into 'release/v5.1'
fix(uart): remove unnecessary wait when sending message to ring buffer(backport5.1)

See merge request espressif/esp-idf!31382
2024-06-14 09:36:20 +08:00
linruihao
18cac360b9 fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 17:36:05 +08:00
zhanghaipeng
ae9a2fde60 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-13 16:41:06 +08:00
Island
e3c4c76b17 Merge branch 'bugfix/fix_ble_pktlen_change_v5.1' into 'release/v5.1'
Bugfix/fix ble pktlen change (v5.1)

See merge request espressif/esp-idf!31251
2024-06-13 11:03:41 +08:00
Jiang Jiang Jian
bfb7936851 Merge branch 'bugfix/fix_lp_half_world_access_v5.1' into 'release/v5.1'
fix(hal): fix LP timer / PMU LL half word access (v5.1)

See merge request espressif/esp-idf!31388
2024-06-12 17:04:58 +08:00
wuzhenghui
4c78de50f4
fix(hal): fix PMU LL half word and byte access 2024-06-07 14:18:24 +08:00
wuzhenghui
4d6793a44a
fix(hal): fix LP timer LL half word access 2024-06-07 14:18:22 +08:00
zwx
38bbc918c4 fix(uart): remove unnecessary wait when sending message to ring buffer 2024-06-07 11:45:40 +08:00
zhangyanjiao
4844b20f4c fix(wifi): do not send null data when scan start/done for mesh
Closes https://github.com/espressif/esp-idf/issues/13786
2024-06-06 19:10:28 +08:00
Shu Chen
a08c207e7f Merge branch 'backport/openthread_changes_51' into 'release/v5.1'
Backport some openthread related features (Backport v5.1)

See merge request espressif/esp-idf!31065
2024-06-06 16:56:27 +08:00
zwx
ff7a97b7f1 feat(openthread): update BR lib 2024-06-06 14:18:57 +08:00
Rahul Tank
d2f8b753fc Merge branch 'bugfix/ble_gap_unpair_error_code_v5.1' into 'release/v5.1'
fix(nimble): Added return code in ble_gap_unpair error logs (v5.1)

See merge request espressif/esp-idf!31309
2024-06-06 12:54:08 +08:00
Jiang Jiang Jian
7f1a2c3cc1 Merge branch 'fix/assert_in_bt_controller_v5.1' into 'release/v5.1'
fix(bt): fix some issues in bluetooth controller(backport v5.1)

See merge request espressif/esp-idf!31323
2024-06-06 12:02:43 +08:00
David Čermák
b2eeb41888 Merge branch 'update_mqtt_v5.1' into 'release/v5.1'
Update Mqtt client (v5.1)

See merge request espressif/esp-idf!30274
2024-06-05 15:47:37 +08:00
Xu Si Yu
f27797c49a fix(openthread): remove the empty task for openthread tasklets 2024-06-05 15:30:52 +08:00
zwx
ed00f6d94e fix(802.15.4): fixed ieee802154 will sleep when only pm enabled 2024-06-05 15:27:36 +08:00
zwx
e95771bde8 feat(802154): log buffer full message in debug mode only 2024-06-05 15:20:30 +08:00
zwx
ff60eefe0a fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length 2024-06-05 15:20:30 +08:00
Xu Si Yu
5abe7425d9 feat(openthread): update openthread br lib 2024-06-05 15:20:30 +08:00
zwx
f87f5a3f22 feat(openthread): remove the range for some configurations 2024-06-05 15:20:30 +08:00
Abhinav Kudnar
5694eb354f fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 12:10:41 +05:30
Island
76e28986ba Merge branch 'fix/idfgh-12762_v5.1' into 'release/v5.1'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v5.1)

See merge request espressif/esp-idf!30731
2024-06-05 10:44:02 +08:00
Island
445811d412 Merge branch 'optimize/bt_make_alarm_num_configurable_v5.1' into 'release/v5.1'
feat(ble_mesh): Make alarm number configurable (v5.1)

See merge request espressif/esp-idf!30789
2024-06-05 10:43:49 +08:00
gongyantao
2a98fba7fe fix(bt): fix some issues in bluetooth controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
3: fix role switch LMP collision bug
2024-06-05 09:11:57 +08:00
Wang Meng Yang
b36c954052 Merge branch 'feat/set_get_lpclk_src_v5.1' into 'release/v5.1'
feat(ble): Added API to get low power clock source(v5.1)

See merge request espressif/esp-idf!30108
2024-06-04 19:36:22 +08:00
Wang Meng Yang
50599a62f5 Merge branch 'bugfix/spp_crash_after_deint_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v5.1)

See merge request espressif/esp-idf!30081
2024-06-04 19:34:40 +08:00
luoxu
23c712ed13 fix(ble_mesh):Fixed a compatibility issue with the provisioner
Closes https://github.com/espressif/esp-idf/issues/13741
2024-06-04 16:50:12 +08:00
wangjialiang
410a02acf0 feat(ble_mesh): Make alarm number configurable 2024-06-04 16:36:10 +08:00
Euripedes Rocha
5814e2a5d5 change(mqtt): Update esp-mqtt submodule
git log --oneline e6afdb4025fe018ae0add44e3c45249ea1974774..aa6f889fb4f6f743b3a550aa587713aabbdca1fc

Detailed description of the changes:
* fix: regard reason codes greater than 0x80 as failures.
  - See merge request espressif/esp-mqtt!205
  - See commit https://github.com/espressif/esp-mqtt/commit/e7b9aa5
* PR: Return on allocation failure
  - See merge request espressif/esp-mqtt!204
  - set last_retransmit to now when first connected (espressif/esp-mqtt@c06f154)
  - add return to faile_message, avoid segment fault (espressif/esp-mqtt@37478a9)
* Minor warning of unused variable
  - See merge request espressif/esp-mqtt!203
  - fix: Minor warning of unused variable (espressif/esp-mqtt@726e5f2)
* Cover the case for SOC without MAC address
  - See merge request espressif/esp-mqtt!202
  - fix: Cover the case for SOC without MAC address (espressif/esp-mqtt@5e3abd4)
* Make state and size atomic
  - See merge request espressif/esp-mqtt!199
  - feat: Make state and size atomic (espressif/esp-mqtt@891380b)
* fix: Adjust the log level on few messages to avoid cluthering the logs
  - See merge request espressif/esp-mqtt!201
  - See commit https://github.com/espressif/esp-mqtt/commit/5c17fc4
* fix: Make automatic client_id soc dependent
  - See merge request espressif/esp-mqtt!200
  - See commit https://github.com/espressif/esp-mqtt/commit/657a2ae
* Clarify data that users need to take care of lifetime.
  - See merge request espressif/esp-mqtt!197
  - docs: Clarify data that users need to take care of lifetime. (espressif/esp-mqtt@371f594)
* Update mqtt_client.h
  - See merge request espressif/esp-mqtt!198
  - add const char * to esp_mqtt_client_subscribe() generic macros (espressif/esp-mqtt@acdb66d)
* client: Report failure on timeout in mid-message timeout (GitHub PR)
  - See merge request espressif/esp-mqtt!165
  - Merges https://github.com/espressif/esp-mqtt/pull/232
  - client: Report failure on timeout in mid-message timeout (espressif/esp-mqtt@ddde502)
* fix: Move buffer initialization to set config
  - See merge request espressif/esp-mqtt!194
  - Closes https://github.com/espressif/esp-mqtt/issues/267
  - See commit https://github.com/espressif/esp-mqtt/commit/ea0df31
* Fix check for message creation when processing publish
  - See merge request espressif/esp-mqtt!195
  - fix: Deliver publish verifies if message was created only for QoS >0
        (espressif/esp-mqtt@6780056)
2024-06-04 15:13:54 +08:00
Rahul Tank
6ab57bbcc4 fix(nimble): Explicitly NULL assign adv data 2024-06-04 12:16:12 +05:30
Island
a9d29b3281 Merge branch 'feat/add_hci_log_record_for_nimble_v5.1' into 'release/v5.1'
feat(bt/nimble): support hci log for nimble (backport v5.1)

See merge request espressif/esp-idf!31213
2024-06-04 14:19:00 +08:00
Jiang Jiang Jian
176f719eb3 Merge branch 'bugfix/nan_datapath_issues_v5.1' into 'release/v5.1'
Fix issues in NAN datapath establishment (Backport v5.1)

See merge request espressif/esp-idf!30852
2024-06-04 12:05:58 +08:00
Jiang Jiang Jian
85fd3f397d Merge branch 'fix/sntp_getreachability_v5.1' into 'release/v5.1'
fix(netif): Add missing SNTP get-reachablitiy API (v5.1)

See merge request espressif/esp-idf!30033
2024-06-04 11:37:05 +08:00
Jiang Jiang Jian
0196f081e5 Merge branch 'bugfix/log_wrap_around_cache_generation_counter_v5.1' into 'release/v5.1'
fix(log): Fix wrap-around of cache generation counter (v5.1)

See merge request espressif/esp-idf!29939
2024-06-04 11:31:12 +08:00
Jiang Jiang Jian
7b5a5ea50e Merge branch 'fix/wl_fatfsgen_safe_mode_v5.1' into 'release/v5.1'
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware (v5.1)

See merge request espressif/esp-idf!29729
2024-06-04 11:30:50 +08:00
Island
d456fdf322 Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master_v5.1' into 'release/v5.1'
Bugfix/esp32c2 fixed some ble issues master (v5.1)

See merge request espressif/esp-idf!31234
2024-06-04 10:22:07 +08:00
Shyamal Khachane
e6a5be3fda fix(esp_wifi): Fix issues in NAN datapath establishment
1. Resolve indefinite waiting while stopping NAN
2. Increase NDP response timeout to 8 DW's
3. Set NAN discovery beacon interval to 100 TU's as per Section 9.2
   of Wi-Fi Aware Specification v4.0
2024-06-03 18:23:30 +05:30
Jiang Jiang Jian
7ade2ae6e5 Merge branch 'bugfix/fix_dhcp_pool_issue_on_dhcp_server_v5.1' into 'release/v5.1'
fix(lwip): fixed the dhcp pool error on dhcp server (v5.1)

See merge request espressif/esp-idf!31266
2024-06-03 19:47:35 +08:00
Jiang Jiang Jian
de580a0e44 Merge branch 'bugfix/fix_some_wifi_bugs_v5.1' into 'release/v5.1'
fix(wifi): fixed sniffer and espnow issue (v5.1)

See merge request espressif/esp-idf!31214
2024-06-03 19:38:07 +08:00
morris
d47e88776e Merge branch 'feature/usb_host_hub_support_collective_backport_v5.1' into 'release/v5.1'
refactor(usb/host): Prerequisite Refactoring For Hub Collective backport (v5.1)

See merge request espressif/esp-idf!29447
2024-06-03 16:10:30 +08:00
zhangyanjiao
5d00019475 fix(lwip): fixed the dhcp pool error on dhcp server 2024-06-03 11:34:15 +08:00
Omar Chebib
16d957e7aa fix(esp_hw_support): clear reserved interrupts that are not applicable for each target 2024-06-03 11:09:45 +08:00
Omar Chebib
1439815d57 refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC 2024-06-03 11:05:25 +08:00
zhangyanjiao
e81e61f86f docs(wifi): update the docmentation for mesh API 2024-06-03 10:50:27 +08:00
zhangyanjiao
64d34d84be fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-06-03 10:49:23 +08:00
Jiang Jiang Jian
8d296506b5 Merge branch 'contrib/github_pr_13022_v5.1' into 'release/v5.1'
fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE() (v5.1)

See merge request espressif/esp-idf!30317
2024-06-03 10:27:00 +08:00
xiongweichao
0648347994 feat(ble): Added API to get low power clock source 2024-06-03 10:25:29 +08:00
Jiang Jiang Jian
f209f008f3 Merge branch 'bugfix/esp_timer_test_fail_v5.1' into 'release/v5.1'
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT (v5.1)

See merge request espressif/esp-idf!29872
2024-06-03 10:24:42 +08:00
xiongweichao
5a8f272660 fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-06-03 10:24:00 +08:00
Jiang Jiang Jian
67ee7eeaae Merge branch 'bugfix/pm-108_v5.1' into 'release/v5.1'
backport v5.1: fix the issue of tg0 watchdog reset caused by wifi module retention

See merge request espressif/esp-idf!31013
2024-06-03 10:19:41 +08:00
zhiweijian
42aa1be457 feat(bt/nimble): support hci log for nimble 2024-06-03 09:48:51 +08:00
zhanghaipeng
9d5f956e87 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:25:12 +08:00
zhanghaipeng
2f14db087d fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:23:56 +08:00
Darian Leung
29ae4e7a4f
refactor(usb/usbh): Update USBH device creation and enumeration handling
This commit updates how the USBH handles device creation and enumeration so that
upper layers (such as the Hub driver) can use the USBH API for enumeration instead
of calling the HCD.

USBH Updates:

USBH now creates unenumerated devices set to address 0 with no device/config
descriptor. A newly created device can be opened and communicated with immediately
(using control transfers). This allows the Hub driver to call the USBH instead of
the HCD. Summary of USBH changes:

- Added new APIs to add/remove a device. Devices are now created as unenumerated
and can be immediately opened and communicated with.
- Added new APIs to enumerate a device (see 'usbh_dev_set_...()' functions). Device
must be locked (see 'usbh_dev_enum_lock()') before enumeration functions can be called.
- Added UID for each device. This allows the particular USBH without needing to
use the device's handle (which implies opening the device).

Hub Driver Updates:

Hub driver now calls the USBH for enumeration. Summary of USBH changes:

- Replace all 'hcd_pipe_...()' calls with 'usbh_dev_...()' calls
- Refactored port event handling to fit with new USBH API
- Updated to use UID to uniquely identify devices without opening them

USB Host Updates:

- Reroute USBH control transfers to clients and hub driver

Note: Backported ESP_ERR_NOT_ALLOWED macro
2024-06-02 00:29:36 +08:00
Darian Leung
15121a3ef6
refactor(usb/hub): Update Hub driver port request logic 2024-06-02 00:29:35 +08:00
Darian Leung
144463be5c
refactor(usb/hcd): Allow port resets with allocated pipes
This commit updates the HCD API to allow port resets to occur even if pipes
are allocated. The pipes cannot be active and the port reset will simply
restore the pipes (by reinitializing their channel registers) following the
reset.

Changes:

- Allow port resets while channels are allocated
- Remove pipe persistance API 'hcd_pipe_set_persist_reset()'
2024-06-02 00:29:35 +08:00
Darian Leung
8053174dd4
refactor(usb/usbh): Rename device pool functions and ref_count
This commit renames the following APIs and variables in the USBH:

- Rename the prefix of device pool functions from 'usbh_dev_...' to
  'usbh_devs_...'.
- Rename 'ref_count' to 'open_count'. This variable tracks the number of times
  a device has been opened.
2024-06-02 00:29:34 +08:00
Darian Leung
5f0a659e73
refactor(usb/host): Refactor USBH function grouping
This commit rearranges the USBH functions into new groupings to provide a
clearer abstraction. This is in preparation for refactoring/removing the Hub
related functions in the USBH API. This commit DOES NOT MAKE ANY BEHAVIORAL
CHANGES to the code.

Functions are now grouped into...

- USBH Processing: Functions dealing with overall USBH processing
- Device Pool: Functions that add/remove/open/close devices from the internal
               device pool
- Device: Functions that pertain to setting/getting a particular device
- Endpoints: Functions that pertain to a particular endpoint
- Transfer: Functions that pertain to sending transfers
2024-06-02 00:29:34 +08:00
Roman Leonov
8479302503
refactor(hcd_dwc): Added mps request from hcd_dwc 2024-06-02 00:29:34 +08:00
Darian Leung
0b77a7289c
refactor(usb/host): Simplify USBH and Hub interaction
Previously, on a device disconnection, the USBH and Hub would the require the
following 2-way interaction:

- Hub -> usbh_hub_pass_event() -> USBH to indicate a port error
- USBH -> usbh_hub_req_cb_t -> Hub to request port recovery after the device
has been freed.

The 2-way interaction has been simplified:

- USBH now nofities upper layers of devices being freed via the
USBH_EVENT_DEV_FREE event
- Hub now handles port recovery only after a device has been freed
2024-06-02 00:29:33 +08:00
Roman Leonov
cfa48efc6a
refactor(usb_host): Renamed hub_driver_state to root_port_state 2024-06-02 00:29:33 +08:00
Tomas Rezucha
4270a4edce
feat(usb/host): Add missing sync types from USB specification 2024-06-02 00:29:33 +08:00
Roman Leonov
54d984644a
feat(usb_host): Added KConfig parameter for External HUB support enable 2024-06-02 00:29:32 +08:00
Roman Leonov
01761f4c99
refactor(usb_host): Added chapter11 header, refactor chapter9 header 2024-06-02 00:29:32 +08:00
Darian Leung
78515b3fef
refactor(usb): Remove USBH control transfer callback
This commit merges the USBH control transfer callback into the USBH event
callback. This simplifies the code as the USBH now uses a single callback.
2024-06-02 00:29:32 +08:00
Darian Leung
42076af4c4
refactor(usb): Update USBH event callback arguments
This commit does the following:

- Updates the USBH event callback arguments to now pass a usbh_event_data_t
which can contain different data for each event
- Updated event names
2024-06-02 00:29:31 +08:00
Rahul Tank
3f9ab2d6a6 Merge branch 'bugfix/free_reattempt_adv_data_v5.1' into 'release/v5.1'
fix(nimble): Added change to free memory in case of failure (v5.1)

See merge request espressif/esp-idf!31166
2024-06-01 18:59:49 +08:00
morris
8318a2ad44 Merge branch 'feature/usb_new_phy_driver_collective_backport_v5.1' into 'release/v5.1'
refactor(usb/host): PHY driver preqrequisite refacotring collective backport (v5.1)

See merge request espressif/esp-idf!29791
2024-05-31 22:30:32 +08:00
zwl
f590e07eb1 ble: fixed ble some issues on esp32c6 and esp32h2 2024-05-31 17:13:44 +08:00
zwl
ffc8485670 ble: fixed ble some issues on esp32c2 2024-05-31 17:13:44 +08:00
Rahul Tank
3b5c0b7d73 fix(nimble): Added change to free memory in case of failure 2024-05-31 12:09:32 +05:30
Jiang Jiang Jian
08aef5cd64 Merge branch 'bugfix/wps_scan_log_flood_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Suppress RSN IE print to Verbose level (Backport v5.1)

See merge request espressif/esp-idf!31157
2024-05-31 13:47:41 +08:00
Jiang Jiang Jian
6535d0745b Merge branch 'bugfix/ftm_fix_wrong_compensation_v5.1' into 'release/v5.1'
Fix issue in selecting FTM compensation with external AP (Backport v5.1)

See merge request espressif/esp-idf!30740
2024-05-31 13:37:05 +08:00
Island
a7a612c9fc Merge branch 'bugfix/bleqabr24-549_v5.1' into 'release/v5.1'
fix(ble_mesh): fix issues in mesh deinit_v5.1

See merge request espressif/esp-idf!30542
2024-05-31 11:13:53 +08:00
luoxu
cd5f3bf146 fix(ble_mesh): fix issues in mesh deinit 2024-05-30 20:40:55 +08:00
Jiang Jiang Jian
cfe861582c Merge branch 'bugfix/stop_tg_wdt_in_xpd_xtal_lightsleep_v5.1' into 'release/v5.1'
fix(esp_hw_support): stop tg wdt in xpd xtal lightsleep (v5.1)

See merge request espressif/esp-idf!31140
2024-05-30 20:00:24 +08:00
Nachiket Kukade
3e82811fec fix(esp_wifi): Fix issue in selecting FTM compensation with external AP 2024-05-30 19:42:24 +08:00
Li Shuai
493b757a53 fix(wifi): fixed the issue of tg0 watchdog reset caused by wifi module retention 2024-05-30 17:20:03 +08:00
Song Ruo Jing
78ea2c19e7 fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2 2024-05-30 15:08:09 +08:00
David Cermak
cea1893729 fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times
Closes https://github.com/espressif/esp-idf/issues/12854
2024-05-29 17:22:29 +08:00
David Cermak
2f87894e58 fix(netif): Add missing SNTP get-reachablitiy API 2024-05-29 17:22:29 +08:00
Rahul Tank
ebe0b3f40c Merge branch 'feature/ble_resolve_adv_data_v5.1' into 'release/v5.1'
feat(nimble): Added API to get resolve ADV data (v5.1)

See merge request espressif/esp-idf!30952
2024-05-29 13:51:39 +08:00
Nachiket Kukade
1614f9e3b5 fix(wpa_supplicant): Suppress RSN IE print to Verbose level 2024-05-29 11:09:57 +05:30
wuzhenghui
725381290e
fix(esp_hw_support/sleep): stop TG0/TG1 watchdog if XTAL not power down in lightsleep 2024-05-28 19:39:19 +08:00
wuzhenghui
bd1017132e
change(esp_hw_support/sleep): improve esp32c3 systimer stall bug workaround 2024-05-28 19:38:04 +08:00
Jiang Jiang Jian
f2b11841fc Merge branch 'bugfix/mldv6_report_memory_leak_v5.1' into 'release/v5.1'
fix(esp_netif): Fix mldv6 report memory leak in esp_netif(v5.1)

See merge request espressif/esp-idf!31062
2024-05-28 15:58:22 +08:00
Wang Meng Yang
7046477541 Merge branch 'bugfix/fix_hid_connection_failed_bug_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix HID connection bugs[backport 5.1]

See merge request espressif/esp-idf!30590
2024-05-28 15:19:35 +08:00
David Čermák
89eb191f7f Merge branch 'bugfix/eth_l2_test_conn_wait_tmo_v5.1' into 'release/v5.1'
ci(esp_eth): increased L2 test wait for connection timeout (v5.1)

See merge request espressif/esp-idf!29882
2024-05-27 18:25:37 +08:00
David Čermák
0c9478fb65 Merge branch 'bugfix/dm9051_phy_axs_wait_v5.1' into 'release/v5.1'
fix(esp_eth): made access to PHY registers for DM9051 more robust (v5.1)

See merge request espressif/esp-idf!30280
2024-05-27 18:24:55 +08:00
David Čermák
489e460479 Merge branch 'contrib/github_pr_13560_v5.1' into 'release/v5.1'
esp_eth: DP83848: correct link detection to use BMSR (GitHub PR) (v5.1)

See merge request espressif/esp-idf!30452
2024-05-27 18:24:35 +08:00
morris
d7c75b92d1 Merge branch 'bugfix/check_c3_efuse_error_on_ram_app_condition_v5.1' into 'release/v5.1'
bugfix(cpu_start): check c3 efuse error log on ram app condition (v5.1)

See merge request espressif/esp-idf!31046
2024-05-27 15:43:21 +08:00
Island
2daa497ba0 Merge branch 'feat/add_api_to_set_privacy_mode_v5.1' into 'release/v5.1'
feat(bt/bluedroid): support BLE set privacy mode (v5.1)

See merge request espressif/esp-idf!31027
2024-05-27 14:56:15 +08:00
WanqQixiang
9bcbd2fb51 fix(esp_netif): Fix mldv6 report memory leak in esp_netif 2024-05-24 15:29:53 +08:00
Abhinav Kudnar
8df917bde9 feat(nimble): Added API to get resolve ADV data 2024-05-24 11:56:21 +05:30
Island
e603747a5a Merge branch 'bugfix/BLEQABR23-798_v5.1' into 'release/v5.1'
bugfix(ble_mesh): Close BLEQABR23-798 (v5.1)

See merge request espressif/esp-idf!30646
2024-05-24 14:10:18 +08:00
Island
262264e4e2 Merge branch 'fix/ble_mesh_gatts_bugfix_v5.1' into 'release/v5.1'
BLE Mesh Gatts bugfix (v5.1)

See merge request espressif/esp-idf!30874
2024-05-24 14:09:56 +08:00
Rahul Tank
de42be85db Merge branch 'bugfix/restart_advertising_if_slave_23e_v5.1' into 'release/v5.1'
fix(nimble): start advertising if disconnect due to 0x3E in slave (v5.1)

See merge request espressif/esp-idf!31034
2024-05-23 20:26:21 +08:00
Armando
bb51330aa6 bugfix(cpu_start): check c3 efuse error log on ram app condition
Prior to this commit, esp_efuse_check_errors() is only called when it's
2nd stage btld app.

This commit moves this error check so under all conditions (including
ram app, pure ram app) will check this efuse error
2024-05-23 15:56:08 +08:00
Mahavir Jain
68c894bba6 Merge branch 'feature/update_cjson_version_to_1.7.18_v5.1' into 'release/v5.1'
feat(cjson): update submodule to v1.7.18 (v5.1)

See merge request espressif/esp-idf!31016
2024-05-23 15:10:14 +08:00
luoxu
f401e2960a fix(ble_mesh): Create service after service register success 2024-05-23 14:30:03 +08:00
Jiang Jiang Jian
836dba4fa7 Merge branch 'bugfix/loadprohibited_after_bt_deinit_v5.1' into 'release/v5.1'
Fixed some coexist issues

See merge request espressif/esp-idf!31005
2024-05-23 11:36:24 +08:00
chenjianhua
6678996170 feat(bt/bluedroid): support BLE set privacy mode 2024-05-22 19:25:50 +08:00
zhanghaipeng
af59333eb5 feat(ble/bluedroid): Support BLE add device to resolving list 2024-05-22 19:23:24 +08:00
zhanghaipeng
c075708e0b feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-05-22 19:21:31 +08:00
zhanghaipeng
c488cc4b6a fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-05-22 18:03:47 +08:00
zhanghaipeng
6427524d9b fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-05-22 18:03:41 +08:00
luoxu
25b6f0c92f bugfix(ble_mesh): Close BLEQABR23-798 2024-05-22 16:59:03 +08:00
Jiang Jiang Jian
47418a88b9 Merge branch 'bugfix/esp32c6eco1_coex_ble_deinit_wifi_bcn_timeout_v5.1' into 'release/v5.1'
backport v5.1: fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop

See merge request espressif/esp-idf!30983
2024-05-22 16:18:17 +08:00
nilesh.kale
3d2260d292 feat(cjson): update submodule to v1.7.18
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.18
2024-05-22 13:34:54 +05:30
Rahul Tank
29dcca6c7c fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:58:27 +05:30
Marius Vikhammer
f63329ccd1 Merge branch 'fix/brownout_crash_v5.1' into 'release/v5.1'
fix(brownout): fixed brownout isr crashing if cache disabled (v5.1)

See merge request espressif/esp-idf!30833
2024-05-22 12:49:42 +08:00
baohongde
6668aa0388 fix(coex): Fixed some coexist issues
- Fixed crash issue in coexist callback
- Fixed coexist scheme status update issue
2024-05-22 11:50:50 +08:00
chenjianhua
f8af3d8e0d fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-05-22 11:50:50 +08:00
chaijie@espressif.com
d2dd830a47 feat(sleep): support 8m force pu in sleep for esp32c6/esp32h2 2024-05-22 11:35:12 +08:00
Marius Vikhammer
4f82fc267a Merge branch 'feature/console_add_sbom_file_v5.1' into 'release/v5.1'
feat(system/console): Added argtable3 SBOM manifest file for SPDX file generation for console component (v5.1)

See merge request espressif/esp-idf!30945
2024-05-22 11:16:02 +08:00
Jiang Jiang Jian
9a76c7f4c2 Merge branch 'bugfix/fix_esp32_cant_tx_after_tx_timeout_v5.1' into 'release/v5.1'
fix(wifi): fix esp32 unrecoverable m f issue

See merge request espressif/esp-idf!30970
2024-05-22 10:47:04 +08:00
Marius Vikhammer
39074c031e fix(brownout): fixed brownout isr crashing if cache disabled
If a brownout ISR was triggered while cache was disabled the system would panic.

This was due to a print accessing a string stored in flash
2024-05-22 10:19:10 +08:00
Alexey Gerenkov
0a68361c35 Merge branch 'coredump_sanity_check_v5.1' into 'release/v5.1'
fix(coredump): increase sanity check before get summary (v5.1)

See merge request espressif/esp-idf!30529
2024-05-21 22:14:09 +08:00
Aditya Patwardhan
3982d5552b Merge branch 'bugfix/fix_resetting_redirect_counter_v5.1' into 'release/v5.1'
fix: reset redirect counter for using same handler (v5.1)

See merge request espressif/esp-idf!30937
2024-05-21 17:22:15 +08:00
Li Shuai
fc40fafe8d fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop 2024-05-21 16:52:39 +08:00
Jiang Jiang Jian
91df5f03e9 Merge branch 'doc/add_description_for_pd_top_gpio_configuration_v5.1' into 'release/v5.1'
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep (v5.1)

See merge request espressif/esp-idf!30797
2024-05-21 12:04:46 +08:00
Island
d4ed2ec56b Merge branch 'bugfix/fixed_issues_on_esp32c6_and_esp32h2_v5.1' into 'release/v5.1'
fixed some ble issues on esp32c6 and esp32h2 (v5.1)

See merge request espressif/esp-idf!30893
2024-05-21 11:52:27 +08:00
liuning
f7b10c4e3c fix(wifi): fix esp32 unrecoverable m f issue 2024-05-21 10:27:30 +08:00
Marius Vikhammer
9c064071ad Merge branch 'fix/prompt-erased-by-backspace-in-dumbmode_v5.1' into 'release/v5.1'
fix(console): bug where backspace erases the prompt in dumb mode (backport v5.1)

See merge request espressif/esp-idf!30349
2024-05-20 15:10:51 +08:00
Xiaoyu Liu
033d5b0344 feat(system/console): Added argtable3 SBOM manifest file in console component for SPDX file generation 2024-05-20 15:04:45 +08:00
Harshit Malpani
a7f29df625
fix: Add warning to enable LWIP_NETIF_LOOPBACK to use control socket API
Closes https://github.com/espressif/esp-idf/issues/13659
2024-05-20 10:46:45 +05:30
Harshit Malpani
f561153820
fix: reset redirect counter for using same handler
Closes https://github.com/espressif/esp-idf/issues/13633
2024-05-20 10:46:44 +05:30
liqigan
970029c2f4 fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-20 10:44:29 +08:00
liqigan
cf2bd8029d fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-05-20 10:44:29 +08:00
Island
bd5335f7d3 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.1' into 'release/v5.1'
ble: support only legacy adv and slave function on esp32c2 (v5.1)

See merge request espressif/esp-idf!30335
2024-05-17 10:31:25 +08:00
Jiang Jiang Jian
6d228dc010 Merge branch 'feat/sleep_retention_depends_power_state_management_v5.1' into 'release/v5.1'
backport v5.1: sleep retention multiple modules initialization and dependency management

See merge request espressif/esp-idf!30374
2024-05-17 10:24:18 +08:00
Erhan Kurubas
d55d2278ee fix(coredump): don't allow mapping of non-encrypted coredump partition 2024-05-16 21:28:18 +02:00
Erhan Kurubas
cf9c2aed41 fix(coredump): increase sanity check before get summary
Closes https://github.com/espressif/esp-idf/issues/13594
2024-05-16 21:24:40 +02:00
zwl
4647a47a17 ble: fixed some issues on ESP32C6 and ESP32H2 2024-05-16 17:46:18 +08:00
Rahul Tank
0d5d7413cf Merge branch 'feature/get_local_used_addr_v5.1' into 'release/v5.1'
feat(nimble): Added API to get local used address (v5.1)

See merge request espressif/esp-idf!30758
2024-05-16 17:39:42 +08:00
Jiang Jiang Jian
8071b02318 Merge branch 'fix/assert_1024_in_rwbt_isr_v5.1' into 'release/v5.1'
fix(bt/ble): fix some issues in bluetooth controller(backport v5.1)

See merge request espressif/esp-idf!30815
2024-05-16 16:44:29 +08:00
Abhinav Kudnar
7a7aeff0c9 feat(nimble): Added API to get local used address 2024-05-16 09:50:04 +05:30
Rahul Tank
a86e6ea6e9 Merge branch 'doc/update_readme_enc_adv_v5.1' into 'release/v5.1'
docs(nimble): Added chip information in enc_adv example README file (v5.1)

See merge request espressif/esp-idf!30775
2024-05-16 12:12:02 +08:00
Rahul Tank
82b9984816 Merge branch 'bugix/avoid_reset_extract_cb_v5.1' into 'release/v5.1'
fix(nimble): Avoid slave instance reset inside extract_cb (v5.1)

See merge request espressif/esp-idf!30489
2024-05-16 12:01:57 +08:00
Rahul Tank
8abb343778 docs(nimble): Added chip information in ble_enc_adv README file 2024-05-15 15:32:55 +05:30
nilesh.kale
e6c6121b38 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0
This MR updated MbedTLS version to latest version 3.6.0.
2024-05-15 11:57:14 +05:30
Rahul Tank
8cf7043e28 Merge branch 'bugfix/disable_mbedtls_options_v5.1' into 'release/v5.1'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (v5.1)

See merge request espressif/esp-idf!30620
2024-05-15 14:17:56 +08:00
Rahul Tank
d72ba104ca fix(nimble): Create separate API to only extract cb info 2024-05-15 11:06:10 +05:30
Marius Vikhammer
3f5c4d0db6 Merge branch 'fix/log_buffer_v5.1' into 'release/v5.1'
fix(log): Fixed incorrect argument type in hexdump log functions (v5.1)

See merge request espressif/esp-idf!29777
2024-05-15 09:07:51 +08:00
Rahul Tank
81918dde2a Merge branch 'bugfix/free_controlle_memory_in_init_fail_v5.1' into 'release/v5.1'
fix(nimble): Free controller memory if init fails (v5.1)

See merge request espressif/esp-idf!30751
2024-05-14 20:13:48 +08:00
Li Shuai
18a45fa98f fix: add ESP_ERR_NOT_ALLOWED error code to esp_err.h 2024-05-14 19:34:37 +08:00
Li Shuai
159e58dc27 fix: modify some typos to ensure CI pipeline run pass 2024-05-14 19:34:37 +08:00
xiaqilin
28b017c383 change(ieee802154): add sleep deinit API 2024-05-14 19:34:37 +08:00
Li Shuai
9586dba801 change(esp_hw_support): use power down peripheral in light sleep option to determine TOP to off 2024-05-14 19:34:37 +08:00
Li Shuai
0dea30c2f2 change(esp_hw_support): add adc retention module and it is dependencies on the clock modem 2024-05-14 19:34:37 +08:00
Li Shuai
c9b1618a3e change(esp_hw_support): dump sleep retention context to io stream 2024-05-14 19:34:37 +08:00
Li Shuai
7cc3c78447 change(ieee802154): use new sleep retention api to implement ieee802154 mac retention 2024-05-14 19:34:37 +08:00
Li Shuai
2f7a2e0965 change(bt): use new retention api to implement BT mac and bb retention 2024-05-14 19:34:37 +08:00
Li Shuai
08a05ec562 change(esp_hw_support): use new retention api to implement gdma retention 2024-05-14 19:34:37 +08:00
Li Shuai
b7b90fc394 change(wifi): use new retention api to implement wifi mac and bb retention 2024-05-14 19:34:32 +08:00
Li Shuai
0cb0890145 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-05-14 17:50:59 +08:00
Li Shuai
031f56e294 change(esp_hw_support): some system peripherals to use a retention module number 2024-05-14 17:50:59 +08:00
Li Shuai
83cb32cd70 feat(esp_hw_support): implement of sleep retention module initialize and dependency management 2024-05-14 17:50:59 +08:00
Li Shuai
38b3341863 change(esp_hw_support): modify the style of module argument from bitmap to number 2024-05-14 17:50:59 +08:00
Li Shuai
7d738cae1c change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-05-14 17:50:59 +08:00
Li Shuai
44644845f3 change(esp_hw_support): rename sleep retention module to created module 2024-05-14 17:50:59 +08:00
Alexey Gerenkov
a2215bd122 Merge branch 'fix/gcov_fault_v5.1' into 'release/v5.1'
fix(gcov): fix exceptions on gcov task_tick_hook (v5.1)

See merge request espressif/esp-idf!30026
2024-05-14 17:45:03 +08:00
Jin Cheng
16794dc48f fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-05-14 11:54:25 +08:00
xuxiao
07edad1af5 fix(wifi): fix some wifi bugs (Backport v5.1) 2024-05-14 11:33:42 +08:00
Jiang Jiang Jian
5423b20c4a Merge branch 'bugfix/fix_mesh_packet_tx_issue_v5.1' into 'release/v5.1'
fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero (v5.1)

See merge request espressif/esp-idf!30791
2024-05-14 11:01:11 +08:00
gongyantao
090a7755cc fix(bt/ble): fix some issues in bluetooth controller
1: fix assert 1024 issue when bt tx and wifi coexist on esp32
2: fix ble scan backoff
3: parse out the correct packet types from host parameters for
   hci command hci_enhanced_setup_synchronous_connection
2024-05-14 10:04:42 +08:00
Marius Vikhammer
03f7927325 Merge branch 'bugfix/coredump_switch_stack_v5.1' into 'release/v5.1'
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack (backport v5.1)

See merge request espressif/esp-idf!29527
2024-05-13 20:53:37 +08:00
zwl
45b9ccfb1f ble: optimize bt cmakelists.txt file 2024-05-13 17:49:35 +08:00
zwl
5e2679a02f ble: support only legacy adv and slave function on esp32c2 2024-05-13 17:49:35 +08:00
Darian Leung
d41515f948
refactor(hal/usb): Add new USB PHY related HAL API
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:

- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-05-13 17:36:34 +08:00
Darian Leung
4f996fc421
feat(hal/usb): Update USB WRAP and USJ LL
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-05-13 17:36:34 +08:00
Darian Leung
06821a8fe6
refactor(hal/usb): Refactor usb_wrap_ll.h
This commit rewrite the 'usb_wrap_ll.h' API as follows:

- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-05-13 17:36:33 +08:00
Darian Leung
c776d40df1
refactor(hal/usb): Remove usb_fsls_phy_ll.h
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.

This commit does the following:

- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-05-13 17:36:33 +08:00
Darian Leung
75498cdb7a
refactor(hal/usj): Add USB PHY related functions to USJ LL 2024-05-13 17:36:32 +08:00
wuzhenghui
57ef28a6c6
docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-05-13 16:24:56 +08:00
morris
9808619d52 Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)

See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
wuzhenghui
2e21a74d85
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-05-13 15:58:15 +08:00
Rahul Tank
9ac8768650 fix(nimble): Free controller memory if init fails 2024-05-13 12:00:16 +05:30
Mahavir Jain
bbd9fe21f3 Merge branch 'backport/support_tls1_3_v5.1' into 'release/v5.1'
https_mbedtls: update example to support TLS 1.3 connection

See merge request espressif/esp-idf!30606
2024-05-13 14:11:02 +08:00
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
Rahul Tank
7ad7f84f0f Merge branch 'bugfix/fix_ble_issues_5.1' into 'release/v5.1'
fix(nimble): Bugfix/fix ble issues 5.1

See merge request espressif/esp-idf!30246
2024-05-13 13:55:15 +08:00
zhangyanjiao
10a837db5f fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 11:31:13 +08:00
Jiang Jiang Jian
a79bd17e39 Merge branch 'bugfix/bt_bss_in_extram_v5.1' into 'release/v5.1'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.1)

See merge request espressif/esp-idf!30636
2024-05-13 11:01:50 +08:00
Jiang Jiang Jian
af5579d3f2 Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)

See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00