Commit Graph

7023 Commits

Author SHA1 Message Date
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
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
Jiang Jiang Jian
ebf9bc3051 Merge branch 'bugfix/fix_airkiss_bug_v3.1' into 'release/v3.1'
fix the bug for Airkiss (backport v3.1)

See merge request espressif/esp-idf!7668
2020-02-19 16:39:44 +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
Angus Gratton
79b7ed2d7d partition table: Update documentation about "test" partition type
Reported from forum: https://esp32.com/viewtopic.php?f=13&t=10777&p=44164#p44164
2020-02-18 11:05:35 +11:00
Angus Gratton
9f72091043 Merge branch 'bugfix/doc_sphinxcontrib_dep_v3.1' into 'release/v3.1'
Docs: Fix sphinxcontrib dependencies (v3.1)

See merge request espressif/esp-idf!7613
2020-02-17 15:08:01 +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
Roland Dobai
8cd13848bd Docs: Fix sphinxcontrib dependencies 2020-02-14 10:40:51 +01: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
Jiang Jiang Jian
85b2cb15b5 Merge branch 'bugfix/fix_wifi_buffer_reload_issue_v3.1' into 'release/v3.1'
esp32: fix WiFi buffer reload issue (backport v3.1)

See merge request espressif/esp-idf!7586
2020-02-14 11:33:55 +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
Jiang Jiang Jian
e93fe8d03e Merge branch 'bugfix/fix_double_recycle_bar_crash_issue_v3.1' into 'release/v3.1'
esp32: fix the crash caused by double free BAR buffer (backport v3.1)

See merge request espressif/esp-idf!7570
2020-02-13 12:03:13 +08:00
liu zhifu
f643978a5e esp32: fix the crash caused by double free BAR buffer 2020-02-12 16:52:14 +08:00