Commit graph

6009 commits

Author SHA1 Message Date
chenyudong
5f9908874a mesh: backport some bugfixes
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-08-04 14:20:59 +08:00
xiehang
5d8c4143ef esp_wifi: Fix WiFi fragment issue 2020-07-31 20:29:06 +08:00
Mahavir Jain
f19da37212 Merge branch 'fix/prov_ble_read_offset_v3.2' into 'release/v3.2'
BLE provisioning: Add check for valid ble read offset (v3.2)

See merge request espressif/esp-idf!9748
2020-07-24 22:16:17 +08:00
Jiang Jiang Jian
460e04f4ff Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.2' into 'release/v3.2'
fix some wifi bugs 0703 (v3.2)

See merge request espressif/esp-idf!9538
2020-07-23 12:37:39 +08:00
Prasad Alatkar
f5e7ed9835 BLE provisioning: Add check for valid ble read offset 2020-07-22 19:44:14 +05:30
Angus Gratton
ce955de719 Merge branch 'ci/workaround_multiple_ci_failures_v3.2' into 'release/v3.2'
CI: workaround multiple ci failures (v3.2)

See merge request espressif/esp-idf!9688
2020-07-22 11:51:59 +08:00
Jiang Jiang Jian
364fb4d284 Merge branch 'bugfix/customer_baidu_int_wdt_v3.2' into 'release/v3.2'
backport v3.2: add soft solution for esp32 eco3 live lock issue

See merge request espressif/esp-idf!9221
2020-07-21 12:19:56 +08:00
yuanjm
5c9a5e6b80 feat(lwip): make LWIP TCP rto time configurable 2020-07-20 11:59:24 +00:00
He Yin Ling
548325c01f CI: do not run cases likely to fail 2020-07-19 15:40:39 +08:00
He Yin Ling
7dd3f60f17 CI: disable cases with test env SSC_T5_1 2020-07-19 15:38:44 +08:00
He Yin Ling
ae86aff61b CI: remove incorrect MTU related cases 2020-07-19 15:32:24 +08:00
Li Shuai
001be802c6 add soft solution for esp32 eco3 live lock issue 2020-07-17 05:29:48 +00:00
Jiang Jiang Jian
0eb17e7601 Merge branch 'bugfix/ws_send_abort_v3.2' into 'release/v3.2'
websocket client: the client now aborts the connection if send fails. (v3.2)

See merge request espressif/esp-idf!9172
2020-07-15 16:36:51 +08:00
Jiang Jiang Jian
8ada763bee Merge branch 'feature/bt_secure_conn_downgrade_check_v3.2' into 'release/v3.2'
Bluedroid: Authentication fixes in Legacy and Secure Connection.

See merge request espressif/esp-idf!9337
2020-07-15 16:35:34 +08:00
Angus Gratton
6a9d14e963 versions: Update to v3.2.4 2020-07-14 20:40:03 +10:00
aleks
6eb6745a59 ci: temporarily disable RS485 related tests 2020-07-13 07:38:48 +02:00
zhangyanjiao
595be5a143 esp_wifi: Add API to get available internal heap size 2020-07-08 21:09:02 +08:00
zhangyanjiao
d16831cf81 esp wifi bugfix:
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. fix the wifi regdomain update bug
7. fix the bug for airkiss find hidden AP fail
8. fix addba and first ampdu send bar
2020-07-08 21:07:24 +08:00
Jiang Jiang Jian
a5c8cdd30e Merge branch 'bugfix/beacon_security_downgrade_v3.2' into 'release/v3.2'
Avoid parsing RSN/WPA IE's after connection (Backport v3.2)

See merge request espressif/esp-idf!9347
2020-07-03 14:00:05 +08:00
Island
39e1cd4d74 Merge branch 'bugfix/blufi_buffer_overflow_report_v3.2' into 'release/v3.2'
blufi: When the format of the received data packet is wrong, reply with an error response(backport 3.2)

See merge request espressif/esp-idf!9197
2020-07-03 10:42:12 +08:00
Mahavir Jain
dc237e205a Merge branch 'bugfix/http_server_lru_v3.2' into 'release/v3.2'
esp_http_server: Update LRU counter on accepting a new connection (v3.2)

See merge request espressif/esp-idf!9354
2020-07-02 15:37:46 +08:00
Nachiket Kukade
231773b28a esp_wifi: Update wifi lib
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 06:37:13 +00:00
baohongde
56019e2c9d components/bt: Config BTU stack size by menuconifg 2020-06-29 21:22:16 +08:00
Shubham Kulkarni
86c18a8e05 esp_http_server: Update LRU counter on accepting a new connection
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:26:07 +05:30
Chinmay Chhajed
94353c411e Bluedroid: Authentication fixes in Legacy and Secure Connection.
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:

- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.

- Doing a mutual authentication during Legacy Authentication.
2020-06-25 16:22:34 +05:30
Jiang Jiang Jian
89bf6c2799 Merge branch 'bugfix/btdm_ble_assert_64_0_v3.2' into 'release/v3.2'
components/bt: Fix ble assert(64, 0)

See merge request espressif/esp-idf!8921
2020-06-24 17:17:56 +08:00
Jiang Jiang Jian
26cad6beaa Merge branch 'bugfix/att_buffer_count_fixed_v3.2' into 'release/v3.2'
Bugfix/att buffer count fixed v3.2

See merge request espressif/esp-idf!9163
2020-06-24 17:17:26 +08:00
baohongde
a915420eec components/bt: Fix ble assert(64, 0) 2020-06-17 06:06:52 +00:00
Mahavir Jain
1503a8951e Merge branch 'bugfix/httpd_lru_purge_v3.2' into 'release/v3.2'
esp_http_server: Fixed a bug which could cause issues with LRU purge (v3.2)

See merge request espressif/esp-idf!8835
2020-06-17 13:31:01 +08:00
wangcheng
ee79ef9ba1 blufi: When the format of the received data packet is wrong, reply with an error response 2020-06-17 12:31:15 +08:00
Jiang Jiang Jian
1cd415dfc1 Merge branch 'bugfix/authmode_degrade_fix_v3.2' into 'release/v3.2'
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold(backport v3.2)

See merge request espressif/esp-idf!9086
2020-06-15 23:20:13 +08:00
Marius Vikhammer
5b6bc8c5ed websocket client: the client now aborts the connection if send fails.
Closes IDF-1744
2020-06-15 14:54:21 +08:00
wangcheng
637090410b components/bt:Fixed the problem of incomplete data packets caused by disordered acl data packets 2020-06-13 15:33:36 +08:00
wangcheng
0df77d5a69 components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage 2020-06-13 15:33:28 +08:00
kapil.gupta
4de12b3c0c esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold 2020-06-07 11:25:50 +05:30
Piyush Shah
eb39527318 esp_http_server: Fixed a bug which could cause issues with LRU purge
LRU counter should be started from 1, and not 0, so that all checks
work fine.

Closes https://github.com/espressif/esp-idf/issues/4753
2020-06-05 20:32:01 +00:00
xiehang
0a08a35962 Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460] 2020-06-04 12:02:40 +08:00
David Čermák
c55901bf02 Merge branch 'bugfix/ws_client_fragmented_send_v3.2' into 'release/v3.2'
ws_client: fix fragmented send setting proper opcodes (v3.2)

See merge request espressif/esp-idf!8693
2020-05-25 17:50:55 +08:00
Michael (XIAO Xufeng)
75ebfacd28 Merge branch 'bugfix/mcpwm_period_error_v3.2' into 'release/v3.2'
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v3.2)

See merge request espressif/esp-idf!7188
2020-05-25 15:36:11 +08:00
Jiang Jiang Jian
8e74a471ea Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.2' into 'release/v3.2'
Bugfix/fix some wifi bugs 0427 (v3.2)

See merge request espressif/esp-idf!8575
2020-05-22 22:00:31 +08:00
Jiang Jiang Jian
caf889f04d Merge branch 'bufix/fix_v3.2_bluedroid_bugs_mr' into 'release/v3.2'
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 3.2)

See merge request espressif/esp-idf!8753
2020-05-22 21:16:41 +08:00
David Cermak
af839f371f ws_client: fix fragmented send setting proper opcodes
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one

Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-05-22 06:18:13 +00:00
Jiang Jiang Jian
2ebd93e1d2 Merge branch 'bugfix/wps_config_method_war' into 'release/v3.2'
wpa_supplicant: WPS Inter operatability Fixes

See merge request espressif/esp-idf!8589
2020-05-22 01:07:18 +08:00
zhangyanjiao
caff697a3d wifi changes:
Zhang Yan Jiao authored 2 weeks ago
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 17:40:01 +08:00
zwj
c14e7c3360 :add congest direct callback and modify congest evt triger threshold 2020-05-15 16:09:53 +08:00
wangcheng
38d9958c11 master missing BLE_AUTH_CMPL_EVT after restart 2020-05-15 16:09:15 +08:00
wangcheng
026cec78e9 fix bta_dm_deinit_cb 2020-05-15 16:09:15 +08:00
xiehang
5c25689f7f esp_wifi: Fix AP switch to adjacent channel without disconnect 2020-05-15 14:31:40 +08:00
Angus Gratton
5895ecff50 Merge branch 'bugfix/fix_spi_flash_clock_config_error_v3.2' into 'release/v3.2'
flash: fix spi flash clock config error (backport v3.2)

See merge request espressif/esp-idf!8516
2020-05-13 15:32:35 +08:00
kapil.gupta
90de9f4942 wpa_supplicant: WPS Inter operatability Fixes
Add WPS IOT fixes under config option

Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-05-11 14:02:39 +05:30