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
Nachiket Kukade
30d6220394
esp_wifi: Support for additional WPA3 testcases
...
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
2020-03-03 19:01:51 +05:30
kapil.gupta
c634de1532
esp-wifi: Fix crash during WEP shared auth
...
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +08:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiehang
299ab1360c
eps_wifi: Add wifi stop check at wifi deinit entry
2020-03-02 14:20:28 +08:00
zhangyanjiao
36c726de99
esp_wifi: fix bugs related to espnow and channel set
...
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00
liu zhifu
6fa0ef50d1
esp_wifi: fix S2 WiFi RX filter issue
2020-02-28 21:37:30 +08:00
ChenJianxing
a182c0682e
(S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202
2020-02-28 17:44:21 +08:00
liu zhifu
940b4786c5
esp_wifi: fix the bug that WiFi stop leads to memory leak
2020-02-28 12:06:26 +08:00
Jiang Jiang Jian
4bd9c2ff64
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue' into 'master'
...
bugfix: Place the Vendor Specific element at the end according to the protocol
Closes WIFI-705
See merge request espressif/esp-idf!7669
2020-02-27 14:31:45 +08:00
ronghulin
9afdcb2c70
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-02-25 14:18:50 +08:00
morris
2227e2505b
resume wifi init test on esp32s2
2020-02-24 14:03:25 +08:00
Xia Xiaotian
6faaa0ea6b
esp_wifi: run modem sleep on ESP32S2
2020-02-21 19:58:41 +08:00
Sagar Bijwe
bbd0ff5347
wifi: Change esp32s2beta dirname to esp32s2 in wifi-lib
2020-02-20 06:57:10 +00:00
Angus Gratton
a0644bf8ae
Merge branch 'test/resume_ut_esp32s2' into 'master'
...
ci: resume esp32s2 unit tests
See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
michael
2529eda907
ci: disable failed cases for s2 temporarily
2020-02-15 18:28:25 +08:00
Nachiket Kukade
883071fe8c
esp_wifi: Update docs for wifi headers
2020-02-14 12:23:27 +05:30
Jiang Jiang Jian
54a50f4532
Merge branch 'feature/support_esp32s2_wifi_v2' into 'master'
...
WiFi: Add support for ESP32S2
See merge request espressif/esp-idf!7505
2020-02-14 11:54:13 +08:00
ChenJianxing
3e3753faf4
update WiFi libs for both esp32 and esp32s2.
2020-02-13 16:58:36 +08:00
zhangyanjiao
50b9ccf8b4
fix the bug for Airkiss
...
Closes https://github.com/espressif/esp-idf/issues/3362
2020-02-12 08:27:09 +00:00
Renz Christian Bagaporo
16e0c93e40
ci: solve public headers errors
2020-02-11 14:30:42 +05:00
David Cermak
02cdef086f
ESP-NETIF: easier creation for WiFi interfaces with custom parameters
...
Closes https://github.com/espressif/esp-idf/issues/4611
Closes IDFGH-2523
2020-02-10 14:22:07 +01:00
Angus Gratton
eb85cfb9f6
docs: Temporarily mark RF calibration chapter as ESP32 only
...
Can be re-enabled once ESP32-S2 calibration support is added
2020-02-07 16:37:45 +11:00
Sagar Bijwe
4f93a707f8
WiFi: Add support for ESP32S2
...
1) Update WiFi and PHY libs for ESP32S2.
2) Remove KConfig options ESP32S2 PHY lib selection.
3) Change target macros from ESP32S2BETA to ESP32S2
2020-02-06 14:19:30 +05:30
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
xiehang
6cb271c20b
esp_wifi: Small refactor for ic_set_vif
2020-01-20 11:47:02 +08:00
xiehang
0d1a20ba18
esp_wifi:Fix double recycle bar crash issue
2020-01-17 14:28:27 +08:00
Hrudaynath Dhabe
93bc830ac6
esp_wifi: esp_wifi_sta_get_ap_info function returns actual values of group cipher and pairwise cipher
2020-01-16 17:52:59 +08:00
Renz Christian Bagaporo
cc8bff703e
esptool_py: create flash target functions
2020-01-15 03:36:47 +00:00
chenyudong
79f0d460f5
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
Fix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-01-13 10:58:18 +08:00
baohongde
a2398f0dcc
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-01-10 16:00:12 +08:00
liu zhifu
3750fe945f
esp_wifi: fix WiFi buffer reload issue
2020-01-09 13:42:27 +08:00
Angus Gratton
459b3195ac
esp_wifi: Move esp32 DPORT access wrappers into esp_wifi component
2020-01-08 18:23:29 +11:00
Angus Gratton
65dad0d46f
build system: Remove some dependencies from esp32 & esp32s2beta
...
Possible now that wifi related source files are all in esp_wifi
2020-01-08 18:13:12 +11:00
Angus Gratton
f616d2f2de
esp_wifi: Move wifi OS adapter structures into esp_wifi component
2020-01-08 18:13:12 +11:00
Jiang Jiang Jian
2e7e05a79a
Merge branch 'bugfix/fix_amsdu_decrypt_bug' into 'master'
...
esp_wifi: fix a WiFi A-MSDU decrypt bug
Closes WIFI-1611
See merge request espressif/esp-idf!7157
2020-01-08 11:15:44 +08:00
Angus Gratton
8421114264
Merge branch 'feat/ut_disabled_for_targets' into 'master'
...
ut: use DISABLED_FOR_TARGETS macro in unit tests
See merge request espressif/esp-idf!7117
2020-01-08 09:22:29 +08:00
Angus Gratton
3b9c8a6677
Merge branch 'bugfix/netif_cpp_issues' into 'master'
...
esp_netif c++ fixes
See merge request espressif/esp-idf!7045
2020-01-07 14:34:57 +08:00
liu zhifu
c54e11537f
esp_wifi: fix WiFi AMSDU decrypt issue
2020-01-06 17:58:03 +08:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
xiehang
ea1b821a60
Fix wifi stop bug when sniffer enable
2020-01-03 08:52:56 +00:00
David Cermak
ddf59520c6
wifi: fixed missing c++ guards
...
Closes https://github.com/espressif/esp-idf/issues/4497
2020-01-02 17:16:47 +00:00
Xia Xiaotian
b7e3886bf2
Fix ESP32S2BETA WiFi initialization crash issue
...
ESP32S2BETA does not need to enable WiFi common clock in WiFi library, for
WiFi common clock is not disabled when WiFi is in sleep state.
2019-12-30 16:51:12 +08:00
zhangyanjiao
56c309b40b
fix the bugs in ESP-NOW:
...
1. fix the bug when modifying the channel info of peer node
2. fix the crash when modifying peer node between unencrypted and encrypted
3. fix the bug for fetch peer
4. modify the esp_wifi_set_channel() function
5. fix the bug that the channel parameter doesn't work when adding peer node
Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2019-12-25 11:46:27 +08:00
liu zhifu
97e7bdd161
esp_wifi: fix WiFi timer bug
2019-12-25 09:10:45 +08:00
liu zhifu
e1eeef2276
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-24 21:32:03 +08:00
Jack
3f22448fdf
Fixes ESPNOW unicast packet Tx failure
2019-12-24 11:59:18 +08:00
zhangyanjiao
7416c37fe1
fix the bug for getting channel and bandwidth
2019-12-23 20:06:13 +08:00
Jack
1e47b01563
improve wifi performance
2019-12-22 19:34:53 +08:00
Angus Gratton
15e67a49f4
Merge branch 'bugfix/nvs_flash_iterator' into 'master'
...
NVS: BUGFIX iterator corrupting entries.
Closes IDFGH-2229
See merge request espressif/esp-idf!6789
2019-12-20 11:40:23 +08:00
Jakob Hasse
38aa21fd15
WIFI: added log for wifi test, increased timeout
2019-12-19 14:53:28 +08:00
liu zhifu
fde2f33912
esp_wifi/supplicant: fix some WiFi stop memory leak
2019-12-18 13:51:27 +08:00
Jiang Jiang Jian
259d43db83
Merge branch 'bugfix/fix_block_scan_crash_issue' into 'master'
...
esp_wifi: Fix wifi block scan crash issue
Closes AUD-873 and WIFI-922
See merge request espressif/esp-idf!6422
2019-12-17 20:03:10 +08:00
Jiang Jiang Jian
08b1ccb7b7
Merge branch 'bugfix/esp_netif_receive_null_netif' into 'master'
...
esp_netif: store netif before register wifi rxcb
Closes WIFI-1499
See merge request espressif/esp-idf!6947
2019-12-17 20:01:34 +08:00
xiehang
a159fc15fc
esp_wifi: Fix wifi block scan crash issue
2019-12-16 07:47:08 +00:00
xiehang
3eaf86fbf1
esp_wifi: Fix association req RSN info lengeh too big lead crash
2019-12-11 10:59:18 +00:00
Hrudaynath Dhabe
04e024bfd2
wifi: fix eapol frames encryption during reauth
2019-12-11 11:29:30 +08:00
chenyudong
66f6d8c3ef
esp_netif: store netif before register wifi rxcb
2019-12-09 15:16:00 +08:00
chenyudong
e48efd8a4d
mesh: fix mesh stop recv crash
...
Add a mutex.
2019-12-09 03:56:10 +00:00
Jiang Jiang Jian
3a54047c66
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_master' into 'master'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
See merge request espressif/esp-idf!6840
2019-12-04 14:56:39 +08:00
Jiang Jiang Jian
71ae2956cd
Merge branch 'bugfix/phy_critical' into 'master'
...
Bugfix/phy critical
See merge request espressif/esp-idf!6890
2019-12-04 11:26:58 +08:00
Jack
134a627ad8
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-02 18:20:40 +08:00
Tian Hao
bcce4e3052
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing
critical sections, such like operating on I2C, but it may not effect
when both the CPU core call it. It may cause accessing I2C blocking
and cannot recover by esp_restart(), until do HW reboot.
2019-12-02 14:56:18 +08:00
Nachiket Kukade
460b1d6bb5
esp_wifi: Update wifi lib
...
Add fix to "Invalid MMIE" issue.
2019-11-29 14:47:36 +05:30
Jack
5d377e5b6e
esp_wifi: update to include MD5 symbols
2019-11-27 23:08:57 +08:00
Ivan Grokhotkov
680c48f86f
esp_wifi: remove MD5 related unit tests
2019-11-27 23:00:11 +08:00
Ivan Grokhotkov
568f0af61a
esp_wifi: check header files MD5 on host
2019-11-27 23:00:11 +08:00
Nachiket Kukade
5618cf5100
wpa_supplicant: Fix MD5 mismatch in esp_wifi_driver.h
...
Make cosmetic changes in esp_wifi_driver.h in both IDF
and wifi library to match the md5sum.
2019-11-27 12:43:04 +00:00
Nachiket Kukade
f2e37c4ca8
wpa_supplicant: Support WPA3 4-way handshake, add config option
...
1. Add changes in 4-way handshake path to allow SAE key mgmt.
2. Support for configuring WAP3 at init time, added Kconfig option.
3. Handle and propagate error conditions properly.
4. Link changes from WiFi library.
2019-11-26 10:59:55 +05:30
Nachiket Kukade
da07b2b4a7
wpa_supplicant: Add SAE handshake support for WPA3-PSK
...
Under WPA3-Personal, SAE authentication is used to derive PMK
which is more secure and immune to offline dictionary attacks.
1. Add modules to generate SAE commit/confirm for the handshake
2. Add modules that build and parse SAE data in Auth frames
3. Add WPA3 association and key mgmt definitions
4. Invert y-bit while solving for ECC co-ordinate -
Once an X co-ordinate is obtained, solving for Y co-ordinate
using an elliptical curve equation results in 2 possible values,
Y and (P - Y), where p is the prime number. The co-ordinates are
used for deriving keys in SAE handshake. As par the 802.11 spec
if LSB of X is same as LSB of Y then Y is chosen, (P - Y) otherwise.
This is not what is implemented, so fix this behavior to obtain the
correct Y co-ordinate.
2019-11-26 04:24:57 +00:00
Sagar Bijwe
aceb141d2b
wpa_supplicant: Adding SAE modules with testcase
...
This change ports SAE(Simultaneous Authentication of Equals)
feature from wpa_supplicant and makes it work with mbedtls
crypto APIs. Currently only group 19 is supported. A sample
SAE handshake is included in the testcase. Other minor
changes for DH groups are also included.
2019-11-26 04:24:57 +00:00
Nachiket Kukade
75ea0df916
Add encryption/decryption support for PMF
...
1. Add CCMP, AES crypto modules for unicast protected Mgmt frames
2. Add support for computing SHA256 MIC on Bcast Mgmt frames
3. Add support for storing iGTK during 4-way handshake.
4. Provide APIs to MLME for utilizing the SW crypto modules
5. Link PMF changes from WiFi library submodule
2019-11-25 04:11:09 +00:00
Nachiket Kukade
773e095a65
Add support for PMF configuration and negotiation
...
1. Add APIs for configuring PMF through set config.
2. Map Supplicant and Wifi Cipher types.
3. Add support for PMF negotiation while generating RSN IE.
2019-11-25 04:11:09 +00:00
Jiang Jiang Jian
a9c1970c03
Merge branch 'bugfix/put_more_rx_code_to_iram' into 'master'
...
wifi: Put some rx code to iram
Closes WIFI-490 and WIFI-1041
See merge request espressif/esp-idf!6490
2019-11-15 10:58:22 +08:00
xiehang
b7334b0366
esp_wifi: Turn off wifi iram optimization by default, when using both Bluetooth and psram
2019-11-14 15:20:53 +08:00
xiehang
5e7f43f3d1
esp_wifi: Put some rx code to iram
2019-11-13 11:44:23 +00:00
David Cermak
f91d69efb2
esp_netif: rename DHCP flags for client and server
2019-11-13 12:36:26 +01:00
David Cermak
4857e92e2c
esp_mesh: creation of wifi network interfaces for esp-mesh examples moved to used common esp_wifi_default API
2019-11-13 12:36:26 +01:00
David Cermak
f839a1328c
esp_netif: added locking for netif list management, unit tests to use unique if_keys, updated comments
2019-11-13 12:36:25 +01:00
David Cermak
20add7da60
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
2019-11-13 12:36:25 +01:00
David Cermak
549ee87912
esp_netif: moving default netifs to wifi, moved sta_list to a separate header -- note will fail unit tests
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
ba13275c6b
esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
zhangyanjiao
bf37f8a03c
1. modify esp_wifi.h to support esp_netif feature
...
2. fix the bug for API_CHECK_ENABLE
2019-11-06 12:48:02 +00:00
liu zhifu
c9dfdc0566
esp_wifi: fix TKIP/CCMP replay attack detection algorithm
2019-11-02 14:49:21 +00:00
liu zhifu
b09624e89a
esp_wifi: fix WiFi deinit memory leak
2019-10-30 10:12:15 +08:00
Xia Xiaotian
9afba2abf5
esp_wifi: merge esp32s2beta WiFi library to master branch
2019-10-29 19:41:33 +08:00
Xia Xiaotian
5ffb42b4dd
esp_wifi: support esp32s2beta A, B and marlin3 chip
2019-10-28 18:58:05 +11:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Xia Xiaotian
dfdf04644f
Support WiFi both on esp32 and esp32s2beta
2019-10-17 09:12:37 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
liu zhifu
d56e7ec037
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
...
Modify WiFi receiving buffer number type from uint8_t to uint16_t to support
configuring more than 255 buffers.
2019-10-14 21:30:45 +08:00
Jiang Jiang Jian
b6a7b35b61
Merge branch 'bugfix/fix_sta_wpa2_enterprise_issue' into 'master'
...
esp_wifi: fix a station wpa2 enterprise issue
Closes WIFI-1042
See merge request espressif/esp-idf!6287
2019-10-14 21:27:05 +08:00
Hu Chao Ru
fc018987eb
add wifi init unit test cases
2019-10-11 13:00:57 +08:00
liu zhifu
0e3cdce8f7
esp_wifi: fix the bug that wpa2 enterprise sta can connect open AP
2019-10-11 09:39:35 +08:00
chenyudong
c6129b81f2
ci: fix ci issues of wifi lib
...
sync esp_wifi.h to wifi lib
2019-10-09 15:07:19 +08:00
Ivan Grokhotkov
5768102d4e
esp_wifi: fix typo in comments (ESP_ERR_WIFI_NOT_STARTED)
2019-10-07 16:48:32 +02:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
Xia Xiaotian
63019689d6
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
2019-09-30 11:49:16 +08:00
zhangyanjiao
53d57dd736
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
2019-09-29 10:44:49 +08:00
xiehang
6fde73cdc4
esp_wifi: Put g_promis_buf to IRAM
2019-09-26 02:26:10 +00:00
Roland Dobai
833822c10b
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-23 16:10:57 +02:00
Jiang Jiang Jian
a469c179f8
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone' into 'master'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
Closes WIFI-1115
See merge request espressif/esp-idf!6071
2019-09-20 14:01:59 +08:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
xiehang
e1496449b1
esp_wifi: Update wifi lib
2019-09-18 10:16:35 +10:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Jack
b0c893a20c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-13 09:44:07 +10:00
Angus Gratton
ba54a552c1
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
d63181b5e9
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
bdeaf138c4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-13 09:44:07 +10:00
zhangyanjiao
d885df946a
fix the bug that ESP32 sends broadcast to phone after smartconfig done
2019-09-11 10:42:16 +08:00
zhangyanjiao
45c72dd372
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2019-09-05 20:20:42 +08:00
Xia Xiaotian
f9aaaa6c3a
esp_wifi: synchronize WiFi header file with WiFi library
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
eb158e9a22
ci: disable UTs for esp32s2beta without runners
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9baa7826be
fix unit test and examples for s2beta
2019-09-04 10:53:25 +10:00
Tian Hao
3af18c0422
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-08-30 22:06:29 +08:00
suda-morris
a36cc962a3
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-08-29 10:39:30 +08:00
zhangyanjiao
ff96965a91
wifi: fix the bug for softAP set authmode
2019-08-23 14:37:08 +08:00
Xia Xiaotian
80f1c13fd7
esp_wifi: update WiFi library to support esp32s2beta
2019-08-21 10:45:07 +10:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
0a0bb09585
Merge 'master' into feature/esp32s2beta_update
2019-08-20 13:55:23 +10:00
Nachiket Kukade
9ec363a25d
wpa_supplicant: Make internally used crypto headers private
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-08-17 11:48:37 +00:00
Xia Xiaotian
bcff8afbba
esp_wifi: update esp32s2beta WiFi library
2019-08-13 17:14:16 +10:00
Angus Gratton
2f56116db2
Cleanup of previous merge commit
2019-08-12 16:57:40 +10:00
Sagar Bijwe
b1f657fc65
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called
...
Scenarios where this fix is applicable.
1) Every time the system is powered-on/restarted without calling
esp_wifi_set_config.
2) esp_wifi_init()/connect()/stop()/deinit() is called multiple
times without esp_wifi_set_config.
Closes IDFGH-1520
2019-08-09 16:28:33 +05:30
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Jiang Jiang Jian
2d36e42b5f
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master'
...
wifi: fix wifi bugs for authmode and multi ssid
Closes WIFI-558, WIFI-560, WIFI-449, WIFI-567, and WIFI-597
See merge request espressif/esp-idf!5387
2019-08-05 21:18:27 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
zhangyanjiao
9f9d876799
wifi: fix wifi bugs for authmode and multi ssid
2019-08-02 10:22:20 +08:00
zhangyanjiao
017a60a69d
fix the wrong comment in esp_wifi_types.h
2019-08-01 12:24:08 +00:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
zhangyanjiao
62bb107b31
docs: fix the bug in wifi doc
2019-07-29 14:55:17 +08:00
Jiang Jiang Jian
b0456cc926
Merge branch 'bugfix/mesh_scan_done_crash' into 'master'
...
Bugfix: mesh scan done crash caused by uint8_t overflow
See merge request espressif/esp-idf!5590
2019-07-25 18:01:47 +08:00
xiehang
dd26caf779
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-24 18:03:33 +08:00
chenyudong
a7ddb03274
mesh: fix scan done crash caused by uint8_t overflow
2019-07-24 15:54:50 +08:00
chenyudong
18df3dd5ed
test: move wifi library check to esp32-wifi-lib ci
2019-07-19 13:12:57 +08:00
liu zhifu
f3f08fa713
esp_wifi/supplicant: fix some supplicant bugs
...
Closes IDFGH-1455
Closes IDF-774
2019-07-18 17:36:19 +08:00
zhangyanjiao
69504bd9c5
phy change for WiFi scan BLE scan watchdog
2019-07-18 11:00:18 +08:00
chenyudong
4dd75184e4
mesh: fix esp_mesh_stop not return
2019-07-17 11:02:21 +08:00
liu zhifu
45dd6175cd
esp_wifi: optimize wifi rx
2019-07-16 17:59:04 +08:00
liu zhifu
b7d6aa74dd
esp_wifi: fix WiFi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-16 14:09:47 +08:00
liu zhifu
034440b85d
esp_wifi: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-15 12:44:03 +08:00
xiehang
8f2d13d9db
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1, Modfy wifi_country struct
2, Add md5 check esp_wifi_types.h
3, Add md5 check esp_wifi.h
2019-07-14 15:10:11 +08:00
zhangyanjiao
d1bf08d4ad
coexist: fix the watchdog bug during WiFi scan and BLE scan
2019-07-12 20:23:59 +08:00
Nachiket Kukade
900df44546
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
...
wpa_supplicant is using MbedTLS API's for crypto algorithms. For
calling them a duplicate set of modules is maintained prepended
with 'fast_'. Remove these and use flag USE_MBEDTLS_CRYPTO
instead to separate modules calling MbedTLS API's from native
implementation.
2019-07-10 14:53:20 +05:30
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
qiyuexia
a272e7204d
mesh: use new event library
2019-07-05 21:14:30 +08:00
qiyuexia
c516819ba6
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-05 13:17:43 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Deng Xin
c139683024
supplicant/esp_wifi: move supplicant to idf
...
Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
2019-06-29 22:46:52 +08:00
Angus Gratton
265d7dc4e5
Merge branch 'bugfix/fix_secure_boot_support' into 'master'
...
Fixes to secure boot support in CMake
See merge request idf/esp-idf!4977
2019-06-28 15:38:59 +08:00
Xia Xiaotian
99ef587a05
run WiFi on ESP32SBETA
2019-06-28 11:34:49 +08:00
Renz Christian Bagaporo
179259f195
components: restore dependency of extra bins on flash target
2019-06-28 10:50:52 +08:00
liu zhifu
5d855fcdef
esp_wifi: add limitation for setting maximum WiFi TX power
...
Limit the WiFi TX power range to 10dBm ~ 20.5 dBm
2019-06-27 17:28:59 +08:00
Renz Christian Bagaporo
9b350f9ecc
cmake: some formatting fixes
...
Do not include bootloader in flash target when secure boot is enabled.
Emit signing warning on all cases where signed apps are enabled (secure
boot and signed images)
Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY
variable, since it is
relevant to other components, not just bootloader.
Pass signing key and verification key via config, not requiring
bootloader to know parent app dir.
Misc. variables name corrections
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
9eccd7c082
components: use new component registration api
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
8424822150
cmake: set CONFIG_DIR build property
...
Add CONFIG_DIR as a build property, so that components don't have to
derive it from one of the generated config files.
2019-06-20 16:02:22 +08:00
suda-morris
c5c716e9d7
esp_wifi: fix wrong path of phy_init_data
...
Closes https://github.com/espressif/esp-idf/issues/3482
2019-06-18 11:29:09 +08:00
Ivan Grokhotkov
aeb62b5337
esp_wifi: no libraries for esp32s2beta yet
2019-06-12 16:09:52 +08:00
Jiang Jiang Jian
5ae151308b
Merge branch 'bugfix/fix_some_wps_bugs' into 'master'
...
wps: add overlap event
Closes WIFI-517
See merge request idf/esp-idf!5022
2019-06-12 14:35:52 +08:00
Renz Christian Bagaporo
54ef60f26b
component: revert some of the dependency corrections
...
!4452 and !4897 made some ill-advised corrections to dependency info;
revert those in this MR. Handling pre-built binaries as imported
libraries is retained, however.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
Angus Gratton
8d949c3c9d
esp32s2beta: Apply new Kconfig names to esp32s2beta
...
Still using ESP32_xxx prefix on all chips: CORE_DUMP, APP_TRACE
Still using the same config prefix and duplicate names in esp32 & esp32s2beta: SPIRAM, PM
2019-06-11 13:07:37 +08:00
suda-morris
84b2f9f14d
build and link hello-world for esp32s2beta
2019-06-11 13:07:37 +08:00
suda-morris
b146104885
add esp32s2beta component
2019-06-11 13:06:32 +08:00
xiehang
2503af2464
wps: add overlap event
...
modify some header files to be consistent with vnc
2019-06-06 13:16:20 +08:00
Jiang Jiang Jian
3d2b11347d
Merge branch 'bugfix/support_tcp_window_scale' into 'master'
...
esp_wifi/tcpip: support TCP window scale
See merge request idf/esp-idf!5102
2019-06-05 20:08:18 +08:00
liu zhifu
d1e7d04f9b
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:09:04 +08:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Angus Gratton
c338cbceb1
Merge branch 'bugfix/cmake_wifi_ut_md5' into 'master'
...
esp_wifi: fix MD5 unit tests with CMake
See merge request idf/esp-idf!5090
2019-06-04 13:23:06 +08:00
Angus Gratton
7f0ac87033
Merge branch 'bugfix/set_default_eth_handler' into 'master'
...
esp_event: fix bug in set_default_eth_handler
See merge request idf/esp-idf!5103
2019-06-04 13:06:55 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
suda-morris
c187f1ef6b
esp_event: fix bug in set_default_eth_handler
2019-05-31 16:00:15 +08:00
liu zhifu
8009320fb4
esp_wifi: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:19:26 +08:00
Ivan Grokhotkov
8cc90bfbb1
esp_wifi: fix MD5 unit tests with CMake
2019-05-30 11:42:12 +08:00
Angus Gratton
31b854e17d
Merge branch 'feature/do_not_use_link_groups' into 'master'
...
Do not use link groups
See merge request idf/esp-idf!4897
2019-05-29 15:18:31 +08:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
Renz Christian Bagaporo
2c12080049
components: correct dependency information for linking without link groups
2019-05-28 10:51:02 +08:00
zhangyanjiao
22a991bb29
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
Closes https://github.com/espressif/esp-idf/issues/3474
2019-05-24 11:23:16 +08:00
liu zhifu
197e0ae147
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:18:05 +08:00
Jiang Jiang Jian
81ca1c0139
Merge branch 'bugfix/fix_softap_crash_when_sta_reset' into 'master'
...
wifi: fix softap crash when sta reset
Closes WIFI-509
See merge request idf/esp-idf!4995
2019-05-22 21:00:40 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
b8111ab1d5
Rename Kconfig options (components/esp_wifi)
2019-05-21 09:09:01 +02:00
xiehang
2273646bda
wifi: fix softap crash when sta reset
2019-05-20 19:57:50 +08:00
Renz Christian Bagaporo
ffec9d4947
components: update with build system changes
2019-05-13 19:59:17 +08:00
XiaXiaotian
e1f743c8eb
esp_wifi: fix the bug that WPS fails when AP is encrypted
2019-04-24 13:57:14 +08:00
zhangyanjiao
513353c641
wifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-22 11:59:40 +08:00
liu zhifu
4c50e51305
esp_wifi: fix a bug caused by signal test code
...
Fix a bug caused by signal test code.
2019-04-17 16:32:15 +08:00
Ivan Grokhotkov
327963e0cc
Merge branch 'bugfix/ut_leaks_tags' into 'master'
...
test: clean up "leaks" tags from most unit tests
See merge request idf/esp-idf!4779
2019-04-17 14:52:34 +08:00
Ivan Grokhotkov
bb4f5617ab
test: clean up "leaks" tags from most unit tests
2019-04-16 20:07:40 +08:00
zhangyanjiao
7097e5b0d0
wifi: fix the set config bug for bssid_set
2019-04-16 10:57:00 +08:00
Jiang Jiang Jian
8b2128ce07
Merge branch 'feature/add_support_for_signal_test' into 'master'
...
esp_wifi: add support for signal test
Closes WIFI-324
See merge request idf/esp-idf!4717
2019-04-15 17:45:01 +08:00
Ivan Grokhotkov
f935294c48
Merge branch 'doc/move_WiFi_Kconfig' into 'master'
...
move WiFi-specific Kconfig to esp-wifi component
See merge request idf/esp-idf!4736
2019-04-15 12:00:59 +08:00
liu zhifu
2e129ca31d
esp_wifi: add support for signal test
...
Add support for WiFi signal test
2019-04-15 10:14:31 +08:00
Jiang Jiang Jian
6a323a6d7c
Merge branch 'feature/wifi_refactor_softap_power_save' into 'master'
...
refactor softap power save
Closes WIFI-415 and IDF-81
See merge request idf/esp-idf!1905
2019-04-12 23:48:11 +08:00
Ivan Grokhotkov
0bca9d20d8
Merge branch 'feature/esp_event_loop_library_compat_base' into 'master'
...
Implement Wi-Fi, Ethernet, IP event handling based on esp_event library
Closes IDF-37 and IDF-267
See merge request idf/esp-idf!3635
2019-04-12 13:54:18 +08:00
Konstantin Kondrashov
5021129e71
Add support a [leaks] tag for UT
2019-04-12 09:31:23 +08:00
XiaXiaotian
b576bf25a7
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing
when the associated stations enable IEEE80211 legacy power
save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power
save.
2019-04-11 20:16:58 +08:00
suda-morris
c0df805ded
make esp_wifi component depend on CONFIG_NO_BLOBS
...
If CONFIG_NO_BLOBS is enabled, esp_wifi won't link wifi library.
2019-04-11 14:07:52 +08:00
suda-morris
958c2792e3
move WiFi-specific Kconfig to esp-wifi component
...
1. separate Kconfig from esp32 component
2. modify component.mk for esp_wifi a little bit to make it depend on IDF_TARGET
2019-04-11 12:33:15 +08:00
Ivan Grokhotkov
25784ba87a
wifi: don’t disable event handling for SoftAP
...
Events are needed to initialise the tcpip_adapter and start the DHCP server
2019-04-11 12:05:27 +08:00
Ivan Grokhotkov
a2d59525e5
mdns: use esp_event library to handle events
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b1d1e37f87
event loop: re-implement based on esp_event library
...
Includes ds2ds unit test fix, iperf example test fix
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
8b57fe9515
wifi: add event declarations
2019-04-11 12:04:58 +08:00
XiaXiaotian
c580eecf89
esp32_wifi: fix the issue that the spike transmit power of WiFi is higher
...
than configured when WiFi and Bluetooth coexist
2019-04-10 10:19:55 +08:00