Commit graph

6950 commits

Author SHA1 Message Date
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
Mahavir Jain
4e25f20c82 docs/en: fix cmake getting started docs 2019-07-01 12:22:34 +05:30
Angus Gratton
559a9def5b Merge branch 'fix/update_curr_page_state_3.1' into 'release/v3.1'
nvs_util: Set previous page state to FULL before creating new page (v3.1)

See merge request idf/esp-idf!5329
2019-07-01 14:20:46 +08:00
Angus Gratton
d9b5d7744c Merge branch 'bugfix/select_init_sem_v3.1' into 'release/v3.1'
VFS: Allocate socket select semaphore outside ISR (backport v3.1)

See merge request idf/esp-idf!4988
2019-07-01 14:20:01 +08:00
huchaoru
79a0fc780e modify WIFI_CONN_0904 case about disconnect event 2019-07-01 11:52:52 +08:00
zhangyanjiao
e8980a7bda wifi: softAP sends deauth to the STA when 4-way handshake fails 2019-07-01 11:52:27 +08:00
Jiang Jiang Jian
b575737c0c Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.1' into 'release/v3.1'
esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.1)

See merge request idf/esp-idf!5410
2019-07-01 11:31:39 +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
Jiang Jiang Jian
9adf8a7aa9 Merge branch 'bugfix/xTaskIncrementTick_v3.1' into 'release/v3.1'
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.1)

See merge request idf/esp-idf!5036
2019-06-30 18:01:14 +08:00
Jiang Jiang Jian
91262682c1 Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.1' into 'release/v3.1'
esp32: fix some WiFi bugs 0508 (backport v3.1)

See merge request idf/esp-idf!5139
2019-06-30 17:56:52 +08:00
liu zhifu
c4e72db390 esp32: fix some WiFi bugs
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Fix the bug that WiFi stop leads to task watchdog
2019-06-30 16:14:07 +08:00
Shivani Tipnis
8a2ff86c87 nvs_util: Add check for keylen in input csv 2019-06-28 12:10:27 +05:30
Jiang Jiang Jian
df4df2f493 Merge branch 'bugfix/spi_flash_deadlock_v3.1' into 'release/v3.1'
spi_flash: raise priority of the task performing spi_flash operation

See merge request idf/esp-idf!5360
2019-06-28 11:11:43 +08:00
Konstantin Kondrashov
4764977c3c freertos/test: Add unit tests for xTaskIncrementTick 2019-06-28 02:19:19 +00:00
Konstantin Kondrashov
7f081efbc6 freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.

Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.

Closes: https://github.com/espressif/esp-idf/issues/1952

Closes: IDF-183
2019-06-28 02:19:19 +00:00
Jiang Jiang Jian
3b2d5e5a4f Merge branch 'bugfix/fix_some_wps_bugs_v3.1' into 'release/v3.1'
wps: add overlap event (backport v3.1)

See merge request idf/esp-idf!5205
2019-06-27 19:18:58 +08:00
Jiang Jiang Jian
df12d488fb Merge branch 'bugfix/btdm_backport_3_bugs_v3.1' into 'release/v3.1'
Bugfix/btdm backport 3 bugs v3.1

See merge request idf/esp-idf!5177
2019-06-27 14:30:55 +08:00
xiehang
63013e1060 wps: add overlap event (backport v3.1) 2019-06-27 11:44:31 +08:00
Angus Gratton
42426a986c Merge branch 'bugfix/console_allow_buffered_v3.1' into 'release/v3.1'
console example: use buffered stdout by default (backport v3.1)

See merge request idf/esp-idf!5300
2019-06-27 08:33:26 +08:00
Angus Gratton
b526cb5372 Merge branch 'bugfix/win_fullclean_symlink_v3.1' into 'release/v3.1'
idf.py: Detect symlinks on Windows during fullclean (v3.1)

See merge request idf/esp-idf!4926
2019-06-27 08:32:39 +08:00
Shivani Tipnis
6a29794a65 nvs_util: Set previous page state to FULL before creating new page 2019-06-26 11:41:04 +00:00
Konstantin Kondrashov
b6c07f0fe9 mbedtls: Add UTs for modexp 2019-06-26 19:33:47 +08:00
Konstantin Kondrashov
5421f5e9ae mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.

Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 19:33:47 +08:00
Jiang Jiang Jian
85d00d8daa Merge branch 'bugfix/improve_flash_dio_read_timing_v3.1' into 'release/v3.1'
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.1)

See merge request idf/esp-idf!5290
2019-06-26 16:59:26 +08:00
Jiang Jiang Jian
8dd3bb07f8 Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.1' into 'release/v3.1'
component/bt: fix unpack hci enhance connection complete event error(backport v3.1)

See merge request idf/esp-idf!5283
2019-06-26 16:47:03 +08:00
Ivan Grokhotkov
ceafbca0a2 spi_flash: raise priority of the task performing spi_flash operation
Fixes https://github.com/espressif/arduino-esp32/issues/740
2019-06-26 16:43:51 +08:00
Jiang Jiang Jian
f53f40396b Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.1' into 'release/v3.1'
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.1)

See merge request idf/esp-idf!5073
2019-06-26 14:05:29 +08:00
He Yin Ling
e263c1add8 Merge branch 'feature/add_nimble_ssc_backport_for_3.1' into 'release/v3.1'
test: modify test cases for bluedroid (backport v3.1)

See merge request idf/esp-idf!5214
2019-06-25 23:19:09 +08:00
Chen Sheng
4ec321d1b9 test: modify test cases for bluedroid (backport v3.1) 2019-06-25 23:19:08 +08:00
He Yin Ling
c5dcb7e662 Merge branch 'test/fix_some_error_wifi_cases_v3.1' into 'release/v3.1'
test: fix some wifi case issues (backport v3.1)

See merge request idf/esp-idf!5253
2019-06-20 22:10:56 +08:00
Ivan Grokhotkov
6600250f30 examples: don't enable buffering on stdout in console examples
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-06-20 16:27:42 +08:00
Ivan Grokhotkov
cb5c0d3a12 console/linenoise: support buffered stdout 2019-06-20 16:27:06 +08:00
Angus Gratton
14abc49237 Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.1' into 'release/v3.1'
driver: Fix ticks_to_wait for uart and i2c (v3.1)

See merge request idf/esp-idf!5249
2019-06-20 14:24:53 +08:00