Konstantin Kondrashov
76f97f3abd
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-09-12 13:47:48 +00:00
chenyudong
d0bfde2ceb
test: fix test case MESH_EST_2403
2019-09-12 02:51:06 +00:00
zhangyanjiao
b937de7df2
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:50:58 +08:00
Chinmay
fa952e5d30
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
* non-empty header values : invokes callbacks with the pointer to the start of a value
* empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
Backports !5663
2019-09-09 08:57:29 +00:00
Jiang Jiang Jian
ca1e5e5bc5
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.2' into 'release/v3.2'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v3.2)
See merge request espressif/esp-idf!6007
2019-09-06 11:44:09 +08:00
zhangyanjiao
23b3d97099
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
...
2. fix the bug for softAP set authmode
2019-09-05 20:08:52 +08:00
Angus Gratton
0a0f5a3bdc
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.2' into 'release/v3.2'
...
flash encryption: Add config option to disable any plaintext reflashes (v3.2)
See merge request espressif/esp-idf!5998
2019-09-05 17:26:04 +08:00
Angus Gratton
ec331b3979
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-05 18:54:29 +10:00
Angus Gratton
73e040e584
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.2' into 'release/v3.2'
...
test: fix nvs compatible case error (backport v3.2)
See merge request espressif/esp-idf!5893
2019-09-05 16:51:30 +08:00
Angus Gratton
d1f40c15ac
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.2' into 'release/v3.2'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
See merge request espressif/esp-idf!5898
2019-09-03 13:36:29 +08:00
Jiang Jiang Jian
7718234acc
Merge branch 'bugfix/coex_bb_reset_lock_v3.2' into 'release/v3.2'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!5969
2019-09-02 14:26:03 +08:00
Tian Hao
01cd149cb7
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-08-30 22:13:01 +08:00
Angus Gratton
7dd4923190
Merge branch 'bugfix/httpd_sess_close_v3.2' into 'release/v3.2'
...
httpd_sess_close: Check for session validity before closing (v3.2)
See merge request espressif/esp-idf!5744
2019-08-29 10:29:41 +08:00
Nachiket Kukade
151ddb4cda
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.2)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-27 14:10:43 +05:30
Jiang Jiang Jian
1fab985f63
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.2' into 'release/v3.2'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5873
2019-08-26 18:01:01 +08:00
redchenjs
548844b5cc
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
2019-08-26 14:02:27 +08:00
He Yin Ling
9bc71370b7
test: fix integration test jobs not executed:
...
naming rule for parallel test job config file is different.
rename test job config file to make it unified.
2019-08-26 14:01:34 +08:00
He Yin Ling
66118ab580
test: fix nvs compatible case error:
...
use new env for nvs compatible test case and update test config
2019-08-26 09:36:32 +08:00
wangmengyang
fae3bad007
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:30:23 +08:00
Ivan Grokhotkov
48e5dcd9b5
Merge branch 'power_management/i2s+i2c-v3.2' into 'release/v3.2'
...
Power management/i2s+i2c (backport v3.2)
See merge request espressif/esp-idf!5863
2019-08-22 23:29:52 +08:00
Sachin Parekh
eeb9a0359c
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:51 +05:30
Sachin Parekh
4cdf488de8
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:41 +05:30
Sachin Parekh
c56f147d48
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:29 +05:30
Angus Gratton
1d953831bd
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:58:37 +10:00
Michael (XIAO Xufeng)
a393bb6f1b
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 17:00:21 +08:00
chenjianqiang
3bf6c5b604
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:34:04 +08:00
Jiang Jiang Jian
90747cc8b3
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.2' into 'release/v3.2'
...
fix wifi bugs for authmode and multi ssid (backport v3.2)
See merge request espressif/esp-idf!5729
2019-08-11 17:14:53 +08:00
Angus Gratton
91451d31be
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
8fe9e4b09f
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
910cede38d
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-08-11 13:19:21 +10:00
Piyush Shah
107d927547
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-08-09 14:58:28 +05:30
baohongde
dc1db1c4e7
components/bt: Backport 3 bugfixs into release v3.2
...
1. Bugfix btdm sleep twice after wakeup request
2. Fix connect fail duo to loop of send extended feature request
3. Clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers
2019-08-09 03:04:40 +00:00
Jiang Jiang Jian
db898de8fb
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.2' into 'release/v3.2'
...
Try to allocate some Lw-ip memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.2)
See merge request espressif/esp-idf!5719
2019-08-09 10:56:54 +08:00
Jiang Jiang Jian
d657a679a2
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.2' into 'release/v3.2'
...
newlib: Move _gettimeofday_r call in clock_gettime (v3.2)
See merge request espressif/esp-idf!5718
2019-08-08 22:02:43 +08:00
zhangyanjiao
e451282f18
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-08 16:54:35 +08:00
zhangyanjiao
f3ffce3096
wifi: fix wifi bugs for authmode and multi ssid
2019-08-08 16:48:50 +08:00
Xia Xiaotian
754a292309
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-08-07 21:11:06 +08:00
Jiang Jiang Jian
00f1ac748b
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.2' into 'release/v3.2'
...
esp_wifi: add esp_wifi_internal_ioctl declared (v3.2)
See merge request espressif/esp-idf!5707
2019-08-07 20:48:58 +08:00
raldone01
b0cff945cf
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-08-07 20:37:25 +08:00
Angus Gratton
1beac49f3a
Merge branch 'feature/mqtt_improve_recv_3.2' into 'release/v3.2'
...
MQTT improved receive (backport 3.2)
See merge request espressif/esp-idf!5098
2019-08-07 16:05:07 +08:00
xiehang
207438f2da
esp_wifi: add esp_wifi_internal_ioctl declared
2019-08-07 11:17:39 +08:00
Jiang Jiang Jian
83e5e6b24c
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.2' into 'release/v3.2'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.2)
See merge request espressif/esp-idf!5513
2019-07-31 23:39:07 +08:00
Angus Gratton
6510c6f495
Merge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'
...
VFS: Allocate socket select semaphore outside ISR (backport v3.2)
See merge request espressif/esp-idf!4989
2019-07-31 16:11:57 +08:00
Angus Gratton
b460718954
Merge branch 'bugfix/libsodium_test_timeouts_v3.2' into 'release/v3.2'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.2)
See merge request espressif/esp-idf!5555
2019-07-30 21:59:51 +08:00
Angus Gratton
b7196d21c9
Merge branch 'bugfix/gpio_intr_enable_bug_v3.2' into 'release/v3.2'
...
bugfix(GPIO): Fixed GPIO interrupts bug for v3.2
See merge request espressif/esp-idf!5651
2019-07-30 14:10:29 +08:00
Angus Gratton
1a307a417d
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:44:30 +00:00
kooho
f6a9f76401
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.2
2019-07-29 19:22:59 +08:00
xiehang
e34aeae1a0
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-27 06:40:01 +00:00
Jiang Jiang Jian
43600262a8
Merge branch 'bugfix/mesh_scan_done_crash_3.2' into 'release/v3.2'
...
mesh: fix scan done crash caused by uint8_t overflow (backport 3.2)
See merge request espressif/esp-idf!5614
2019-07-27 14:38:39 +08:00
Jiang Jiang Jian
8fdea83505
Merge branch 'bugfix/btdm_mem_leak_v3.2' into 'release/v3.2'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5623
2019-07-27 14:38:28 +08:00
Mahavir Jain
7e77f67777
Merge branch 'feature/tcp_transport_http_client_v3.2' into 'release/v3.2'
...
Minor bugfixes in esp_http_client and tcp_transport (backport v3.2)
See merge request espressif/esp-idf!5221
2019-07-25 19:37:26 +08:00
Jiang Jiang Jian
e1518b4112
Merge branch 'bugfix/sec_boot_ota_fail_v32' into 'release/v3.2'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.2)
See merge request espressif/esp-idf!5580
2019-07-25 18:04:39 +08:00
baohongde
151638fdbb
components/bt: Fix memory leak about rfcomm
2019-07-25 17:10:52 +08:00
Jiang Jiang Jian
b3a5dc869f
Merge branch 'bugfix/supplicant_security_fixes_v3.2' into 'release/v3.2'
...
wpa_supplicant: Fix sprintf security bugs. (v3.2)
See merge request espressif/esp-idf!5465
2019-07-25 12:18:19 +08:00
chenyudong
87947004c4
mesh: fix scan done crash caused by uint8_t overflow
2019-07-25 11:16:53 +08:00
chenyudong
f892937780
test: move wifi library check to esp32-wifi-lib ci
2019-07-22 11:17:04 +08:00
Jitin George
105e3302a7
esp_http_client: Fix header sent event bug
2019-07-21 07:25:23 +00:00
Jitin George
19fd2b3d93
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:25:23 +00:00
xiehang
8be97410a4
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-21 10:30:45 +08:00
liu zhifu
6af16447f8
mesh: fix the bug that esp_mesh_stop doesn't return
2019-07-21 10:26:17 +08:00
xiehang
eee568ddc5
wps: add overlap event
2019-07-21 10:23:01 +08:00
liu zhifu
c119a1a0f4
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-21 10:20:25 +08:00
liu zhifu
ed6b453346
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-07-21 10:15:19 +08:00
liu zhifu
ba69e61ed5
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-21 09:59:37 +08:00
Jiang Jiang Jian
6ba62f7b0b
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.2' into 'release/v3.2'
...
fix the watchdog bug during WiFi scan and BLE scan (v3.2)
See merge request espressif/esp-idf!5541
2019-07-19 18:08:56 +08:00
Vikram Dattu
e155cd7a78
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 10:08:39 +05:30
Vikram Dattu
13069ecb26
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 10:08:39 +05:30
Vikram Dattu
7f42d63687
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 09:56:32 +05:30
Jiang Jiang Jian
ed7664d19f
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.2)
See merge request espressif/esp-idf!5507
2019-07-16 18:41:45 +08:00
zhangyanjiao
3675e3182f
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 14:29:29 +08:00
chenjianqiang
9edc9674bc
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-15 14:44:28 +08:00
Mahavir Jain
376377ceca
Merge branch 'bugfix/i2s_apll_clock_fix_v3.2' into 'release/v3.2'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.2)
See merge request espressif/esp-idf!5449
2019-07-12 11:36:01 +08:00
chenjianqiang
490a7e682d
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-11 21:10:20 +08:00
Angus Gratton
1b9d62ad95
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.2' into 'release/v3.2'
...
bugfix(UART): fixed two UART issues for release/v3.2
See merge request espressif/esp-idf!5480
2019-07-11 14:56:32 +08:00
Jiang Jiang Jian
21601f00f4
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.2' into 'release/v3.2'
...
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.2)
See merge request espressif/esp-idf!5099
2019-07-10 15:40:23 +08:00
kooho
7e2465995f
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:47:04 +08:00
Angus Gratton
878d70d9e6
Merge branch 'fix/update_curr_page_state_3.2' into 'release/v3.2'
...
nvs_util: Set previous page state to FULL before creating new page (v3.2)
See merge request espressif/esp-idf!5326
2019-07-08 14:05:40 +08:00
Sagar Bijwe
4b43c10490
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-08 10:39:48 +05:30
Angus Gratton
a8916daeb2
Merge branch 'fix/nvs_util_keylen_3.2' into 'release/v3.2'
...
nvs_util: Add check for keylen in input csv (v3.2)
See merge request espressif/esp-idf!5396
2019-07-08 12:59:55 +08:00
zhangyanjiao
b7a2516242
wifi bugfix:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-07-08 11:42:36 +08:00
Jiang Jiang Jian
4a9f339447
Merge branch 'mesh/bugfix_0628' into 'release/v3.2'
...
mesh: bugfix (backport3.2)
See merge request espressif/esp-idf!5402
2019-07-05 22:43:16 +08:00
Mahavir Jain
c1af728239
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.2' into 'release/v3.2'
...
Various bugfixes in Protocomm / Unified Provisioning (backport v3.2)
See merge request espressif/esp-idf!5372
2019-07-05 20:56:35 +08:00
Jiang Jiang Jian
35789eef16
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.2)
See merge request espressif/esp-idf!5288
2019-07-05 20:42:06 +08:00
Shivani Tipnis
23c17c4c0d
nvs_util: Add check for keylen in input csv
2019-07-05 11:06:02 +00:00
zhiweijian
2821e99bcc
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 21:17:51 +08:00
redchenjs
a4f2283384
i2s: fix a bug when calculating i2s apll parameters
...
Closes https://github.com/espressif/esp-idf/issues/2634
Closes https://github.com/espressif/esp-idf/issues/3380
Fixes https://github.com/espressif/esp-idf/issues/3407
2019-07-04 18:28:18 +05:30
qiyuexia
b905f2de4d
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-04 11:39:17 +08:00
Shivani Tipnis
c517628c77
nvs_util: Set previous page state to FULL before creating new page
2019-07-03 11:09:49 +00:00
Jiang Jiang Jian
cbec031c91
Merge branch 'bugfix/btdm_backport_2_bugs_v3.2' into 'release/v3.2'
...
Bugfix/btdm backport 2 bugs v3.2
See merge request idf/esp-idf!5269
2019-07-02 17:33:53 +08:00
chenjianqiang
90c7885f4d
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-07-02 14:57:13 +08:00
Jiang Jiang Jian
476d4ba1b7
Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.2' into 'release/v3.2'
...
esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.2)
See merge request idf/esp-idf!5411
2019-07-02 14:26:48 +08:00
Jiang Jiang Jian
da80efa8bc
Merge branch 'bugfix/pm_isr_exit_lock_v3.2' into 'release/v3.2'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.2)
See merge request idf/esp-idf!4969
2019-07-02 13:55:35 +08:00
Mahavir Jain
725ecf108f
Merge branch 'protocomm_ble_128bit_uuid_v3.2' into 'release/v3.2'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.2)
See merge request idf/esp-idf!5018
2019-07-01 19:22:28 +08:00
liu zhifu
d10dec358d
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-07-01 11:34:35 +08:00
liu zhifu
293a665601
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 21:36:38 +08:00
Jiang Jiang Jian
c6c1d089cc
Merge branch 'bugfix/xTaskIncrementTick_v3.2' into 'release/v3.2'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.2)
See merge request idf/esp-idf!5035
2019-06-30 18:01:45 +08:00
Anurag Kar
d76d94549a
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-06-28 10:14:52 +00:00
Angus Gratton
444ded835d
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.2' into 'release/v3.2'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.2)
See merge request idf/esp-idf!5355
2019-06-28 08:31:41 +08:00
Anurag Kar
57c7a25bb3
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-06-27 18:59:34 +05:30
Jiang Jiang Jian
8c17eb91e2
Merge branch 'feature/config_spi_pins_based_on_efuse_value_v3.2' into 'release/v3.2'
...
feat(psram): config SPI psram pins based on efuse value (backport v3.2)
See merge request idf/esp-idf!5237
2019-06-27 19:22:34 +08:00
Mahavir Jain
91ec6068e9
Merge branch 'bugfix/httpd_log_purge_v3.2' into 'release/v3.2'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.2)
See merge request idf/esp-idf!5016
2019-06-27 16:16:05 +08:00
Anurag Kar
dab432d7ff
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-06-27 12:38:20 +05:30
Anurag Kar
76719b9c37
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-06-27 12:38:07 +05:30
Jiang Jiang Jian
da10a5b7e9
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.2' into 'release/v3.2'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.2)
See merge request idf/esp-idf!5282
2019-06-27 14:28:49 +08:00
Konstantin Kondrashov
901e8338ac
mbedtls: Add UTs for modexp
2019-06-26 14:20:30 +08:00
Konstantin Kondrashov
fbe566ac67
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 14:20:30 +08:00
Chen Sheng
c0a68466a7
test: modified test case for bluedroid (backport v3.2)
2019-06-25 23:18:47 +08:00
zhiweijian
eaf8cfbf8d
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:31 +00:00
Angus Gratton
b34a0874b1
Merge branch 'bugfix/spi_concurrency_3.2' into 'release/v3.2'
...
spi: fix a possible concurrency issue (port to v3.2)
See merge request idf/esp-idf!5278
2019-06-21 13:22:22 +08:00
Michael (XIAO Xufeng)
f21762eeef
spi: fix a possible concurrency issue
2019-06-19 12:38:31 +08:00
baohongde
e7f57fef55
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-17 14:12:09 +08:00
baohongde
284362d62d
add missing source files to CMakeLists for HFP
2019-06-17 14:06:33 +08:00
wangmengyang
29b009d6fd
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-17 14:06:19 +08:00
He Yin Ling
86e8983499
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:55:09 +08:00
Jiang Jiang Jian
fa42f63226
Merge branch 'bugfix/dns_bug_3.2' into 'release/v3.2'
...
DNS: fix the crash under static IP address(backport3.2)
See merge request idf/esp-idf!5238
2019-06-14 11:34:50 +08:00
chenjianqiang
93c9c07e22
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-06-14 10:34:56 +08:00
xueyunfei
2ed18dcdd7
lwip:fix dns bug for 3.2
2019-06-13 16:47:50 +08:00
chenjianqiang
cb2e328c5f
feat(psram): config SPI psram pins based on efuse value
2019-06-13 16:07:21 +08:00
baohongde
267ce80355
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:25:59 +08:00
Angus Gratton
8b54542a88
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.2' into 'release/v3.2'
...
CMake: Fix custom bootloader does not override original (v3.2)
See merge request idf/esp-idf!5082
2019-06-11 08:26:08 +08:00
Mahavir Jain
a8fe057219
Merge branch 'bugfix/https_doc_api_v3.2' into 'release/v3.2'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.2)
See merge request idf/esp-idf!5014
2019-06-10 11:49:57 +08:00
Konstantin Kondrashov
adc5b2e08f
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-07 09:54:03 +00:00
Konstantin Kondrashov
0be4deeb22
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-07 09:54:03 +00:00
Renz Christian Bagaporo
88eaa34075
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-06-04 23:04:47 +08:00
Konstantin Kondrashov
b434b8f5d2
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:16:40 +08:00
Anurag Kar
7e6d1ef4bc
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 08:37:41 +00:00
Anurag Kar
92dc6a6dde
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:36:24 +00:00
Angus Gratton
8e51f7e236
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.2' into 'release/v3.2'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.2)
See merge request idf/esp-idf!5032
2019-06-03 14:23:55 +08:00
Konstantin Kondrashov
3886be23c8
soc: Add some headers into gpio_periph.h
2019-05-29 13:46:37 +08:00
David Cermak
814ee9db7f
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
cherry-picked from db121a56e1
2019-05-29 07:45:13 +02:00
Jiang Jiang Jian
ddbce78bff
Merge branch 'bugfix/fix_smartconfig_bug' into 'release/v3.2'
...
esp32: fix a smartconfig bug (backport v3.2)
See merge request idf/esp-idf!5055
2019-05-28 10:54:51 +08:00
Angus Gratton
4b5be79c0c
Merge branch 'feature/esp_http_client_mutual_auth_backport_v3.2' into 'release/v3.2'
...
esp_http_client: Add support for mutual authentication (backport v3.2)
See merge request idf/esp-idf!5026
2019-05-27 13:16:47 +08:00
Angus Gratton
ee39083d1b
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.2' into 'release/v3.2'
...
add promiscuous mode control for Ethernet (v3.2)
See merge request idf/esp-idf!4976
2019-05-23 14:23:48 +08:00
liu zhifu
38b4d1d70c
esp32: fix a smartconfig bug
...
Fix a smartconfig bug which leads to deadlock between WiFi task and timer task.
2019-05-22 21:47:02 +08:00
xiehang
a820787414
wifi: fix softap crash when sta (backport v3.2)
2019-05-20 20:30:41 +08:00
Konstantin Kondrashov
cea6908238
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-20 18:31:13 +08:00
Anders Kalør
d81c79d79f
esp_http_client: Add support for mutual authentication
...
Closes https://github.com/espressif/esp-idf/pull/2688
Closes https://github.com/espressif/esp-idf/issues/3438
2019-05-20 11:01:04 +05:30
Roland Dobai
70c9b1ca22
VFS: Allocate socket select semaphore outside ISR
2019-05-15 10:50:49 +02:00
Angus Gratton
2f8508c7eb
Merge branch 'bugfix/http_server_lf_term_hdr_backport_v3d2' into 'release/v3.2'
...
HTTP Server : Fix for tolerating LF terminated headers (backport v3.2)
See merge request idf/esp-idf!4657
2019-05-13 20:29:03 +08:00
suda-morris
fd281c11cc
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-10 12:56:35 +08:00
Ivan Grokhotkov
5328154a01
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-05-10 10:20:29 +08:00
Alexey Gerenkov
dd623febf5
esp32: Fixes freezing core dump process when flash write address checks are enabled
2019-05-08 13:55:31 +03:00
Angus Gratton
106c8813ed
Merge branch 'bugfix/nvs_fix_erase_any_v3.2' into 'release/v3.2'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly (v3.2)
See merge request idf/esp-idf!4817
2019-05-08 09:37:13 +08:00
negativekelvin
553725df84
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-05-07 05:53:19 +00:00
liu zhifu
7d3733d255
esp32: backport some WiFi fixes to v3.2
...
Backport following WiFi fixes to v3.2:
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
4. Add support for signal test
5. Fix the bug that WPS fails when AP is encrypted
2019-05-07 10:50:09 +08:00
zhangyanjiao
4e78900fbf
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-05-05 11:53:33 +08:00
Anurag Kar
87215ca0c3
HTTP Server : Fix for tolerating LF terminated headers
...
List of changes:
* When parsing requests, count termination from LF characters only
* Correct memcpy() length parameter in httpd_unrecv() (pointed out by jimparis in GitHub issue thread)
* Use ssize_t to store results of length subtractions during parsing
* Modify some comments to reduce ambiguity
Closes https://github.com/espressif/esp-idf/issues/3182
2019-05-02 05:56:49 +00:00
Jiang Jiang Jian
f6bfe13eb3
Merge branch 'bugfix/erase_with_vtaskdelay_v3.2' into 'release/v3.2'
...
spi_flash: Add vTaskDelay while a long erasing (v3.2)
See merge request idf/esp-idf!4875
2019-04-28 22:14:41 +08:00
Jiang Jiang Jian
df874cd070
Merge branch 'bugfix/httpd_accept_conn_v3.2' into 'release/v3.2'
...
esp_http_server : Only accept new connections if server has capacity to handle more (backport v3.2)
See merge request idf/esp-idf!4722
2019-04-28 11:47:14 +08:00
Konstantin Kondrashov
fe0d45d549
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase.
By default disable.
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-28 02:42:31 +00:00
Jiang Jiang Jian
6f19193de6
Merge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'
...
newlib: Fix adjtime (v3.2)
See merge request idf/esp-idf!4871
2019-04-28 10:36:55 +08:00
Jiang Jiang Jian
8f4e7d2456
Merge branch 'backport/bugfix_url_redirect_v32' into 'release/v3.2'
...
Fix url redirection issue. (backport v3.2)
See merge request idf/esp-idf!4852
2019-04-28 10:36:09 +08:00
Jiang Jiang Jian
4156c6ddec
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.2' into 'release/v3.2'
...
bugfix(psram): improve spi cs timing settings for psram (backport v3.2)
See merge request idf/esp-idf!4846
2019-04-28 10:35:41 +08:00
Jiang Jiang Jian
9294e4d08d
Merge branch 'feature/poll_v3.2' into 'release/v3.2'
...
VFS: Implement poll() based on select() (backport v3.2)
See merge request idf/esp-idf!4350
2019-04-28 10:24:41 +08:00
Jiang Jiang Jian
193b8e93a8
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4862
2019-04-26 21:01:35 +08:00
Angus Gratton
8da392aa1d
Merge branch 'feature/esp_http_client_global_ca_store_v3.2' into 'release/v3.2'
...
esp_http_client: add support for using certs from global ca store (backport_v3.2)
See merge request idf/esp-idf!4868
2019-04-26 10:08:23 +08:00
Angus Gratton
c3cee5e3de
Merge branch 'backport/feature_set_redirect_function_v32' into 'release/v3.2'
...
Add a `esp_http_client_set_redirection` function. (backport v3.2)
See merge request idf/esp-idf!4867
2019-04-26 10:07:04 +08:00
Jiang Jiang Jian
0c13ae6b45
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.2)
See merge request idf/esp-idf!4826
2019-04-25 20:05:19 +08:00
Jiang Jiang Jian
306a1173af
Merge branch 'feature/wifi_refactor_softap_power_save_v3.2' into 'release/v3.2'
...
refactor softap power save (backport v3.2)
See merge request idf/esp-idf!4823
2019-04-25 17:05:49 +08:00
Konstantin Kondrashov
592a4295be
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 17:42:38 +08:00
Mahavir Jain
2549951498
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
(cherry picked from commit 27e00cf7aa
)
2019-04-24 14:06:33 +05:30
Vikram Dattu
b2384dc9ee
Add a esp_http_client_set_redirection
function When using direct operations instead of esp_http_client_perform
, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call esp_http_client_set_redirection
function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-24 13:54:22 +05:30
baohongde
f95826144e
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:34:06 +08:00
Vikram Dattu
344cb99d34
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 14:28:21 +05:30
Wangjialin
464df4b788
bugfix: fix bug in flash 80M + sram 40M mode
2019-04-23 02:18:15 +00:00
Wangjialin
8ff0d986b6
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-23 02:18:15 +00:00
Angus Gratton
225bc0f80a
Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.2)
See merge request idf/esp-idf!4780
2019-04-23 07:38:00 +08:00
zhiweijian
96c8343e46
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:55:06 +08:00
XiaXiaotian
3ee11bcafc
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing
when the associated stations enable IEEE80211 legacy power
save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power
save.
2019-04-19 14:14:33 +08:00
Jiang Jiang Jian
bcb543eb10
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist_v3.2' into 'release/v3.2'
...
Decouple WiFi and BT with coexist to reduce bin size (backport v3.2)
See merge request idf/esp-idf!4811
2019-04-19 13:31:06 +08:00
He Yin Ling
bb73659c9c
Merge branch 'test/modify_mesh_ci_v3.2' into 'release/v3.2'
...
test: update mesh test cases for ci (backport v3.2)
See merge request idf/esp-idf!4650
2019-04-18 11:29:43 +08:00
chenyudong
58bc6be4c0
test:update mesh test cases for ci test(v3.2)
...
add mesh test case in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
add job form IT_02 to IT_08
2019-04-17 17:25:17 +08:00
XiaXiaotian
5059c7fac3
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-04-17 16:59:24 +08:00
liu zhifu
faec3211bd
esp32: fix some WiFi and coexist bugs
...
Fix following WiFi and coexist bugs:
1. Fix BT disconnecting due to too many reset BB
2. Fix the bug that no TBTT is generated after rx wrong beacon when WiFi/BT coexist
3. Fix a DelBA bug
4. Add out of memory check
5. Fix the bug that STA incorrectly receives packets when scanning in connected status
6. PHY4008: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi mode
2019-04-17 10:02:51 +08:00
Jiang Jiang Jian
c7d0df5451
Merge branch 'bugfix/fix_scan_and_connect_bugs_0415_v3.2' into 'release/v3.2'
...
fix wifi scan and connect bugs (backport v3.2)
See merge request idf/esp-idf!4772
2019-04-16 21:09:15 +08:00
Mahavir Jain
1fcef31195
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-16 11:21:26 +05:30
Jiang Jiang Jian
acc882f4dd
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
...
Some bugs backport 3.2
See merge request idf/esp-idf!4773
2019-04-16 10:45:04 +08:00
Angus Gratton
e4c1bcddc5
Merge branch 'bugfix/freemodbus_fix_critical_sections' into 'release/v3.2'
...
freemodbus: fix critical sections to semaphore mutex (backport v3.2)
See merge request idf/esp-idf!4435
2019-04-16 08:53:23 +08:00
Konstantin Kondrashov
b2455219cc
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-15 21:14:38 +08:00
zhangyanjiao
de6b7d6520
fix wifi scan and connect bugs:
...
1. fix the bug block scan tiemout before scan finish
2. make menuconfig can set the WiFi mgmt short buffer num
3. modify wifi reason code
4. fix the bug PMK recal too long
2019-04-15 18:59:52 +08:00
Jiang Jiang Jian
fa40e43c8d
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4620
2019-04-15 18:52:09 +08:00
Jiang Jiang Jian
9f29dbf656
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into 'release/v3.2'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.2)
See merge request idf/esp-idf!4566
2019-04-15 18:50:58 +08:00
baohongde
bb518afb59
Some bugs backport 3.2
...
1.Fix memory leak when set txpower
2.Fix some bugs
Disconnect with apple device
hci_refresh_enc_key_cmd will be ignore
hci_refresh_enc_key_cmd will crash
2019-04-15 16:51:29 +08:00
chenyudong
37063ea9b6
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-04-14 20:36:14 +08:00
Jiang Jiang Jian
f6837e6117
Merge branch 'bugfix/esp_sha_signing_sha256_v3.2' into 'release/v3.2'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API (backport v3.2)
See merge request idf/esp-idf!4511
2019-04-14 02:57:45 +08:00
Jiang Jiang Jian
2da22620f8
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3.2' into 'release/v3.2'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list (backport v3.2)
See merge request idf/esp-idf!4606
2019-04-14 02:56:43 +08:00
Jiang Jiang Jian
ddf4991024
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.2' into 'release/v3.2'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.2)
See merge request idf/esp-idf!4728
2019-04-14 02:55:21 +08:00
Jiang Jiang Jian
f8597be435
Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.2' into 'release/v3.2'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.2)
See merge request idf/esp-idf!4386
2019-04-12 23:11:24 +08:00
Jiang Jiang Jian
6e5e430ef4
Merge branch 'bugfix/mesh_memory_leak_v3.2' into 'release/v3.2'
...
mesh: fix memory leak and group send (backport v3.2)
See merge request idf/esp-idf!4519
2019-04-12 22:02:08 +08:00
Jiang Jiang Jian
065d451e47
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.2' into 'release/v3.2'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.2)
See merge request idf/esp-idf!4599
2019-04-12 21:58:51 +08:00
Jiang Jiang Jian
c8990eb39d
Merge branch 'bugfix/btdm_add_scan_window_interval_check_v3.2' into 'release/v3.2'
...
Component/bt: add scan window and interval check when set scan params (backport v3.2)
See merge request idf/esp-idf!4311
2019-04-12 21:57:50 +08:00
Jiang Jiang Jian
c90f770599
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.2' into 'release/v3.2'
...
Component/bt: fix blufi prepare write crash (backport V3.2)
See merge request idf/esp-idf!4563
2019-04-12 21:57:23 +08:00
Jiang Jiang Jian
48978c6f2b
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.2' into 'release/v3.2'
...
Component/bt: fix iOS and win10 compatibility error for HID (backport v3.2)
See merge request idf/esp-idf!4424
2019-04-12 21:56:40 +08:00
Angus Gratton
5bb5670d69
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-12 07:28:57 +00:00
Angus Gratton
7197811861
Merge branch 'bugfix/prov_fix_conn_id_v3.2' into 'release/v3.2'
...
(backport v3.2) Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4734
2019-04-12 13:46:06 +08:00
Angus Gratton
892c2be168
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-04-12 05:45:05 +00:00
Angus Gratton
5c6be8380e
secure boot: Use mbedtls_sha256() not esp_sha()
...
Latter is probably compiled into most firmwares already, saves some size.
Ref https://github.com/espressif/esp-idf/issues/3127
2019-04-12 05:45:05 +00:00
Angus Gratton
1d8e1c4ce4
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-04-12 05:45:05 +00:00
chenyudong
1778573dad
mesh: fix memory leak and group send
...
fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option
2019-04-11 20:43:38 +08:00
Jiang Jiang Jian
9778549759
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable_v3.2' into 'release/v3.2'
...
esp32: make WiFi IRAM optimization configurable (backport v3.2)
See merge request idf/esp-idf!4040
2019-04-11 18:44:19 +08:00