Commit Graph

456 Commits

Author SHA1 Message Date
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
ChenJianxing
dd14e97375 esp_wifi: support esp32s3 beta3 wifi 2021-04-16 00:38:20 +08:00
ninh
7629a0b22f esp_wifi: fix some issue about wifi pm 2021-04-14 14:42:22 +08:00
Jakob Hasse
b23c9142d5 [hal]: cleaned up interrupt mask functions
* Functions for setting and clearing interrupts
  as well as function to read interrupt mask
  should be clearer now.
* Using hal layer interrupt set and clear
  functions in esp_wifi component
2021-04-06 11:54:13 +08:00
Angus Gratton
6b57f33858 Merge branch 'refactor/movements_from_target_components' into 'master'
Movement from target components 1

See merge request espressif/esp-idf!12482
2021-04-05 02:37:21 +00:00
ninh
c80310b1f6 esp_wifi: close tsen when close phy 2021-03-31 21:06:00 +08:00
Jiang Jiang Jian
ada4a8274f Merge branch 'bugfix/add_beacon_timeout_event' into 'master'
esp_wifi: Add beacon timeout event

Closes WIFI-3536

See merge request espressif/esp-idf!12809
2021-03-31 13:01:28 +00:00
Renz Bagaporo
7d85c42e52 esp32: move brownout and cache err int setup 2021-03-31 19:13:03 +08:00
Jiang Jiang Jian
813d9ca420 Merge branch 'bugfix/add_multiple_scan_mode' into 'master'
Bugfix: Connect example to add scan mode config

Closes IDFGH-4793 and IDFGH-4812

See merge request espressif/esp-idf!12525
2021-03-31 08:10:55 +00:00
xiehang
37567dcf2a esp_wifi: Add beacon timeout event
Update TBTT when rx probe respones after beacon timeout.
2021-03-31 11:29:56 +08:00
Angus Gratton
fda565a5bf Merge branch 'bugfix/partition_table_depends_esptoolpy' into 'master'
esptool_py: Fix issue where build with limited components doesn't include esptool_py

Closes IDFGH-4876 and IDFGH-4874

See merge request espressif/esp-idf!12653
2021-03-31 01:30:33 +00:00
zhangyanjiao
8ff8222519 esp_wifi: fix ESPTouch v2 issues 2021-03-30 14:29:33 +08:00
alex.li
55cbb541fc Support new section addr and wifi lib for ESP32C3-ECO3. 2021-03-29 10:27:10 +08:00
ronghulin
fddaaef06e fix phy init memory leak 2021-03-24 15:44:48 +08:00
0xFEEDC0DE64
63a7a8489b Init phy data to default if invalid in flash partition to avoid bootloops
Signed-off-by: ronghulin <ronghulin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6610
2021-03-24 15:44:48 +08:00
ronghulin
1e7b43733c bugfix: keep wakeup state during csa 2021-03-24 10:30:55 +08:00
Jiang Jiang Jian
6acebbeebd Merge branch 'bugfix/fix_wdt_timeout_when_enable_rf' into 'master'
esp_wifi: fix wdt timeout when enable rf

Closes WIFI-3541

See merge request espressif/esp-idf!12834
2021-03-23 16:10:07 +00:00
Angus Gratton
fa2946d651 Merge branch 'feature/support_esp32s3_beta_3' into 'master'
Support ESP32S3 beta 3 target

Closes IDF-2908

See merge request espressif/esp-idf!12661
2021-03-23 10:17:58 +00:00
ninh
1c9fec8c8a esp_wifi: fix wdt timeout when enable rf 2021-03-23 10:28:01 +08:00
shenjun
f9fe524c32 mesh/ps: network duty signaling 2021-03-18 16:22:19 +00:00
Marius Vikhammer
2aead8ba57 Support ESP32S3 Beta 3 target
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
shenjun
0ce0e4d569 mesh: support for chain topology 2021-03-16 14:17:13 +08:00
ninh
deb94f4768 esp_wifi: support sta to sleep at disconnected status 2021-03-12 00:20:09 +08:00
xiehang
4d8a1aefbd esp_wifi: Fix the second distribution network failure of ESPTouch v2
Closes https://github.com/espressif/esp-idf/issues/6679
2021-03-11 07:49:06 +00:00
Li Shuai
1595973fe8 light sleep: some default parameters optimization 2021-03-10 18:22:41 +00:00
Jiang Jiang Jian
9e4ba9a4db Merge branch 'bugfix/fix_err_code_issue' into 'master'
esp_wifi: Fix set config return value error

Closes IDFGH-4877, TCI-556, WIFI-3375, and IDFGH-4829

See merge request espressif/esp-idf!12657
2021-03-10 10:12:01 +00:00
Angus Gratton
39a2d531f0 Merge branch 'feature/ldgen_mapping_extensions' into 'master'
ldgen: mapping flags extensions

Closes IDFGH-2524

See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
xiehang
0e10c7e198 esp_wifi: Fix some Wi-Fi bugs
1, Fixed issue of reason code change from 15 to 204 when provide wrong password
2, Fix set config return value error
3, Fix ampdu age timer memory leak

Closes https://github.com/espressif/esp-idf/issues/6673
2021-03-09 20:14:13 +08:00
ronghulin
1982f4a2fb esp_wifi: fix some wifi bugs
1.Fixed issue with hidden AP scans after connecting AP.
2.Fix watchdog issue when receiving action frame.

Closes https://github.com/espressif/esp-idf/issues/6626
2021-03-08 21:02:47 +08:00
Angus Gratton
9c03f04769 esptool_py: Add esptool_py as a dependency for any component that uses it
Many components uses esptool_py_flash_target function, they all should
explicitly requier the esptool_py component.

Related to https://github.com/espressif/esp-idf/issues/6670
2021-03-08 19:47:38 +11:00
ronghulin
338944d981 Updated wifi lib:
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS

Closes https://github.com/espressif/esp-idf/issues/5129
Closes https://github.com/espressif/esp-idf/issues/5214
2021-03-05 14:47:14 +08:00
Renz Bagaporo
4bf07ae7d9 esp32: move wifi related sections and schemes to esp_wifi 2021-03-01 14:19:34 +08:00
zhangyanjiao
c803b37315 esp_wifi:
1. Added encrypt option for ESPTouch v1
2. Fixed issue of reason code change from 15 to 200 when provide wrong password
2021-02-26 20:17:43 +08:00
Xia Xiaotian
ce8b996ca0 esp_wifi: synchronize Wi-Fi adapter between different chips
Support preferring to allocate Wi-Fi memory from PSRAM on ESP32-S3

Support Wi-Fi TX cache buffer on ESP32-S3
2021-02-26 11:29:50 +08:00
Xia Xiaotian
f53c0c5b87 esp_wifi: store PHY digital registers before disabling PHY and load
them after enabling PHY
2021-02-26 11:29:50 +08:00
ChenJianxing
0a8ba88145 esp_wifi: optimization wifi rate
1.support disable 11b rate
2.support config espnow rate
3.fix sta negotiate phymode issue
4.update ftm rate
2021-02-25 10:21:46 +00:00
Shubham Kulkarni
cbe281130d esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
Add test case to test this workflow
2021-02-24 10:52:57 +05:30
xiehang
7cca13640e esp_wifi: some small fixes for ftm 2021-02-23 06:36:02 +00:00
Marius Vikhammer
04df1f3a42 CI: enable example builds for C3
Enables building C3 examples in CI.

Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Xia Xiaotian
b71481093a esp_wifi: fix some Wi-Fi scan and coexist bugs
1. Fix the bug that Wi-Fi performance is impacted by BLE starting scan for a while in some scenarios on ESP32-C3.

2. Fix the bug that Wi-Fi performance is impacted when Bluetooth change state for a while in some scenarios on ESP32-C3.

3. Fix the bug that BLE performance is impacted by Wi-Fi scan on ESP32-C3.

4. Fix the bug that Wi-Fi scan fails when BLE is scanning on ESP32-C3.

5. Fix Wi-Fi ACK and CTS rate when low rate is disabled on ESP32-C3.
2021-02-08 21:20:09 +08:00
Nachiket Kukade
f9ff3da5d4 wpa_supplicant: Fix error handling in DPP Action Rx
1. Fix error handling while receiving DPP Action frames
2. Update wifi lib to avoid forwarding Public action frames
   with NULL bss
2021-02-07 23:23:34 +08:00
Kapil Gupta
00b1738197 esp_wifi: Fixed crash issue in presence of WEP AP 2021-02-05 09:13:24 +00:00