Commit Graph

1526 Commits

Author SHA1 Message Date
Jiang Jiang Jian
2325777cee Merge branch 'bugfix/fix_receiving_packets_from_myself_v3.1' into 'release/v3.1'
esp_wifi: drop receiving packets from myself (backport v3.1)

See merge request espressif/esp-idf!10560
2020-09-24 22:33:36 +08:00
wangcheng
bff634a925 component/bt: add connect parameter, fix instant reverse. 2020-09-23 22:03:16 +08:00
Jiang Jiang Jian
a981063bf0 Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v3.1' into 'release/v3.1'
wifi: Fix spin lock allocation in PSRAM bug(v3.1)

See merge request espressif/esp-idf!10541
2020-09-23 13:54:13 +08:00
xiehang
f36d745a9f esp_wifi: drop receiving packets from myself 2020-09-23 11:32:25 +08:00
dongyou
18fdfe2bca Fix spin lock allocation in PSRAM bug 2020-09-22 11:51:15 +08:00
ronghulin
c94fbd29d1 bugfix: fix softap mode wpa memory leak 2020-09-11 11:00:11 +08:00
dongyou
15250a747a 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:30:01 +08:00
xiehang
869b2ff014 eps_wifi: Fix WiFi fragment issue 2020-07-31 20:39:01 +08:00
Li Shuai
bb7752fc10 add soft solution for esp32 eco3 live lock issue 2020-07-15 01:50:31 +00:00
zhangyanjiao
995c264209 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. Do not reset softAP's tsf except it restart
5. fix the wifi regdomain update bug
6. fix the bug for airkiss find hidden AP fail
7. fix addba and first ampdu send bar
2020-07-08 21:30:49 +08:00
Nachiket Kukade
805b9c5859 esp_wifi: Update wifi lib
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-26 16:29:03 +05:30
kapil.gupta
0245bda198 esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold 2020-06-07 12:21:10 +05:30
ronghulin
b0f5823b18 feature: optimize some wifi API
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-05-29 11:27:59 +08:00
Jiang Jiang Jian
d8e84cd5ed Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.1' into 'release/v3.1'
Bugfix/fix some wifi bugs 0427 (v3.1)

See merge request espressif/esp-idf!8576
2020-05-22 22:55:54 +08:00
Jiang Jiang Jian
8b9e471689 Merge branch 'bugfix/psram_single_bit_error_v3.1' into 'release/v3.1'
psram: support psram 2T mode to fix single bit error (backport v3.1)

See merge request espressif/esp-idf!8330
2020-05-22 21:10:44 +08:00
zhangyanjiao
36ad37a1a4 wifi changes:
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 16:19:39 +08:00
xiehang
18f2a0d3bc esp_wifi: Fix AP switch to adjacent channel without disconnect 2020-05-17 17:15:54 +08:00
Jiang Jiang Jian
0e043ae99f Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.1' into 'release/v3.1'
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.1)

See merge request espressif/esp-idf!8410
2020-05-17 17:09:03 +08:00
chenjianqiang
447032c8ff psram: fix psram size get error 2020-04-30 15:50:12 +08:00
zhangyanjiao
c78fa51d1f wifi: fix the bug that ESP32 can't get IP address from China Mobile router 2020-04-20 20:19:21 +08:00
chenjianqiang
5df3dd147b 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 16:39:27 +08:00
liu zhifu
853bffe1e6 esp32: backport some WiFi fixes to v3.1
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 WiFi log print level

3. Return fails if AP's configuring AP channel is out of range

4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-08 19:35:58 +08:00
baohongde
549269970b components/bt: Fix assert when create conntion cancel 2020-03-28 22:05:55 +08:00
baohongde
bd21cd02b6 Fix bugs about role switch
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:59:22 +08:00
xiehang
c5751f7fd7 esp_wifi: Update WiFi lib
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,Return fail when setting AP's channel is out of range
6,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:16:33 +08:00
ronghulin
2ba75c5b07 bugfix: Place the Vendor Specific element at the end according to the protocol 2020-03-02 14:29:44 +08:00
June
5d5bccf948 backport esp32 5p0 features to release/v3.1 2020-02-28 19:44:49 +08:00
xiehang
df54f783f7 esp_wifi: Small refactor for ic_set_vif 2020-02-20 12:48:31 +08:00
Jiang Jiang Jian
be2a7a9f15 Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.1' into 'release/v3.1'
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.1)

See merge request espressif/esp-idf!7444
2020-02-14 17:54:30 +08:00
liu zhifu
63825ee9ee esp32: fix WiFi buffer reload issue 2020-02-13 12:43:02 +08:00
liu zhifu
f643978a5e esp32: fix the crash caused by double free BAR buffer 2020-02-12 16:52:14 +08:00
KonstantinKondrashov
486ed20d32 esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set (fast forward) 2020-02-06 22:23:19 +00:00
Hrudaynath Dhabe
ba61a56561 Fix wps config for support with gnu++11 as well as c99. 2020-01-31 05:58:35 +00:00
Jiang Jiang Jian
af809ad0e8 Merge branch 'bugfix/wa_dport_and_intr_v3.1' into 'release/v3.1'
esp32: Fix for DPORT (v3.1)

See merge request espressif/esp-idf!7352
2020-01-21 10:47:53 +08:00
KonstantinKondrashov
3ffe77f006 esp32: Add UT for DPORT 2020-01-16 14:39:38 +08:00
KonstantinKondrashov
6f28e06a35 esp32: Fix esp_dport_access_reg_read 2020-01-16 14:39:38 +08:00
zhangyanjiao
66bd7a276e fix the bugs for espnow and bandwidth 2020-01-08 17:49:52 +08:00
xiehang
80e4350eb7 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,optimize softap power save
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
2020-01-08 17:44:26 +08:00
ronghulin
46c6dc3930 esp32: fix a WiFi RX bug
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-08 17:43:26 +08:00
liu zhifu
9048b59333 esp32: fix WiFi performance issue 2020-01-06 21:40:23 +08:00
xiehang
0169728ddd esp_wifi: Put some rx code to iram 2019-12-17 20:51:26 +08:00
Tian Hao
84fccb592d 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-09 12:55:05 +08:00
Jiang Jiang Jian
efa1d4d133 Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.1' into 'release/v3.1'
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.1)

See merge request espressif/esp-idf!6766
2019-11-25 10:47:59 +08:00
Jack
4de860ec89 esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback 2019-11-19 23:00:15 +08:00
KonstantinKondrashov
be24e32da9 esp32: Fix a wrong reset of the wdt feed bit
There was an error with wrong using FEED:
WRITE_PERI_REG(RTC_CNTL_WDTFEED_REG, 1) - wrong [0 bit]
REG_SET_BIT(RTC_CNTL_WDTFEED_REG, RTC_CNTL_WDT_FEED) - right. [31 bit]

Closes: https://github.com/espressif/esp-idf/issues/4295
2019-11-19 12:59:41 +08:00
Jiang Jiang Jian
0c7e7817cb Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.1' into 'release/v3.1'
esp32: fix some WiFi fixes 1009 (backport v3.1)

See merge request espressif/esp-idf!6297
2019-10-21 20:08:32 +08:00
Ivan Grokhotkov
84d16f970e pm: prevent interrupt nesting during esp_pm_impl_isr_hook
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.

Closes https://github.com/espressif/esp-idf/issues/3057
2019-10-18 11:33:06 +02:00
liu zhifu
907878d606 esp32: fix some WiFi fixes
Fix following wifi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix the bug that WiFi stop leads to task watchdog
7. Fix smartconfig IPC crash
8. Fix 5.5M signal test bug
9. Move wifi library check to esp32-wifi-lib ci
2019-10-12 10:18:13 +08:00
Angus Gratton
42739580e4 Merge branch 'feature/add_psram_workaround_option_3.1' into 'release/v3.1'
make psram workaround depend on chip revison (v3.1)

See merge request espressif/esp-idf!6210
2019-10-10 11:00:56 +08:00
Jiang Jiang Jian
1387ecef6c Merge branch 'bugfix/fix_cache_disable_access_psram_v3.1' into 'release/v3.1'
esp_wifi: Put g_promis_buf to IRAM (backport v3.1)

See merge request espressif/esp-idf!6164
2019-09-29 10:35:22 +08:00