Commit Graph

890 Commits

Author SHA1 Message Date
alanmaxwell
4d33bf7ee9 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-20 11:01:07 +08:00
Jiang Jiang Jian
6db16c6e81 Merge branch 'feature/sta_sae_ext_key' into 'master'
feat(wifi): Add support for sae ext key for station

Closes WIFI-6170

See merge request espressif/esp-idf!24833
2023-10-19 18:49:15 +08:00
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Shreyas Sheth
ee9ce51133 feat(wifi): Add SAE EXT key support for esp station 2023-10-18 17:10:31 +05:30
jgujarathi
6ddeba878c fix(esp_wifi): Fixes issues in beacon_timeout, PMKSA and AID assignment
- Fixes issue wheere beacon timeout would get triggerred multiple times
  leading to a m f probe req.

- 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-17 15:35:14 +05:30
Jakob Hasse
548022fbe6 refactor(linux): excluded all non-Linux components from build
* All components which won't build (yet) on Linux are excluded.
  This enables switching to Linux in an application without
  explicitly setting COMPONENTS to main in the main
  CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available

doc(linux): brought section
  "Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
liuning
516496b9d3 fix(pm): fix soc wakeup after wifi disconnected, station no respond after m f null, crash when connected to non_trans bssid 2023-10-13 18:14:54 +08:00
Niklas Kaaf
2d6dcee136 fix: "erro code" -> "error code" typos
Closes https://github.com/espressif/esp-idf/pull/12330
2023-10-13 18:13:54 +08:00
alanmaxwell
16ec59907e fix(wifi): Fix some wifi issue
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 10:45:31 +08:00
CC
65054e1def esp_wifi.h typo
typo in esp_wifi_scan_get_ap_num comment
APIs -> APs
2023-10-11 13:52:08 +08:00
liuning
79a1cb38dd (fix)esp_wifi: wifi beacon timeout after connection established 2023-10-10 05:50:13 +00:00
muhaidong
d8b600e90b fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-09 19:17:28 +08:00
alanmaxwell
99ac807418 fix(wifi): Support ESP32 PHY enabled not enter WiFi RX state by default 2023-09-26 16:23:58 +08:00
alanmaxwell
9e07fa9312 fix(phy): move phy tx power track to IDF 2023-09-26 16:23:58 +08:00
alanmaxwell
503299fb32 fix(phy): Fix PHY enabled enter WiFi RX state default 2023-09-26 16:23:58 +08:00
Chen Yudong
2e11919f70 fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
Zim Kalinowski
d9a9a4a17f Merge branch 'fix/test_app_trim_builds' into 'master'
fix(test_apps): Trim builds of component test apps

See merge request espressif/esp-idf!25789
2023-09-20 18:32:57 +08:00
Xu Xiao
b82a55d41b Merge branch 'bugfix/fix_some_esp32c6_wifi_bugs' into 'master'
fix(wifi): fix some esp32c6 wifi bugs

See merge request espressif/esp-idf!25968
2023-09-20 14:17:25 +08:00
xuxiao
cb4b798867 fix(wifi): fix some esp32c6 wifi bugs 2023-09-19 13:27:01 +08:00
Jiang Jiang Jian
ea8b5c28ea Merge branch 'bugfix/fix_wifi_fail_to_enter_lightsleep_when_disconnected_esp32c6' into 'master'
fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled

Closes WIFI-5725 and WIFI-6208

See merge request espressif/esp-idf!25902
2023-09-19 07:16:55 +08:00
Darian Leung
287bdc5e61 fix(test_apps): Trim builds of component test apps
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.

This commit trims the build of multiple component test apps:

- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"

Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
Kapil Gupta
3b748a6cb7 Merge branch 'feature/rename_wpa2_ent_to_eap_client' into 'master'
WiFi: Rename WPA2 enterprise APIs to EAP Client.

See merge request espressif/esp-idf!25233
2023-09-18 16:16:54 +08:00
liuning
1314a9f8cf esp_wifi: support connectionless manually pwr mgmt 2023-09-18 13:16:54 +08:00
liuning
c6db306833 sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-18 11:49:52 +08:00
xueyunfei
f0e5434dc1 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-15 14:55:57 +08:00
Kapil Gupta
3fa88a3536 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-14 18:02:22 +05:30
jgujarathi
906685898d fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-14 10:19:27 +05:30
muhaidong
4b645ef85d fix(wifi): fix ccmp and gcmp PN became large issue 2023-09-13 16:23:10 +08:00
Jiang Jiang Jian
5933779f2d Merge branch 'feature/configurable_wpa2_ent' into 'master'
esp_wifi: Make enterprise support configurable to save binary size.

Closes WIFI-3597

See merge request espressif/esp-idf!24345
2023-09-13 10:17:44 +08:00
Shyamal Khachane
f2905d1388 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-09-12 10:43:17 +05:30
Shreyas Sheth
9b5bbb5bd7 fix(wifi): Fix sta connecting with wpa security in enterprise mode 2023-09-06 06:00:48 +00:00
Xu Xiao
8847eeec0c feat(wifi): optimize esp32c6 iperf performance 2023-09-04 14:34:54 +08:00
Shyamal Khachane
fb1037f032 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-08-31 12:39:26 +00:00
ding huan
22697a2e37 ci(wifi): Test connect api at different phase 2023-08-30 10:31:02 +08:00
aditi_lonkar
c88e7106ec esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:00:54 +05:30
Shreyas Sheth
043b8b55a1 docs(wifi): Update wifi and wifi security documentation
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
2023-08-21 12:29:11 +00:00
zhangyanjiao
e9e149fc88 fix(wifi): fix some bugs in LR and bandwidth
1. Fix the LR rate set fail for espnow and 80211 tx
2. Check phy bandwidth when setting espnow peer rate

Closes https://github.com/espressif/esp-idf/issues/11751
2023-08-17 17:55:57 +08:00
Nachiket Kukade
29e6603ba7 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-14 16:50:42 +05:30
muhaidong
b871eff7d7 fix(wifi): fix disassociation callback miss free key issue 2023-08-11 15:09:03 +08:00
Nachiket Kukade
fc3798f590 fix(wifi): Fix error propagation while initiating FTM 2023-08-03 16:59:28 +05:30
Shyamal Khachane
e986bda085 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-03 09:41:43 +05:30
liuning
12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
Kapil Gupta
2b18dd4899 fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-02 11:33:33 +00:00
xueyunfei
217226d3c9 Fix(esp_wifi):revert send wake up and sleep null between scaning 2023-08-01 20:27:22 +08:00
jgujarathi
cabb41d889 fix(esp_wifi) : Trigger null data frame TX before offchan channel switch.
Moves the location of null data frame TX to before channel switch during
offchannel action frame TX req.
2023-07-31 16:51:57 +05:30
zhangyanjiao
a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
David Čermák
70951831c0 Merge branch 'bugfix/netif_default_sta_init' into 'master'
wifi: Fix default wifi-netif creation to assert if no event loop

Closes IDFGH-10321

See merge request espressif/esp-idf!24361
2023-07-21 21:56:37 +08:00
Shreyas Sheth
691eed15cc fix(wifi): Fix memory leak caused by assoc IE and retry timer 2023-07-20 10:13:25 +05:30
Shyamal Khachane
a9e6deb615 fix(esp_wifi): Discard commit frame received at confirmed state in SAE 2023-07-18 08:09:08 +05:30
Shreyas Sheth
88cbcf4696 fix(wifi): Bugfix ignore immediate assoc req received by AP
1) Ignore immediate assoc req received from the station while we are
processing the older one
2) Create station mutex (sta->lock) only for stations connecting with wpa3
security
3) Fix regression caused by 4cb4faa9
2023-07-15 13:53:51 +05:30