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
suda-morris
b64bda7e4e
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-26 17:32:20 +08:00
Jiang Jiang Jian
83458426ac
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.1' into 'release/v3.1'
...
fix the bugs in smartconfig_ack (backport v3.1)
See merge request espressif/esp-idf!6075
2019-09-25 12:00:41 +08:00
xiehang
e07f7c4456
esp_wifi: Put g_promis_buf to IRAM
2019-09-19 20:37:07 +08:00
suda-morris
c0a5cb07cd
support esp32 eco revision 2 and 3
2019-09-19 17:09:37 +08:00
Angus Gratton
f8798d686d
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.1' into 'release/v3.1'
...
bugfix(flash): add flash config in app startup (backport v3.1)
See merge request espressif/esp-idf!5925
2019-09-13 14:32:02 +08:00
Tian Hao
a815e3ede2
fix bug that wifi start/stop may cause crash
...
1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position
2019-09-11 20:34:02 +08:00
chenjianqiang
9eb8a740a3
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
2019-09-11 15:53:46 +08:00
chenjianqiang
7904cae9c1
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-09-11 15:37:18 +08:00
zhangyanjiao
8af11f1f89
smartconfig_ack.c:
...
1. fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2. fix the declaration of remote_ip in sc_ack_send_task()
2019-09-11 14:20:26 +08:00
Angus Gratton
7648859a27
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.1' into 'release/v3.1'
...
flash encryption: Add config option to disable any plaintext reflashes (3.1)
See merge request espressif/esp-idf!6049
2019-09-11 12:10:18 +08:00
Angus Gratton
a4ce828d40
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-09-10 14:29:20 +10:00
zhangyanjiao
7840d64d2e
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2019-09-06 14:24:32 +08:00
liu zhifu
87304cbcf4
esp32: revert WiFi RX optimization
...
Revert following commit since it has compatibility issue:
commit 71f1b7f424
esp32: optimize wifi rx
2019-08-29 11:06:33 +08:00
zhangyanjiao
4bf4384846
wifi: fix the bug for softAP set authmode
2019-08-23 16:40:40 +08:00
chenjianqiang
f21f5fd45b
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-14 21:30:58 +08:00
Jiang Jiang Jian
b94341c4e0
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.1' into 'release/v3.1'
...
fix wifi bugs for authmode and multi ssid (backport v3.1)
See merge request espressif/esp-idf!5730
2019-08-11 17:07:48 +08:00
Jiang Jiang Jian
30547ae02c
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.1' into 'release/v3.1'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.1)
See merge request espressif/esp-idf!5715
2019-08-11 16:55:39 +08:00
Jiang Jiang Jian
a5db2f0f2d
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.1' into 'release/v3.1'
...
fix the watchdog bug during WiFi scan and BLE scan(v3.1)
See merge request espressif/esp-idf!5542
2019-08-09 14:06:03 +08:00
zhangyanjiao
6020bd5261
wifi: fix wifi bugs for authmode and multi ssid
2019-08-08 17:44:14 +08:00
Konstantin Kondrashov
c69a410012
esp32: Add UTs for DPORT and Hi-interrupt
2019-08-08 15:10:23 +08:00
Konstantin Kondrashov
687a62fb1e
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-08-07 20:10:06 +08:00
xiehang
86300427dc
esp_wifi: add esp_wifi_internal_ioctl declared
2019-08-07 11:14:18 +08:00
Jiang Jiang Jian
cbf12758c2
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.1' into 'release/v3.1'
...
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.1)
See merge request espressif/esp-idf!5619
2019-08-04 15:58:46 +08:00
chenjianqiang
963fe19abf
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-31 18:15:44 +08:00
xiehang
6af07b800a
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-25 14:43:01 +08:00
zhangyanjiao
16a96dccf0
fix the watchdog bug during WiFi scan and BLE scan
2019-07-19 15:04:26 +08:00
xiehang
b994682736
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-17 10:01:36 +08:00
liu zhifu
896d597adf
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-17 09:55:01 +08:00
liu zhifu
e0dee8cfae
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-07-17 09:53:06 +08:00
liu zhifu
71f1b7f424
esp32: optimize wifi rx
...
Optimize WiFi receiving performance.
2019-07-17 09:53:06 +08:00
liu zhifu
8a1a8309e3
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-17 09:53:06 +08:00
zhangyanjiao
e8980a7bda
wifi: softAP sends deauth to the STA when 4-way handshake fails
2019-07-01 11:52:27 +08:00
liu zhifu
1d04e5f7f8
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-06-30 18:13:55 +08:00