Commit Graph

621 Commits

Author SHA1 Message Date
Nachiket Kukade
c540e00bba fix(esp_wifi): Update wifi libs to fix FTM regression issues 2023-12-09 21:53:56 +05:30
Jiang Jiang Jian
03ccbb6690 Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v4.3' into 'release/v4.3'
Bugfix/fix wifi init reentrant issue v4.3

See merge request espressif/esp-idf!27627
2023-12-05 05:15:59 +08:00
liuning
be30253725 fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-12-04 16:09:23 +08:00
liuning
47bee14f8c fix(wifi): fix wifi init reentrant issue 2023-12-04 16:08:31 +08:00
aditi_lonkar
7835d44e88 fix(esp_wifi): Fix WDT when esp_supp_dpp_start_listen called multiple times
Update wifi lib with below changes -
1. Return error for 2nd offchan Tx when 1st API still in progress
2. Fix timer index issue with last timer enum

Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-11-29 22:24:57 +05:30
alanmaxwell
05a3d2d8ce feat(wifi): support esp32c3 v1.1 wifi 2023-11-28 11:36:58 +08:00
alanmaxwell
37b1fc9d67 fix(wifi): backport some wifi bugfix
1. Fix multi antenna issue
2. Fix typo in wifi api docs
3. Optimize BB filter timer to pass some corner case
4. Change fragment threshold to 256
5. Support fragment for LR mode
6. Fix rx fragment fail in Open mode.
7. Drop fragmented AMPDUs
8. Fix ampdu duration issue
2023-11-27 10:37:31 +08:00
xueyunfei
f9b7fa964c feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-11-27 10:37:31 +08:00
muhaidong
fb38539ea9 fix(wifi): fix some wifi bugs
1. fix ccmp pn became large issue
2. sta not pmf capable when requires should reject profile
3. fix softap set config issue
4. allow some special igtk keyindex to workaround faulty APs
5. remove target_power_backoff
6. remove FreqCalCntforScan
7. fix enable psram wapi dhcp fail issue
2023-11-24 11:16:06 +08:00
Shreyas Sheth
7cbab6efb0 fix(wifi): Fix sta connecting with wpa security in enterprise mode 2023-11-23 17:52:01 +05:30
Kapil Gupta
d08e533ae7 fix(WiFi): backported some fixes
Added following changes as part of this

1. Prevent PMF config overwritten by tx_cb
2. remove cipher header from tx cb done
2023-11-21 17:54:51 +05:30
Sarvesh Bodakhe
3060189023 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-11-20 18:46:55 +05:30
Jiang Jiang Jian
0418bd2336 Merge branch 'bugfix/update_phy_lib_v4.3' into 'release/v4.3'
fix(phy): update phy lib to master (v4.3)

See merge request espressif/esp-idf!26868
2023-11-15 14:31:07 +08:00
muhaidong
481a064d6b change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-10 14:44:23 +08:00
muhaidong
a3d4897e60 fix(wifi): fix deinit init wifi scan fail issue 2023-11-10 14:12:35 +08:00
zhangyanjiao
7e817bb081 fix(phy): update phy lib to master
esp32: phy_version 4780,16b31a7,Sep 22 2023,20:42:16
esp32s2: phy_version 2401,2a6dc26,Sep 26 2023,11:22:15
esp32c3: phy_version 1130,b4e4b80,Sep  5 2023,11:09:30
esp32s3: phy_version 620,ec7ec30,Sep  5 2023,13:49:13
2023-11-02 16:04:56 +08:00
liuning
fd75950796 fix(pm): fix wifi station no response after m f null 2023-10-30 09:41:23 +08:00
jgujarathi
085bf0ed5a 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 19:44:11 +05:30
liuning
ae74ecea25 fix(pm): wifi no mac retention at wifi start 2023-10-17 09:44:27 +08:00
Shyamal Khachane
1e2e809e23 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-21 11:12:31 +05:30
zhangyanjiao
48f25e4243 fix(Wi-Fi/Vendor): fix ESPNOW send error when station connected to AP and modem sleep is enabled 2023-09-07 10:03:35 +08:00
zhangyanjiao
6c19019aad 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 16:24:22 +08:00
Nachiket Kukade
7ec1705c0f 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-18 11:02:05 +08:00
alanmaxwell
721f22a547 fix(phy): update esp32 phy v4771
1. optimize ht40 tx side band issue
2. revert 4770 one minor fix may cause unknown issue
2023-08-16 12:06:07 +08:00
alanmaxwell
8e32500e9d fix(phy): Fix 11b/g rx issue for ESP32 2023-08-10 14:11:26 +08:00
Nachiket Kukade
67e287a02d fix(wifi): Fix error propagation while initiating FTM 2023-08-04 12:19:31 +05:30
jgujarathi
9121fff643 fix(esp_wifi) : Fix issues with action_frame tx and scan
1. Moves the location of null data frame TX to before channel switch during
   offchannel action frame TX req.
2. Reverts Send wake up and sleep null between scanning.
2023-08-02 18:24:55 +05:30
Jiang Jiang Jian
a1e7766940 Merge branch 'bugfix/backport_phy_lib_v4.3' into 'release/v4.3'
esp_wifi: update phy lib for esp32c3 and esp32s2(v4.3)

See merge request espressif/esp-idf!24929
2023-07-28 02:48:09 +08:00
alanmaxwell
bb95e4cad3 esp_wifi: update phy lib
1. Fix WiFi not working with Tsens on ESP32S2.
2. WiFi RX multimpath optimization.
3. BLE TX sideband optimization for C3.
4. Fix WiFi and BLE calibration conflict issue.
2023-07-28 01:37:26 +08:00
Jiang Jiang Jian
f57d0fcc5e Merge branch 'bugfix/tempsensor_wifi_conflict_v4.3' into 'release/v4.3'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (backport v4.3)

See merge request espressif/esp-idf!24968
2023-07-27 23:05:17 +08:00
liuning
77223bfa9f fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-26 19:42:11 +08:00
Cao Sen Miao
60f8d164fa temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-07-26 10:11:07 +08:00
muhaidong
8f6ab93cf4 fix(wifi): fix sta receive other ap csa issue 2023-07-25 11:22:11 +08:00
Cao Sen Miao
35e88d5f8f temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-07-24 16:55:05 +08:00
Shyamal Khachane
113a2ceaf7 fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Add nvs values for new config params
3. Bugfix NVS get values for sae pwe
4. Bugfix memory leak caused by assoc retry timer and assoc IE
2023-07-22 20:42:45 +05:30
Nachiket Kukade
afca18bbf0 fix(esp_wifi): Update FTM calibration and fix other FTM issues
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 and C3
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 10:34:19 +05:30
Jiang Jiang Jian
f846908135 Merge branch 'bugfix/split_scan_tx_v43' into 'release/v4.3'
Fix collection of issues in sta roam and scan.(v4.3)

See merge request espressif/esp-idf!24885
2023-07-21 11:25:31 +08:00
jgujarathi
984aa78261 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-20 10:09:14 +05:30
xueyunfei
aa24bfc1df esp_phy:update comments in esp_phy_init.h 2023-07-19 20:31:06 +08:00
zhangyanjiao
2ab431b060 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
4. Vnd ie callback can be set to null
5. Check the second channel info when bandwidth is ht40
6. Fix softap qos null issue
7. Fix the mac bug that hardware parse beacon of ie length equal to zero
8. Remove waiting RX/TXING during hw mac deinit
2023-07-19 12:47:57 +08:00
david zuhn
5bce0abff8 spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-19 11:34:08 +08:00
zhangyanjiao
05695f7cba 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-19 11:32:33 +08:00
muhaidong
82a3693a4e fix(wifi): missed annotate ld function from txop fix 2023-07-18 11:04:48 +08:00
muhaidong
e9d414dea7 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-07-17 20:19:25 +08:00
muhaidong
520e67b5bb 1. fix set inactive time crash issue 2023-07-17 20:11:50 +08:00
chenjianxing
331a93608d esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue 2023-07-12 20:23:02 +08:00
zhangyanjiao
3e36f7c5d5 fix(wifi_mesh): layer2 node will scan all channels when fixed root leave 2023-07-07 10:04:08 +08:00
Shreyas Sheth
5e60fb4fd4 esp_wifi: Install keys after eapol and NVS store security values
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 01:25:58 +05:30
zhiweijian
9e2e3f8d19 Update libphy for ble 1M/2M switch and ble track on ESP32-C3 2023-05-23 11:10:34 +08:00
Jiang Jiang Jian
a9586adb0b Merge branch 'bugfix/softap_beacon_process_v4.3' into 'release/v4.3'
esp_wifi: validate softAP interface when sending beacon and add sta_connected callback (Backport v4.3)

See merge request espressif/esp-idf!23264
2023-04-23 10:31:05 +08:00