Commit Graph

7191 Commits

Author SHA1 Message Date
zhangyanjiao
cd428d0346 esp_wifi: fix some wifi bugs
1. Fix airkiss and esptouch find channel crash issue
2. Fix softAP crash by adding NULL pointer check for handling public action frame
3. Ignore dirtyBuf check when buffer size is larger than 4092
4. Fix rf signal test without 9M rate issue
5. Fix issue with hidden AP scans after connecting AP
6. Fix the watchdog issue when receiving action frame
7. Clear hotspot bss when auth timeout happens
8. Fix the bug for esptouch find hidden AP fail
9. Fixed issue of reason code change from 15 to 204 when provide wrong password
10. Fix set config return value error
11. Fix ampdu age timer memory leak
12. Fix PMK not saved in NVS for SoftAP for PSK mode
2021-12-02 21:42:14 +08:00
Jiang Jiang Jian
30268103d5 Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v3.3' into 'release/v3.3'
Bugfix/wpa supplicant coverity issue fixes v3.3

See merge request espressif/esp-idf!12852
2021-12-02 12:00:11 +00:00
Jiang Jiang Jian
80d5c63b36 Merge branch 'feature/btdm_add_new_api_get_conn_params_v3.3' into 'release/v3.3'
Component/bt: add new api to get connection parameters(backport release/v3.3)

See merge request espressif/esp-idf!16225
2021-12-02 08:07:51 +00:00
aditi_lonkar
b67821b2a7 wifi_provisioning: Fix some memory leak issues by coverity static analyzer. 2021-12-02 13:07:52 +05:30
aditi_lonkar
88645a97b4 esp_http_client: Fix some memory leak issues by coverity static analyzer. 2021-12-02 13:07:52 +05:30
aditi_lonkar
776d24e83f fatfs: Fix some memory leak issues by coverity static analyzer. 2021-12-02 13:07:52 +05:30
aditi_lonkar
66d7cf8db5 tcp_transport: Fix some memory leak issues by coverity static analyzer. 2021-12-02 13:07:52 +05:30
zhiweijian
3eacc32c8c Component/bt: add new api to get connection parameters 2021-12-02 10:36:12 +08:00
liulinyan
5408374d63 Merge branch 'bugfix/ble_mesh_macro_OR_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix using wrong | for OR between macros (v3.3)

See merge request espressif/esp-idf!16212
2021-12-02 00:27:56 +00:00
Jiang Jiang Jian
10db99e449 Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_3.3' into 'release/v3.3'
Update esp32-bt-lib

See merge request espressif/esp-idf!16203
2021-12-01 15:41:06 +00:00
Jiang Jiang Jian
2c7b20ff13 Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix proxy client may fail to resend msg (v3.3)

See merge request espressif/esp-idf!16215
2021-12-01 14:21:25 +00:00
Jiang Jiang Jian
3078e504e3 Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix heartbeat filter with accept list (v3.3)

See merge request espressif/esp-idf!15687
2021-12-01 14:20:59 +00:00
Jiang Jiang Jian
ab6c21dd1f Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v3.3' into 'release/v3.3'
ble_mesh: stack: Remove node set device name return status check (v3.3)

See merge request espressif/esp-idf!16214
2021-12-01 12:08:33 +00:00
liulinyan
2d572e2c15 Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v3.3' into 'release/v3.3'
ble_mesh: stack: Use different random for each provisioning (v3.3)

See merge request espressif/esp-idf!16216
2021-12-01 11:55:53 +00:00
Yang Zhao
ccc2ce93d6 Update esp32-bt-lib
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if needed.
2021-12-01 17:45:18 +08:00
lly
24a79107d7 ble_mesh: stack: Use different random for each provisioning 2021-12-01 16:24:36 +08:00
lly
2840a77b0e ble_mesh: stack: Fix proxy client may fail to resend msg 2021-12-01 16:23:48 +08:00
lly
720be0f23f ble_mesh: stack: Remove node set device name return status check 2021-12-01 16:14:45 +08:00
lly
cdf0e89a09 ble_mesh: stack: Enable updating lighting hsl state 2021-12-01 16:13:39 +08:00
lly
bd5552faec ble_mesh: stack: Fix using wrong | for OR between macros 2021-12-01 16:11:20 +08:00
wangjialiang
e85fc1f9c5 ble_mesh: stack: Fix heartbeat filter with accept list 2021-12-01 15:13:53 +08:00
Jiang Jiang Jian
46c4842c0e Merge branch 'bugfix/enable_gpio_20_v3.3' into 'release/v3.3'
gpio: Enable IO20 on ESP32 (backport v3.3)

See merge request espressif/esp-idf!15029
2021-12-01 05:59:34 +00:00
Jiang Jiang Jian
4baf48074c Merge branch 'feat/ble_mesh_support_ble_scan_v3.3' into 'release/v3.3'
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v3.3)

See merge request espressif/esp-idf!13941
2021-12-01 05:56:29 +00:00
Wang Meng Yang
e774f217b6 Merge branch 'bugfix/fix_static_check_error_mr_3.3' into 'release/v3.3'
Fix the high-impact issues from the code analysis report from customer

See merge request espressif/esp-idf!16155
2021-12-01 03:49:46 +00:00
xiongweichao
e21bfde305 Missing break in switch 2021-11-30 15:53:24 +08:00
xiongweichao
745e7e25c8 already defined in bt_target.h 2021-11-30 15:53:24 +08:00
xiongweichao
b6f9c4b62a Dereference after null check 2021-11-30 15:53:24 +08:00
xiongweichao
d0dd9d446c Dereference before null check 2021-11-30 15:53:24 +08:00
xiongweichao
0755078ee6 Logically dead code 2021-11-30 15:53:24 +08:00
Yang Zhao
63bd02b1d8 Fix the high-impact issues from the code analysis report from customer 2021-11-26 17:44:40 +08:00
Jiang Jiang Jian
bdcc2cb638 Merge branch 'mesh/esp_mesh_send_block_time_v3.3' into 'release/v3.3'
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v3.3)

See merge request espressif/esp-idf!13412
2021-11-24 08:37:20 +00:00
Sudeep Mohanty
6a18dba4cd Merge branch 'bugfix/ringbuf_read_pointer_wrap_v3.3' into 'release/v3.3'
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v3.3)

See merge request espressif/esp-idf!15893
2021-11-24 06:55:52 +00:00
Sudeep Mohanty
6e0fae9878 ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.

Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.

Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-11-18 15:31:57 +05:30
Wang Meng Yang
4cc7a85701 Merge branch 'bugfix/remove_assert_when_inq_done_3.3' into 'release/v3.3'
component_bt: fix crash after inquiry has finished (v3.3)

See merge request espressif/esp-idf!15683
2021-11-16 04:55:50 +00:00
Michael (XIAO Xufeng)
7a49a131d3 Merge branch 'feature/support_for_esp32_pico_v3_02_v3.3' into 'release/v3.3'
psram: support for esp32-pico-v3-02 (backport v3.3)

See merge request espressif/esp-idf!14156
2021-11-15 06:14:37 +00:00
xiongweichao
7b5456dd27 1. Fix the scan failed issue.
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-11-11 11:54:00 +08:00
Chinmay Chhajed
20aec9c113 Merge branch 'bugfix/ble_conn_latency_max_value_v3.3' into 'release/v3.3'
BLE: Set connection max latency value to 499.

See merge request espressif/esp-idf!15760
2021-11-05 08:06:45 +00:00
Island
77619bafca Merge branch 'bugfix/ble_mesh_host_init_v3.3' into 'release/v3.3'
ble_mesh: nimble: return error if init host twice (v3.3)

See merge request espressif/esp-idf!15791
2021-11-05 03:13:49 +00:00
lly
db313f2c00 ble_mesh: nimble: return error if init host twice 2021-11-03 19:21:27 +08:00
lly
95e27869f8 ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG 2021-11-03 19:17:09 +08:00
Chinmay Chhajed
ebc93210a1 BLE: Set connection max latency value to 499. 2021-11-01 17:25:40 +05:30
shenjun
37e2e7599a esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send
1. fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2. add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-11-01 15:20:54 +08:00
Chinmay Chhajed
6b64edca6d BT: Check only for same X component of public key in BR/EDR. 2021-10-21 13:38:16 +05:30
Mahavir Jain
c6106b5ac0 nghttp2: upgrade to v1.41.0 release
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0

Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-09-24 17:48:25 +05:30
lly
53d1eda84c ble_mesh: stack: Support reporting normal ble adv packets 2021-09-10 11:27:13 +08:00
lly
e742889689 ble_mesh: stack: Add a btc file for ble coex functions
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().

With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-09-10 11:27:13 +08:00
lly
437b215e62 ble_mesh: stack: Move ble scan funcitons to a single file 2021-09-10 11:27:13 +08:00
lly
033a596810 ble_mesh: stack: Optimize handling received mesh adv packets 2021-09-10 11:27:13 +08:00
Wang Meng Yang
2a4b854a6d Merge branch 'bugfix/hf_disc_acl_no_disc_v3.3' into 'release/v3.3'
bugfix/acl can't disconnect when hfp_client disconnect [release/v3.3]

See merge request espressif/esp-idf!15060
2021-09-07 10:13:22 +00:00
Wang Meng Yang
3b30f7044c Merge branch 'bugfix/bt_spp_timer_collision_v3.3' into 'release/v3.3'
Fix timer collision in role switch(v3.3)

See merge request espressif/esp-idf!14822
2021-09-06 10:06:03 +00:00