zhangyanjiao
53c186af26
esp_wifi: backport some wifi fix
...
1.Update wifi doc for espnow/LR/fix rate/disable 11b/multiple antennas
2.Optimization example of wifi station
3.Optimize the null pointer judgment of eb
4.Bugfix for close sniffer mode when wifi stop
5.Fix deep sleep can't reconnect to ap when pmf enable.
6.Fix some ap will ignore auth when rx deauth for a while.
7.Fixed espnow recv unencrypted packets issue
8.Fix not update phy according to country code.
9.Update regdomain max channel according to country info from nvs and or AP.
10.Channel 14 is allowed only 11b mode.
11.Remove csa when switch channel from/to 14 channel.
12.Update phy mode nvs when softap channel from 14 to other.
13.Fix the bug that check whether channel parameter is valid.
2022-07-01 17:39:53 +08:00
xueyunfei
d9a278827c
optimize the null pointer judgment of eb
2022-07-01 17:39:53 +08:00
Jessy Chen
31035183da
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-07-01 17:39:53 +08:00
Jessy Chen
29432233f8
esp_wifi: update noise floor unit
2022-07-01 17:39:53 +08:00
xueyunfei
05770a1f52
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-07-01 17:39:53 +08:00
zhangyanjiao
254ec47ae4
update wifi api docs
2022-07-01 17:39:53 +08:00
Jiang Jiang Jian
9616ef8ee8
Merge branch 'bugfix/wifi_condition_linker_mapping_v4.4' into 'release/v4.4'
...
esp_wifi: Fix linking of WiFi functions dependent on PM_ENABLE (v4.4)
See merge request espressif/esp-idf!18796
2022-07-01 17:17:21 +08:00
Darian Leung
41b9e66082
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-07-01 12:29:35 +08:00
Nachiket Kukade
279638a39b
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-30 14:28:32 +05:30
Nachiket Kukade
586d9a2ef1
esp_wifi: Update wifi libs
...
Update wifi libs with below fixes -
1. Fix issues caused during SoftAP mode change
2. Error handling and cleanup related to STA PMF
2022-06-20 10:09:45 +00:00
Jack
09b8af7398
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-19 14:33:00 +00:00
Jack
af493beb76
deinit BB MAC back memory when they are not used
2022-06-19 14:33:00 +00:00
Kapil Gupta
d7b5381fd2
esp_wifi: Remove group cipher check for PMF connection
2022-06-14 14:49:51 +05:30
chenjianxing
e88621532e
esp_wifi: backport some wifi fix
...
1. add ht40 support for espnow & 80211_tx
2. fix smartconfig v2 bssid is zero issue
3. Optimize phy calibration time for C3 and S3
2022-06-14 10:57:47 +08:00
liuning
d6f51a5cab
esp_wifi: fix no null data after WiFi waking up (backport v4.4).
2022-05-17 23:12:33 +08:00
aditi_lonkar
88f79ca9ca
esp_wifi: Fix for default ap ssid not set.
...
Closes https://github.com/espressif/esp-idf/issues/8744
2022-05-05 14:04:49 +05:30
Krzysztof Lewandowski
e0d6398a99
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-26 22:50:40 -04:00
Nachiket Kukade
c4c8aab39d
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Add API to disable PMF configuration
2022-04-13 10:22:00 +05:30
Michael (XIAO Xufeng)
d378ca2b78
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 12:18:23 +08:00
Nachiket Kukade
659306b243
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-28 17:55:42 +05:30
Nachiket Kukade
908874c642
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-16 15:51:50 +05:30
Jiang Jiang Jian
6114ac2994
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.4' into 'release/v4.4'
...
smartconfig: Fix smartconfig set socket option fail (backport v4.4)
See merge request espressif/esp-idf!16772
2022-01-27 05:44:35 +00:00
Jiang Jiang Jian
4f9afec016
Merge branch 'bugfix/ci_check_blobs_v4.4' into 'release/v4.4'
...
ci: improve checks for Wi-Fi/PHY libraries (v4.4)
See merge request espressif/esp-idf!16659
2022-01-27 05:42:56 +00:00
yuanjm
9cf57a86a0
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-12 14:48:02 +08:00
likunqiao
7aa2577d86
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-11 12:09:11 +08:00
Ivan Grokhotkov
09552fdf68
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-05 17:29:35 +08:00
Nachiket Kukade
b9989d3644
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
2022-01-05 16:24:00 +08:00
Nachiket Kukade
53c2b1f65b
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-01-04 15:49:45 +05:30
Kapil Gupta
d57b946bbf
esp_wifi: Refactor key install code
2021-12-24 11:58:18 +08:00
Jiang Jiang Jian
775f2886cc
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.4)
See merge request espressif/esp-idf!16390
2021-12-22 05:40:19 +00:00
Jiang Jiang Jian
d037359359
Merge branch 'bugfix/static_analysis_fixes_v4.4' into 'release/v4.4'
...
ESP_WIFI: Remove static analysis warnings(backport v4.4)
See merge request espressif/esp-idf!16333
2021-12-21 04:11:22 +00:00
NikLeberg
416b3b9465
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-14 12:46:37 +08:00
Shang Zhou
c42db9308f
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 12:46:11 +08:00
muhaidong
094b3dba33
esp_wifi: fix fragment issue and PMF compatible for faulty APs
...
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
2021-12-14 12:42:25 +08:00
Jiang Jiang Jian
e104dd7f27
Merge branch 'bugfix/fix_wifi_bugs_v4.4' into 'release/v4.4'
...
esp_wifi: fix wifi bugs (Backport v4.4)
See merge request espressif/esp-idf!16278
2021-12-08 15:46:40 +00:00
Kapil Gupta
a77ab8c03e
ESP_WIFI: Remove static analysis warnings
2021-12-08 18:03:43 +05:30
David Cermak
1b7cc59b10
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-12-08 07:14:08 +01:00
Nachiket Kukade
d7599a53b8
esp_wifi: Update wifi lib
...
1. Fix FTM failures after repeated operations
2. Update Mexico channel refer to FCC
3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
4. Decouple softap and 8684 support
2021-12-06 17:45:57 +08:00
Zhang Jun Hao
f490adf800
esp_wifi: support station only mode for code size down
2021-12-06 17:34:56 +08:00
Li Shuai
a2790756b0
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-11 11:33:04 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
Li Shuai
b774342402
Power Management: power up or down wifi power domain when wifi init or deinit
2021-10-14 10:51:07 +08:00
chenjianxing
09a034d61b
esp_wifi: support multi phy init data bin embedded
2021-10-13 13:10:47 +08:00
Kapil Gupta
797c7144bd
esp_wifi: Add support for GCMP and GMAC ciphers
2021-10-12 20:48:51 +08:00
Chen Yu Dong
f0a96e586d
pre-commit fix
2021-10-12 14:05:19 +08:00
alex.li
26d8b7ee17
Add HW external coexist api.
...
Simplify the external coex flow.
And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
alex.li
b96b76fc10
esp_wifi: Support external coex only for esp32c3/esp32s2.(c1a3efe0)
2021-10-12 14:00:04 +08:00
Ivan Grokhotkov
2423e2eac9
Merge branch 'bugfix/build_spaces_in_path_wifi_phy_ulp' into 'master'
...
esp_wifi, esp_phy, ulp: fix quoting of linker arguments
See merge request espressif/esp-idf!15428
2021-10-11 15:57:49 +00:00
Ivan Grokhotkov
c148c4c01c
esp_wifi: fix quoting
2021-10-06 10:41:49 +02:00
Kapil Gupta
834afad47e
esp_wifi: Add support for MBO certification
2021-10-04 15:56:14 +08:00
ChenJianxing
ebf577f9e5
esp_wifi: fix esp32s3 rom funcs ptr malloc in psram when psram enable
2021-09-18 15:56:53 +08:00
David Čermák
82eccf434e
Merge branch 'bugfix/wifi_ap_handler_docs' into 'master'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
Closes DOC-1929
See merge request espressif/esp-idf!14903
2021-08-30 07:31:37 +00:00
muhaidong
5eee64bd16
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-08-25 20:34:27 +08:00
David Cermak
3c6efbe5a5
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-08-23 09:20:12 +02:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
ChenJianxing
9e7d75cb95
esp_wifi: fix some wifi bugs
...
1. support config 80211 tx rate
2. fix 80211 tx crash issue
3. disable ampdu+amsdu bit
2021-07-31 18:02:20 +08:00
shenjun
42a1be10db
esp_wifi_mesh: add non mesh connections access
2021-07-30 22:17:30 +08:00
muhaidong
b54c2732fc
esp_wifi: fix nvs init status issue
2021-07-30 11:13:27 +08:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
Marius Vikhammer
fe921291d2
build system: fix cxx init_priority not working on S3
2021-07-14 10:56:24 +08:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
xiehang
3491da1f3f
Fix connection failure caused by sleep
2021-07-07 11:38:03 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
Kapil Gupta
ecd1d9406e
esp_wifi: Revert default country to China
2021-07-05 12:32:47 +05:30
Kapil Gupta
a5086e302d
esp_wifi: Add support for regdomain database
2021-07-02 14:11:40 +05:30
Kapil Gupta
16b64e8524
wpa_supplicant: Fix some issues in 11kv
...
Fix following issues:
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 09:41:23 +05:30
Jiang Jiang Jian
2a747b7bb1
Merge branch 'bugfix/ftm_lock_free_issue' into 'master'
...
esp_wifi: Update wifi lib with lock free issue fix
See merge request espressif/esp-idf!14214
2021-07-01 17:39:52 +00:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
be9864fa4b
esp_wifi: add CONFIG_WIFI_ENABLED config option
...
The WIFI_ENABLED option is disabled for esp32h2.
2021-07-01 19:53:11 +08:00
Nachiket Kukade
17760237eb
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 13:58:35 +05:30
Zhang Jun Hao
4702feeeeb
esp_wifi: move unused wifi log to noload section to save binary size
2021-07-01 10:18:37 +08:00
Nachiket Kukade
eb49ee75b8
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
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 buffer in get_records API
2021-06-30 17:52:07 +05:30
Jiang Jiang Jian
86cfbc2a24
Merge branch 'bugfix/aes_wrap_failed' into 'master'
...
wpa_supplicant: Fix crypto related bugs
Closes WIFI-3801 and WIFI-3835
See merge request espressif/esp-idf!13854
2021-06-29 07:08:45 +00:00
Kapil Gupta
a7713676b8
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-28 19:50:01 +08:00
shenjun
aac71d4f02
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 14:38:21 +08:00
Zhang Jun Hao
5df7e7bac6
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-23 11:04:00 +08:00
ChenJianxing
ef127ab9dd
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:11:33 +08:00
Zhang Jun Hao
4d612ad053
esp_wifi: fix crash when csi enable
2021-06-10 16:30:50 +08:00
alex.li
db165da4b8
WAPI: Key mgmt type compability issue.
2021-06-07 17:11:01 +08:00
Shu Chen
246e006aab
esp_phy: update esp-phy-lib and esp32-wifi-lib submodules
2021-06-03 19:08:04 +08:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
chenjianxing
41882082f7
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-05-20 21:55:59 +08:00
Jiang Jiang Jian
73b95248b4
Merge branch 'bugfix/addba_pmf_issue_fix' into 'master'
...
Fix aggregation issue in PMF connection and validate FTM config params
Closes WIFI-3205
See merge request espressif/esp-idf!13242
2021-05-13 16:30:06 +00:00
Nachiket Kukade
701484667a
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 20:56:54 +05:30
Jiang Jiang Jian
fb872f68ec
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize' into 'master'
...
optimize wifi station modem sleep percentage
Closes WIFI-3056
See merge request espressif/esp-idf!13534
2021-05-13 12:21:50 +00:00
Jiang Jiang Jian
7986c970b6
Merge branch 'bugfix/concurrent_mode_sae_crash_fix' into 'master'
...
esp_wifi: Add station based check for auth frame formation
See merge request espressif/esp-idf!13525
2021-05-12 14:24:15 +00:00
Li Shuai
7fbf7a0d17
modem sleep: optimize wifi station modem sleep percentage
2021-05-12 17:00:01 +08:00
Kapil Gupta
f3c55dbecd
esp_wifi: Add station based check for auth frame formation
2021-05-11 16:35:42 +05:30
David Cermak
c4870f4d9e
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
...
Partially addresses https://github.com/espressif/esp-idf/issues/6950
2021-05-07 11:56:41 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
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
2021-04-28 02:46:34 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
xiehang
9f27aa7db8
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2021-04-16 11:21:07 +08:00