Commit Graph

1661 Commits

Author SHA1 Message Date
Jiang Jiang Jian
b50fc62d2f Merge branch 'bugfix/fix_example_power_save_build_fail_issue' into 'master'
fix(esp_timer): preserve timer_process_alarm symbol for ldgen

Closes WIFI-7625

See merge request espressif/esp-idf!52528
2026-09-10 20:45:17 +08:00
Kapil Gupta
05c44bcb8e Merge branch 'fix/btm_query_reason' into 'master'
Send Low RSSI reason in BTM Query for roaming

Closes WIFIBUG-2120

See merge request espressif/esp-idf!52106
2026-09-10 12:13:40 +05:30
Kapil Gupta
a7cb4cc709 Merge branch 'fix/blacklist_roaming_issue' into 'master'
Preserve SSID and authmode across disconnect for blacklist recovery

Closes WIFIBUG-2168

See merge request espressif/esp-idf!52643
2026-09-10 11:13:58 +05:30
Kapil Gupta
4c9ffea8dd Merge branch 'fix/roam_init_deinit_issue' into 'master'
Roam handle unregister issue

Closes WIFIBUG-2079

See merge request espressif/esp-idf!52312
2026-09-10 11:13:19 +05:30
tarun.kumar
ce30446c3d fix(wifi): Send Low RSSI reason in BTM Query for roaming
Roaming previously used REASON_RSSI (5), which APs decode as Load
Balancing. Send Low RSSI (16) from RoamingApp and the example
without changing the public btm_query_reason enum.
2026-09-10 11:52:25 +08:00
tarun.kumar
602a9dc9e8 fix(wifi) : Preserve SSID and authmode across disconnect for blacklist recovery 2026-09-09 12:51:14 +05:30
muhaidong
fbaab87263 fix(esp_timer): preserve timer_process_alarm symbol for ldgen 2026-09-09 09:55:57 +08:00
Xu Si Yu
66ab063a9a feat(coex): support phy grant protect 2026-09-04 11:06:58 +08:00
Sajia
812634176b refactor(wifi): Improve owe scan time and refactor code 2026-09-03 14:19:57 +05:30
Jiang Jiang Jian
ef2b8a164d Merge branch 'fix/scan_only_parse' into 'master'
Add scan only parser to show AP full compatibility

Closes ESPCS-1092

See merge request espressif/esp-idf!49948
2026-09-03 16:43:42 +08:00
Nachiket Kukade
a9b89a3fd5 Merge branch 'fix/eloop-wifi-deinit-leak-delay' into 'master'
test(wpa_supplicant): wait for the idle task after esp_wifi_deinit in eloop unit test

Closes IDFCI-11307 and IDFCI-12170

See merge request espressif/esp-idf!52111
2026-09-03 14:03:45 +08:00
tarun.kumar
3a33ee7aa9 fix(wifi) : Add scan only parser to show AP full compatibility 2026-09-02 16:12:35 +05:30
tarun.kumar
52d901c539 fix(wifi) : Roam handle unregister issue 2026-09-02 13:12:14 +05:30
Sarvesh Bodakhe
bff264775a 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.
2026-09-01 14:17:10 +05:30
tarun.kumar
f1615372d2 fix(wifi) : Add validation check in roc and tx_req api's, update doc 2026-08-31 20:31:05 +05:30
Jiang Jiang Jian
0cae1ec820 Merge branch 'fix/blacklist_roam_reason' into 'master'
Added more reason codes for blacklist roam

Closes WIFIBUG-2040

See merge request espressif/esp-idf!50875
2026-08-31 10:48:44 +08:00
Jiang Jiang Jian
2067f3ae32 Merge branch 'fix/low_rssi_roam_diff' into 'master'
fix(wifi): Require RSSI gain before low-RSSI roam

Closes WIFIBUG-2042

See merge request espressif/esp-idf!51706
2026-08-28 18:00:14 +08:00
tarun.kumar
8c240478bc fix(wifi) : Made changes to scan and doing it group decreasing scan time and increasing throughput 2026-08-25 18:12:38 +05:30
tarun.kumar
23f1cb78a8 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-25 20:01:14 +08:00
tarun.kumar
e0aa51f8bf 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-25 20:01:14 +08:00
Akshat Agrawal
9d46326879 fix(ftm): tolerate small t2/t3 inversion in measurement validation
- Update FTM calibration for esp32c5, C61, C6, C3
2026-08-25 09:53:17 +05:30
yinqingzhao
b1ebe0287a feat(wifi): support fixed ampdu rate 2026-08-21 14:26:49 +08:00
tarun.kumar
cd3e4935fa fix(wifi) : Added more reason codes for blacklist roam 2026-08-18 11:05:01 +05:30
yinqingzhao
433e17dfd3 feat(wifi): support max bandwidth negotiation 2026-08-12 17:53:45 +08:00
Sarvesh Bodakhe
42651e1ee1 fix(wifi): fix NAN availability time bitmap parsing issue
Accept spec-legal NAN availability time bitmaps (period > 512 TU,
bitmap length > 4, full 9-bit start offset) so iPhone secured NDP
setup is no longer rejected with NDL_UNACCEPTABLE.

Fixes NAN NDP interop with the iPhone 17 series.
2026-08-06 17:25:48 +05:30
sibeibei
2b528716be fix(scan): prioritize if1_conn check for home channel return logic 2026-08-06 15:39:06 +08:00
wangtao@espressif.com
bbccbd5b1d fix(wifi): fix wifi scan and wps connect issue 2026-08-04 20:33:34 +08:00
muhaidong
33d39c304f fix(wifi): fix disconnect failure issue 2026-08-04 15:42:39 +08:00
yinqingzhao
ab8568f547 fix(wifi): add workaround for s31 beacon timestamp issue 2026-08-03 21:48:27 +08:00
Akshat Agrawal
e6976ab858 fix(ftm): Update FTM calibraton values for esp32c5, esp32c3, esp32c6, esp32c61 2026-07-29 16:19:09 +05:30
liuning
3926f44670 fix(wifi): fix chip cant sleep when disconnecting at probe process 2026-07-28 20:29:06 +08:00
zhangyanjiao
119410fbd1 fix(wifi): fixed espnow data rate overridden by stale rate control 2026-07-28 16:58:12 +08:00
yinqingzhao
d75eb65787 fix(wifi): fix addba request dialog token zero and add ds parameter IE on 5g band 2026-07-28 10:22:12 +08:00
Akshat Agrawal
c268031acd fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx 2026-07-24 15:11:58 +05:30
zhangyanjiao
6a4fb7e546 fix(wifi): fixed the assignment error in esptouch v2 2026-07-23 10:45:24 +08:00
zhangyanjiao
a3fa56db51 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-07-21 14:09:35 +08:00
Island
de98d9d4ad Merge branch 'feat/feat_support_phy_enable_using_regdma' into 'master'
Feat/feat support phy enable using regdma

Closes BLERP-2376, BLERP-2381, and PM-635

See merge request espressif/esp-idf!46356
2026-07-21 10:40:03 +08:00
Shreyas Sheth
37646ec2d5 fix(esp_wifi): fix issues for scan, and NULL packets tx for random mac (9bbd59c) 2026-07-18 17:38:50 +08:00
Akshat Agrawal
4f93a6777b Fix(NAN): fix Memory Corruption due to BIP encryption
- Set internal NAN params based on the user configurable Platform

 - On a secured NDP the responder could not derive keys
   (passphrase/credential mismatch); reject cleanly and
   fire ndp_terminated/ndp_confirm(REJECTED) on every
   teardown path so the host frees the NDP-ID.

 - Tear down the old NDP when the same peer re-initiates with
   a new M1, instead of rejecting and leaking the NDL.
2026-07-17 13:51:16 +05:30
Nachiket Kukade
a8ff7d2ab3 fix(nan): Guard netif calls in NAN_STARTED default event handler
- Commit 08e98f6f30 utilises CONFIG_LWIP_ND6_SUPPORT_STATIC_ENTRIES
  for adding static entries.
- It moves netif calls that generate GOT IPv6 to NAN_STARTED default
  handler without guard, but guards the removal in NDP Confirm handler
- Fix the possible duplicate calls by putting calls from NAN_STARTED
  handler under CONFIG_LWIP_ND6_SUPPORT_STATIC_ENTRIES guard
2026-07-17 13:51:16 +05:30
Sarvesh Bodakhe
161197138a fix(nan): log service match only after the security gate passes
- subscriber security gate, so a gated (dropped) match still logged an
   affirmative match line while no WIFI_EVENT_NAN_SVC_MATCH was posted.
   Log only when the event is sent.

 - security_cfg was copied into the service slot even with security_reqd=0,
   while credential validation only runs when security_reqd is set. Such an
   undeclared config silently armed the subscriber service-match security
   gate, suppressing match events. Scrub security_cfg from the working copy
   and warn instead.
2026-07-17 13:51:05 +05:30
cjin
6ec7a718f9 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-07-17 11:04:26 +08:00
cjin
226f11da96 feat(modem): rename the sleep modem functions 2026-07-17 11:04:26 +08:00
Akshat Agrawal
b08e848f46 fix(nan): Transmit NULL packet correctly to avoid NDP termination 2026-07-13 14:51:43 +05:30
Chen Yu Dong
89590855a0 Merge branch 'refactor/esp_wifi_regulatory_esp_pylib' into 'master'
refactor(esp_wifi): migrate regulatory tools to esp-pylib

See merge request espressif/esp-idf!49976
2026-07-12 00:49:48 +08:00
Shreyas Sheth
53e36b0ce4 fix(wpa_supplicant): Fix issues related to pmkid mismatch and eloop for dpp 2026-07-09 17:38:49 +05:30
tarun.kumar
f614b0343c fix(wifi) : Correct blacklist flag
- Fixes state desync where global blacklist was cleared but blacklist bss flag was true causing rejection of correct AP as well.
2026-07-08 15:22:50 +05:30
zhangyanjiao
cf695709f1 fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabled 2026-07-07 15:31:00 +08:00
Sarvesh Bodakhe
61b705f030 refactor(wifi): astyle-format wifi_netif.c
The ternary continuation in esp_wifi_netif_set_static_neighbor() was not
astyle-formatted; re-indent it so the pre-commit astyle hook passes in CI.
2026-07-01 20:30:47 +05:30
Sarvesh Bodakhe
4639b57485 refactor(nan): drop '##' debug marker from key hexdump tags
The six key-material hexdumps (ND-IGTK/BIGTK/TK/GTK and the peer IGTK/BIGTK)
kept a leftover '##' dev-grep marker on their tag string. Drop it; the
descriptive labels stay and the dumps remain at ESP_LOG_DEBUG.
2026-07-01 20:26:10 +05:30