Commit graph

6882 commits

Author SHA1 Message Date
wangmengyang
4db0d07177 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:31:23 +08:00
Angus Gratton
58dc5049a5 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:06 +10:00
Angus Gratton
4db6f0721c kconfig: Add -MP option so .d files include empty targets
Prevents make-level errors when switching IDF versions, as headers may be removed.

Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-21 18:39:19 +10:00
Wang Jia Lin
fd0ecca4c9 Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.1' into 'release/v3.1'
bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.1)

See merge request espressif/esp-idf!5784
2019-08-21 16:18:53 +08:00
chenjianqiang
f21f5fd45b bugfix(flash): add spi dio address bitlen configure in psram init 2019-08-14 21:30:58 +08:00
Angus Gratton
9196bc7a53 Merge branch 'bugfix/supplicant_security_fixes_v3.1' into 'release/v3.1'
wpa_supplicant: Fix sprintf security bugs. (v3.1)

See merge request espressif/esp-idf!5466
2019-08-13 09:28:33 +08:00
Sagar Bijwe
da3239c336 wpa_supplicant: Fix sprintf security bugs.
Revert back to using os_snprintf instead of sprintf.

Closes WIFI-624
2019-08-12 06:30:02 +00: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
941ec097bb Merge branch 'bugfix/cmake_extra_component_dirs_v3.1' into 'release/v3.1'
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS (backport v3.1)

See merge request espressif/esp-idf!5493
2019-08-11 16:55:11 +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
adf6ed9c8c modify WIFI_CONN_0101 case for wrong authmode of AP 2019-08-08 17:45:28 +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
Jiang Jiang Jian
d8d868db6c Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.1' into 'release/v3.1'
esp_wifi: add esp_wifi_internal_ioctl declared (v3.1)

See merge request espressif/esp-idf!5706
2019-08-07 20:49:04 +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
Jiang Jiang Jian
3c60c55476 Merge branch 'bugfix/improve_spi_timing_for_flash_v3.1' into 'release/v3.1'
bugfix(flash): improve spi cs timing settings for flash (backport v3.1)

See merge request espressif/esp-idf!5512
2019-07-31 23:39:19 +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
Jiang Jiang Jian
cad3e23b08 Merge branch 'bugfix/btdm_mem_leak_v3.1' into 'release/v3.1'
components/bt: Fix memory leak about rfcomm

See merge request espressif/esp-idf!5624
2019-07-30 23:41:44 +08:00
Angus Gratton
6a6313c429 Merge branch 'bugfix/docs_recover_some_build_time_v3.1' into 'release/v3.1'
docs: Remove building of zipped HTML docs from build process and consequently...

See merge request espressif/esp-idf!5641
2019-07-29 19:17:36 +08:00
krzychb
7ba0310a58 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:35:45 +02:00
baohongde
ba7a0fa4ec components/bt: Fix memory leak about rfcomm 2019-07-25 17:13:31 +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
Jiang Jiang Jian
a33c5f1713 Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.1' into 'release/v3.1'
component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.1)

See merge request espressif/esp-idf!5451
2019-07-18 18:37:12 +08:00
Jiang Jiang Jian
da23381ff6 Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.1' into 'release/v3.1'
Backport some wifi bugs 201907 v3.1 (backport v3.1)

See merge request espressif/esp-idf!5524
2019-07-18 18:37:09 +08:00
Angus Gratton
6692c3ffb8 Merge branch 'bugfix/libsodium_test_timeouts_v3.1' into 'release/v3.1'
test: Set timeout of libsodium ed25519_convert test to 60s (v3.1)

See merge request espressif/esp-idf!5556
2019-07-18 15:29:56 +08:00
Angus Gratton
931b3c07af 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-17 13:52:01 +10: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
Jiang Jiang Jian
8949ed717b Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.1' into 'release/v3.1'
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.1)

See merge request espressif/esp-idf!5503
2019-07-16 18:41:15 +08:00
Angus Gratton
813c6a25a1 Merge branch 'bugfix/error_on_unknown_component_v3.1' into 'release/v3.1'
cmake: error out when component is not found (backport 3.1)

See merge request espressif/esp-idf!5489
2019-07-12 15:01:45 +08:00
chenjianqiang
4bce69b69a bugfix(flash): fix flash read error in DIO/26MHz mode 2019-07-11 15:26:58 +08:00
Renz Christian Bagaporo
0138827492 cmake: refactor finding components 2019-07-10 19:04:44 +08:00
Renz Christian Bagaporo
2fa98e031c ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 19:04:44 +08:00
Renz Christian Bagaporo
2e81c7c0cd cmake: error out when component is not found
Closes https://github.com/espressif/esp-idf/issues/3637
2019-07-10 11:58:38 +08:00
Angus Gratton
737c8d4944 Merge branch 'bugfix/fix_uart_wait_done_bug_v3.1' into 'release/v3.1'
bugfix(UART): fixed two UART issues for v3.1

See merge request espressif/esp-idf!5478
2019-07-10 10:18:34 +08:00
Jiang Jiang Jian
cc125f1d13 Merge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.1' into 'release/v3.1'
components/bt: Fix iphone can't get song's informations

See merge request espressif/esp-idf!5474
2019-07-09 15:19:28 +08:00
kooho
e03df25be9 bugfix(UART): fixed two UART issues:
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled.
2019-07-09 14:06:59 +08:00
baohongde
572c858935 components/bt: Fix iphone can't get song's informations 2019-07-08 19:49:20 +08:00
Angus Gratton
c7dc2570b4 Merge branch 'fix/nvs_util_keylen_3.1' into 'release/v3.1'
nvs_util: Add check for keylen in input csv (v3.1)

See merge request espressif/esp-idf!5397
2019-07-08 15:19:43 +08:00
zhiweijian
ae4e0330cc component/bt: fix rxwinsz assert in ble and wifi coex 2019-07-04 21:33:30 +08:00
Jiang Jiang Jian
ed211b44d7 Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.1' into 'release/v3.1'
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.1)

See merge request idf/esp-idf!5357
2019-07-02 11:59:25 +08:00
Jiang Jiang Jian
5175d55adc Merge branch 'bugfix/softap_send_deauth_to_STA_when_handshake_fails_v3.1' into 'release/v3.1'
wifi: softAP send deauth to the STA when 4-way handshake fails v3.1

See merge request idf/esp-idf!5364
2019-07-02 11:23:34 +08:00
Angus Gratton
881e1c37fd Merge branch 'bugfix/correct_cmake_docs' into 'release/v3.1'
docs/en: fix cmake getting started docs for v3.1 branch

See merge request idf/esp-idf!5418
2019-07-02 08:44:38 +08:00