Commit graph

4897 commits

Author SHA1 Message Date
liu zhifu
72fa12ec9b esp32: backport some WiFi fixes to v3.0
Fix following WiFi bugs:
1. Fix some potential memory leak caused by WiFi stop
2. Fix the bug that ESP32 AP crashes when connected STA power-off
3. Fix the bug that STA can scan the channel out of regdomain
4. Fix some scan/connect bugs
5. Fix the bug that ESP32 STA fails to connect WPA_WPA2_PSK Apple AP
6. Fix the crashing in scan done because of uint8 overflow
7. Fix the bug that smartconfig crashes when no AP is found
8. Fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-20 14:30:15 +08:00
Angus Gratton
b834deea16 Merge branch 'bugfix/use_local_kconfiglib_v3.0' into 'release/v3.0'
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.0)

See merge request espressif/esp-idf!6083
2019-09-16 15:20:11 +08:00
Roland Dobai
37fc00f848 Use kconfiglib from $IDF_PATH/tools/kconfig_new 2019-09-11 14:42:56 +02:00
Angus Gratton
76a240d758 Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.0' into 'release/v3.0'
flash encryption: Add config option to disable any plaintext reflashes (3.0)

See merge request espressif/esp-idf!6050
2019-09-11 07:56:32 +08:00
Angus Gratton
8df3c666db 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:27:29 +10:00
Sagar Bijwe
cdabee59ef docs: Added more wordings to capture secure boot and flash encryption dependency. 2019-09-10 10:31:10 +10:00
Jiang Jiang Jian
668633fa0b Merge branch 'update/cjson_v1_7_12_v3.0' into 'release/v3.0'
Update cJSON to v1.7.12 (v3.0)

See merge request espressif/esp-idf!5854
2019-09-08 16:38:15 +08:00
Jiang Jiang Jian
ff8a48cd56 Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.0' into 'release/v3.0'
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link

See merge request espressif/esp-idf!5875
2019-09-05 12:22:44 +08:00
Jiang Jiang Jian
aaad35464f Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.0' into 'release/v3.0'
fix wifi bugs for authmode and multi ssid (backport v3.0)

See merge request espressif/esp-idf!5731
2019-09-02 22:18:45 +08:00
zhangyanjiao
a313a3ba00 modify WIFI_CONN_0101 case for wrong authmode of AP 2019-08-23 13:19:27 +08:00
zhangyanjiao
21c7c3992c fix wifi bugs for authmode and multi ssid 2019-08-23 13:19:15 +08:00
wangmengyang
1651bffa49 components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack.
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:32:16 +08:00
Angus Gratton
4238d73505 Update cJSON to v1.7.12
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:59:41 +10:00
Angus Gratton
6cb8d16936 Merge branch 'bugfix/libsodium_test_timeouts_v3.0' into 'release/v3.0'
test: Set timeout of libsodium ed25519_convert test to 60s (v3.0)

See merge request espressif/esp-idf!5557
2019-08-02 15:52:18 +08:00
Jiang Jiang Jian
3d26d5df91 Merge branch 'bugfix/wpa2_ent_vulnerability_v3.0' into 'release/v3.0'
esp32: fix wpa2_enterprise vulnerability bug (backport v3.0)

See merge request espressif/esp-idf!5679
2019-08-02 15:21:31 +08:00
liu zhifu
dd611c54a6 esp32: fix wpa2_enterprise vulnerability bug 2019-08-01 18:11:22 +08:00
Krzysztof Budzynski
369da50ea1 Merge branch 'bugfix/docs_recover_some_build_time_v3.0' into 'release/v3.0'
docs: Remove building of zipped HTML docs from build process and consequently...

See merge request espressif/esp-idf!5642
2019-08-01 17:22:57 +08:00
Angus Gratton
656bf86188 test: Set timeout of libsodium ed25519_convert test to 60s
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-30 04:52:28 +00:00
Angus Gratton
8ee7762227 Merge branch 'bugfix/mdns_BCT1.5_reprobe_fix_3.0' into 'release/v3.0'
mdns: fix missing netif reprobing to pass BCT 1.5 (backport v3.0)

See merge request idf/esp-idf!5204
2019-07-29 17:31:10 +08:00
krzychb
75a9cc1437 docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs. 2019-07-28 01:41:20 +02:00
Jiang Jiang Jian
ce33484b62 Merge branch 'bugfix/spi_flash_deadlock_v3.0' into 'release/v3.0'
spi_flash: raise priority of the task performing spi_flash operation

See merge request idf/esp-idf!5361
2019-06-27 19:21:13 +08:00
Ivan Grokhotkov
1635b4a059 spi_flash: raise priority of the task performing spi_flash operation
Fixes https://github.com/espressif/arduino-esp32/issues/740
2019-06-26 16:47:21 +08:00
Angus Gratton
5340abcc7d Merge branch 'bugfix/spi_concurrency_3.0' into 'release/v3.0'
spi: fix a possible concurrency issue (backport v3.0)

See merge request idf/esp-idf!5189
2019-06-21 13:22:07 +08:00
David Cermak
4e38d5f694 mdns: workarround in 3.1 and 3.0 to fix missing netif re-probing when ip changed in link-local addressing
Cherry-picked from 42773d22fd
Closes HCS-21
2019-06-12 09:08:29 +02:00
Michael (XIAO Xufeng)
e238cf85a2 spi: fix a possible concurrency issue 2019-06-11 14:22:25 +08:00
Angus Gratton
0dcbe15614 Merge branch 'bugfix/docs_build_failure_on_rtd_v3_0' into 'release/v3.0'
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...

See merge request idf/esp-idf!5063
2019-05-27 13:59:43 +08:00
Jiang Jiang Jian
efe2993140 Merge branch 'bugfix/fix_espnow_watchdog_and_wps_crash_v3.0' into 'release/v3.0'
fix_espnow_watchdog_and_wps_crash

See merge request idf/esp-idf!5072
2019-05-24 19:54:25 +08:00
zhangyanjiao
f10d443b38 fix wifi bugs:
1. fix the crash when do WPS with some router
2. fix espnow bug when add node in STA+AP mode
3. fix espnow watchdog when modify peer
2019-05-24 16:01:28 +08:00
Krzysztof
bd86d9fbad Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific esp-idf release. (backport v3.0) 2019-05-23 20:26:19 +08:00
Jiang Jiang Jian
d0c3730390 Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.0' into 'release/v3.0'
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.0)

See merge request idf/esp-idf!4916
2019-05-06 10:46:40 +08:00
zhangyanjiao
4a2992aac5 fix the bug when scan fail after STA failed to connect to a nonexistent AP 2019-04-30 17:30:18 +08:00
Jiang Jiang Jian
34efdd1c08 Merge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.0' into 'release/v3.0'
wifi: fix the bug that WPS fails when AP is encrypted (backport v3.0)

See merge request idf/esp-idf!4899
2019-04-30 14:32:51 +08:00
zhangyanjiao
f399dc7d48 wifi: fix the bug that WPS fails when AP is encrypted 2019-04-29 15:54:02 +08:00
Angus Gratton
b9620410c8 Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.0' into 'release/v3.0'
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.0)

See merge request idf/esp-idf!4730
2019-04-16 08:07:28 +08:00
Angus Gratton
5122154dbb efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
8th bit is not used by hardware.

As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-09 09:59:35 +10:00
Jiang Jiang Jian
edf604188a Merge branch 'bugfix/modify_wifi_reason_code_v3.0' into 'release/v3.0'
wifi: modify wifi reason code (backport v3.0)

See merge request idf/esp-idf!4654
2019-04-08 10:31:22 +08:00
Jiang Jiang Jian
8cc4f17ddf Merge branch 'bugfix/ci_submodule_paths_v3.0' into 'release/v3.0'
CI - Fix the parsing of submodule paths  (backport v3.0)

See merge request idf/esp-idf!4571
2019-04-04 17:58:49 +08:00
Jiang Jiang Jian
dd777b9c64 Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0' into 'release/v3.0'
bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0(backport v3.0)

See merge request idf/esp-idf!4261
2019-04-04 17:56:38 +08:00
wangmengyang
592a2e52ab component/bt: allow dynamic allocation of SBC decoder buffer used in A2DP sink to save internal DRAM 2019-04-02 05:04:29 +00:00
zhangyanjiao
fa69f9b915 wifi: modify wifi reason code 2019-04-02 05:02:15 +00:00
Anton Maklakov
b1d32da750 ci: Fix the parsing of submodule paths 2019-04-02 05:02:04 +00:00
Jiang Jiang Jian
9be6f0c0a6 Merge branch 'ci/retry_submodule_sync_v3.0' into 'release/v3.0'
Ci/retry submodule sync v3.0

See merge request idf/esp-idf!4664
2019-04-02 13:01:16 +08:00
Angus Gratton
b9fdbb9223 ci: Only use "github_sync" tagged runners to talk to GitHub 2019-04-02 14:03:21 +11:00
Angus Gratton
560e920020 ci: Retry submodule sync 2 more times before failing 2019-04-02 14:02:53 +11:00
Ivan Grokhotkov
d512e9ab0f Merge branch 'bugfix/esp_log_level_set_strcmp_v3.0' into 'release/v3.0'
log: fix tag comparison in esp_log_level_set (backport v3.0)

See merge request idf/esp-idf!4509
2019-03-21 18:28:13 +08:00
Jiang Jiang Jian
17e649ecc9 Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.0' into 'release/v3.0'
docs: Upgraded sphinx package version to prevent build failures on readthedocs…

See merge request idf/esp-idf!4556
2019-03-21 11:45:08 +08:00
David Ashley
bab3825795 log: fix tag comparison in esp_log_level_set
This is a fix for the esp_log_level_set function. The problem is when this
function is called but NOT withe the same 'c' string constant that the LOG*
calls used in each module, the cache check doesn't match, so the cached
entry won't get updated. There's no point in optimizing this function
anyway because it is only called rarely.

Merges https://github.com/espressif/esp-idf/pull/1557

Closes https://github.com/espressif/esp-idf/pull/2996
2019-03-20 07:08:28 +00:00
Jiang Jiang Jian
1da16ab465 Merge branch 'bugfix/autoip_memoey_leak_debug_v3.0' into 'release/v3.0'
fix the bug in auto Ip memory leak (backport v3.0)

See merge request idf/esp-idf!4432
2019-03-20 11:33:30 +08:00
krzychb
a6e63f71f2 docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.0) 2019-03-19 20:17:12 +01:00
Jiang Jiang Jian
b0aff183e3 Merge branch 'bugfix/sorting_and_list_of_lib_in_idf_size_v3.0' into 'release/v3.0'
tools: Fix sorting and list of libs in idf_size.py

See merge request idf/esp-idf!4286
2019-03-17 14:46:34 +08:00