Commit Graph

11397 Commits

Author SHA1 Message Date
Sachin Parekh
e78721db05 i2c: Acquire PM lock after acquiring mutex 2020-12-30 13:25:21 +05:30
Jiang Jiang Jian
37317d1f2f Merge branch 'bugfix/bt_bluedroid_same_public_key_attack_v4.0' into 'release/v4.0'
Bluedroid: Fixes for some Bluetooth vulnerabilities. (v4.0)

See merge request espressif/esp-idf!11765
2020-12-28 11:41:14 +08:00
Chinmay Chhajed
b3d5ed3a03 Bluedroid: Fixes for some vulnerabilities.
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'

CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.

This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:01:47 +05:30
Jiang Jiang Jian
5a069ea324 Merge branch 'bugfix/fix_wps_examples_issue_v4.0' into 'release/v4.0'
esp_wifi: Fix WPS examples issue (v4.0)

See merge request espressif/esp-idf!11730
2020-12-24 12:34:39 +08:00
zhangyanjiao
e4bd2bebb5 esp_wifi: Add WPS Reason code in all failures 2020-12-23 17:35:06 +08:00
xiehang
41a4da16d3 esp_wifi: Fix WPS examples issue 2020-12-23 15:43:19 +08:00
Jiang Jiang Jian
64dfa78eed Merge branch 'bugfix/collection_bugfix_backport_for_4_0' into 'release/v4.0'
Bugfix/collection bugfix backport for 4 0

See merge request espressif/esp-idf!11710
2020-12-23 13:55:01 +08:00
baohongde
711184762b components/bt: Fix waking up fail while sleeping 2020-12-22 21:28:44 +08:00
baohongde
998a1f9ebb components/bt: Make sleep avaliable in hli(for future use) 2020-12-22 21:23:09 +08:00
wangcheng
b9f79249b8 components/bt: backport need commit to release/v4.0 2020-12-22 19:54:53 +08:00
wangcheng
0f4592eea0 components/bt: fixed memory damage caused by bluetooth memory release 2020-12-22 19:54:53 +08:00
gengyuchao
16ff064f68 btdm: Add comments to clarify the two different device names of GAP and ADV in the ble_spp_server_demo example, as the old example might confuse users. 2020-12-22 19:54:53 +08:00
weitianhua
ca66b50481 collection of bugfix backport for release/v4.0 2020-12-22 19:54:53 +08:00
wangcheng
e11820cd5b components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion 2020-12-22 19:54:53 +08:00
Jiang Jiang Jian
5a1a21ed2f Merge branch 'bugfix/revert_wifi_iram_optimization_v4.0' into 'release/v4.0'
esp_wifi: revert wifi iram optimization(v4.0)

See merge request espressif/esp-idf!11514
2020-12-22 19:03:01 +08:00
Jiang Jiang Jian
90e4363f7a Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.0' into 'release/v4.0'
lw-ip:fix bug for tcp recv assert(backport 4.0)

See merge request espressif/esp-idf!11603
2020-12-22 16:19:05 +08:00
Jiang Jiang Jian
ef7aca1a66 Merge branch 'nimble/fix_misc_coverity_issue_v4.0' into 'release/v4.0'
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and  L2CAP CoC (v4.0)

See merge request espressif/esp-idf!11392
2020-12-22 15:01:25 +08:00
xueyunfei
0859b2a63e fix bug for tcp recv assert 2020-12-22 06:37:02 +00:00
Anton Maklakov
0b540809bc Merge branch 'ci/disable_dev_push_pipelines_v4.0' into 'release/v4.0'
CI: Disable pipelines generated by push on dev branches (v4.0)

See merge request espressif/esp-idf!11594
2020-12-22 13:11:55 +08:00
Jiang Jiang Jian
e2cd3495a1 Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.0' into 'release/v4.0'
Fix BT controller dead issue caused by clk overflow [backport v4.0]

See merge request espressif/esp-idf!10546
2020-12-22 12:47:44 +08:00
Jiang Jiang Jian
f030faa34c Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_0' into 'release/v4.0'
Fix crash cause by calling a2dp deinit when connected [backport v4.0]

See merge request espressif/esp-idf!11691
2020-12-21 11:49:00 +08:00
weitianhua
66be657233 Fix crash cause by calling a2dp deinit when connected 2020-12-21 10:27:04 +08:00
weitianhua
cd46129b49 Free ACL RX Buffer in EM when disconnecting 2020-12-17 20:35:57 +08:00
weitianhua
911b90eb21 Confirmed bugfix from Baidu Project 2020-12-17 20:35:57 +08:00
weitianhua
62f781553b Enable PCM config in Host 2020-12-17 20:35:57 +08:00
Artem Godlevskyi
ce999fe02e Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/5825
2020-12-17 07:19:59 +00:00
Prasad Alatkar
80ad3c1337 NimBLE: Fix misc coverity issues in NimBLE host
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-12-17 07:19:59 +00:00
Fu Hanxi
518c4372fa CI: Disable pipelines generated by push on dev branches 2020-12-17 04:59:15 +00:00
Island
4891353122 Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v4.0' into 'release/v4.0'
ble_mesh: stack: Need uuid when adding device for provisioning (v4.0)

See merge request espressif/esp-idf!11579
2020-12-16 19:25:09 +08:00
Anton Maklakov
3259f7a964 Merge branch 'bugfix/cxx_exception_workarounds_4.0' into 'release/v4.0'
toolchain: C++ exception workarounds (backport 4.0)

See merge request espressif/esp-idf!10289
2020-12-16 16:14:58 +08:00
Jakob Hasse
8329d51fd0 toolchain: C++ exception workaround
* disable C++ exception FDE sorting (saves RAM)

Closes IDF-1128
2020-12-16 09:25:36 +07:00
Anton Maklakov
1797fa7716 Merge branch 'bugfix/docker_gdb_python_v4.0' into 'release/v4.0'
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v4.0)

See merge request espressif/esp-idf!10309
2020-12-16 10:02:16 +08:00
Ivan Grokhotkov
f7dfee7dcd Merge branch 'test/disable_twai_example_ci_v4.0' into 'release/v4.0'
Temporarily disable TWAI network example test (backport v4.0)

See merge request espressif/esp-idf!11563
2020-12-16 04:22:02 +08:00
Martin Stejskal
c9427ea613 tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.

Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-12-15 20:09:08 +00:00
Michael (XIAO Xufeng)
65517844f7 Merge branch 'bugfix/phy_xpd_v4.0' into 'release/v4.0'
wifi: add set_xpd_sar override(backport v4.0)

See merge request espressif/esp-idf!11544
2020-12-16 01:04:53 +08:00
lly
b8827d45c6 ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files 2020-12-15 11:59:11 +00:00
lly
85e3b86fd7 ble_mesh: stack: Need uuid when adding device for provisioning 2020-12-15 11:59:11 +00:00
Anton Maklakov
a987a8ade6 Merge branch 'bugfix/ci_py2_warnings_fix_v4.0' into 'release/v4.0'
ci: Python 2 warnings fix (v4.0)

See merge request espressif/esp-idf!11619
2020-12-15 19:06:33 +08:00
Anton Maklakov
9e780a5be9 Merge branch 'feature/ci_fix_docker_build_v4.0' into 'release/v4.0'
ci: Use git mirror for docker image (v4.0)

See merge request espressif/esp-idf!10447
2020-12-15 15:42:39 +08:00
Anton Maklakov
3fc9ab4eb3 tools: Redirect some warnings to stderr 2020-12-15 13:32:49 +07:00
Anton Maklakov
a10d115e84 ci: Ignore Python 2 deprecation warning 2020-12-15 13:32:30 +07:00
Mahavir Jain
db603854a9 Merge branch 'bugfix/redirection_v4.0' into 'release/v4.0'
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string. (v4.0)

See merge request espressif/esp-idf!11599
2020-12-14 20:20:40 +08:00
Scott Shell
52b069bd03 Make the UserAgent string in esp-http-client configurable
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6044
2020-12-14 14:42:17 +05:30
Shubham Kulkarni
670144ed7c http_auth.c: Fix crash when opaque field is not present in challenge string
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-12-14 14:42:08 +05:30
Shubham Kulkarni
3194bba14d esp_http_client: Skip check for redirection counter if status code is success.
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-12-14 14:41:54 +05:30
Angus Gratton
7ae3bb3298 Merge branch 'feature/switch_from_external_to_interanl_ram_v4.0' into 'release/v4.0'
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.0)

See merge request espressif/esp-idf!9969
2020-12-14 15:24:40 +08:00
Angus Gratton
4f7eacee75 Merge branch 'bugfix/esptool_version_v4.0' into 'release/v4.0'
esptool: Update esptool to latest v2.x version (backport v4.0)

See merge request espressif/esp-idf!11584
2020-12-14 15:14:32 +08:00
radim.karnis
1592e29a71 Changed esptool version to latest v2.x 2020-12-11 13:08:47 +01:00
Krzysztof Budzynski
8822c94ef1 Merge branch 'feature/python2-deprecation-warn_v4.0' into 'release/v4.0'
Tools: Add Python 2 deprecation warning (v4.0)

See merge request espressif/esp-idf!11528
2020-12-11 11:37:47 +08:00
Darian Leung
51103377c6 twai: Temporarily disable network example test
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:34:05 +08:00