zhangyanjiao
82f409107c
feat(wifi): add new api to get one scan ap record
2023-12-11 18:09:13 +08:00
zhangyanjiao
192f9025fb
fix(wifi): fix issues in scan and wifi mesh
...
1. fix(wifi): fix the crash issue when clear scan ap list
2. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router
2023-12-11 18:05:55 +08:00
liuning
606360d33d
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
2023-11-28 20:52:42 +08:00
zhangyanjiao
0b740b3b80
fix(wifi): fix endless wake null at ps none mode
2023-11-23 14:43:40 +08:00
Jiang Jiang Jian
cba997763d
Merge branch 'bugfix/fix_some_wifi_bugs_231121_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs(Backport v5.0)
See merge request espressif/esp-idf!27306
2023-11-23 14:41:40 +08:00
Jiang Jiang Jian
2166b5986e
Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.0' into 'release/v5.0'
...
fix(wifi): fix wifi init reentrant issue (v5.0)
See merge request espressif/esp-idf!27175
2023-11-23 10:57:40 +08:00
muhaidong
2e5937286c
fix(wifi): fix some wifi bugs
...
1 sta not pmf capable when ap requires should reject profile
2 fix softap set config issue
3 allow some special igtk keyindx to workaround faulty APs
2023-11-22 19:04:43 +08:00
liuning
ac5ce8d02d
fix(wifi): fix wifi init reentrant issue
2023-11-22 16:58:55 +08:00
Jiang Jiang Jian
35f09a6ce6
Merge branch 'bugfix/connect_before_connected_v5.0' into 'release/v5.0'
...
fix(connect): Change second connect time to 730
See merge request espressif/esp-idf!26974
2023-11-22 10:48:38 +08:00
ding huan
856daf8a35
disable scan time set by esp_wifi_scan_start
2023-11-14 13:52:55 +08:00
ding huan
2542b74edd
fix(connect): Change second connect delay time to 730 and not depends on default value
2023-11-14 11:00:32 +08:00
alanmaxwell
5460d41b43
esp_wifi: backport some wifi fix
...
1. optimize BB filter timer to pass corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:52:06 +08:00
ding huan
3c1ec70457
fix(connect): Change second connect time to 730
2023-11-07 19:48:49 +08:00
Jiang Jiang Jian
403ad764c8
Merge branch 'bugfix/backport_fix_1102' into 'release/v5.0'
...
fix(wifi): backport some wifi fix v5.0
See merge request espressif/esp-idf!26864
2023-11-03 16:35:27 +08:00
alanmaxwell
98d617b0dc
fix(wifi): optimize wifi bin size and fix some issue
...
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix rx fragment fail in Open mode.
5.Fix ampdu duration issue
2023-11-03 11:44:40 +08:00
Kapil Gupta
ea93f7620b
fix(esp_wifi): Fix key install issue in PTK renew
2023-11-02 19:20:17 +08:00
Jiang Jiang Jian
ea59318583
Merge branch 'bugfix/fix_phy_calibration_error_for_c2_v5.0' into 'release/v5.0'
...
fix(phy): fix phy calibration error in none mode for 26MHz XTAL ESP32C2 (backport v5.0)
See merge request espressif/esp-idf!26556
2023-11-02 15:12:06 +08:00
zhangyanjiao
49f02b3b43
fix(phy): Update phy lib to master
2023-11-01 17:56:48 +08:00
Sarvesh Bodakhe
c90353291c
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-10-31 20:38:17 +08:00
liuning
728cd2489a
feat(esp_wifi): support ps-none mode at coexist
2023-10-31 20:38:17 +08:00
alanmaxwell
3d8915f2b3
feat(wifi): support esp32c3 v1.1 WiFi
...
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-31 20:38:05 +08:00
xueyunfei
1f5e7e33df
feat(esp_wifi):static buf for management,control,qos null,null data rx packet
2023-10-26 17:55:37 +08:00
alanmaxwell
555891bb54
fix(wifi): fix multi antenna issue
2023-10-26 17:54:35 +08:00
jgujarathi
6881b3fa33
fix(esp_wifi): Fixes issues in PMKSA and AID assignment
...
- Fix missing PMKSA flush scenarios.
- Fix wrong AID assigned to station when multiple stations try to connect
simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-20 13:12:12 +05:30
Shreyas Sheth
5004647fb1
fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1
2023-10-17 14:11:19 +05:30
Shreyas Sheth
79e55b6e92
docs(wifi): Update wifi and wifi security documentation and bugfixes
...
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
Shyamal Khachane
437fbbc518
fix(esp_wifi): WPA3 enterprise 192 bit fix and config modification
...
1. Added SOC caps dependency for enabling 192 bit security in wifi enterprise example
2. Fixed authmode in log and connected event for WPA3 enterprise 192 bit security
2023-10-09 16:34:14 +05:30
Jiang Jiang Jian
1f870c8102
Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.0' into 'release/v5.0'
...
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.0)
See merge request espressif/esp-idf!26098
2023-10-07 14:33:17 +08:00
Jiang Jiang Jian
acfe0474dd
Merge branch 'ci/connect_at_different_phase_v5.0' into 'release/v5.0'
...
ci(wifi): Test connect api at different phase (backport v5.0)
See merge request espressif/esp-idf!25673
2023-10-07 14:21:54 +08:00
Kapil Gupta
9562935813
change(wifi): Add dependency of group 19 for MbedTLS crypto
2023-09-25 10:57:57 +05:30
Jiang Jiang Jian
92b4e5c15b
Merge branch 'bugfix/skip_using_cache_in_wrong_passwd_cfg_v5.0' into 'release/v5.0'
...
Skip PMK cache usage if configured password is incorrect (Backport v5.0)
See merge request espressif/esp-idf!25707
2023-09-21 10:52:10 +08:00
ding huan
1eae9ce61c
ci(wifi): Test connect api at different phase
2023-09-02 21:48:59 +08:00
Shyamal Khachane
7a3d12316a
fix(esp_wifi): Skip PMK cache usage if configured password is incorrect
2023-09-01 18:48:11 +05:30
aditi_lonkar
ff523686b5
esp_wifi: Make enterprise support configurable to save binary size.
2023-08-25 11:14:49 +05:30
liuning
484f4cce31
fix(esp_wifi): fix no mac retention at wifi start
2023-08-24 06:36:34 +00:00
Shreyas Sheth
711279c36f
fix(wifi): Prevent PMF config overwritten by tx_cb
2023-08-23 03:44:47 +00:00
zhangyanjiao
8157b2606b
fix(wifi/vendor): fix some bugs in LR and ESP-NOW
...
1. Fix the LR rate set fail for espnow and 80211 tx
2. Fixed the RX error when softAP/station and ESP-NOW both encrypted,
and the ESP-NOW peer address is equal to the connection peer address
2023-08-18 17:13:47 +08:00
Jiang Jiang Jian
273928f14d
Merge branch 'bugfix/netif_default_sta_init_v5.0' into 'release/v5.0'
...
wifi: Fix default wifi-netif creation to assert if no event loop (v5.0)
See merge request espressif/esp-idf!25345
2023-08-18 16:22:23 +08:00
jgujarathi
7e45bf4573
fix(esp_wifi) : Trigger null data frame TX before offchan channel switch
...
1. Triggers null data frame TX to before channel switch during
offchannel action frame TX req.
2. revert send wake up and sleep null between scaning
2023-08-17 17:35:10 +05:30
Nachiket Kukade
b7a28abd2c
fix(wifi): Fix EAPOL Key TxDone callback implementation
...
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-17 13:58:08 +08:00
Nachiket Kukade
de2df68585
fix(wifi): Fix error propagation while initiating FTM
2023-08-16 12:36:14 +05:30
David Cermak
fdbb885964
fix(wifi): Fix default wifi-netif creation to assert if no event loop
...
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes
Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-15 11:06:38 +02:00
Shyamal Khachane
63b32f4dda
fix(esp_wifi): Fix some OWE issues
...
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-07 11:11:00 +05:30
liuning
57335c9051
fix(esp_wifi): fix ret when setting channel at wifi not started
2023-07-27 19:09:07 +08:00
muhaidong
8b59c17ef0
fix(wifi): fix some wifi bugs 230726
...
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
Shyamal Khachane
585cbec17b
fix(wifi): Fix SAE and SAE related NVS issues
...
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
Nachiket Kukade
0148546df3
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 16:30:47 +05:30
zhangyanjiao
368dca0d84
fix(wifi): Add bugfixes and improvements
...
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
david zuhn
b2134caf0d
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4
feat(wifi): Add API to get RSSI info after station connects to AP
...
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
jgujarathi
5037c2ec02
fix(action_tx) : Add check to ensure memory allocation for action frame.
...
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
jgujarathi
181666c4a7
fix(esp_wifi) : Fix collection of issues in sta roam and scan.
...
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-04 11:59:26 +05:30
chenjianxing
ef3fe14b5f
esp_wifi: decouple softap for esp32c2.
2023-06-29 15:09:07 +08:00
muhaidong
0f09901e30
esp_wifi: fix some wifi bugs
...
1. mesh: layer2 node will scan all channels when root leave in fixed root network
2. show warning infomation when setting softAP's max connection number
3. update pairwise cipher in softAP
4. overwrite pairwise cipher when softAP auth mode is WPA2 WPA2_WPA3 WAP3
5. fix sta receive csa issue
2023-06-13 16:47:07 +08:00
muhaidong
153f34cf74
esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP
2023-06-13 11:54:26 +08:00
muhaidong
25b40c9d5e
esp_wifi: fix some wifi bugs
...
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:40:19 +08:00
aditi_lonkar
ded3169aa5
esp_wifi: Add APIs to get Assoc id and negotiated phymode.
2023-06-12 15:23:55 +08:00
muhaidong
398403e251
esp_wifi: fix some txop issues
2023-06-09 23:24:02 +08:00
muhaidong
32f629d8db
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-05-12 14:43:29 +08:00
Jiang Jiang Jian
6b2d631eac
Merge branch 'bugfix/tx_desc_fragment_v5.0' into 'release/v5.0'
...
esp_wifi: fix potential issue when tx fragment pkt.(v5.0)
See merge request espressif/esp-idf!23043
2023-05-11 23:28:35 +08:00
Jiang Jiang Jian
34f12c429d
Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
...
wpa_supplicant: Get WPS credential in passphrase format(v5.0)
See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
Kapil Gupta
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
chenjianxing
3f4e4cf964
esp_wifi: fix potential issue when tx fragment pkt.
2023-04-03 17:50:02 +08:00
muhaidong
3537da8d85
smartconfig: fix the issue of sending failure and exit
2023-03-31 17:23:31 +08:00
Jiang Jiang Jian
63994a2f52
Merge branch 'bugfix/sta_sa_query_process_v5.0' into 'release/v5.0'
...
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v5.0)
See merge request espressif/esp-idf!22903
2023-03-30 00:12:42 +08:00
Jiang Jiang Jian
fa4dccbe68
Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
...
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)
See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
Sarvesh Bodakhe
fd19fc9343
esp_wifi: Improve station SA query procedure handling and other bugfixes
...
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-29 11:15:50 +05:30
muhaidong
b6be20a95d
Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components
2023-03-27 17:33:32 +08:00
zhangyanjiao
9801647fa5
wifi_mesh: update mesh doc
2023-03-23 17:18:23 +08:00
zhangyanjiao
348f8f9bac
wifi_mesh: Fix several bugs on mesh network
2023-03-23 17:18:00 +08:00
Kapil Gupta
8a6bc4363e
esp_wifi: Add nvs code for new config params
2023-03-22 12:40:55 +05:30
Shreyas Sheth
77c675db25
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
aditi_lonkar
49c5a92181
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
xueyunfei
1d6ba06366
esp_wifi:bugfix for optimize abnormal beacon log
2023-03-15 16:21:02 +08:00
Sarvesh Bodakhe
7999489c6e
Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode
2023-03-10 16:00:55 +05:30
Shyamal Khachane
e4f5fe72d0
esp_wifi: Fix missing disconnected callback
2023-01-13 13:27:32 +05:30
Shyamal Khachane
677c813137
esp_wifi: Fix open auth issue after commit message exchange
2023-01-11 11:16:13 +05:30
gauri patankar
002e21bda4
esp_wifi:Update wifi libs
...
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
Shyamal Khachane
823b6c8f56
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
2022-12-21 11:51:48 +08:00
zhangyanjiao
270940dda0
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
Sarvesh Bodakhe
869d8c4fd8
esp_wifi: Update wifi libs
...
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-19 14:19:14 +08:00
chenjianxing
a01847c24f
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-19 14:18:27 +08:00
Jessy Chen
6818b3012d
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-19 14:16:48 +08:00
Kapil Gupta
2accc311a2
WiFi: Add WPS softAP registrar example and events
2022-12-19 14:09:05 +08:00
muhaidong
81f39c8d09
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.
4. decrease test memory leak threshold.
2022-12-19 14:07:22 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
zhangyanjiao
7aa2b03204
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-06 05:06:18 +00:00
Nachiket Kukade
ffadd88af4
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-12-06 05:06:18 +00:00
Shreyas Sheth
38bb7c2a60
esp_wifi:Mandate stations to have minimum security wpa3
2022-12-06 05:06:18 +00:00
Kapil Gupta
8136f98ddc
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-12-06 05:06:18 +00:00
Nachiket Kukade
0db6920b8c
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-12-06 05:06:18 +00:00
zhangyanjiao
8afd990e71
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-12-06 05:06:18 +00:00
zhangyanjiao
175f0dec6c
Modify maximum softap conn num and espnow encryption peer num
2022-12-06 05:06:18 +00:00
zhangyanjiao
19fae974fa
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-12-05 11:39:34 +08:00
shenjun
e4161a1bc1
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-12-05 11:37:06 +08:00
liuning
5cd324413a
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-12-05 11:35:23 +08:00
muhaidong
675f9555df
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-12-05 11:33:50 +08:00
muhaidong
054fdeb8c7
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-12-05 11:31:52 +08:00
zhangyanjiao
645e5657c6
update doc for set channel
2022-12-05 11:31:40 +08:00
zhangyanjiao
acf7f03f67
update wifi reason code
2022-12-05 11:31:27 +08:00