Commit Graph

15711 Commits

Author SHA1 Message Date
Zim Kalinowski
f558578958 Merge branch 'refactor/nvs_allocatable_objects_v4.2' into 'release/v4.2'
refactor(nvs): custom allocator for all objects allocated in NVS (v4.2)

See merge request espressif/esp-idf!21796
2023-03-14 03:58:03 +08:00
Jakob Hasse
3705e39db9 refactor(nvs): custom allocator for all objects allocated in NVS 2023-03-04 14:07:10 +00:00
Zim Kalinowski
45a488f9e1 Merge branch 'bugfix/twai_listen_only_errata_v4.2' into 'release/v4.2'
twai: Add errata workaround for listen only mode (v4.2)

See merge request espressif/esp-idf!22517
2023-03-01 16:13:31 +08:00
Roland Dobai
129c4f5b62 Merge branch 'fix/gdbgui_v4.2' into 'release/v4.2'
Tools: gdbgui is not supported on Python 3.11 (v4.2)

See merge request espressif/esp-idf!22549
2023-03-01 16:01:03 +08:00
Roland Dobai
9e9cbd541b Tools: gdbgui is not supported on Python 3.11
Closes https://github.com/espressif/esp-idf/issues/10116
2023-02-28 16:15:22 +01:00
Darian Leung
f3a8a911c0 twai: Add errata workaround for listen only mode
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.

Errata Description:

When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.

Workaround:

We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.

Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 20:38:37 +08:00
Jiang Jiang Jian
ab0ae8733f Merge branch 'bugfix/build_err_with_ssr_enabled_v4.2' into 'release/v4.2'
bt: Fixed build errors when sniff subrating is enabled (v4.2)

See merge request espressif/esp-idf!22353
2023-02-17 13:51:55 +08:00
Jin Cheng
c25d227280 Fixed build errors when sniff subrating is enabled. 2023-02-16 15:25:41 +08:00
Jiang Jiang Jian
30af2e87f5 Merge branch 'fix/long_assoc_comeback_time_v4.2' into 'release/v4.2'
esp_wifi: reject AP when assoc comeback time given is greater than 5 seconds (Backport v4.2)

See merge request espressif/esp-idf!21814
2023-01-12 13:56:57 +08:00
Sarvesh Bodakhe
3bc7626603 esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2023-01-11 14:39:24 +05:30
Jiang Jiang Jian
034d954cd2 Merge branch 'bugfix/sae_auth_and_pmk_issues_v4.2' into 'release/v4.2'
Fix SAE open auth and PMK issues (Backport v4.2)

See merge request espressif/esp-idf!21921
2023-01-10 22:16:21 +08:00
Shyamal Khachane
a858328f3b wpa_supplicant: Set PMK from PMKSA incase of caching 2023-01-09 10:22:15 +05:30
Shyamal Khachane
7d70759991 esp_wifi: Fix open auth issue after commit message exchange 2023-01-09 10:22:15 +05:30
Jiang Jiang Jian
8da3f6ec7f Merge branch 'bugfix/fix_softap_beacon_memory_leak_issue_v4.2' into 'release/v4.2'
esp_wifi: fix softap beacon memory leak issue(Backport v4.2)

See merge request espressif/esp-idf!21813
2023-01-06 12:03:53 +08:00
Island
6012cda1fe Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback_forv4.2' into 'release/v4.2'
ble_mesh:example:change position of vendor model and generic onoff model callback(v4.2)

See merge request espressif/esp-idf!21801
2022-12-30 10:16:43 +08:00
Yuan Hong Hui
76e254cfb0 ble_mesh:example:change position of vendor model and generic onoff model callback(v4.2) 2022-12-30 10:16:42 +08:00
Jiang Jiang Jian
cb47c3fbc1 Merge branch 'bugfix/backport_wifi_fixes_v4.2' into 'release/v4.2'
backported some wifi fixes (backport v4.2)

See merge request espressif/esp-idf!21812
2022-12-27 23:51:46 +08:00
muhaidong
d6722f1ae1 esp_wifi: fix softap beacon memory leak issue
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
2022-12-27 19:34:13 +08:00
Kapil Gupta
a519f63740 esp_wifi: Add changes to skip SAE handshake during WPS connection 2022-12-27 15:33:33 +05:30
Kapil Gupta
81a0c6a27d esp_wifi: Flush PMK caching if bss akm has changed 2022-12-27 15:32:46 +05:30
Kapil Gupta
4a5f26d7fc Correct SSID copy length during WPS scan 2022-12-27 15:32:35 +05:30
Jiang Jiang Jian
c135695a18 Merge branch 'bugfix/fix_ble_some_bugs_20221219_v4.2' into 'release/v4.2'
backport some BLE bugs 20221219 (backport v4.2)

See merge request espressif/esp-idf!21720
2022-12-21 12:00:08 +08:00
Jiang Jiang Jian
7c9bdca900 Merge branch 'bugfix/spp_vfs_memory_leak_v4.2' into 'release/v4.2'
Component_bt/fix esp_spp_vfs_register memory leak(v4.2)

See merge request espressif/esp-idf!21717
2022-12-21 11:59:58 +08:00
Jiang Jiang Jian
6617cee1b2 Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v4.2' into 'release/v4.2'
Fixed some BLE bugs (backport v4.2)

See merge request espressif/esp-idf!21696
2022-12-20 18:56:46 +08:00
zwj
18d0ba010d Update bt lib for ESP32
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
- Change default TX power to 9 dBm
- Fixed disconnect reason 0x1f (unspecified error)
- Fixed connection timeout due to terminate ind has not been acknowledged
- Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-20 17:21:21 +08:00
xiongweichao
7f371f7864 bt: Fixed repeated register of vfs_id causing memory leaks 2022-12-20 15:13:44 +08:00
xiongweichao
1d43c9103c Assert when malloc user_data fail 2022-12-20 15:13:25 +08:00
xiongweichao
41d064578f Fixed memory leak when SPP initialization failed 2022-12-20 15:12:48 +08:00
chenjianhua
2fd6fa2773 bluedroid: fix ble connection update with same params 2022-12-19 20:05:50 +08:00
chenjianhua
4ea33bbdba examples: fix ble hid led output report 2022-12-19 20:05:50 +08:00
chenjianhua
310be0d052 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 20:05:50 +08:00
chenjianhua
b24bc2482b bluedroid: correct the length of att read by type pdu 2022-12-19 20:05:50 +08:00
Island
79f74f8f76 Merge branch 'bugfix/change_the_level_of_nimble_log_forv4.2' into 'release/v4.2'
ble_mesh:example:change the level of nimble host log(v4.2)

See merge request espressif/esp-idf!21631
2022-12-16 14:13:11 +08:00
Yuan Hong Hui
41ed43cc51 ble_mesh:example:change the level of nimble host log 2022-12-15 18:07:44 +08:00
Jiang Jiang Jian
698aae95cf Merge branch 'contrib/github_pr_9529_v4.2' into 'release/v4.2'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v4.2)

See merge request espressif/esp-idf!21474
2022-12-13 13:56:24 +08:00
morris
083483effc Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v4.2' into 'release/v4.2'
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v4.2)

See merge request espressif/esp-idf!21379
2022-12-12 15:50:41 +08:00
Jiang Jiang Jian
24de51437b Merge branch 'bugfix/correct_the_default_SR_mode_v4.2' into 'release/v4.2'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v4.2)

See merge request espressif/esp-idf!21522
2022-12-12 14:57:37 +08:00
xiongweichao
e5e225adaa bt: Fixed incorrect parameters in switching to BTC context 2022-12-09 16:27:36 +08:00
xiongweichao
b5a959f11d bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-12-09 16:27:36 +08:00
Jin Cheng
bd9fddf174 correct the SR_mode selection when konw nothing about Peripheral 2022-12-09 10:39:59 +08:00
xiongweichao
0b0f2eeb01 bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-08 18:47:31 +08:00
Jiang Jiang Jian
ff4d3224aa Merge branch 'bugfix/Fix_exceptional_list_params_check_v4.2' into 'release/v4.2'
ble_mesh: stack: Fix exceptional list parameters check issue(v4.2)

See merge request espressif/esp-idf!21444
2022-12-06 20:40:45 +08:00
wangjialiang
c281ef1f43 ble_mesh: stack: Fix exceptional list parameters check issue 2022-12-05 20:35:54 +08:00
Jiang Jiang Jian
8c6057db9d Merge branch 'bugfix/unprot_sa_query_issue_v4.2' into 'release/v4.2'
Fix unprotected SA Query issue (Backport v4.2)

See merge request espressif/esp-idf!21316
2022-12-05 10:59:10 +08:00
wanlei
e08bbd311f spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin 2022-12-01 20:36:14 +08:00
Jiang Jiang Jian
9ff6e4492e Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v4.2' into 'release/v4.2'
component_bt: Fixed a2dp failing to connect again after disconnect(v4.2)

See merge request espressif/esp-idf!21345
2022-12-01 10:30:30 +08:00
gauri patankar
b924092320 esp_wifi: Update wifi libs
Fix unprotected SA Query issue
2022-11-30 17:39:55 +05:30
xiongweichao
1e09841bd1 bt: Fixed a2dp failing to connect again after disconnect 2022-11-30 19:19:18 +08:00
Jiang Jiang Jian
e6c736b1d7 Merge branch 'bugfix/security_params_overwrite_v4.2' into 'release/v4.2'
Add changes to prevent security params overwritten in full scan (backport v4.2)

See merge request espressif/esp-idf!21290
2022-11-30 14:35:34 +08:00
Jiang Jiang Jian
49e15e942c Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.2' into 'release/v4.2'
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.2]

See merge request espressif/esp-idf!21160
2022-11-30 10:59:47 +08:00