Commit graph

5145 commits

Author SHA1 Message Date
zwj b08aee46de :add congest direct callback and modify congest evt triger threshold 2020-05-15 17:57:47 +08:00
wangcheng 1ef2b2d32a fix bta_dm_deinit_cb 2020-05-15 17:57:47 +08:00
wangcheng 1e72a8c850 master missing BLE_AUTH_CMPL_EVT after restart 2020-05-15 17:57:46 +08:00
chenjianqiang 447032c8ff psram: fix psram size get error 2020-04-30 15:50:12 +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
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
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 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 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 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
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
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
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
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
xiehang d42e2ac3a5 lw-ip: Add option to ipv6 stateless address configuration 2020-02-20 14:38:14 +08:00
zhiweijian f0afa64416 component/bt: allow to send stop adv again and fix tx prog crash 2020-02-20 14:18:33 +08:00
xiehang df54f783f7 esp_wifi: Small refactor for ic_set_vif 2020-02-20 12:48:31 +08:00
Jiang Jiang Jian fe9ffbf0ac Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.1' into 'release/v3.1'
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.1)

See merge request espressif/esp-idf!7661
2020-02-20 11:45:40 +08:00
zhangyanjiao 3f42d7a61d fix the bug for Airkiss can't get the ip of the cellphone 2020-02-19 10:47:55 +08:00
xiehang 1a97251e27 lw-ip: Enable IPv6 stateless address autoconfiguration 2020-02-18 19:40:02 +08:00
Jiang Jiang Jian 33f3a347cc Merge branch 'hfp_a2dp_iphone_3.1' into 'release/v3.1'
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.1]

See merge request espressif/esp-idf!7252
2020-02-15 13:32:51 +08:00
Jiang Jiang Jian be2a7a9f15 Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.1' into 'release/v3.1'
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.1)

See merge request espressif/esp-idf!7444
2020-02-14 17:54:30 +08:00
Jiang Jiang Jian cfacb41674 Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v3.1' into 'release/v3.1'
soc: clear PHY status when cpu start (backport v3.1)

See merge request espressif/esp-idf!7592
2020-02-14 11:35:29 +08:00
Xia Xiaotian f1daea79f7 soc: clear PHY status when cpu start 2020-02-13 14:30:10 +08:00
liu zhifu 63825ee9ee esp32: fix WiFi buffer reload issue 2020-02-13 12:43:02 +08:00
liu zhifu f643978a5e esp32: fix the crash caused by double free BAR buffer 2020-02-12 16:52:14 +08:00