Commit Graph

21377 Commits

Author SHA1 Message Date
zhanghaipeng
2874c5e281 feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:56:26 +08:00
zhanghaipeng
d6d6963fea fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:56:14 +08:00
Zeke Gustafson
5fa653771f feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-22 20:56:03 +08:00
Zeke Gustafson
8dbfff100e feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-22 20:55:56 +08:00
zhanghaipeng
77ca6c58c1 feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-22 20:55:49 +08:00
zhanghaipeng
cc78bb61b5 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:55:42 +08:00
zhanghaipeng
9c93c54d81 fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-22 20:55:31 +08:00
zhanghaipeng
22bdd07668 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-22 20:55:23 +08:00
Sudeep Mohanty
e2e1542378 fix(console): Fixed linenoise prompt length calculation
This commit fixes a potential issue where in the prompt length used
for the linenoise based console could be calculated as a negative
integer, leading to a console hang.

Closes https://github.com/espressif/esp-idf/issues/4924
2024-01-22 16:22:28 +08:00
Jiang Jiang Jian
7011329b35 Merge branch 'bugfix/fix_scan_request_ifs_error_v5.1' into 'release/v5.1'
Fixed BLE scan request ifs time error in coexistence scenarios on ESP32(backport v5.1)

See merge request espressif/esp-idf!28575
2024-01-22 14:43:05 +08:00
Jiang Jiang Jian
766d26f1f3 Merge branch 'bugfix/fix_crash_issue_when_mesh_deinit_v5.1' into 'release/v5.1'
fix(wifi): fix the crash and malloc fail issue (v5.1)

See merge request espressif/esp-idf!28537
2024-01-22 11:02:46 +08:00
Island
899b216223 Merge branch 'bugfix/ble_update_lib_20231229_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!28188
2024-01-22 10:39:06 +08:00
Darshan Dobariya
95e0a1d1b6 fix(nimble): Added support for address resolution during inquiry. 2024-01-22 09:42:22 +08:00
linruihao
2ec5d6b0f2 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-20 11:28:20 +08:00
zhiweijian
bf322fbc4a Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-20 11:28:20 +08:00
Jiang Jiang Jian
47b44dfa71 Merge branch 'fix/esp32h2_phy_sleep_wakeup_issue_v5.1' into 'release/v5.1'
fix(esp_phy): fix esp32h2 sleep wakeup issue (backport v5.1)

See merge request espressif/esp-idf!28299
2024-01-19 16:47:58 +08:00
Jiang Jiang Jian
214a4d7a37 Merge branch 'bugfix/fix_mac_bb_pd_iwdt_timeout_v5.1' into 'release/v5.1'
fix(ble): fixed interrupt timeout in MAC_BB_PD callback (v5.1)

See merge request espressif/esp-idf!28465
2024-01-19 16:45:35 +08:00
Harshit Malpani
7869e584ce
feat(cjson): update submodule to v1.7.17
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-19 14:06:11 +05:30
luomanruo
6c8fa646e4 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:14:05 +08:00
wuzhenghui
ad9a195c3a fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-19 11:14:28 +08:00
zhangyanjiao
1410699d88 fix(wifi): fix the crash and malloc fail issue
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-19 11:11:34 +08:00
zhanghaipeng
b59aeaa192 fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-19 10:52:34 +08:00
zhanghaipeng
6a81c1fcce fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-19 10:52:20 +08:00
linruihao
1091ce2106 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-19 10:50:09 +08:00
xiaqilin
ee68063b6a fix(esp_phy): fix esp32h2 sleep wakeup and i2c issue 2024-01-19 10:06:11 +08:00
wanlei
e3532b522e fix(i2c): test app change gpio 2024-01-18 11:13:06 +08:00
Jiang Jiang Jian
aa2793f3f1 Merge branch 'feature/support_hw_trigger_regdma_when_pu_top_v5.1' into 'release/v5.1'
fix(pm): trigger regdma retention by PMU when TOP is not power down on esp32H2 (backport v5.1)

See merge request espressif/esp-idf!28342
2024-01-18 11:06:51 +08:00
Michael (XIAO Xufeng)
89cc9084ab Merge branch 'bugfix/recalib_bbpll_before_tuning_v5.1' into 'release/v5.1'
fix(bbpll): fix bbpll may not lock or not stable bug for stop early (ESP32C2/S3/C6/H2) (v5.1)

See merge request espressif/esp-idf!28285
2024-01-17 21:24:10 +08:00
Lou Tianhao
1e43abfb57 change(pm): put pmu_hal to iram 2024-01-16 14:01:22 +08:00
Lou Tianhao
2ecbfecedf feat(pm): support PMU trigger regdma when PU TOP 2024-01-16 14:01:22 +08:00
Jiang Jiang Jian
9c4b89c6d2 Merge branch 'bugfix/fix_no_sleep_null_data_after_data_sent_v5.1' into 'release/v5.1'
fix(pm): fix no sleep null after data sent (e7243f1f)

See merge request espressif/esp-idf!28290
2024-01-10 11:20:56 +08:00
linruihao
2fa19aab7a fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:36:07 +08:00
liuning
4d509333ef fix(pm): fix no sleep null after data sent (e7243f1f) 2024-01-05 10:38:11 +08:00
Xiao Xufeng
a055fcbda4 fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-05 10:19:20 +08:00
Jiang Jiang Jian
db1e54a0c5 Merge branch 'fix/esp32h2_rssi_positive_issue_5.1' into 'release/v5.1'
Fix/esp32h2 rssi positive issue 5.1

See merge request espressif/esp-idf!28269
2024-01-05 07:32:39 +08:00
chaijie@espressif.com
630a8ff709 fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2) 2024-01-05 03:24:20 +08:00
Jiang Jiang Jian
efa71e8711 Merge branch 'feat/support_dump_ack_csi_v5.1' into 'release/v5.1'
feat(wifi): support dump 802.11 ACK frame for CSI (Backport v5.1)

See merge request espressif/esp-idf!28272
2024-01-04 23:41:19 +08:00
Michael (XIAO Xufeng)
b7834bd64d Merge branch 'feat/max_ver_c3_199_v5.1' into 'release/v5.1'
feat(soc): Increase max supported version of C3 to 1.99 (v5.1)

See merge request espressif/esp-idf!26823
2024-01-04 18:12:59 +08:00
alanmaxwell
2cda3fc0c1 feat(wifi): support dump 802.11 ACK frame for CSI
1. fix beacon was unexpectedly freed issue
2. support dump ACK frame for CSI
2024-01-04 15:58:15 +08:00
zwl
5644fee5be fix(ble): fixed rssi inaccuracy issue on ESP32-H2 2024-01-04 15:09:50 +08:00
xiaqilin
a9679450b2 fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2 2024-01-04 15:09:42 +08:00
Jiang Jiang Jian
54bce56ae3 Merge branch 'bugfix/dpp_listen_bugs_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Fix few bugs in dpp(v5.1)

See merge request espressif/esp-idf!26793
2024-01-04 13:47:29 +08:00
morris
f735330caa Merge branch 'refactor/uart_read_bytes_from_ringbuf_v5.1' into 'release/v5.1'
change(uart): improved the internal logic of uart_read_bytes (v5.1)

See merge request espressif/esp-idf!28225
2024-01-04 11:57:37 +08:00
morris
a66693cd63 Merge branch 'contrib/github_pr_12908_v5.1' into 'release/v5.1'
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR) (v5.1)

See merge request espressif/esp-idf!28241
2024-01-04 10:25:33 +08:00
Rahul Tank
d2c1fcf56e Merge branch 'bugfix/enable_addr_resol_across_reboot_v5.1' into 'release/v5.1'
fix(nimble): Enable address resolution across reboot (v5.1)

See merge request espressif/esp-idf!28215
2024-01-03 20:10:00 +08:00
Michael (XIAO Xufeng)
67043f557f feat(soc): Increase max supported version of C3 to 1.99 2024-01-03 18:02:49 +08:00
Kit Sczudlo
3078210b26 feat(spi_lcd): control DC level for cmd, param, color phase separately
Closes https://github.com/espressif/esp-idf/issues/10635
Merges https://github.com/espressif/esp-idf/pull/12908
2024-01-03 17:25:01 +08:00
Mahavir Jain
24467ccc8a Merge branch 'contrib/github_pr_12177_v5.1' into 'release/v5.1'
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding (GitHub PR) (v5.1)

See merge request espressif/esp-idf!28209
2024-01-03 16:51:57 +08:00
jgujarathi
f33c32dc05 fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
- Move the check for checking concurrent wps and dpp check to before creating
  task rather than after.
2024-01-03 13:46:41 +05:30
jgujarathi
078da4b2d2 fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
- Fixes a crash observed in esp_wifi_wps_disable when wps process
  is ongoing, caused due to concurrency issues in cancelling timers.
2024-01-03 13:46:41 +05:30
jgujarathi
a65cb7669c fix(wpa_supplicant): Add support for a dpp authentication timeout
- Adds support for a 1 second dpp authentication timeout.
2024-01-03 13:46:41 +05:30
jgujarathi
dcc14e8c15 fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
- Restructuring DPP init function to ensure cleanup of variables in case of
  init failure
2024-01-03 13:46:40 +05:30
jgujarathi
5e20319831 fix(wpa_supplicant): Fix location of clearing up dpp global variables
- Fix location of cleaing up dpp global variables to ensure that there are
  no concurrency issues.
2024-01-03 13:46:40 +05:30
jgujarathi
c3518e0c87 fix(wpa_supplicant): Fix a memory leak in dpp deinit path
- Ensures that the auth information of dpp gets freed when there is
  dpp gets deinited.
2024-01-03 13:46:40 +05:30
aditi_lonkar
4dd0805a6e fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2024-01-03 13:46:38 +05:30
Island
04d624c50a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.1' into 'release/v5.1'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.1)

See merge request espressif/esp-idf!28033
2024-01-03 15:42:15 +08:00
Shu Chen
575af15974 Merge branch 'backport5.1/fix_ot_br_pcb_ttl' into 'release/v5.1'
fix(openthread): update lib to set raw pcb ttl value (backport v5.1)

See merge request espressif/esp-idf!28218
2024-01-03 15:25:28 +08:00
Jiang Jiang Jian
453738c2ff Merge branch 'bugfix/nan_crash_sched_bcn_v5.1' into 'release/v5.1'
Fix crash while stopping NAN (Backport v5.1)

See merge request espressif/esp-idf!28181
2024-01-03 13:57:36 +08:00
Island
0aed680855 Merge branch 'bugfix/fix_ble_robost_cashing_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix BLE robost cashing config(backport v5.1)

See merge request espressif/esp-idf!28200
2024-01-03 11:31:54 +08:00
Island
8d3170e044 Merge branch 'bugfix/BLEQABR23-35_v5.1' into 'release/v5.1'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval(v5.1)

See merge request espressif/esp-idf!27487
2024-01-03 10:44:37 +08:00
Shyamal Khachane
6bc256adb7 fix(esp_wifi): Fix crash while stopping NAN
Also fix inconsistent NAN macro values
2024-01-03 10:35:56 +08:00
Song Ruo Jing
0da4b0867b change(uart): improved the internal logic of uart_read_bytes
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo

Closes https://github.com/espressif/esp-idf/issues/12386
2024-01-02 20:21:39 +08:00
Xu Si Yu
d2b8ddfb1f fix(openthread): update lib to set raw pcb ttl value 2024-01-02 16:56:52 +08:00
Rahul Tank
c6946cb2fd fix(nimble): Enable address resolution across reboot 2024-01-02 14:04:44 +05:30
Jiang Jiang Jian
29803d93b5 Merge branch 'bigfix/BLEQABR23-503_v51' into 'release/v5.1'
fix(ble_mesh): reject node-reseting when provision link is active (V5.1)

See merge request espressif/esp-idf!25849
2024-01-02 15:38:12 +08:00
Wu Meng Shi
53b013f041 fix(ble_mesh): reject node-reseting when provision link is active (V5.1) 2024-01-02 15:38:11 +08:00
luoxu
268fbf83c1 bugfix(ble_mesh): add duplicate scan config for esp32s3 2024-01-02 15:35:11 +08:00
luoxu
fa85443a44 feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2024-01-02 15:34:27 +08:00
Daniel Mangum
f9569bde37
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding
Updates config to define the new MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY
option, which replaced the previously used
MBEDTLS_SSL_CID_PADDING_GRANULARITY. The old option is continuing to be
used as the new one exceeds the maximum length for an option name in
esp-idf.

See https://github.com/Mbed-TLS/mbedtls/pull/4490 for more information.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2024-01-02 11:22:10 +05:30
zhanghaipeng
3241fd237b fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-30 20:14:19 +08:00
Jiang Jiang Jian
bc2389029c Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.1)

See merge request espressif/esp-idf!28175
2023-12-29 16:03:39 +08:00
Jiang Jiang Jian
b929a149db Merge branch 'bugfix/fix_gatts_stop_race_condition_v5.1' into 'release/v5.1'
fix(nimble): Handled race condition for conn variables being set to NULL (v5.1)

See merge request espressif/esp-idf!28169
2023-12-29 16:02:17 +08:00
Jiang Jiang Jian
4e8b573481 Merge branch 'bugfix/fix_ble_phy_tx_ifs_v5.1' into 'release/v5.1'
Bugfix/fix ble phy tx ifs v5.1

See merge request espressif/esp-idf!28152
2023-12-29 14:14:00 +08:00
Jiang Jiang Jian
6e57f35873 Merge branch 'backport/add_dynamic_iram_check_for_ot_sleep_v51' into 'release/v5.1'
fix(pm): fix extra retention function to iram(Backportv5.1)

See merge request espressif/esp-idf!28134
2023-12-29 12:26:04 +08:00
Jiang Jiang Jian
2c7d68d17b Merge branch 'bugfix/clear_lp_sw_trigger_int_before_sleep_v5.1' into 'release/v5.1'
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup(v5.1)

See merge request espressif/esp-idf!28147
2023-12-29 12:20:58 +08:00
Jiang Jiang Jian
82bfc1de86 Merge branch 'bugfix/crash_in_btc_hf_init_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.1)

See merge request espressif/esp-idf!28117
2023-12-29 12:01:51 +08:00
Jiang Jiang Jian
8b84071f6a Merge branch 'backport/fix_ble_prepare_write_v5.1' into 'release/v5.1'
Backport/fix ble prepare write v5.1

See merge request espressif/esp-idf!27909
2023-12-29 12:01:01 +08:00
Jiang Jiang Jian
b938ef047c Merge branch 'bugfix/fix_fragment_bug_v5.1' into 'release/v5.1'
fix(wifi): fix the rate check error in fragment (v5.1)

See merge request espressif/esp-idf!28171
2023-12-29 11:48:49 +08:00
luoxu
5fd7c865c7 bugfix(ble_mesh): Supplementary configuration options that should be enabled. 2023-12-29 11:11:21 +08:00
Liu Linyan
a4635d75ca fix(ble_mesh): Support using random adv interval for mesh packets 2023-12-29 11:11:21 +08:00
zhangyanjiao
f4756fc21e fix(wifi): fix the rate check error in fragment 2023-12-28 19:13:00 +08:00
zhanghaipeng
7755e6190c fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 19:10:10 +08:00
Rahul Tank
aa2c91072d fix(nimble): Handled race condition for conn variables being set to NULL 2023-12-28 15:13:09 +05:30
Rahul Tank
bbd8d13f93 Merge branch 'bugfix/periodic_adv_enh_fixes_v5.1' into 'release/v5.1'
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 (v5.1)

See merge request espressif/esp-idf!28077
2023-12-28 17:24:05 +08:00
Jiang Jiang Jian
04895043f5 Merge branch 'feat/support_esp32c3_v1.1_wifi_v5.1' into 'release/v5.1'
feat(wifi): support esp32c3 v1.1 WiFi(v5.1)

See merge request espressif/esp-idf!27914
2023-12-28 16:56:49 +08:00
zhanghaipeng
17752f970a fix(phy): Fix ble tx ifs time for ESP32 2023-12-28 14:32:26 +08:00
wuzhenghui
53afab3850
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-28 13:31:55 +08:00
Shu Chen
47c89441c1 Merge branch 'backport/ieee802154_receive_done_handler_v51' into 'release/v5.1'
fix(ieee802154): introduce a receive done handler feature(backportV5.1)

See merge request espressif/esp-idf!28133
2023-12-28 11:13:06 +08:00
Jiang Jiang Jian
9088450645 Merge branch 'bugfix/fix_establish_two_sco_fail_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed establish two sco connections failed (Backport v5.1)

See merge request espressif/esp-idf!28101
2023-12-27 19:38:25 +08:00
Jiang Jiang Jian
61a11a7c1f Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_v5.1' into 'release/v5.1'
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 (v5.1)

See merge request espressif/esp-idf!28143
2023-12-27 19:37:42 +08:00
Roshan Bangar
dc9d9b41f2 fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 2023-12-27 15:03:17 +05:30
Jiang Jiang Jian
48091104b6 Merge branch 'test/ctrl_acl_u_pkt_type_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic

See merge request espressif/esp-idf!27598
2023-12-27 16:53:43 +08:00
muhaidong
e7b20b754f fix(wifi): fix beacon eb memory leak issue 2023-12-27 16:47:00 +08:00
liuning
afbe2d1165 fix(rom): fix rom ld for v5.1 2023-12-27 16:47:00 +08:00
liuning
e6efcc407e fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-12-27 16:47:00 +08:00
alanmaxwell
36e082d6e2 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-12-27 16:47:00 +08:00
wuzhenghui
ecca6fb1c2
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-27 15:36:20 +08:00
wuzhenghui
c33dd0f4a2
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 2023-12-27 15:36:15 +08:00
Jiang Jiang Jian
ddd142e624 Merge branch 'bugfix/fix_ble_recorrect_enable_bug_v5.1' into 'release/v5.1'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default (backport v5.1)

See merge request espressif/esp-idf!28110
2023-12-27 12:03:47 +08:00
Jin Cheng
9d41ed6546 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-12-26 20:21:15 +08:00