Commit Graph

182 Commits

Author SHA1 Message Date
Kapil Gupta
f949345782 Revert "save bss retry config to nvs changes" (4dd36d06) 2022-12-13 16:18:26 +05:30
jack
fc637b2fc8 update wifi lib(f1a4d273) 2022-12-07 11:21:24 +05:30
gauri patankar
5596acc7bc esp_wifi: Adding check for ies in match security v4.3 (cd7a2e19) 2022-11-30 11:56:11 +05:30
gauri patankar
d8df835ec4 esp_wifi: Avoid security params overwrite v4.3(90382da1) 2022-11-28 12:48:25 +05:30
zhangyanjiao
d46eac3c33 update wifi lib (d23a27fd):
1. Modify wifi scan return value same to docs
2. Change some logs' log level wo avoid misunderstanding
3. Update doc for set channel
4. Update wifi reason code
5. Fix connect fail return wrong error code issue
6. Fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-23 19:03:39 +08:00
Shreyas Sheth
ceebed2aae esp_wifi:Set AP rsnxe while connecting to a AP(37fe4c42) 2022-11-02 15:23:04 +05:30
Nachiket Kukade
09665a3497 esp_wifi: Fix scan causing bss overwrite in connect process (fb29ac1c) 2022-11-01 09:42:54 +05:30
jgujarathi
39aae18060 esp-wifi: Restores station status to connected when no other AP is found for roam(230e2499) 2022-10-26 18:47:43 +05:30
muhaidong
da6032fee5 esp_wifi: fix some wifi bugs(d519e5f5)
1. fix deinit return wrong status issue
2. fix get wrong channel value use esp_wifi_get_config
3. fix bug of missing unlock when wifi stop
4. fix error of esp_wifi_start_scan in api esp_wifi_connect
5. beacon loss feature support for all chips
6. optimize phy calibration for C3
2022-10-21 21:42:10 +08:00
muhaidong
c4cc374509 esp_wifi: fix ignore rx sub ampdu interrupt issue(900f45f7) 2022-10-14 16:06:54 +08:00
zhangyanjiao
a204f93d44 fix connect fail when enable SPIRAM and espnow send (00db4360) 2022-10-13 17:03:45 +08:00
muhaidong
8f180e3554 esp_wifi: fix country policy issue(c814112b)
1. update regdomain max channel according to country info from nvs and/or AP.
2. channel 14 is allowed only in 11b mode.
3. remove csa when switch channel from/to 14 channel.
4. update phy mode nvs when softap channel from 14 to other.
5. fix the bug that check whether channel parameter is valid.
6. add regdomain max channel of ap.
7. update total scan time.
8. update min chan when country policy is auto.
9. check whether country schan and nchan is valid.
10. fix pairwise cipher tkip pmf compability issue.
11. fix disconnect when set country.
12. fix set country code before wifi start issue.
13. check the third octect of country code string.
14. can active scan channel 12 13 14 when country policy is manual.
15. add clear ap list interface
2022-09-15 20:45:25 +08:00
jack
3417df5582 esp_wifi: fix not update phy according to country code(4ad6fcc3)
1. Fixed not update phy according to country code.
2. Fixed crashed when esp_wifi_set_ant_gpio() called
3. Fixed a bug when ftm used with ps enabled
4. Fixed a potential issue to allocate PSRAM to wifi stack where internal RAM is required
5. Fixed potential fail to scan AP after receiving disassoc/deauth from AP on esp32s2
2022-08-21 15:57:28 +08:00
Shreyas Sheth
603c80b581 esp_wifi: WPA3 SAE H2E support for station (d3b3856c)
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 16:21:23 +05:30
Nachiket Kukade
3bf3a0974d esp_wifi: Combined bugfixes for SoftAP and PMF (463c3533)
1. Improved error handling in SoftAP Rx path, fixed LoRa IE length
2. Handle low memory scenario, re-enabling PMF Capable flag in STA PMF
3. Release wifi lock in offchannel operation
2022-08-17 15:40:12 +05:30
xiongweichao
b4e5f2542a Update lpclk(799075a)
Power Management: add interface for update tsf tick interval
2022-08-11 20:20:59 +08:00
zhangyanjiao
cceecb2795 update wifi lib (d25ee346):
1. Clear old keys before going for new connection
2. Fix deep sleep can't reconnect to ap when pmf enable
3. Fix some ap will ignore auth when rx deauth for some time
4. Support force ht40 for espnow & 80211_tx
5. WAPI: Key mgmt type compability issue
6. Update wifi header file
7. Fix espnow recv unencrypted packets issue
2022-08-05 16:13:51 +08:00
aditi_lonkar
5d357ab696 esp_wifi: Fix for default ssid not set(55a1a9e) 2022-08-04 16:22:59 +05:30
muhaidong
55c03ac6b1 esp_wifi: fix the bug that check whether bssid is zero mac(ef801b40) 2022-07-28 21:52:51 +08:00
xueyunfei
c9f08e68e3 esp_wifi: backport some wifi fix(8101c423)
1 Bugfix for wrong config of static txbuf

   2 fix bug that qos data will update BA SSN

   3 reset beacon timeout timer

   4 Bugfix for close sniffer mode when wifi stop

   5 update wifi header files
2022-07-21 11:19:33 +08:00
chenjianxing
ef6c4a7cb1 esp_wifi: refactor key install code(8a1ca24b) 2022-06-21 11:21:35 +08:00
Kapil Gupta
1ef842d0ef esp_wifi: Remove group cipher check for PMF connection (16034842) 2022-05-27 13:57:31 +05:30
ninh
8dd36076d3 esp_wifi: fix no null data after waking up. (backport v4.3) (13aeae31) 2022-05-17 23:29:55 +08:00
Nachiket Kukade
b0069fb607 esp_wifi: correctly identify AP's with mixed key mgmt in scan (41824c05)
Additionally add API to disable PMF configuration
2022-04-21 14:36:33 +05:30
Nachiket Kukade
4c9f657748 esp_wifi: combined bugfixes related to FTM and PMF (89954577)
1. Ignore PMF capable flag in user config
2. Miscellaneous FTM bugfixes of corner cases
3. Fix FTM failures after repeated operations
2022-03-10 17:08:49 +05:30
muhaidong
bba5f9116d esp_wifi: fix fragment issue and PMF compatible for faulty APs(50eb667c)
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
5. compute packet length use lldesc length instead rx_ctl sig_len for sniffer
2022-03-09 14:43:04 +08:00
Nachiket Kukade
66dd5fc25b esp_wifi: Fix assoc comeback causing invalid state (a7d5aa05) 2022-02-16 07:16:18 +00:00
ChenJianxing
f09ae07552 backport some wifi fix(eb522643)
1. modify Mexico channel range refer to FCC.
2. fix wrong allocation for coex funcs
2021-11-23 16:05:40 +08:00
shenjun
c024a6be29 mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared(9e2e193e) 2021-10-29 16:35:10 +08:00
ChenJianxing
3cc2b74980 bugfix: update esp32c3/s3 multi phy api(189243bf) 2021-10-14 21:32:42 +08:00
muhaidong
e6945e61f7 esp_wifi:fix airkiss and esptouch find channel crash issue(88c87473) 2021-08-25 15:48:05 +08:00
Nachiket Kukade
90771b5498 esp_wifi: Stop dropping bcast PMF deauths with certain rc (42b8729a) 2021-08-06 15:53:58 +05:30
Jack
0bbc969738 fix some wifi bugs(05add34b)
1. sync idf menuconfig nvs status to lib
      2. disable ampdu+amsdu bit
      3. fix 80211 tx crash issue
      4. support config 80211 tx rate
2021-07-31 21:45:30 +08:00
shenjun
279d472db0 esp_wifi_mesh: add non mesh connections access(2b9db192) 2021-07-27 21:09:37 +08:00
xiehang
58e915cb63 Fix connection failure caused by sleep (58ade83d) 2021-07-06 10:48:38 +08:00
Kapil Gupta
b061caea3a esp_wifi: Revert default country to China (b135c57) 2021-07-05 12:16:55 +05:30
Kapil Gupta
40c15f97db esp_wifi: Add support for regdomain database (bc0ce5a8) 2021-07-02 14:15:30 +05:30
Kapil Gupta
2f88f3fc9e esp_wifi: Inform supplicant of config update (fa6ad727) 2021-07-02 10:27:06 +05:30
Nachiket Kukade
a53d875951 esp_wifi: Fix freeing of unallocated FTM lock issue (7061316f) 2021-07-01 13:51:32 +05:30
Zhang Jun Hao
3de585ffa8 esp_wifi: move unused WiFi log to noload section to save binary size(833e87ab) 2021-07-01 11:12:28 +08:00
Nachiket Kukade
8dc3acb6a6 esp_wifi: Allow FTM in connected state (241928f2) 2021-06-30 17:33:57 +05:30
Nachiket Kukade
e7a657c7eb esp_wifi: Additional implementations for FTM (8c22d551)
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan list buffer before filling
2021-06-28 19:33:49 +05:30
shenjun
012747d3cf mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master(9cf60685) 2021-06-28 11:56:21 +08:00
Zhang Jun Hao
d674fdc74c esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size(f18bd09e) 2021-06-24 10:10:02 +08:00
ChenJianxing
df34fc2d38 fix amsdu and fragment vulnerabilities(d4021872) 2021-06-17 10:39:50 +08:00
Zhang Jun Hao
3aa2d0ef22 csi: fix crash when csi enable(f946e98f) 2021-06-10 15:59:01 +08:00
Nachiket Kukade
5b8ddaea9b esp_wifi: Fix aggregation issue and validate FTM config params (c7d04503)
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 12:23:25 +05:30
Kapil Gupta
19ab2e7ab0 esp_wifi: Add station based check for auth frame formation (3ce4e3d6) 2021-05-11 18:18:07 +05:30
ninh
6e096b5e7a esp_wifi: fix nolightsleep after wifi init (backport to v4.3) (7e2c914e) 2021-04-29 21:58:03 +08:00
shenjun
bdcf44b772 esp_wifi_mesh: update wifi mesh libs(fffd4324)
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
4. Skip CCMP header before forwarding PMF in ESP32C3
2021-04-29 15:01:46 +08:00