Commit Graph

22801 Commits

Author SHA1 Message Date
wangtao@espressif.com
379a646390 fix(wifi): fix esp32c2eco4 wifi deinit crash issue 2024-12-03 15:56:21 +08:00
Konstantin Kondrashov
f18a74032a fix(spi_flash): Fix Test esp_flash_write 2024-12-03 09:56:11 +02:00
Armando
23b64495d7 fix(psram): fixed esp32p pico-v3 psram init not ignored issue
Closes https://github.com/espressif/esp-idf/issues/14970
2024-12-03 15:27:41 +08:00
Astha Verma
075137eebf fix(nimble): Added a function for printing HCI error definition 2024-12-03 12:11:34 +05:30
Jouni Malinen
4e9f740a0e SAE: Check for invalid Rejected Groups element length explicitly on STA
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Fixes: 444d76f74f65 ("SAE: Check that peer's rejected groups are not enabled")
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
7d943fb032 SAE: Check that peer's rejected groups are not enabled
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-12-03 14:05:21 +08:00
Jouni Malinen
84dc7782b7 SAE: Reject invalid Rejected Groups element in the parser
There is no need to depend on all uses (i.e., both hostapd and
wpa_supplicant) to verify that the length of the Rejected Groups field
in the Rejected Groups element is valid (i.e., a multiple of two octets)
since the common parser can reject the message when detecting this.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
2e25cef6b3 SAE: Check for invalid Rejected Groups element length explicitly
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
3448ff697b SAE: Check that peer's rejected groups are not enabled in AP
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-12-03 14:05:21 +08:00
Li Shuai
2b406b6810 fix(esp_hw_support): fix the issue of regdma wait node to immediately return to done 2024-12-03 10:35:06 +08:00
Rahul Tank
6052f46b06 Merge branch 'bugfix/change_hci_cb_logging_v5.1' into 'release/v5.1'
fix(nimble): Replace ESP_LOG* with esp_rom_printf in controller context callback (v5.1)

See merge request espressif/esp-idf!35030
2024-12-02 18:22:51 +08:00
zhiweijian
5f680167d3 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:18:33 +08:00
Island
116f856111 Merge branch 'fix/ble_mesh_heartbeat_bug_v5.1' into 'release/v5.1'
fix(ble_mesh): fixed heartbeat issue (v5.1)

See merge request espressif/esp-idf!34963
2024-12-02 11:29:44 +08:00
morris
5cbd829624 Merge branch 'fix/spi_slave_no_dma_rx_overwrite_v5.1' into 'release/v5.1'
fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over (v5.1)

See merge request espressif/esp-idf!34173
2024-12-02 10:45:41 +08:00
Wang Meng Yang
763ef6b3e3 Merge branch 'bugfix/sdp_get_uuid_error_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed issues introduced by byte alignment(v5.1)

See merge request espressif/esp-idf!35255
2024-12-02 09:50:13 +08:00
Jiang Jiang Jian
0dbc947c2b Merge branch 'bugfix/fix_wifi_bugs_241126_v5.1' into 'release/v5.1'
bugfix: fix some wifi issues 241126 v5.1

See merge request espressif/esp-idf!35224
2024-11-29 20:29:29 +08:00
Wang Meng Yang
ea5c51cbfa Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.1' into 'release/v5.1'
fix(bt): fixed some issues in esp32 bt controller(backport v5.1)

See merge request espressif/esp-idf!35297
2024-11-29 20:01:37 +08:00
gongyantao
dc375a769d fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:12:00 +08:00
morris
3a7cc46e29 Merge branch 'contrib/github_pr_14767_v5.1' into 'release/v5.1'
fix(gptimer): race on FSM state in gptimer_start() (GitHub PR) (v5.1)

See merge request espressif/esp-idf!35137
2024-11-29 13:32:47 +08:00
sibeibei
ee099bda6c fix(wifi): fix some wifi issues 241031
1. fix cant sleep if reconnect to connected ap
    2. clear pmk in internal reconnection
    3. update connect status for init-->auth
2024-11-28 16:44:20 +08:00
Rahul Tank
a7855d3adb Merge branch 'bugfix/resolve_watchdog_crash_v5.1' into 'release/v5.1'
fix(nimble): Resolved watchdog due to memory exceed prints (v5.1)

See merge request espressif/esp-idf!35211
2024-11-28 15:07:10 +08:00
Island
2928d40078 Merge branch 'bugfix/add_aa_check_on_esp32c2_and_esp32c6_v5.1' into 'release/v5.1'
Bugfix/add aa check on esp32c2 and esp32c6 (v5.1)

See merge request espressif/esp-idf!35231
2024-11-28 11:02:48 +08:00
xiongweichao
2ebdb13bc3 fix(bt/bluedroid): fixed issues introduced by byte alignment
- esp_bt_uuid_t is byte aligned, tBT_UUID is 4-byte aligned.
2024-11-28 10:38:18 +08:00
Alexey Gerenkov
f2a0d61739 Merge branch 'change/sysview_test_config_v5.1' into 'release/v5.1'
change(sysview): run heap_log tracing tests on existing cores (v5.1)

See merge request espressif/esp-idf!35198
2024-11-27 18:58:33 +08:00
Abhinav Kudnar
b29e4093e3 fix(nimble): Resolved watchdog due to memory exceed prints 2024-11-27 18:05:27 +08:00
zlq
6ae7b61b2b fix(H2):fix pll low temp bug 2024-11-27 17:51:18 +08:00
Shu Chen
a355efbf6f Merge branch 'backport/openthread_related_feature_v51_20241125' into 'release/v5.1'
Backport openthread related features to 5.1

See merge request espressif/esp-idf!35174
2024-11-27 16:38:08 +08:00
zwl
d8bd860402 fix(ble): fixed the connect issue when rx error aa on ESP32-C6 2024-11-27 16:20:29 +08:00
Zhao Wei Liang
e81b4628b6 fix(ble): fixed the connect issue when rx error aa on ESP32-H2
(cherry picked from commit 093b65e27c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-27 16:03:34 +08:00
Island
8cee3e3f9a Merge branch 'bugfix/fix_bleqabr24_1646_v5.1' into 'release/v5.1'
Fixed BLE creating connection when the connection already exists on ESP32 (v5.1)

See merge request espressif/esp-idf!35044
2024-11-27 15:44:44 +08:00
Wang Meng Yang
3e1ecc4e8b Merge branch 'feat/add_profile_state_event_v5.1' into 'release/v5.1'
feat(bt/bluedroid): added events to indicate the profile states of HFP (v5.1)

See merge request espressif/esp-idf!35151
2024-11-27 14:44:14 +08:00
wanckl
34a7551c3d fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over
Closes https://github.com/espressif/esp-idf/issues/14462
2024-11-27 11:07:22 +08:00
Shyamal Khachane
2eaee75296 fix(esp_wifi): Populate appropriate reason codes when softAP sends deauthentication
Populate appropriate reason for sending deauthentication when softAP receives
invalid RSN IE from association request
2024-11-27 00:34:50 +05:30
Sarvesh Bodakhe
e35035aa9a fix(wifi): Fix wrong wifi reason codes reported on station and softAP
- Fix wrong reason code reported when softAP issues a disconnect for station
- Fix wrong reason code reported when association timeout happens at station
- Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED
  and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY,
  WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA,
  WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively
- Update wifi documentation related to reason codes
2024-11-27 00:34:47 +05:30
Sarvesh Bodakhe
9475109311 fix(wpa_supplicant): Fix debug print in wps_start_msg_timer() 2024-11-27 00:30:24 +05:30
Sarvesh Bodakhe
a0c7229954 fix(wifi): Fix bug in wrong profile checking of AP's RSNXE IE 2024-11-27 00:30:22 +05:30
Erhan Kurubas
aefe7913c5 fix(sysview): add prefix to the module desc to avoid stuck in Segger SystemView app
Closes https://github.com/espressif/esp-idf/issues/10483
2024-11-26 09:04:38 +01:00
Erhan Kurubas
344ac60cf1 change(sysview): support single/dual core targets in heap_trace_log test 2024-11-26 08:56:59 +01:00
chenjianhua
f09d2524a2 fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-26 15:34:26 +08:00
Wang Meng Yang
345693ce9b Merge branch 'bugfix/disconn_sdp_upon_wrong_data_v5.1' into 'release/v5.1'
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response (v5.1)

See merge request espressif/esp-idf!35146
2024-11-26 14:59:48 +08:00
Island
43e4dd53e8 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.1' into 'release/v5.1'
fix(ble): fix ble light sleep error on esp32c2 (v5.1)

See merge request espressif/esp-idf!35053
2024-11-26 11:09:58 +08:00
Jiang Jiang Jian
aeff1279f6 Merge branch 'bugfix/fix_external_coex_build_fail_issue_v5.1' into 'release/v5.1'
fix external coex build fail issue

See merge request espressif/esp-idf!35178
2024-11-26 10:27:00 +08:00
muhaidong
aa52d39d4b fix external coex build fail issue 2024-11-25 20:11:11 +08:00
Xu Si Yu
dee502d6cb feat(openthread): adjusted the default macro configurations of openthread 2024-11-25 18:16:00 +08:00
Xu Si Yu
f9aa14a5f3 feat(openthread): support using custom header file 2024-11-25 18:15:05 +08:00
Jin Cheng
61beadb586 feat(bt/bluedroid): added events to indicate the profile states of HFP 2024-11-25 16:23:10 +08:00
yinqingzhao
2a715e4203 feat(twt): twt add parameter to enable keep alive 2024-11-25 15:10:56 +08:00
Jin Cheng
e65a01c55a fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:20:27 +08:00
Wang Meng Yang
07821e8408 Merge branch 'bugfix/lmp_trans_collision_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.1)

See merge request espressif/esp-idf!34947
2024-11-25 09:53:24 +08:00
Wang Meng Yang
edb09cdb28 Merge branch 'bugfix/rx_invalid_cmd_err_code_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed the incorrect error code returned when receiving an invalid command(v5.1)

See merge request espressif/esp-idf!34993
2024-11-22 21:16:19 +08:00