Xia Xiaotian
50681db44c
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when
...
maximum modem sleep is enabled
close https://github.com/espressif/esp-idf/issues/6006
2021-01-13 04:20:23 +00:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Chen Jian Xing
5b44295cb9
esp_wifi: fix esp32c3 code issues
...
1. enable wifi clk and rm dport header
2.syn phy_init_data.h from esp32
2021-01-10 16:16:28 +08:00
Jiang Jiang Jian
4d8af87298
Merge branch 'bugfix/fix_csa_timer_issue' into 'master'
...
esp_wifi: Fix csa timer issue
Closes WIFI-3228 and WIFI-3223
See merge request espressif/esp-idf!11801
2021-01-05 16:11:55 +08:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
Marius Vikhammer
0301c66bf0
esp32c3: Disable components that are not yet supported
2020-12-31 09:27:38 +11:00
xiehang
84e44914c0
esp_wifi: Update WiFi lib
...
1. Fix csa timer issue
2. Fix country code last byte to space instead of NULL
3. Fix softap cannot forward A-MSDU
Closes https://github.com/espressif/esp-idf/issues/6315
2020-12-30 03:34:11 +00:00
zhangyanjiao
4ebc4eda8c
esp_wifi: fix the espnow bug for esp32c3
2020-12-25 18:31:35 +08:00
xiehang
0cbb7d503d
esp_wifi: Update WiFi lib
...
1. Refactor wifi_interface_t
2. Faster WiFi station connect improvement, avoid 100ms passive scan
3. Add FCS failed packets filter
4. Update esp32 phy lib to v4660
Closes https://github.com/espressif/esp-idf/issues/986
2020-12-25 16:46:01 +08:00
xiehang
d1222ce158
esp_wifi: Refactor wifi_interface_t
2020-12-25 02:49:12 +00:00
zhangyanjiao
e040168a9f
esp_wifi: fix the bug that esp32s2 can't get CSI info
...
Closes https://github.com/espressif/esp-idf/issues/5857
Closes https://github.com/espressif/esp-idf/issues/1855
2020-12-23 16:18:11 +08:00
ChenJianxing
1780d9d2b5
esp_wifi: optimize phy version log
2020-12-23 10:47:25 +08:00
xiehang
32dd739da4
esp_wifi: Update wifi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
2020-12-22 15:48:24 +08:00
ronghulin
b4e4fd7a67
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2020-12-22 11:51:13 +08:00
kapil.gupta
903198ad7f
esp_wifi: Fix some wifi bugs.
...
1. Send encrypted mgmt frames in pmf connection
2. Remove dependecy of SHA256 AKM on PMF
3. Fix null pointer dereference
4. Set TTLS default phase2 method as MSCHAPV2.
2020-12-21 14:27:10 +05:30
ChenJianxing
1ffb12e6fd
esp_wifi: add esp32c3 wifi lib
2020-12-15 17:13:10 +08:00
Michael (XIAO Xufeng)
85ac572e4a
Merge branch 'bugfix/phy_set_xpd_sar' into 'master'
...
wifi: add set_xpd_sar override
Closes IDFGH-235, IDFGH-1442, IDFGH-1917, IDFGH-2473, and IDFGH-2168
See merge request espressif/esp-idf!7185
2020-12-07 16:09:02 +08:00
Ivan Grokhotkov
80e7252c13
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2020-12-07 10:45:04 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
dongyou
070eaea67e
Add description for esp_wifi_set_inactive_time()
...
Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update table format prblm for esp_wifi_set_max_tx_power()
Update description for ssid and password
Closes https://github.com/espressif/esp-idf/issues/6049
Closes https://github.com/espressif/esp-idf/issues/5759
Closes https://github.com/espressif/esp-idf/issues/5719
Closes https://github.com/espressif/esp-idf/issues/3762
2020-11-26 20:52:36 +08:00
kapil.gupta
447eb894c0
esp_wifi: Always register pmf tx/rx routines
...
Fixes the issue when PMF packets are not sent after mode change.
2020-11-24 15:56:42 +05:30
Jiang Jiang Jian
e130d27fb7
Merge branch 'bugfix/control_wpa3_code_with_flag' into 'master'
...
Use WPA3 flag to reduce code size
Closes WIFI-2910 and IDFGH-4103
See merge request espressif/esp-idf!10963
2020-11-23 19:52:38 +08:00
Angus Gratton
d6bdd1cb32
Merge branch 'bugfix/small_cleanups' into 'master'
...
Small cleanups
See merge request espressif/esp-idf!11141
2020-11-23 17:23:53 +08:00
zhangyanjiao
c0f4fdfd4d
wpa_supplicant: Use WPA3 flag to reduce code size
...
Flag ESP32_WIFI_ENABLE_WPA3_SAE from Menuconfig is used to
control the stack size required by WPA3. Use the same flag
to compile out the WPA3 code and control the code size.
With this flag disabled code footprint reduces by about 7.7kB
in libwpa_supplicant.a
Update WiFi libs with added checks to cleanly handle disabling
of WPA3 callbacks.
Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-23 14:28:12 +08:00
Angus Gratton
6a19590132
esp_wifi: Remove redundant comment
2020-11-17 22:51:07 +00:00
kapil.gupta
27101f9454
wpa_supplicant: Add initial roaming support
...
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.
Followings are added as part of this.
1. Support for sending neighbor report request and provide
the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
(triggered by the APP).
5. Support for bss transition management request and move
to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Xia Xiaotian
199414cd7e
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-10 09:10:45 +00:00
Xia Xiaotian
aca8d9621d
Wi-Fi: update wifi lib to support esp32s3
2020-11-04 21:23:50 +08:00
shenjun
ea0603897d
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-28 02:58:44 +00:00
xiehang
f9e490e0dc
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-10-27 02:57:01 +00:00
Renz Bagaporo
b3a7c6e27e
components: remove some unneeded headers from source files
2020-10-22 19:37:10 +08:00
zhangyanjiao
2a5a6a87fd
esp_wifi: fix tsf bug
...
Closes https://github.com/espressif/esp-idf/issues/5915
2020-10-20 16:08:22 +08:00
Michael (XIAO Xufeng)
1966f00f0b
soc: updates caps usage
...
We should define caps as 1 if true. When use the caps macros, #if and
#if ! should be used instead of #ifdef/#ifndef.
2020-10-17 16:10:17 +08:00
Nachiket Kukade
6ae4b3ef48
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
2020-10-10 09:03:55 +00:00
David Čermák
28d2b7a9b3
Merge branch 'bugfix/esp_netif_non_lwip' into 'master'
...
esp-netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
Closes IDFGH-3971
See merge request espressif/esp-idf!10472
2020-10-05 16:16:11 +08:00
baohongde
628655b6be
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-09-29 21:08:13 +08:00
kapil.gupta
ebc0b42c75
esp_wifi: Add support for 802.1x sha256 auth key mode
...
Closes https://github.com/espressif/esp-idf/issues/5805
2020-09-29 15:23:39 +05:30
ChenJianxing
f3813c9062
esp_wifi: update esp32 phy v4500
...
improve frequence offset feature.
2020-09-28 11:42:05 +08:00
Jiang Jiang Jian
b963dd3b32
Merge branch 'bugfix/no_event_for_connect' into 'master'
...
esp_wifi: fix the bug that no event when run connect twice
Closes WIFI-2390
See merge request espressif/esp-idf!10515
2020-09-27 23:16:49 +08:00
Jiang Jiang Jian
0739cab478
Merge branch 'feature/add_tx_done_cb_api' into 'master'
...
wifi: Add support to register tx_done callback
Closes WIFI-2599
See merge request espressif/esp-idf!9727
2020-09-27 12:44:35 +08:00
Renz Bagaporo
6462f9bfe1
esp32, esp32s2: create esp_pm component
2020-09-25 05:24:10 +00:00
Hrudaynath Dhabe
8746d3726b
wifi: Add IDF specific changes to add support for registering tx_done callback
2020-09-24 18:39:04 +05:30
zhangyanjiao
7b10cbfaaa
esp_wifi: fix the bug that no event when run connect twice
2020-09-24 14:40:41 +08:00
Jiang Jiang Jian
e093eb064c
Merge branch 'feature/run_esp32c3_code_on_esp32_and_esp32s2' into 'master'
...
Feature/run esp32c3 code on esp32 and esp32s2
See merge request espressif/esp-idf!10213
2020-09-24 13:27:47 +08:00
Xia Xiaotian
bdbe74693f
esp_wifi: refactor wifi code in order to adapter to new chips
2020-09-24 10:15:50 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Xia Xiaotian
2e0c60461c
esp_wifi: refactor PHY access
...
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2020-09-22 15:00:05 +08:00
Jiang Jiang Jian
c2c6c24e35
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM' into 'master'
...
wifi: Fix spin lock allocation in PSRAM bug
See merge request espressif/esp-idf!10449
2020-09-22 11:36:54 +08:00
cnlohr
507c08251e
esp_netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
...
Note: besides the esp-netif component, this commit also disables
net_sockets.c from mbedtls, which is one of the base components and uses BSD API (not specifically lwIP). This might be refactored to use CONFIG_SUPPORT_BSD_API instead of CONFIG_ESP_NETIF_TCPIP_LWIP
in the future.
It also disables smartconfig_ack.c and wifi_init.c from esp_wifi
component for referencing some lwIP config options (smartconfig_ack.c changes might be also
updated to check CONFIG_SUPPORT_BSD_API)
Merges https://github.com/espressif/esp-idf/pull/5856
2020-09-18 15:10:55 +02:00
Jiang Jiang Jian
78ee03b100
Merge branch 'bugfix/update_esp32_phy_4390' into 'master'
...
esp_wifi: update esp32 phy v4390
See merge request espressif/esp-idf!10397
2020-09-16 11:57:32 +08:00
dongyou
29592e3e83
wifi: Fix spin lock allocation in PSRAM bug
...
Closes https://github.com/espressif/esp-idf/issues/5629
2020-09-16 11:38:15 +08:00
ChenJianxing
200139cd86
esp_wifi: update esp32 phy v4390
...
fix rf signal test RX -20~-40 dBm pkts loss rate beyond 5% issue.
2020-09-10 15:41:21 +08:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Nachiket Kukade
3308ede898
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-09-02 09:26:39 +05:30
zhangyanjiao
f8ea1f0045
esp_wifi:
...
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-01 14:46:50 +08:00
aditi_lonkar
a6a8381745
wifi: Fix esp_wifi log levels
...
Closes https://github.com/espressif/esp-idf/issues/5721
2020-08-28 11:59:03 +05:30
kapil.gupta
e13ab93b98
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:40:46 +05:30
xiehang
1a39459336
esp_wifi: add rf test long short support
2020-08-17 11:08:19 +08:00
liu zhifu
6ed4dd65a4
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-08-15 11:35:10 +08:00
liu zhifu
fa9a5c0be5
esp_wifi: optimize WiFi TX performance
2020-08-13 12:26:21 +08:00
ChenJianxing
4949087217
esp_wifi: fix phy v4350 RX throughput low issue.
...
sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-08-12 14:16:45 +08:00
ronghulin
087c580c09
bugfix: fix connect hidden AP doesn't update information
...
Closes https://github.com/espressif/esp-idf/issues/5632
2020-08-11 19:41:32 +08:00
ronghulin
b006acbb46
bugfix: fix softap mode event issue
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-11 10:34:47 +08:00
Jiang Jiang Jian
933de37074
Merge branch 'bugfix/softAP_power_save_buffer_issue' into 'master'
...
esp_wifi: fix the bug for softAP power save buffer issue
Closes WIFI-2362
See merge request espressif/esp-idf!9826
2020-08-10 23:33:17 +08:00
Jiang Jiang Jian
4d4dee8a52
Merge branch 'bugfix/wifi_stop_crash' into 'master'
...
esp_wifi: fix the crash when wifi stop after deinit
Closes WIFI-2647 and WIFI-2646
See merge request espressif/esp-idf!9931
2020-08-10 19:11:55 +08:00
zhangyanjiao
a5c05e2c94
esp_wifi: fix the bug for softAP power save buffer issue
2020-08-05 14:35:50 +08:00
zhangyanjiao
b47dee59dc
esp_wifi: fix the crash when wifi stop after deinit
2020-08-05 11:50:27 +08:00
dongyou
97ae87df41
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 11:04:16 +08:00
xiehang
c744c6f30c
esp_wifi: Fix WiFi fragment issue
2020-07-31 20:02:27 +08:00
ChenJianxing
8c982ea738
esp_wifi: update phy lib
...
1. esp32 phy lib v4350
2. esp32s2 phy lib v603
2020-07-29 10:36:02 +08:00
Anton Maklakov
d7db6673f5
Merge branch 'revert-1ba7dc22' into 'master'
...
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Chen Jian Xing
56261ef9a2
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
...
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
Jiang Jiang Jian
1ba7dc22cb
Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
...
Bugfix/resume esp32s2 wifi unit test
See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
Jiang Jiang Jian
1fa7454f5e
Merge branch 'feature/wifi_get_tsf_time_api' into 'master'
...
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time on esp32.
Closes WIFI-2532
See merge request espressif/esp-idf!9535
2020-07-14 19:53:52 +08:00
Angus Gratton
2c4e2825ad
Merge branch 'feature/use_prebuilt_util_for_wifi_component' into 'master'
...
esp_wifi: use prebuilt CMake util to add wifi libs
See merge request espressif/esp-idf!9574
2020-07-14 07:57:11 +08:00
Hrudaynath Dhabe
7bc2fae323
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
...
specified interface.
Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-13 17:04:11 +05:30
Renz Bagaporo
126225421e
esp_wifi: use prebuilt CMake util to add wifi libs
2020-07-10 14:20:25 +08:00
ChenJianxing
4756280fc6
esp32s2: resume phy rtc unit test
2020-07-10 11:03:54 +08:00
ChenJianxing
c0683d95cc
esp32s2: resume wifi unit test
2020-07-10 11:02:37 +08:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
Jiang Jiang Jian
31aa7e09fa
Merge branch 'bugfix/add_api_to_get_internal_heap' into 'master'
...
esp_wifi: Add API to get available internal heap size
Closes WIFI-1340
See merge request espressif/esp-idf!9047
2020-07-07 14:50:10 +08:00
ronghulin
0e962d754e
bugfix: fix wifi storage nvs some issue
...
1. Configure bandwidth and phy mode to store NVS.
2. API esp_wifi_get_config add acquisition sta.listen_interva.
2020-07-03 15:49:34 +08:00
zhangyanjiao
b9b82659dd
esp_wifi:
...
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
xiehang
8b523efc6f
esp_wifi: Add API to get available internal heap size.
2020-06-30 21:51:00 +08:00
Nachiket Kukade
fc5d7239ea
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-30 18:35:46 +05:30
chenyudong
f67f9d5b4e
mesh: remove coexist warnings in ESP_WIFI_MESH
...
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
Closes: https://github.com/espressif/esp-idf/issues/5357
Closes: https://github.com/espressif/esp-idf/issues/5440
Closes: https://github.com/espressif/esp-idf/issues/5210
2020-06-29 11:28:16 +08:00
morris
a34409cffc
esp_rom: extract common CRC apis into esp_rom_crc.h
2020-06-23 16:40:14 +08:00
zhangyanjiao
7cf59a8d18
esp_wifi:
...
Zhang Yan Jiao authored 1 day ago
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
2020-06-19 14:24:23 +08:00
xiehang
4eeedf62e1
esp_wifi: Fix TX DMA buffer issue
2020-06-17 14:37:12 +08:00
Nachiket Kukade
b8e8330c61
esp_wifi: Update wifi lib
...
Fix WPA3 Auth timeout during BLE coex
2020-06-17 11:08:55 +08:00
ChenJianxing
03cca9abf7
esp_wifi: addba fix and send bar in first ampdu
2020-06-16 20:59:54 +08:00
zhangyanjiao
b73f62c95d
esp_wifi: fix the bug that airkiss find hidden AP fail
2020-06-15 17:13:09 +08:00
chenyudong
fa3b76ee9b
mesh: fix bug of dynamic set type idle
...
1. fix bug of dynamic set type idle
2. fix esp_mesh_deinit blocking issue
3. fix ie.mesh_type do not match ie.layer
4. ps enabled devices use new assoc version
2020-06-15 03:03:57 +00:00
ronghulin
2c599137b9
bugfix: fix interrupt handle param variable error
...
Closes https://github.com/espressif/esp-idf/issues/5354
2020-06-09 17:35:41 +08:00
zhangyanjiao
6f5e9398f7
esp_wifi: upadte esp32 phy lib to 4182
...
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
kapil.gupta
179292f9b3
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
zhangyanjiao
1fe08ef40e
wifi: fix the bug that ESP32S2 can't receive AMPDU when airkiss
2020-06-02 14:57:13 +08:00
Nachiket Kukade
2185d96fdc
esp_wifi: Update wifi lib
...
Fix WPA3 Auth issue in coex scenario
2020-05-28 11:20:13 +05:30
ChenJianxing
9e45c3c7d8
esp_wifi: remove wifi tx buffer limits
2020-05-27 15:06:53 +08:00
chenyudong
8fb982c512
mesh: add mesh PS option following add announce
2020-05-21 03:40:47 +00:00
ronghulin
cdaeef70c3
feature: optimize wifi API max tx power description
2020-05-20 11:52:42 +08:00
kapil.gupta
fb53a454b9
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-05-19 16:55:42 +05:30
chenyudong
040f4be2a7
mesh: support set new type
...
If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router
Release emesh_recv_toDS when the root becomes non-root
esp_mesh_set_type now supports MESH_IDLE and MESH_STA
2020-05-19 11:17:56 +08:00
xiehang
158602c942
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
2020-05-18 14:53:31 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Jiang Jiang Jian
26ab1c54ec
Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
...
esp_wifi: When WiFi TSF is active, skip light sleep
Closes WIFI-2305 and WIFI-2306
See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00
Nachiket Kukade
b302b4bb43
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free this
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 22:54:03 +05:30
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
zhangyanjiao
4dc7a36eca
wifi: fix the crash issue when fetch peer after delete cur_peer
2020-05-12 21:05:50 +08:00
xiehang
0c7cac6ee3
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-09 17:26:51 +08:00
Jiang Jiang Jian
09d4767947
Merge branch 'mesh/power_save_function' into 'master'
...
mesh/ps: add duty control and support only transmit/receive on active duty
See merge request espressif/esp-idf!8152
2020-05-06 15:53:49 +08:00
qiyuexia
4522ef8798
mesh: add duty cycle control and support only transmit/receive in actve duty cycle
2020-05-05 18:06:47 +08:00
Nachiket Kukade
107cf56e20
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
Jiang Jiang Jian
4eec0ea4bb
Merge branch 'bugfix/optimization_API_esp_wifi_deauth_sta' into 'master'
...
bugfix: optimization API esp_wifi_deauth_sta
Closes WIFI-1699
See merge request espressif/esp-idf!8363
2020-04-30 16:20:32 +08:00
Angus Gratton
d041512022
Merge branch 'feature/mesh_ip_network_example' into 'master'
...
ESP-MESH: IP internal network example
See merge request espressif/esp-idf!7724
2020-04-30 14:33:16 +08:00
ronghulin
3c8ed7b8c9
bugfix: optimization API esp_wifi_deauth_sta
2020-04-29 14:31:16 +08:00
zhangyanjiao
b96652c257
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. query country code wrong when policy change from manual to auto
3. change wifi_scan_time_t from union to struct
2020-04-28 20:02:25 +08:00
baohongde
95f47a2d4d
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-04-28 16:16:27 +08:00
Nachiket Kukade
f9970b8e29
esp_wifi: Update wifi lib
...
PMF Certification fixes -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
Closes WIFI-2251
2020-04-27 13:32:09 +00:00
David Cermak
9e58d94a42
esp-mesh: Added example showing internal IP capable mesh network
2020-04-24 07:32:58 +02:00
David Cermak
bcee69ae06
esp-netif: Enable easier configuration of custom DHCP server address
2020-04-24 07:32:58 +02:00
xiehang
5d20610874
esp_wifi: Update esp32s2 phy lib v303
2020-04-15 20:18:42 +08:00
ronghulin
f5f2cbcb50
bugfix: fix make compile phy multiple bin error
2020-04-15 10:19:54 +08:00
ronghulin
c65c30c60a
bugfix: fix esp_wifi_stop crash issue
2020-04-07 11:12:43 +08:00
Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
fuzhibo
406b8f423d
driver(adc): add adc initial code before app_main for esp32s2.
...
update phy v301
2020-04-04 10:15:30 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
qiyuexia
6d01dc4cfa
mesh/ps: add mesh network power save function
2020-04-01 22:09:23 +08:00
Xia Xiaotian
3488603002
esp_wifi: optimize coexistence sleep
...
1. Increase delay time before sending NULL1 to enter sleep to
fix compatible problem of some APs.
2. Do not force sending NULL0 if no data tx/rx in previous Wi-Fi
slice.
2020-03-30 11:18:08 +08:00
xiehang
8bcf5cbfed
esp_wifi: Fix wifi log print level error
2020-03-27 12:37:56 +08:00
Jiang Jiang Jian
4fe04f1151
Merge branch 'bugfix/fix_esp32s2_receive_pkts_err' into 'master'
...
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
See merge request espressif/esp-idf!8100
2020-03-27 12:21:52 +08:00
ChenJianxing
79be253020
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
2020-03-24 15:16:21 +08:00
Renz Bagaporo
3d0967a58a
test: declare requirements and include dirs private
2020-03-23 10:58:50 +08:00
ChenJianxing
9dd7b17deb
esp_wifi: update esp32s2 phy lib v300
2020-03-19 20:56:46 +08:00
ChenJianxing
efd3505e51
esp_wifi: add certification version number.
2020-03-18 14:38:48 +08:00
zhangyanjiao
a11673ebe4
wifi: return fail when setting softAP's channnel is out of range
2020-03-16 17:34:48 +08:00
Jiang Jiang Jian
493cdf53b9
Merge branch 'bugfix/fix_scan_get_rssi_err' into 'master'
...
esp_wifi: Fix scan get rssi err
Closes WIFI-1805
See merge request espressif/esp-idf!7961
2020-03-16 17:10:13 +08:00
Jiang Jiang Jian
57ad4afe7d
Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
...
esp32s2: fix when enable multi phy init data bin compile err.
Closes IDF-1459
See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
xiehang
afa4dbae16
esp_wifi: Fix ESP32S2 wifi log not printing
2020-03-13 14:48:18 +08:00
xiehang
e4698f8473
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 12:35:49 +08:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
xiehang
7569e34e89
esp_wifi: Reduce Bin size
...
1. Disable WiFi API parameter checking log
2. Optimize wifi log
2020-03-10 17:45:06 +08:00
qiyuexia
7bd03faa4b
mesh: add chain topology
2020-03-09 06:00:42 +00:00
xiehang
91bcd5eb63
esp_wifi: Add TX packets size check
2020-03-06 15:27:24 +08:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
Xia Xiaotian
5aba95a326
coexist: adjust coexist scheme when BT is in connected status
2020-03-04 13:40:11 +08:00
Jiang Jiang Jian
4d0834359f
Merge branch 'feature/wpa3_testcases_support' into 'master'
...
esp_wifi: Support for additional WPA3 testcases
See merge request espressif/esp-idf!7459
2020-03-04 13:33:00 +08:00
Mahavir Jain
5f771fb7be
Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
...
esp_wifi: fix occasional test failure due to memory leak indications
See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00