Commit Graph

1041 Commits

Author SHA1 Message Date
Sarvesh Bodakhe
235b9a2b7f fix(wifi): send correct wifi_auth_mode_t in event WIFI_EVENT_STA_CONNECTED and logs
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED for WPA3-Enterprise, which
  was previously taken directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-09-01 13:52:00 +05:30
liuning
ec68067d1b fix(wifi): fix some esp-now issues and lightsleep issues
1. fix tbtt issues when wifi_slp_iram_opt is not enabled and light sleep
   enabled
2. support espnow rx all the time at coexistence default mode, fix some
   coexist perfermance issue with coexistence default mode.
3. support connectionless ps with enhanced_light_sleep
4. fix espnow coexist issue when switching to coexistence mode
5. fix concurrent issue of connectionless_interval_set API
2025-08-26 17:58:48 +08:00
yinqingzhao
7e92f63180 fix(wifi): fix some wifi bugs 2025-08-25 16:30:54 +08:00
Shreyas Sheth
3df001e84f fix(wifi): Fix issues discovered by customer for offchannel 2025-08-22 15:06:32 +05:30
muhaidong
c678cf9432 fix(wifi): fix open mode rx fragment fail issue 2025-08-06 16:33:43 +08:00
Kapil Gupta
1264331285 fix (esp_wifi): Set default akm as eap for non AKM APs 2025-08-02 10:42:49 +05:30
tarun.kumar
3afd8f8b19 fix(wifi): Sending disconnect event in connect fail and add enterprise check in Suite-B 192-bit certification 2025-08-02 10:38:30 +05:30
tarun.kumar
53e113f87a fix(softAP): Adjusted authentication mode for wpa-eap version 1 2025-08-02 10:35:17 +05:30
Kapil Gupta
82db08f9a2 fix(esp_wifi): Set default ap mgmt cipher 2025-07-28 12:03:47 +05:30
sibeibei
34c922cf59 fix(wifi): rx bcn failed when sta off channel under modem state 2025-07-16 21:47:39 +08:00
sibeibei
ef8b1ab5c5 fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist 2025-07-16 21:35:37 +08:00
wangtao@espressif.com
4a71980fc7 fix(wifi): add check for esp_wifi_set_config 2025-07-16 21:35:37 +08:00
zhangyanjiao
a7fd7033b5 fix(wifi): fix duplicated offchan error, add coex wifi event imm 2025-07-14 19:47:28 +08:00
Shreyas Sheth
bcde651df7 fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect 2025-07-09 15:19:18 +05:30
Sarvesh Bodakhe
2597683fa7 fix(wif): Prevent NON-PMF STA retries if esp_wifi_disconnect() before handshake
Ensure that NON-PMF station does not attemp connection retries when
'esp_wifi_disconnect()' is called before the 4-way-handshake completes,
even if 'failure_retry_cnt' allows retries.
2025-07-08 10:20:50 +05:30
muhaidong
edf7d1329e fix(coex): fix some external coexist issue 2025-06-25 19:56:31 +08:00
ding huan
504b11a554 fix(conn):wifi connect before connected status 2025-06-24 16:47:36 +08:00
zhangyanjiao
c5fc819178 fix(wifi): Added more check when receiving espnow data 2025-06-03 11:14:28 +08:00
zhangyanjiao
8bafd5e175 fix(wifi): fix the sta connection info loss lr info issue on C6 2025-05-29 14:13:14 +08:00
yinqingzhao
2df8ae8488 fix(wifi): fix some wifi bugs 2025-05-26 17:51:32 +08:00
Jiang Jiang Jian
796bab3662 Merge branch 'fixci/add_test_for_ecos_wifi_enterprise_v51' into 'release/v5.1'
fix: pytest did not recognize test cases

See merge request espressif/esp-idf!38531
2025-05-07 10:55:40 +08:00
Sajia
45f4b71f35 refactor(wifi): Optimize wifi bin size for station mode 2025-04-29 09:59:16 +05:30
muhaidong
ba0e784411 fix(wifi): fix some wifi bugs 250427
1. fix ersu compatibility issue
2. fix association timeout timer issue for wep shared auth
2025-04-27 19:07:22 +08:00
akshat
45a56bd853 fix(wifi): Fix occasional dropping of SA Query responses by SoftAP 2025-04-25 21:43:54 +05:30
tarun.kumar
e7a71f84b1 fix(esp_wifi): Modifying os_time_t datatype for platform and compiler independence 2025-04-24 20:00:08 +05:30
luaijun
f6d0b7d0fa fix: pytest did not recognize test cases 2025-04-22 19:47:35 +08:00
Sarvesh Bodakhe
cc06a6b786 fix(wifi): Avoid writing to NVS if station configuration is not changed
Fixes the regression introduced by 0fd60e373e

Co-authored-by: yinqingzhao <yinqingzhao@espressif.com>
2025-04-19 14:41:14 +05:30
Aditi
6e9b4659b7 fix(esp_wifi): Add some wifi related fixes
1) Fix for issue in esp_now_send when wifi tx callback registered
2) Fix disconnect reason code error
2025-04-16 20:02:27 +05:30
Jiang Jiang Jian
8563471cab Merge branch 'ci/add_test_for_ecos_wifi_enterprise_v51' into 'release/v5.1'
ci(c2/c3): add major eco version tests(v5.1)

See merge request espressif/esp-idf!37802
2025-04-15 14:04:26 +08:00
luaijun
ed8efcf6e9 ci(c2/c3): add major eco version tests(v5.1) 2025-04-11 15:48:14 +08:00
baohongde
00a728f932 feat(coex): Support BR/EDR (e)SCO and Wi-Fi coexistence 2025-04-09 11:01:32 +08:00
Kapil Gupta
9fd690eb65 ci(wifi): Add builds for FT, RRM and WNM configs 2025-04-07 16:11:31 +05:30
Kapil Gupta
2c43db17db fix(esp_wifi): Correctly break 11kv config into wnm and rrm configs 2025-04-07 16:05:26 +05:30
Aditi
c806d3e765 fix(wpa_supplicant): Add two separate flags for RRM and WNM
Added two separate flags CONFIG_RRM(80211k) and CONFIG_WNM(80211v)
    flags under IEEE80211KV support flag.
2025-04-07 16:03:47 +05:30
Shreyas Sheth
979cd25e60 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-04-07 16:03:41 +05:30
Sarvesh Bodakhe
0fd60e373e fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed 2025-04-04 00:13:46 +05:30
yinqingzhao
2ed6bf6515 fix(wifi): fix some wifi bugs 2025-03-27 17:43:11 +08:00
zhangyanjiao
74610762b9 fix(wifi): Added timer to send wake null after STA received assoc response 2025-03-20 15:28:44 +08:00
zhangyanjiao
76db824247 docs(wifi): update the description for esp_mesh_send() return value
Closes https://github.com/espressif/esp-idf/issues/14440
2025-03-19 19:16:30 +08:00
tarun.kumar
1c9251fecc fix(wifi): Modify authmode to sta for sta connect event 2025-03-10 17:49:55 +05:30
Sajia
41432d4ff7 fix(esp_wifi): Check SSID from Assoc Req before starting SA Query 2025-02-21 12:43:17 +05:30
liuning
b2ecccfde3 feat(coex): add coexist scheme for bt inquiry/page coexist with wifi 2025-02-17 11:36:54 +08:00
Sarvesh Bodakhe
2665028530 feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
This event is triggered when external station tries connecting to softAP
with wrong password.

Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2025-02-03 16:19:16 +05:30
Sarvesh Bodakhe
dbae199c42 revert(wifi): Revert support to recongize different WPA3 Authentication modes"
This reverts commit 13055cbcec.
2025-02-03 16:19:13 +05:30
Sarvesh Bodakhe
cabc4eb16b fix(wifi): Fix stack overflow when failure_retry_cnt is set
Fix issue of increased stack usage when failure_retry_cnt is set
and wifi driver internally retries connection attempts.
2025-01-24 14:05:53 +05:30
muhaidong
60778f2a8c fix(wifi): fix wep shared auth connect fail issue 2025-01-23 19:54:31 +08:00
wangtao@espressif.com
b114ae2e47 fix(wifi): fix max idle period 1 issue 2025-01-23 11:23:56 +08:00
zhangyanjiao
884fd332a8 fix(wifi/mesh): fixed the mesh connection failure in WPA3 mode after erasing flash
Closes https://github.com/espressif/esp-idf/issues/14095
2025-01-13 10:52:34 +08:00
yinqingzhao
13c68bd1bd fix(wifi): remove micro definition 2025-01-09 19:06:11 +08:00
Sarvesh Bodakhe
b48f406a0d fix(wifi): Fix bug in authmode detection for wpa2/wpa3 enterprise
1. WPA3-Enterprise mandates the use of AKM suite selector
   00:0F:AC:5 (IEEE80211 802.1X with SHA-256)
2. Add placeholder enums in 'wifi_auth_mode_t' for maintaining
   forward compatibility with minor versions > v5.1
2025-01-08 21:22:34 +05:30