Commit Graph

1502 Commits

Author SHA1 Message Date
cjin
8408bf65ae feat(sleep_modem): allow multi modem to enable rf with regdma 2026-09-17 08:33:10 +08:00
cjin
78c921698a feat(modem): rename the sleep modem functions 2026-09-17 08:33:10 +08:00
yinqingzhao
16740a8799 feat(wifi): support fixed ampdu rate 2026-09-15 14:34:03 +08:00
Jiang Jiang Jian
b9b7315e4e Merge branch 'bugfix/fix_chip_cant_sleep_after_connect_failed_v6.0' into 'release/v6.0'
fix(wifi): fix chip cant sleep when disconnecting at probe process

See merge request espressif/esp-idf!52542
2026-09-15 12:07:05 +08:00
muhaidong
90fff319cd fix(esp_timer): preserve timer_process_alarm symbol for ldgen 2026-09-11 16:00:29 +08:00
liuning
3cc7f04f70 fix(wifi): fix chip cant sleep when disconnecting at probe process 2026-09-10 20:55:42 +08:00
zhangyanjiao
55aed8276c fix(wifi): fixed the buffer overflow issues
1. Added validation for password and reserved data length in ESPTouch v2
2. Added bound check for data index in ESPTouch v1 HT40
3. prevent buffer overflow when parsing MBSSID beacon
2026-09-09 19:37:40 +08:00
Sarvesh Bodakhe
ecab81cf41 test(wifi): wait for the idle task after esp_wifi_deinit in Wi-Fi UTs
The Wi-Fi task deletes itself when esp_wifi_deinit() is called, and FreeRTOS
only reclaims its TCB and stack from the idle task afterwards. Test apps that
read the heap right after deinit therefore see that memory as still allocated
and report a leak, most visibly as the eloop unit tests failing on ESP32.

Wait for the idle task at every point where a test deinitialises Wi-Fi
before a leak check, replacing the single-tick delays that only matched what
esp_wifi_deinit() already waits for internally.

(cherry picked from commit bff264775a)
2026-09-07 15:46:12 +05:30
Jiang Jiang Jian
89820050b7 Merge branch 'fix/roam_fixes_v6.0' into 'release/v6.0'
Require RSSI gain before low-RSSI roam and added reason codes(v6.0)

See merge request espressif/esp-idf!52247
2026-09-04 19:38:18 +08:00
yinqingzhao
3910571888 feat(wifi): support max bandwidth negotiation 2026-09-03 19:33:42 +08:00
tarun.kumar
f0cc477975 fix(wifi) : Added more reason codes for blacklist roam 2026-08-31 15:50:44 +05:30
tarun.kumar
d67593e2aa fix(wifi): Preserve roam_config ABI and clamp roam diff
Append low_rssi_roam_diff so existing struct members keep their offsets,
and clamp runtime values to 1-99 so determine_best_ap() cannot see 0 or wrap.
2026-08-31 15:50:28 +05:30
tarun.kumar
728ed6aad6 fix(wifi): Require RSSI gain before low-RSSI roam
Low-RSSI roaming used determine_best_ap(0), so a 1 dB better AP was
enough and nearby APs could ping-pong. Add ESP_WIFI_ROAMING_LOW_RSSI_ROAM_DIFF
(default 5 dB) as hysteresis for that path.
2026-08-31 15:50:13 +05:30
Shreyas Sheth
40b0c613e0 fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms 2026-08-19 14:26:23 +05:30
zhangyanjiao
33fced6ad6 fix(wifi): fixed espnow data rate overridden by stale rate control 2026-07-30 12:11:03 +08:00
Akshat Agrawal
eb0065b603 fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx 2026-07-24 17:18:51 +05:30
akshat
e7013f62f0 bugfix(wifi): Clear Sta TX queue to prevent key 2 send failure
Also, Ensure correct return values for key 2 and key 4.
2026-07-22 18:10:00 +05:30
zhangyanjiao
bb093bc6bc fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabledy 2026-07-22 11:09:36 +08:00
Shreyas Sheth
b9066a7747 fix(esp_wifi): Backport dpp and other fixes
1) Fix crash while connecting to dpp akm
2) Fix phy ref cnt for power management for offchannel_tx
3) Introduced a variable to indicate dpp ap for scan results
4) Introduced WIFI_AUTH_UNKNOWN for ap with misconfigured security parameters
2026-07-21 13:52:33 +05:30
tarun.kumar
fd0d67c3dc fix(wifi): Correct blacklist flag 2026-07-17 17:09:24 +05:30
muhaidong
0ed8d91726 fix(wifi): update auth mode threshold doc 2026-07-07 16:00:39 +08:00
muhaidong
eda0d8dde1 fix(wifi): update wifi scan threshold doc 2026-07-07 16:00:00 +08:00
muhaidong
dbc974cbd8 fix(wifi): fix some wifi bugs 260706 v6.0
1. support weak func for wifi lmac assert
2. post disconnect event after disassociation tx callback
3. update auth mode threshold doc3. update auth mode threshold doc3.
   update auth mode threshold doc
2026-07-07 15:59:18 +08:00
muhaidong
7afed49b3f fix(wifi): support weak func for wifi lmac assert 2026-07-07 14:07:47 +08:00
tarun.kumar
32f54e059f fix(wifi) : Add Mode/threshold checks in esp_wifi_disable_pmf_config() 2026-07-03 13:31:54 +05:30
yinqingzhao
3f1217869d fix(wifi): optimizations keep alive mechanism 2026-07-01 20:48:18 +08:00
Kapil Gupta
252bb88a33 fix(roaming): prevent timeout payload double-free on deinit
Track timeout user_data before registration, untrack on register failure
2026-05-18 12:56:28 +05:30
yinqingzhao
ab2a904330 fix(wifi): fix dfs channel check and max tb ru power issues 2026-05-15 19:48:16 +08:00
muhaidong
34b163d1d2 fix(wifi): fix hidden ap rssi update and owe beacon timeout issue 2026-05-15 16:28:52 +08:00
ding huan
084c1a9e8a ci: Add wifi static buffer case 2026-05-15 11:33:04 +08:00
Chen Yudong
5b8d79a946 ci: use case attributes to filter cases 2026-05-14 19:05:24 +08:00
muhaidong
d0d8a85a8c feat(ci): add ci test for auto mode connect passive chnnel hidden ap 2026-05-14 19:05:24 +08:00
Jiang Jiang Jian
8a85777e40 Merge branch 'feat/support_bt_external_coex_v6.0' into 'release/v6.0'
feat(coex): supports external coexisence when bluetooth is enabled (Backport v6.0)

See merge request espressif/esp-idf!48360
2026-05-14 17:03:39 +08:00
Jiang Jiang Jian
d220b6294c Merge branch 'bugfix/roaming_app_issues_v6.0' into 'release/v6.0'
fix(esp_wifi): Fixed some issues in roaming app found using static analysis (v6.0)

See merge request espressif/esp-idf!48353
2026-05-14 10:56:02 +08:00
muhaidong
3faed8e5d4 fix(coex): fix ci g_wifi_coex_basic_md5 check fail issue 2026-05-13 10:13:37 +08:00
Jiang Jiang Jian
089548e805 Merge branch 'bugfix/backport_wifi_fixes_v6.0' into 'release/v6.0'
fix(wifi): backport some wifi fixes to v6.0

See merge request espressif/esp-idf!48386
2026-05-12 21:23:03 +08:00
Jiang Jiang Jian
22ad48a64e Merge branch 'fix/fix_lost_ip_event_issue_v60' into 'release/v6.0'
Fix/fix lost ip event issue v60

See merge request espressif/esp-idf!48345
2026-05-12 20:46:10 +08:00
Jack
1d9c69c49c update wifi libs 2026-05-12 19:22:54 +08:00
sibeibei
45132d0eab fix(wifi): IRAM for regdma path used in modem pd light sleep 2026-05-12 19:22:54 +08:00
yinqingzhao
f5c26b4dd2 feat(regdomain): update regdomain according to wireless-regdb 2026-05-12 19:22:54 +08:00
yinqingzhao
85b85b2aed feat(wifi): support disable 11ac and 11ax in efuse 2026-05-12 19:22:54 +08:00
muhaidong
b565b34f3f fix(wifi): fix max connection number issue 2026-05-12 19:22:54 +08:00
yinqingzhao
a974cb2d38 feat(wifi): Add DFS channel handling and CSA support 2026-05-12 19:22:54 +08:00
liuning
c57f5cd507 fix(pm): fix coexist force wake behaviour with offchannel to optimize performance at returning home channel (90f24784) 2026-05-12 19:22:54 +08:00
wangtao@espressif.com
d5217015e3 feat(lwip): softap can get sta ip from arp table 2026-05-11 15:25:21 +08:00
Kapil Gupta
db859a0e6a fix(esp_wifi): Fixed some issues in roaming app found using static analysis 2026-05-11 11:31:46 +05:30
wangtao@espressif.com
f17769e004 fix(wifi): fix wifi blacklist issue 2026-05-09 20:16:56 +08:00
Sarvesh Bodakhe
72ad6d318d fix(wifi): improve WPA3-Enterprise and SAE authmode validation in scan
- Enforce TKIP cipher prohibition for WPA3-Enterprise per WFA spec
- Validate PMF and TKIP cipher combinations (TKIP incompatible with MFPR)
- Fix WPA+RSN IE handling for SAE authmode detection
- Add FT-SAE to AKM selection in WPA2/WPA3 mixed mode (MFPC)
- Improve enterprise authmode fallback validation with TKIP/MFPR checks
- Classify TKIP-only RSN IE APs as WPA per WPA2 Test Plan v1.19 §3.2.8.1

Addresses WPA3-Enterprise certification compliance and improves scan
result accuracy for enterprise and WPA3 networks.
2026-05-09 20:15:41 +08:00
muhaidong
8ebbf792c3 fix(wifi): only unicast frames count as keep-alive 2026-05-09 20:15:24 +08:00
zhangyanjiao
e33a437574 feat(wifi): update wifi lib for vendor ie cb and home channel 2026-05-09 20:15:11 +08:00