zhangyanjiao
36ad37a1a4
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 16:19:39 +08:00
Jiang Jiang Jian
d8e057b02c
Merge branch 'bugfix/btdm_fix_RPA_Public_RPA_random_err' into 'release/v3.1'
...
component/bt: Fix adv/scan not support RPA_public and RPA_random (backport v3.1)
See merge request espressif/esp-idf!8776
2020-05-18 15:04:36 +08:00
xiehang
18f2a0d3bc
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-17 17:15:54 +08:00
Jiang Jiang Jian
0e043ae99f
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.1' into 'release/v3.1'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.1)
See merge request espressif/esp-idf!8410
2020-05-17 17:09:03 +08:00
zwj
9bdf545599
component/bt: Fix adv/scan not support RPA_public and RPA_random
2020-05-15 18:32:46 +08:00
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
zwj
d337fb64bb
fix read multi-char failed when char set auto_rsp_by_app and rsp_by_stack
2020-05-14 19:36:45 +08:00
chenjianqiang
447032c8ff
psram: fix psram size get error
2020-04-30 15:50:12 +08:00
espressif
817fd7916f
mcpwm: fix the issue of wrong period (backport v3.1)
2020-04-28 21:37:29 +08:00
morris
af42ec93e8
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-28 12:45:24 +08:00
dowster
f7aa0a32b2
Fix typo with sigmadelta.h #ifdef
2020-04-28 12:45:15 +08:00
chenjianqiang
379c2482da
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:48:38 +08:00
zhangyanjiao
c78fa51d1f
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 20:19:21 +08:00
chenjianqiang
5df3dd147b
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 16:39:27 +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
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
xiongyu
4a9fc1026a
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 15:01:30 +08:00
baohongde
1c8a5db010
components/bt: Revert changes of security mask
2019-12-25 20:18:45 +08:00
Nachiket Kukade
6beea28f56
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.1)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-12-22 09:08:02 +00:00
xiehang
0169728ddd
esp_wifi: Put some rx code to iram
2019-12-17 20:51:26 +08:00
Jiang Jiang Jian
8de1c4b21b
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.1' into 'release/v3.1'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6886
2019-12-12 15:54:02 +08:00
Jiang Jiang Jian
f5b7501417
Merge branch 'bugfix/hfp_client_indication_v3.1' into 'release/v3.1'
...
component/bt: Fix bugs in HFP feature v3.1
See merge request espressif/esp-idf!6854
2019-12-12 12:16:27 +08:00
Jiang Jiang Jian
02ba857c69
Merge branch 'bugfix/phy_critical_v3.1' into 'release/v3.1'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6943
2019-12-12 12:16:21 +08:00
Jiang Jiang Jian
612a25f50c
Merge branch 'component_bt/osi_fixed_queue_v3.1' into 'release/v3.1'
...
component_bt/: Fix pointer type in fixed_queue v3.1
See merge request espressif/esp-idf!6849
2019-12-12 12:15:44 +08:00
Jiang Jiang Jian
a340a4e46e
Merge branch 'bugfix/btdm_backports_v3.1_1028' into 'release/v3.1'
...
bt: backport btdm controller fixes to v3.1
See merge request espressif/esp-idf!6526
2019-12-09 16:26:49 +08:00
Jiang Jiang Jian
0c4ca580d2
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.1' into 'release/v3.1'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6728
2019-12-09 14:06:47 +08:00
Tian Hao
84fccb592d
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-12-09 12:55:05 +08:00
weitianhua
a760a14e2a
adaptation for nano-format
2019-11-29 18:00:36 +08:00
baohongde
10fd8a09c7
components/bt: Fix AVRC metadata length error
2019-11-29 16:04:20 +08:00
weitianhua
d8339602d9
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-27 17:09:36 +08:00
weitianhua
6cb0dbe54a
component_bt/: Fix pointer type in fixed_queue 3.1
2019-11-27 16:22:47 +08:00
Jiang Jiang Jian
efa1d4d133
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.1' into 'release/v3.1'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.1)
See merge request espressif/esp-idf!6766
2019-11-25 10:47:59 +08:00
Angus Gratton
07fa97b94c
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.1' into 'release/v3.1'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.1)
See merge request espressif/esp-idf!6606
2019-11-21 11:58:57 +08:00
KonstantinKondrashov
cffeb16104
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 16:19:57 +08:00
Jack
4de860ec89
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-19 23:00:15 +08:00