Commit graph

6941 commits

Author SHA1 Message Date
zwj
9bdf545599 component/bt: Fix adv/scan not support RPA_public and RPA_random 2020-05-15 18:32:46 +08:00
Jiang Jiang Jian
b30e8d1019 Merge branch 'bugfix/fix_psram_size_get_error_v3.1' into 'release/v3.1'
psram: fix psram size get error (backport v3.1)

See merge request espressif/esp-idf!8572
2020-05-06 16:55:15 +08:00
chenjianqiang
447032c8ff psram: fix psram size get error 2020-04-30 15:50:12 +08:00
Jiang Jiang Jian
8f958c8013 Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.1' into 'release/v3.1'
esp32: backport some WiFi fixes to v3.1

See merge request espressif/esp-idf!8296
2020-04-09 21:35:55 +08:00
liu zhifu
853bffe1e6 esp32: backport some WiFi fixes to v3.1
Backport following Wifi fixes:

1. Fix esp_wifi_stop() crash
       esp_wifi_stop() crashes if it's called when WiFi is not initialized.

2. Fix WiFi log print level

3. Return fails if AP's configuring AP channel is out of range

4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-08 19:35:58 +08:00
Jiang Jiang Jian
346ec3938d Merge branch 'bugfix/btdm_backports_v3.1_0328' into 'release/v3.1'
Bugfix/btdm backports v3.1 0328

See merge request espressif/esp-idf!8155
2020-04-08 18:44:13 +08:00
Jiang Jiang Jian
6802f9eec1 Merge branch 'Bugfix/IPV6_multicast_adress_error_for_v3.1' into 'release/v3.1'
lw-ip:fix ipv6 bug that input the wrong broadcast address to return OK for v3.1

See merge request espressif/esp-idf!8190
2020-04-08 17:58:57 +08:00
Jiang Jiang Jian
fd555836b3 Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.1' into 'release/v3.1'
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.1)

See merge request espressif/esp-idf!8247
2020-04-07 13:58:28 +08:00
xiewenxiang
b66cd055bc component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.1) 2020-04-07 11:04:13 +08:00
Angus Gratton
96f16cef80 Merge branch 'backport/malloc_zero_return_null_v3.1' into 'release/v3.1'
backport/malloc_zero_return_null_v3.1

See merge request espressif/esp-idf!8142
2020-04-01 14:43:26 +08:00
xueyunfei
61dac00099 fix ipv6 bug that input the wrong broadcast address to return OK 2020-03-31 19:27:52 +08:00
baohongde
549269970b components/bt: Fix assert when create conntion cancel 2020-03-28 22:05:55 +08:00
baohongde
bd21cd02b6 Fix bugs about role switch
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:59:22 +08:00
Felipe Neves
8e55efaa2f multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration 2020-03-27 14:50:42 -03:00
Angus Gratton
94e2981d17 Merge branch 'bugfix/cmake_bugfixes_v3.1' into 'release/v3.1'
CMake-related bugfixes (v3.1)

See merge request espressif/esp-idf!8071
2020-03-26 16:27:34 +08:00
Jiang Jiang Jian
808bd4faee Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.1' into 'release/v3.1'
Bugfix/host and example bugfix backport to v3.1

See merge request espressif/esp-idf!8064
2020-03-26 13:32:52 +08:00
Jiang Jiang Jian
6b230cdbb2 Merge branch 'bugfix/backport_some_wifi_bugs_0323_v3.1' into 'release/v3.1'
esp_wifi: Backport some wifi bugs 0323 (backport v3.1)

See merge request espressif/esp-idf!8092
2020-03-25 15:11:53 +08:00
Angus Gratton
80180f4709 Merge branch 'bugfix/hide_unsupported_cmake_features_v3.1' into 'release/v3.1'
security: Hide Secure Boot & Flash Encryption config items when using CMake (v3.1)

See merge request espressif/esp-idf!7909
2020-03-24 18:07:07 +08:00
xiehang
c5751f7fd7 esp_wifi: Update WiFi lib
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,Return fail when setting AP's channel is out of range
6,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:16:33 +08:00
Renz Christian Bagaporo
9bae06ef10 cmake: fix build failure when git repo is initialized but no first commit
Closes https://github.com/espressif/esp-idf/issues/3920
2020-03-22 22:46:06 +08:00
Renz Bagaporo
797eff6534 ci: add test for partition_table target 2020-03-22 22:45:56 +08:00
Renz Christian Bagaporo
7db5c3ffd1 partition_table: output partition table info for partition_table target 2020-03-22 22:45:48 +08:00
gengyuchao
be5e315282 Component/bt :
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-03-21 13:55:54 +08:00
gengyuchao
f1ac73f496 example/ble_hid_device_demo fix the wrong mask value according to HID protocol 2020-03-21 13:55:43 +08:00
gengyuchao
295f0cc546 component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t. 2020-03-21 13:55:26 +08:00
gengyuchao
1aee0a0357 Bulfi: Check if ble is connected before sending a message via ble. Fix the wrong wifi storage mode from WIFI_STORAGE_RAM to default WIFI_STORAGE_FLASH. 2020-03-21 13:55:17 +08:00
gengyuchao
ca1685f7a2 example/ble_throughput:
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-03-21 13:55:05 +08:00
gengyuchao
75a205e381 bugfix: ble add missing gatt descriptors 2020-03-21 13:54:33 +08:00
Mahavir Jain
28f3619a90 Merge branch 'bugfix/newlib_putchar_locking_v3.1' into 'release/v3.1'
newlib: don't define non-thread-safe versions of getc, putc (backport v3.1)

See merge request espressif/esp-idf!8031
2020-03-20 16:58:17 +08:00
Ivan Grokhotkov
3ab91d4395 newlib: don't define non-thread-safe versions of getc, putc
getc, getchar, putc, putchar were defined both as functions and as
macros. The macro versions are not thread safe, and should not be used
in multithreaded applications.

Upstream fix: b0f271d1db
2020-03-19 13:01:16 +01:00
Jiang Jiang Jian
8782bd076e Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.1' into 'release/v3.1'
Bugfix/compiler err when performance optimization enabled v3.1

See merge request espressif/esp-idf!7981
2020-03-17 13:53:13 +08:00
Jiang Jiang Jian
c5ff0aff02 Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v3.1' into 'release/v3.1'
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v3.1)

See merge request espressif/esp-idf!7780
2020-03-17 13:44:45 +08:00
weitianhua
737dd8b2f1 Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S 2020-03-14 15:09:44 +08:00
weitianhua
02789d3114 Initialize mem_start and mem_end 2020-03-14 15:07:35 +08:00
Angus Gratton
dac77846e5 security: Hide Secure Boot & Flash Encryption config items when using CMake
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.

Related to https://github.com/espressif/esp-idf/issues/4419
2020-03-09 11:18:07 +11:00
ronghulin
2ba75c5b07 bugfix: Place the Vendor Specific element at the end according to the protocol 2020-03-02 14:29:44 +08:00
Jiang Jiang Jian
ea6c4cb5d0 Merge branch 'feature/esp32_5p0_backport_v3p1' into 'release/v3.1'
backport esp32 5p0 new features to release/v3.1(backport v3.1)

See merge request espressif/esp-idf!7658
2020-03-02 11:43:15 +08:00
June
5d5bccf948 backport esp32 5p0 features to release/v3.1 2020-02-28 19:44:49 +08:00
Jiang Jiang Jian
0fc01c2b28 Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch_v3.1' into 'release/v3.1'
Fix sniffer bug caused by mode switch (backport v3.1)

See merge request espressif/esp-idf!7693
2020-02-27 14:33:23 +08:00
Angus Gratton
4cfa562b9d Merge branch 'doc/partition_table_app_test_v3.1' into 'release/v3.1'
partition table: Update documentation about "test" partition type (v3.1)

See merge request espressif/esp-idf!7633
2020-02-27 09:13:30 +08:00
Jiang Jiang Jian
006be5d599 Merge branch 'feature/wifi_redo_scan_example_v3.1' into 'release/v3.1'
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.1)

See merge request espressif/esp-idf!7704
2020-02-25 14:22:09 +08:00
Hrudaynath Dhabe
eb6177d7f3 esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.1) 2020-02-25 14:22:08 +08:00
Jiang Jiang Jian
32386575c9 Merge branch 'bugfix/btdm_allow_start_adv_again_v3.1' into 'release/v3.1'
component/bt: allow to send stop adv again and fix tx prog crash(backport v3.1)

See merge request espressif/esp-idf!6914
2020-02-24 20:18:09 +08:00
Jiang Jiang Jian
518ae6733a Merge branch 'feature/dev_security_restore_backport_v3p1' into 'release/v3.1'
feature/dev_security_restore_backport_v3p1(backport release/v3.1)

See merge request espressif/esp-idf!7740
2020-02-24 11:47:47 +08:00
Jiang Jiang Jian
a08f588d43 Merge branch 'bugfix/mbedtls_esp_bignum_v3.1' into 'release/v3.1'
mbedtls: esp bignum fix for 4096 keys (v3.1)

See merge request espressif/esp-idf!7708
2020-02-24 11:43:47 +08:00
June
91c09d638f backport mr !6031 - fix security info restore bug 2020-02-21 20:27:06 +08:00
Jiang Jiang Jian
61a66bf489 Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.1' into 'release/v3.1'
lw-ip: Add option to ipv6 stateless address configuration (backport v3.1)

See merge request espressif/esp-idf!7698
2020-02-21 14:54:23 +08:00
Michael (XIAO Xufeng)
a12417d9cc Merge branch 'bugfix/i2s_timergroup_some_issues_v3.1' into 'release/v3.1'
bugfix(driver): fix i2s and timergroup some issues(backport v3.1)

See merge request espressif/esp-idf!7175
2020-02-20 19:12:02 +08:00
David Cermak
fe94d07dfe mbedtls: fix hw accelerated big-num mul if operand and result overlap
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 11:50:46 +01:00
David Cermak
cf68e23974 mbedtls: added mpi multiplication test for large numbers 2020-02-20 10:06:58 +01:00