Commit graph

1705 commits

Author SHA1 Message Date
He Yin Ling 8e8b76783b versions: Update version to 3.2.5 2020-10-30 10:42:29 +08:00
ronghulin ccd8c0a689 bugfix: fix unable update rssi of hidden ap 2020-10-28 10:48:35 +08:00
zhangyanjiao e7c1dda22d esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally 2020-10-26 09:56:21 +00:00
Jiang Jiang Jian dc66e7a769 Merge branch 'bugfix/fix_receiving_packets_from_myself_v3.2' into 'release/v3.2'
esp_wifi: drop receiving packets from myself (backport v3.2)

See merge request espressif/esp-idf!10562
2020-09-24 22:33:58 +08:00
xiehang 75cd0d14c2 esp_wifi: drop receiving packets from myself 2020-09-22 17:42:45 +08:00
dongyou cc611a76c6 Fix spin lock allocation in PSRAM bug 2020-09-22 11:54:06 +08:00
ronghulin c374008d22 bugfix: fix softap mode wpa memory leak 2020-09-11 10:40:54 +08:00
Michael (XIAO Xufeng) 6ccba01bb3 spiram: fix the read id failure
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.

Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.

Issue introduced in 3ecbb59c15.
2020-08-13 03:29:42 +00:00
chenjianqiang ec0030609e psram: fix 16mbit psram id read error 2020-08-13 03:29:42 +00:00
Jiang Jiang Jian 3c3d6d7299 Merge branch 'bugfix/fix_some_wifi_bugs_0525_v3.2' into 'release/v3.2'
feature: optimize some wifi API (backport v3.2)

See merge request espressif/esp-idf!8892
2020-08-11 14:45:32 +08:00
Jiang Jiang Jian b5bb9b7bbd Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v3.2' into 'release/v3.2'
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)

See merge request espressif/esp-idf!9485
2020-08-11 00:56:26 +08:00
ronghulin afc55aec43 feature: optimize some wifi API
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-08-10 15:03:53 +00:00
Jiang Jiang Jian 890b0ff16d Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v3.2' into 'release/v3.2'
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v3.2)

See merge request espressif/esp-idf!9962
2020-08-07 18:10:36 +08:00
dongyou 7f86d81083 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-06 17:38:31 +08:00
chenyudong 5f9908874a mesh: backport some bugfixes
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-08-04 14:20:59 +08:00
xiehang 5d8c4143ef esp_wifi: Fix WiFi fragment issue 2020-07-31 20:29:06 +08:00
wangcheng f2b8bb6dae component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0) 2020-07-25 03:09:56 +00:00
Jiang Jiang Jian 460e04f4ff Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.2' into 'release/v3.2'
fix some wifi bugs 0703 (v3.2)

See merge request espressif/esp-idf!9538
2020-07-23 12:37:39 +08:00
Li Shuai 001be802c6 add soft solution for esp32 eco3 live lock issue 2020-07-17 05:29:48 +00:00
Angus Gratton 6a9d14e963 versions: Update to v3.2.4 2020-07-14 20:40:03 +10:00
zhangyanjiao 595be5a143 esp_wifi: Add API to get available internal heap size 2020-07-08 21:09:02 +08:00
zhangyanjiao d16831cf81 esp wifi bugfix:
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. fix the wifi regdomain update bug
7. fix the bug for airkiss find hidden AP fail
8. fix addba and first ampdu send bar
2020-07-08 21:07:24 +08:00
Nachiket Kukade 231773b28a esp_wifi: Update wifi lib
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 06:37:13 +00:00
kapil.gupta 4de12b3c0c esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold 2020-06-07 11:25:50 +05:30
zhangyanjiao caff697a3d wifi changes:
Zhang Yan Jiao authored 2 weeks ago
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 17:40:01 +08:00
xiehang 5c25689f7f esp_wifi: Fix AP switch to adjacent channel without disconnect 2020-05-15 14:31:40 +08:00
zhangyanjiao f8ddcc7d74 wifi: fix the bug that ESP32 can't get IP address from China Mobile router 2020-04-20 20:05:36 +08:00
Jiang Jiang Jian acfee765f7 Merge branch 'bugfix/btdm_backports_v3.2_0328' into 'release/v3.2'
Bugfix/btdm backports v3.2 0328

See merge request espressif/esp-idf!8154
2020-04-16 20:53:05 +08:00
Jiang Jiang Jian 2c21b0b2b3 Merge branch 'bugfix/psram_single_bit_error_v3.2' into 'release/v3.2'
psram: support psram 2T mode to fix single bit error (backport v3.2)

See merge request espressif/esp-idf!7111
2020-04-15 13:43:36 +08:00
chenjianqiang bc4b78459a psram: support psram 2T mode to fix single bit error
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 15:53:27 +08:00
liu zhifu 795e9136c1 esp32: backport some WiFi fixes to v3.2
Backport following Wifi fixes:

1. Fix esp_wifi_stop() crash
   esp_wifi_stop() crashes if it's called when WiFi is not initialized.

2. Fix memory leak caused by esp_wifi_stop()

3. Fix WiFi log print level

4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 10:54:56 +08:00
Ivan Grokhotkov 5f9003aa0a esp_common: add version definitions in code and build system 2020-04-03 01:27:15 +02:00
baohongde ce9e4d0918 components/bt: Fix assert when create conntion cancel 2020-03-28 21:40:32 +08:00
baohongde 98e183932c Fix bugs about role switch
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:33:12 +08:00
xiehang 414b843755 esp_wifi: Update WiFi lib
1,Fix sniffer bug caused by mode switch
2,Reduce WiFi bin size
3,Add TX packets size check
4,Fix scan get rssi error
5,Add wifi stop check at WiFi deinit entry
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:13:57 +08:00
ronghulin e5d8ae227d bugfix: Place the Vendor Specific element at the end according to the protocol 2020-03-02 14:15:31 +08:00
June 511c1cee22 backport esp32 5p0 new features to release/v3.2 2020-02-29 09:12:15 +00:00
chenyudong 9c1935e24c 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.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-21 18:55:49 +08:00
liu zhifu 448dd7c6ca esp32: fix the crash caused by double free BAR buffer 2020-02-12 16:38:47 +08:00
Angus Gratton b83749988c Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.2' into 'release/v3.2'
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.2)

See merge request espressif/esp-idf!7442
2020-02-06 14:31:17 +08:00
KonstantinKondrashov ab0f6aceac esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-02-05 10:43:47 +00:00
Hrudaynath Dhabe e789da12bd Fix wps config for support with gnu++11 as well as c99. 2020-01-31 05:57:58 +00:00
Jiang Jiang Jian a9d3b625c4 Merge branch 'bugfix/wa_dport_and_intr_v3.2' into 'release/v3.2'
esp32: Fix for DPORT (v3.2)

See merge request espressif/esp-idf!7351
2020-01-21 10:47:35 +08:00
Xia Xiaotian 9f8efed1eb 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
2020-01-20 08:01:59 +00:00
xiehang 644591b0d5 Update wifi lib
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,coex:fix wifi scan and connect bugs
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
10,Fix wifi reload issue
2020-01-20 08:01:59 +00:00
zhangyanjiao 0e8f66e017 fix the bugs for espnow and bandwidth 2020-01-20 08:01:59 +00:00
ronghulin d62bb227b7 esp32: fix a WiFi RX bug
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-20 08:01:59 +00:00
KonstantinKondrashov a22a543636 esp32: Add UT for DPORT 2020-01-16 14:36:26 +08:00
KonstantinKondrashov adf8131c20 esp32: Fix esp_dport_access_reg_read 2020-01-16 14:36:26 +08:00
liu zhifu 1d7c633349 esp32: fix WiFi performance issue 2020-01-06 21:28:18 +08:00