Commit Graph

5126 Commits

Author SHA1 Message Date
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
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
KonstantinKondrashov
486ed20d32 esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set (fast forward) 2020-02-06 22:23:19 +00:00
Hrudaynath Dhabe
ba61a56561 Fix wps config for support with gnu++11 as well as c99. 2020-01-31 05:58:35 +00:00
Angus Gratton
f18451fc4d soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:05:04 +11:00
Jiang Jiang Jian
af809ad0e8 Merge branch 'bugfix/wa_dport_and_intr_v3.1' into 'release/v3.1'
esp32: Fix for DPORT (v3.1)

See merge request espressif/esp-idf!7352
2020-01-21 10:47:53 +08:00
Jiang Jiang Jian
9ebf0bb363 Merge branch 'bugfix/fix_crash_when_send_udp_too_big_v3.1' into 'release/v3.1'
lw-ip: Drop packets larger than MTU (backport v3.1)

See merge request espressif/esp-idf!7291
2020-01-20 15:17:50 +08:00
Jiang Jiang Jian
9a680f27a4 Merge branch 'bugfix/backport_some_wifi_bugs_0107_v3.1' into 'release/v3.1'
backport some Wi-Fi bugs 0107 (backport v3.1)

See merge request espressif/esp-idf!7247
2020-01-20 15:15:21 +08:00
baohongde
331cf8816e components/bt: backport release/v3.1
Fix A2DP stuck when BLE's interval is too small
Fix assert due to no free element from
2020-01-16 17:22:00 +08:00
KonstantinKondrashov
3ffe77f006 esp32: Add UT for DPORT 2020-01-16 14:39:38 +08:00
KonstantinKondrashov
6f28e06a35 esp32: Fix esp_dport_access_reg_read 2020-01-16 14:39:38 +08:00
zhiweijian
0a84fe593d component/bt: fix blufi prepare write buf len invalid 2020-01-14 17:53:36 +08:00
zhiweijian
7143d13f7a Component/bt: Fix GATTC trigger open event multiple times 2020-01-14 17:53:27 +08:00
xiehang
20871acb55 lwip: Drop packets larger than MTU 2020-01-10 19:19:11 +08:00
Jiang Jiang Jian
30fc65fcff Merge branch 'bugfix/btdm_avrc_category_v3.1' into 'release/v3.1'
components/bt: Choose AVRC category according to A2DP role

See merge request espressif/esp-idf!7179
2020-01-09 11:34:13 +08:00
weitianhua
b76ac03598 hfp a2dp iphone 3.1 2020-01-08 19:48:19 +08:00
zhangyanjiao
66bd7a276e fix the bugs for espnow and bandwidth 2020-01-08 17:49:52 +08:00
xiehang
80e4350eb7 Update wifi lib
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,optimize softap power save
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
2020-01-08 17:44:26 +08:00
ronghulin
46c6dc3930 esp32: fix a WiFi RX bug
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-08 17:43:26 +08:00
liu zhifu
9048b59333 esp32: fix WiFi performance issue 2020-01-06 21:40:23 +08:00
baohongde
61b15d7442 components/bt: Choose AVRC category according to A2DP role 2019-12-31 15:52:42 +08:00