Jiang Jiang Jian
34f6773471
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
...
esp32: fix wpa2 enterprise vulnerability issues (backport v3.3)
See merge request idf/esp-idf!5107
2019-06-03 21:58:19 +08:00
Angus Gratton
a298d32d65
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.3)
See merge request idf/esp-idf!5031
2019-06-03 14:31:27 +08:00
liu zhifu
676a27c7cf
esp32: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:23:01 +08:00
Konstantin Kondrashov
33121c3311
soc: Add some headers into gpio_periph.h
2019-05-29 13:37:22 +08:00
Konstantin Kondrashov
38509b2b95
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-28 12:44:41 +00:00
Renz Christian Bagaporo
8c363321db
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-05-27 17:00:23 +08:00
zhangyanjiao
7200b8bf77
wifi bugfixs:
...
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-05-24 11:31:24 +08:00
Jiang Jiang Jian
fa1e983028
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 0508 (backport v3.3)
See merge request idf/esp-idf!4965
2019-05-23 17:55:12 +08:00
Angus Gratton
71e344da20
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
...
add promiscuous mode control for Ethernet (v3.3)
See merge request idf/esp-idf!4975
2019-05-23 14:24:07 +08:00
liu zhifu
620bba3a66
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. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:22:21 +08:00
xiehang
5c42c831f5
wifi: fix softap crash when sta reset (backport v3.3)
2019-05-20 20:47:47 +08:00
Angus Gratton
0d5609ba92
Merge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
...
efuse: Fix unused variable warning when NDEBUG (v3.3)
See merge request idf/esp-idf!4956
2019-05-20 12:24:19 +08:00
Angus Gratton
e209307297
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
...
newlib: Fix adjtime (v3.3)
See merge request idf/esp-idf!4870
2019-05-15 15:44:33 +08:00
Angus Gratton
4ac347b295
Merge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4660
2019-05-13 12:31:00 +08:00
Angus Gratton
31c94b25c5
Merge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
...
cJSON: update to v1.7.11 (v3.3)
See merge request idf/esp-idf!4971
2019-05-10 22:02:31 +08:00
suda-morris
5b8d1c9da3
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:24 +08:00
Angus Gratton
532c8847c7
Merge branch 'bugifx/httpd_reuseaddr_backport_v3.3' into 'release/v3.3'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay (backport v3.3)
See merge request idf/esp-idf!4939
2019-05-10 10:45:55 +08:00
suda-morris
6dc31101ce
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-10 10:26:04 +08:00
V.Dudnik
7d9330d1af
efuse: Fix unused variable warning when NDEBUG
...
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
2019-05-08 09:41:49 +08:00
Jiang Jiang Jian
618aa6a3a4
Merge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.3' into 'release/v3.3'
...
wifi: fix the bug that WPS fails when AP is encrypted (backport v3.3)
See merge request idf/esp-idf!4910
2019-05-07 22:41:52 +08:00
Roland Dobai
5988e77a3a
VFS: Allocate socket select semaphore outside ISR
2019-05-06 16:11:59 +02:00
Anurag Kar
ba2ff1876f
Enable secure boot only after encrypting flash
...
This prevents a device from being bricked in case when both secure boot & flash encryption are enabled and encryption gets interrupted during first boot. After interruption, all partitions on the device need to be reflashed (including the bootloader).
List of changes:
* Secure boot key generation and bootloader digest generation logic, implemented inside function esp_secure_boot_permanently_enable(), has been pulled out into new API esp_secure_boot_generate_digest(). The enabling of R/W protection of secure boot key on EFUSE still happens inside esp_secure_boot_permanently_enable()
* Now esp_secure_boot_permanently_enable() is called only after flash encryption process completes
* esp_secure_boot_generate_digest() is called before flash encryption process starts
2019-05-06 11:34:12 +05:30
Anurag Kar
0757e019f4
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-06 10:52:49 +05:30
zhangyanjiao
8e3a1876cb
wifi: fix the bug that WPS fails when AP is encrypted
2019-05-06 10:50:04 +08:00
Jiang Jiang Jian
cc8652d8d2
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.3' into 'release/v3.3'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.3)
See merge request idf/esp-idf!4900
2019-05-06 10:37:08 +08:00
Angus Gratton
3cd8538f53
Merge branch 'backport/bugfix_url_redirect_v33' into 'release/v3.3'
...
Fix url redirection issue. (backport v3.3)
See merge request idf/esp-idf!4851
2019-05-03 14:15:33 +08:00
zhangyanjiao
0033b31442
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-29 16:21:58 +08:00
Angus Gratton
56afb3bd1c
Merge branch 'backport/feature_set_redirect_function_v33' into 'release/v3.3'
...
Add a `esp_http_client_set_redirection` function. (backport v3.3)
See merge request idf/esp-idf!4866
2019-04-26 10:06:52 +08:00
Jiang Jiang Jian
e622ee0f41
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.3' into 'release/v3.3'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4861
2019-04-25 20:39:36 +08:00
Konstantin Kondrashov
2d50291b05
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:20 +08:00
Vikram Dattu
c9b1e1df60
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
Closes https://github.com/espressif/esp-idf/issues/2712
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-24 14:10:10 +05:30
Angus Gratton
9a72c11e6e
Merge branch 'bugfix/erase_with_vtaskdelay' into 'release/v3.3'
...
spi_flash: Add vTaskDelay while a long erasing
See merge request idf/esp-idf!4816
2019-04-24 15:51:35 +08:00
baohongde
39dbe7daa8
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:30:04 +08:00
Konstantin Kondrashov
7a2885885c
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-23 10:47:09 +00:00
Vikram Dattu
d154723a84
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:53 +05:30
Renz Christian Bagaporo
16918e400e
make: fix undefined variables warning for PARTITION_TABLE_BIN
...
Closes https://github.com/espressif/esp-idf/issues/3136
2019-04-23 14:42:14 +08:00
He Yin Ling
403268a13a
Merge branch 'test/modify_mesh_ci_v3.3' into 'release/v3.3'
...
test: update mesh test cases for ci (backport v3.3)
See merge request idf/esp-idf!4651
2019-04-18 11:29:54 +08:00
liu zhifu
93b4c71595
esp32: fix a bug caused by signal test code
...
Fix a WiFi bug caused by signal test code.
2019-04-17 17:44:23 +08:00
chenyudong
d6badc53eb
test:update mesh test cases for test(v3.3)
...
add job in ci mesh test
update cases in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
change the file 'components/idf_test/integration_test'
2019-04-17 17:28:31 +08:00
Jiang Jiang Jian
cb7aaae35e
Merge branch 'bugfix/fix_set_config_bug_for_bssid_set_v3.3' into 'release/v3.3'
...
wifi: fix the set config bug for bssid_set (backport v3.3)
See merge request idf/esp-idf!4802
2019-04-16 23:23:58 +08:00
zhangyanjiao
18533e132a
wifi: fix the set config bug for bssid_set
2019-04-16 20:40:00 +08:00
Jiang Jiang Jian
7a7128c7a3
Merge branch 'bugfix/esp_efuse_get_pkg_ver_v3.3' into 'release/v3.3'
...
efuse: Fix excess data coming from uninitialized variable (backport v3.3)
See merge request idf/esp-idf!4794
2019-04-16 20:33:36 +08:00
GOPTIONS\pfrost
dd76df7aee
efuse: Fix excess data coming from uninitialized variable
...
Fixed esp_efuse_get_pkg_ver() function
Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
2019-04-16 16:04:15 +08:00
Mahavir Jain
deba35d2e5
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:17 +05:30
liu zhifu
184f2f0fd6
esp32: add support for WiFi signal test
...
Add support for WiFi signal test
2019-04-15 10:17:14 +08:00
Jack
4b6ac69c04
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-14 19:43:09 +08:00
Jiang Jiang Jian
c7d73901d0
Merge branch 'bugfix/nvs_fix_erase_any_v3.3' into 'release/v3.3'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly(v3.3)
See merge request idf/esp-idf!4765
2019-04-14 19:39:04 +08:00
Jiang Jiang Jian
76cc8c1c0c
Merge branch 'bugfix/wifi_spike_power_v3.3' into 'release/v3.3'
...
wifi: fix the issue that the spike transmit power of WiFi is higher than…
See merge request idf/esp-idf!4762
2019-04-14 19:38:55 +08:00
Jiang Jiang Jian
38a2be75a9
Merge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr_v3.3' into 'release/v3.3'
...
component/bt: fix memory leak when settig tx power (backport v3.3)
See merge request idf/esp-idf!4760
2019-04-14 16:55:52 +08:00
Jack
ab888394c3
wifi: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist
2019-04-14 06:26:01 +00:00