Wykres commitów

349 Commity (3caa9699aef8de2dddb7d5803961c97390aa80fe)

Autor SHA1 Wiadomość Data
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