Tian Hao
291c4a4fd3
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 20:30:43 +08:00
Jiang Jiang Jian
9b1bd0a09f
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.0' into 'release/v3.0'
...
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.0)
See merge request idf/esp-idf!3165
2018-09-04 19:21:47 +08:00
Jiang Jiang Jian
0ba566e0c6
Merge branch 'bugfix/btdm_update_private_address_v3.0' into 'release/v3.0'
...
component/bt: Update BLE private address after it's private address interval (backport 3.0)
See merge request idf/esp-idf!3171
2018-09-04 19:21:21 +08:00
Jiang Jiang Jian
405b1986c2
Merge branch 'bugfix/btdm_controller_deinit_v3.0' into 'release/v3.0'
...
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
See merge request idf/esp-idf!3149
2018-09-04 15:07:08 +08:00
baohongde
7d2baa3c3d
component/bt: Update BLE private address after it's private address interval (backport 3.0)
...
A cherry-pick of MR !2987
2018-09-03 14:31:40 +08:00
baohongde
530dedbc2d
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.0)
...
A cherry-pick of MR !3036
2018-09-03 11:57:53 +08:00
XiaXiaotian
f4022111c8
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 11:59:31 +08:00
Jiang Jiang Jian
53dcd1202d
Merge branch 'bugfix/fix_probable_mem_leak_v3.0' into 'release/v3.0'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.0)
See merge request idf/esp-idf!3105
2018-08-29 23:09:54 +08:00
Jiang Jiang Jian
ef2c0e8b3e
Merge branch 'bugfix/autoip_compilation_backportv3.0' into 'release/v3.0'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL() (backport v3.0)
See merge request idf/esp-idf!3122
2018-08-29 22:54:42 +08:00
Jiang Jiang Jian
7515dc97b6
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.0' into 'release/v3.0'
...
bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.0(backport v3.0)
See merge request idf/esp-idf!3118
2018-08-29 10:19:48 +08:00
Tian Hao
a9c1820385
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
...
1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.
2018-08-28 21:10:17 +08:00
Jiang Jiang Jian
8fdf200932
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.0' into 'release/v3.0'
...
Component/bt: fix get error adv packet sometimes (backport v3.0)
See merge request idf/esp-idf!3084
2018-08-28 20:04:30 +08:00
Piyush Shah
4cde212817
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-08-28 15:23:21 +05:30
zhiweijian
6751373411
Component/bt: fix get error adv packet sometimes
2018-08-28 14:05:44 +08:00
wangmengyang
27fd353752
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 11:16:33 +08:00
Jiang Jiang Jian
97603b1d59
Merge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.0' into 'release/v3.0'
...
bugfix/btdm_check_slave_feature_before_set_afh_for_v3.0(backport v3.0)
See merge request idf/esp-idf!3104
2018-08-28 10:42:17 +08:00
Hrishikesh Dhayagude
32fd3a3215
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.0)
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-27 11:57:14 +05:30
Jiang Jiang Jian
d1c6eb9574
Merge branch 'bugfix/fix_several_wifi_bugs_v3.0' into 'release/v3.0'
...
esp32: update wifi lib to fix several WiFi bugs (backport v3.0)
See merge request idf/esp-idf!3097
2018-08-27 14:24:11 +08:00
wangmengyang
5ee2d3b90d
component/bt: check support of AFH in remote slave device's LM feature when determine whether to send LMP_set_AFH
2018-08-27 11:39:43 +08:00
Jiang Jiang Jian
8618b452f7
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.0' into 'release/v3.0'
...
component/bt: fix memory leak in security server (backport v3.0)
See merge request idf/esp-idf!3016
2018-08-27 10:20:13 +08:00
Angus Gratton
39fb5d7150
Merge branch 'fix/spi_dma_config_in_iram_v3.0' into 'release/v3.0'
...
spi: fix the issue that spi cannot be used when flash is disabled (backport v3.0)
See merge request idf/esp-idf!3076
2018-08-27 08:13:55 +08:00
Liu Zhi Fu
5dafcf9363
esp32: update wifi lib to fix several WiFi bugs
...
Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 13:05:59 +08:00
Jiang Jiang Jian
3f72a12d97
Merge branch 'bugfix/btdm_fix_CI_scan_case_fail' into 'release/v3.0'
...
Component/bt: fix CI scan case failed in v3.0
See merge request idf/esp-idf!3074
2018-08-25 16:54:37 +08:00
Jiang Jiang Jian
e8ad0415cc
Merge branch 'bugfix/timer_oneshot_timeout_twice_v3.0' into 'release/v3.0'
...
component/bt: Some timer oneshot will timeout twice (backport v3.0)
See merge request idf/esp-idf!3064
2018-08-24 14:01:06 +08:00
Jiang Jiang Jian
ac253274a0
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v30' into 'release/v3.0'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones (backport v3.0)
See merge request idf/esp-idf!3045
2018-08-24 11:37:00 +08:00
Jiang Jiang Jian
972107fbc9
Merge branch 'bugfix/sync_ap_loss_to_release_3_0' into 'release/v3.0'
...
wifi: bugfix of ap loss
See merge request idf/esp-idf!3072
2018-08-24 11:15:41 +08:00
Michael (XIAO Xufeng)
cfed7c84ce
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-24 11:07:18 +08:00
zhiweijian
3870836a90
Component/bt: fix CI scan case failed in v3.0
2018-08-24 10:57:16 +08:00
Deng Xin
0806617971
wifi: bugfix of ap loss
2018-08-23 21:54:15 +08:00
Jiang Jiang Jian
4f346169ff
lwip: optimize LWIP timer
...
Port LWIP timer implementation in LWIP v2.0.3 to IDF v3.0
2018-08-23 20:20:24 +08:00
baohongde
00b895680e
component/bt: Some timer oneshot will timeout twice (backport v3.0)
...
A cherry-pick of MR !2979
2018-08-23 11:02:59 +08:00
Jiang Jiang Jian
997d291d85
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond_v30' into 'release/v3.0'
...
Component/bt: fix get bond list error when connection with no bond(backport v3.0)
See merge request idf/esp-idf!3042
2018-08-23 10:38:04 +08:00
Jiang Jiang Jian
5f2660e1f5
Merge branch 'bugfix/btdm_fix_version_excahnge_issue_v30' into 'release/v3.0'
...
Component/bt: fix version exchange issue(backport v3.0)
See merge request idf/esp-idf!3046
2018-08-23 10:36:39 +08:00
Jiang Jiang Jian
451e4cf3b0
Merge branch 'bugfix/btdm_fix_no_adv_packet_v30' into 'release/v3.0'
...
component/bt: fix no adv packets(backport v3.0)
See merge request idf/esp-idf!3043
2018-08-22 18:13:28 +08:00
Angus Gratton
132b439359
Merge branch 'bugfix/ulp_fixes_v3.0' into 'release/v3.0'
...
ULP fixes (backport v3.0)
See merge request idf/esp-idf!3002
2018-08-22 13:37:16 +08:00
zhiweijian
27f8ee6b97
Component/bt: fix memory leak in security server
2018-08-21 16:09:04 +08:00
zhiweijian
1c001ecd7a
Component/bt: fix version exchange issue
...
- Android 7.0 version issue
- version exchange late in some phones
- can not get version in smp
2018-08-21 14:55:51 +08:00
zhiweijian
a961984f73
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-21 14:46:20 +08:00
zwj
2d53799372
component/bt: fix no adv packets
2018-08-21 14:10:36 +08:00
zhiweijian
7275490322
Component/bt: fix get bond list error when connection with no bond
2018-08-21 14:05:14 +08:00
Ivan Grokhotkov
72ad5a142b
ulp: add tests for jumps instruction
2018-08-13 23:34:06 +03:00
Ivan Grokhotkov
d07f9dfbb2
ulp: fix ULP binary format documentation
...
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.
Closes https://github.com/espressif/esp-idf/issues/1705 .
2018-08-13 23:34:06 +03:00
Ivan Grokhotkov
33250ea678
ulp: use += instead of := when setting component vars
...
Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.
Fixes https://github.com/espressif/esp-idf/issues/2157 .
2018-08-13 23:34:06 +03:00
Ivan Grokhotkov
300657162b
ulp: fix missing include in esp32/ulp.h header
...
ulp.h uses some register base addresses, so needs to include soc.h
2018-08-13 23:34:06 +03:00
yulong
7aa29a0dbb
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
2018-08-13 19:46:04 +08:00
Ivan Grokhotkov
f206bc51ff
spiffs: add test case for readdir_r with large number of files
...
Ref. https://esp32.com/viewtopic.php?f=13&t=6486
2018-08-12 16:53:04 +00:00
Konstantin Klitenik
ecc82a3c27
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r
2018-08-12 16:53:04 +00:00
XiaXiaotian
007d884a85
esp32: fix next beacon and dtim time update issue when beacon is not
...
received for more than one beacon interval
2018-08-10 11:36:59 +08:00
Jiang Jiang Jian
ee295c175b
Merge branch 'feature/support_for_XM25QU64A_v3.0' into 'release/v3.0'
...
feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.0)
See merge request idf/esp-idf!2813
2018-08-08 20:36:39 +08:00
Angus Gratton
25ed0aa9bb
Merge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.0' into 'release/v3.0'
...
lwip: fix nonblocking tcp close issue (backport v3.0)
See merge request idf/esp-idf!2943
2018-08-08 16:33:07 +08:00
chenjianqiang
4b4614ffb1
feature(flash): support for QIO mode of XM25QU64A
2018-08-08 03:39:19 +00:00
Jiang Jiang Jian
8ff0f4a616
Merge branch 'bugfix/update_libphy_to_improve_11n_stability' into 'release/v3.0'
...
esp32: update libphy.a to v3663 to improve 11n TX stability (backport v3.0)
See merge request idf/esp-idf!2937
2018-08-07 20:51:29 +08:00
Liu Zhi Fu
08946da2db
lwip: fix nonblocking tcp close issue
...
Fix assert issue causes by closing nonblocking tcp socket.
2018-08-07 14:31:49 +08:00
Jiang Jiang Jian
90b8a42349
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.0' into 'release/v3.0'
...
bugfix/btdm_lmp_trans_coll_state_uncleared(backport v3.0)
See merge request idf/esp-idf!2917
2018-08-06 18:39:08 +08:00
Liu Zhi Fu
3c92cd607b
esp32: update libphy.a to v3663 to improve 11n TX stability
...
Fix the bug that WiFi 11n TX may fail in some AP or CMW500 3.5 version
This fix can improve the 11n stability
2018-08-06 17:32:10 +08:00
wangmengyang
50556b8acb
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave
...
This bug will cause other following LMP transactions, such as (e)SCO link set up transaction to fail
2018-08-04 16:24:37 +00:00
zhangyanjiao
9da0541020
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-08-04 15:25:05 +00:00
wangmengyang
b5c45a4d46
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-03 15:42:55 +08:00
Jiang Jiang Jian
ce67428c56
Merge branch 'bugfix/add_compatible_of_ccmp_encryption_v_3_0' into 'release/v3.0'
...
wifi: add compatible to ccmp encryption (backport v3.0)
See merge request idf/esp-idf!2899
2018-08-02 17:47:48 +08:00
Jiang Jiang Jian
7d4a9db191
Merge branch 'bugfix/btdm_fix_slave_cant_receive_long_packets_in_smp_for_v3.0' into 'release/v3.0'
...
component/bt: fix slave cant receive long packets in smp for v3.0
See merge request idf/esp-idf!2857
2018-08-01 14:40:05 +08:00
Deng Xin
39f97bb4e8
wifi: add compatible to ccmp encryption
2018-07-31 21:07:46 +08:00
Jiang Jiang Jian
ab341359f5
Merge branch 'bugfix/ampdu_duplicate_v3.0' into 'release/v3.0'
...
Wifi: fix ampdu duplicate issue (backport v3.0)
See merge request idf/esp-idf!2804
2018-07-28 17:56:25 +08:00
zwj
d0cd624d2b
component/bt: fix slave cant receive long packets in smp
2018-07-26 11:39:47 +08:00
Ivan Grokhotkov
c8c4bd099e
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.0' into 'release/v3.0'
...
driver(uart): fix uart timeout bug when enable reftick for release v3.0
See merge request idf/esp-idf!2811
2018-07-24 13:16:54 +08:00
Angus Gratton
36c14cf214
Merge branch 'bugfix/add_queueset_critical_sections_v3.0' into 'release/v3.0'
...
freertos: Add critical sections to queue sets (backport v3.0)
See merge request idf/esp-idf!2788
2018-07-20 10:03:59 +08:00
hou wen xiang
a7c9cf3a6b
driver(uart): Fix uart time_out bug when using ref_tick for release v3.0
2018-07-18 17:35:59 +08:00
chenyudong
05eb9d155f
Wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-07-18 14:51:29 +08:00
Darian Leung
cabb97f9a9
freertos: Add critical sections to queue sets.
...
Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.
2018-07-16 19:30:46 +08:00
Liu Zhi Fu
41b1db4dc6
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-16 17:11:01 +08:00
Jiang Jiang Jian
8bc76b3684
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.0' into 'release/v3.0'
...
lwip: fix the assertion in tcp_pcb_purge() (backport v3.0)
See merge request idf/esp-idf!2723
2018-07-15 14:53:58 +08:00
Liu Zhi Fu
86a6c21e79
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-14 09:59:59 +08:00
Liu Zhi Fu
8cc0379da1
lwip: disable ETHARP_TRUST_IP_MAC by default
...
Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry
2018-07-14 09:57:47 +08:00
Jiang Jiang Jian
e56bfadc58
Merge branch 'feature/ble_mesh_idf_v3.0' into 'release/v3.0'
...
Component/bt: add scan duplicate for v3.0
See merge request idf/esp-idf!2445
2018-07-13 19:10:49 +08:00
zhiweijian
5cf4d8a1ec
Component/bt: add scan duplicate for ble mesh in idf3.0
2018-07-12 07:35:13 +00:00
Ivan Grokhotkov
ef3c6ac276
esp_timer: test for monotonic values of esp_timer_get_timer in CI
...
Reduce test time by increasing overflow rate, make test more robust.
2018-07-09 15:42:30 +08:00
Ivan Grokhotkov
4129436f7e
esp_timer: add test for esp_timer_impl_set_alarm
...
Ref https://github.com/espressif/esp-idf/issues/1891
2018-07-09 15:42:30 +08:00
Ivan Grokhotkov
0808a04ee8
esp_timer: reduce overflow value in unit tests
...
This allows testing for race conditions which occur near timer
overflow point more effectively.
2018-07-09 12:06:11 +08:00
Ivan Grokhotkov
c99977b67c
esp_timer: don’t busy loop in esp_timer_impl_set_alarm
...
Previously the loop in esp_timer_impl_set_alarm was necessary to catch
the case when timer count wraps around (goes from 2^32 - 1 to 0).
Since ALARM_OVERFLOW_VAL was reduced from 2^32 - 1 to 0xefffffff,
this is no longer necessary.
Fixes https://github.com/espressif/esp-idf/issues/1891
2018-07-09 12:06:11 +08:00
Ivan Grokhotkov
3bb43d5f03
Merge branch 'cherry-pick-17ab60d6' into 'release/v3.0'
...
nvs: don’t expect items with bad CRC to be in cache (for release/3.0)
See merge request idf/esp-idf!2572
2018-06-25 14:06:37 +08:00
Jiang Jiang Jian
209d454b5f
Merge branch 'bugfix/tw22828_fix_tcp_bug_when_ip_changed_v3.0' into 'release/v3.0'
...
fix the bug that TCP connections don't abort when IP changed
See merge request idf/esp-idf!2574
2018-06-21 14:51:58 +08:00
Liu Zhi Fu
487c4b6725
esp32: optimize WiFi memory
...
Optimize WiFi memory:
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space
2018-06-19 19:36:49 +08:00
zhangyanjiao
667846cba1
fix the bug that TCP connections don't abort when IP changed
2018-06-19 16:07:50 +08:00
Ivan Grokhotkov
ccbb261c35
Merge branch 'bugfix/nvs_failed_crc_assert' into 'master'
...
nvs: don’t expect items with bad CRC to be in cache
See merge request idf/esp-idf!2239
(cherry picked from commit 17ab60d642
)
2c3644a0
nvs: don’t expect items with bad CRC to be in cache
2018-06-19 11:20:09 +08:00
Jiang Jiang Jian
5682a5ef36
Merge branch 'bugfix/crosscore_handle_yield_iram' into 'master'
...
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
See merge request idf/esp-idf!2544
(cherry picked from commit 8e7dfb230f
)
f6442abd
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
2018-06-13 11:54:25 +08:00
Jiang Jiang Jian
b66af09b75
Merge branch 'bugfix/tw19454_tcp_cause_int_watchdog_v3.0' into 'release/v3.0'
...
esp32: optimize wifi lock
See merge request idf/esp-idf!2305
2018-06-06 17:37:41 +08:00
Jiang Jiang Jian
9b5841f17c
Merge branch 'bugfix/tw20393_tcp_pcb_purge_assert_v3.0' into 'release/v3.0'
...
Bugfix/tw20393 tcp pcb purge assert v3.0
See merge request idf/esp-idf!2324
2018-06-06 16:04:03 +08:00
Liu Zhi Fu
103de7acdc
esp32: WiFi lock refactor
...
WiFi lock refactor to fix interrupt watchdog issue
2018-06-06 11:57:46 +08:00
Jiang Jiang Jian
c2b39f4a5f
Merge branch 'bugfix/btdm_malloc_fail_lead_to_crash' into 'release/v3.0'
...
component/bt: Fix malloc fail lead to crash
See merge request idf/esp-idf!2487
2018-06-01 10:24:07 +08:00
xiewenxiang
2bd198d180
component/bt: Fix malloc fail lead to crash
2018-05-31 17:14:59 +08:00
Angus Gratton
5b2fee13cd
Merge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone_v3.0' into 'release/v3.0'
...
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
See merge request idf/esp-idf!2385
2018-05-31 13:38:33 +08:00
baohongde
dac71d688a
component/bt: Fix mem leak of esp_ble_gap_set_security_param
...
cherry-pick from MR !2458
2018-05-30 15:01:01 +08:00
zhiweijian
6ae56b61cf
Component/bt: fix notify memory leak for v3.0
2018-05-24 10:54:52 +08:00
kooho
ef9dbff112
driver(uart):Fix the bug that uart buffer_full flag is true all the time.
2018-05-18 16:35:32 +08:00
Angus Gratton
561f8ff513
Merge branch 'bugfix/adc_i2s_v3.0' into 'release/v3.0'
...
driver(i2s): fix broken i2s adc mode
See merge request idf/esp-idf!2405
2018-05-16 18:17:47 +08:00
Wangjialin
945d2e697c
driver(i2s): fix broken i2s adc mode
...
1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example
reported from bbs: https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333
Also update some deprecated APIs for ADC.
2018-05-16 11:42:53 +08:00
baohongde
ab62202eb9
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
2018-05-11 16:03:33 +08:00
Liu Zhi Fu
063c23deff
esp32: update libphy.a
...
Update lib phy to v3662, including two modifications:
1. Support PHY IRAM optimization
2. Remove some debug log in noisefloor api
2018-05-09 21:23:37 +08:00
Jiang Jiang Jian
3868307efd
Merge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug_v3.0' into 'release/v3.0'
...
esp32: fix potential PHY calibration bug
See merge request idf/esp-idf!2356
2018-05-07 20:02:10 +08:00
Liu Zhi Fu
e99b4e85b9
esp32: fix potential PHY calibration bug
...
1. Add error log if failed to store calibration version/mac/data
2. Change the NVS calibration version/mac/data store sequence
2018-05-07 09:53:30 +08:00
Liu Zhi Fu
20ab122f80
lwip: fix tcp_pcb_purge assert
...
Remove the assert in tcp_pcb_purge()
2018-04-27 14:15:18 +08:00
XiaXiaotian
98dd235819
Fix a few WiFi bugs
...
1. copy full TIM bitmap from pp task to pm task
2. allocate mimo packet to internal memory
3. remove rc when ap not found
close github issue: https://github.com/espressif/esp-idf/issues/1797
2018-04-26 14:19:36 +08:00
Zhang Zhao Xiang
7535dbc454
fix zero dma buffer bug: must be 4-bytes aligned
2018-04-23 19:33:11 +08:00
Zhang Zhao Xiang
aeb4d8e3c2
modify i2s param and comments
2018-04-23 14:30:55 +08:00
Ivan Grokhotkov
ba13d282dd
Merge branch 'bugfix/mbedtls_patches_3.0' into 'release/v3.0'
...
Bugfix/mbedtls patches 3.0
See merge request idf/esp-idf!2261
2018-04-19 17:30:16 +08:00
Ivan Grokhotkov
806d23b17b
Merge branch 'cherry-pick-595ddfd8' into 'release/v3.0'
...
CI: build_ssc_in_multiple_ci_jobs
See merge request idf/esp-idf!2183
2018-04-19 15:00:01 +08:00
Ivan Grokhotkov
e410f4268e
Merge branch 'feature/uart_add_api_get_cmd_position_v3.0' into 'release/v3.0'
...
driver(uart): Provide an API to get the position of the cmd char from queue
See merge request idf/esp-idf!2254
2018-04-19 14:58:28 +08:00
Ivan Grokhotkov
8de29499ce
mbedtls: Add bounds check before length read
...
This is part of the patch for CVE-2018-9989.
Cherry-picked from 740b218386
Ref. https://github.com/espressif/esp-idf/issues/1860
2018-04-19 12:58:48 +08:00
Ivan Grokhotkov
ffab6084f0
mbedtls: Prevent arithmetic overflow on bounds check
...
Part of the patch for CVE-2018-9989.
Cherry-picked from 5224a7544c
.
Ref. https://github.com/espressif/esp-idf/issues/1860
2018-04-19 12:58:48 +08:00
Ivan Grokhotkov
f58c664e2b
mbedtls: Add bounds check before signature length read
...
Part of the patch for CVE-2018-9988.
Cherry-picked from a1098f81c2
Ref. https://github.com/espressif/esp-idf/issues/1860
2018-04-19 12:58:47 +08:00
Ivan Grokhotkov
b42ba1b0a5
mbedtls: Prevent arithmetic overflow on bounds check
...
Part of the patch for CVE-2018-9988.
Cherry-pick of 027f84c69f
Ref. https://github.com/espressif/esp-idf/issues/1860
2018-04-19 12:58:47 +08:00
Ivan Grokhotkov
67ba85650d
mbedtls: Prevent bounds check bypass through overflow in PSK identity parsing
...
This is a patch for CVE-2017-18187.
Cherry-picked from 83c9f495ff
Ref. https://github.com/espressif/esp-idf/issues/1730
2018-04-19 12:58:47 +08:00
Ivan Grokhotkov
0a97cb62ef
mbedtls: disable support for RSASSA-PSS signatures
...
This is a workaround for CVE-2018-0487.
Ref. https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2018-01
Ref. https://github.com/espressif/esp-idf/issues/1730
2018-04-19 12:58:47 +08:00
Ivan Grokhotkov
594e1b5e44
mbedtls: disable truncated HMAC
...
This is a workaround for CVE-2018-0488.
Ref. https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2018-01
Ref. https://github.com/espressif/esp-idf/issues/1730
2018-04-19 12:26:41 +08:00
Ivan Grokhotkov
e4a840d8cf
soc/rtc, sleep: don’t lower the bias for wakeup state
...
This fixes watchdog resets occurring during wakeup from light sleep.
2018-04-18 18:22:49 +08:00
kooho
7a32ae363e
driver(uart):Provide an API to get the position of the cmd char from queue without modify the queue.
2018-04-18 10:11:02 +08:00
Jiang Jiang Jian
fddc905fa3
Merge branch 'bugfix/tw19728_support_static_allocation_of_freertos_queue_used_by_isr' into 'release/v3.0'
...
esp32/driver/bt: support static allocation of FreeRTOS queues used by ISR routine
See merge request idf/esp-idf!2171
2018-04-12 23:07:51 +08:00
Jiang Jiang Jian
574dd08085
Merge branch 'bugfix/i2s_mix_result_with_error_code' into 'release/v3.0'
...
fix i2s mix result and error code
See merge request idf/esp-idf!2187
2018-04-11 18:30:45 +08:00
Zhang Zhao Xiang
bf4184a049
fix i2s mix result and error code
2018-04-10 12:04:05 +08:00
Liu Zhi Fu
212222a9e0
esp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine
...
Support static allocation of FreeRTOS queues used by ISR routine in WiFi/BT/esp_timer/driver etc
2018-04-09 13:39:31 +08:00
Ivan Grokhotkov
6d3f81aa77
pm: fix initialisation only done in dual core mode
...
Introduced in 9377d4ac
. Accidentally put the new code block under an
2018-04-08 14:08:31 +08:00
He Yin Ling
8d0d7972f3
test: use SSC_BLE_WIFI to test NVS cases
2018-04-03 19:23:32 +08:00
Ivan Grokhotkov
e6acfedd3c
Merge branch 'feature/build_ssc_in_multiple_ci_jobs' into 'master'
...
CI: support build SSC in multiple jobs
See merge request idf/esp-idf!1622
(cherry picked from commit 595ddfd825
)
493a9266
CI: support build SSC in multiple jobs
48e3e3ef
test: change SSC binary path
2018-04-03 19:18:15 +08:00
Angus Gratton
0f5cae0218
heap: Change test_multi_heap_on_host multi-config to bash script not Makefile
...
Hopefully fix some CI building issues with parallel builds.
2018-04-03 16:35:47 +10:00
Deomid Ryabkov
712bd1d773
Try to merge tail with next block when splitting
...
When splitting a memory block, check if the next block is free.
If it is, then just extend it upwards instead of creating a new block.
This fixes a bug where when shrinking existing allocations would result in irreversible free space fragmentation.
When testing on the host, test all the poisoning configurations.
2018-04-03 16:35:47 +10:00
Jiang Jiang Jian
4e36ede3bf
Merge branch 'feature/i2s_add_expand_function' into 'release/v3.0'
...
Add a new i2s feature to expand the original i2s width
See merge request idf/esp-idf!2174
2018-04-02 21:51:14 +08:00
Jiang Jiang Jian
2f2aa41ea7
Merge branch 'bugfix/btdm_slow_interrupt_reaction_for_v3.0' into 'release/v3.0'
...
Bugfix/btdm slow interrupt reaction for v3.0
See merge request idf/esp-idf!2159
2018-04-02 20:04:52 +08:00
Jiang Jiang Jian
089438139d
Merge branch 'bugfix/some_wifi_bugs_for_v3.0' into 'release/v3.0'
...
Bugfix/some wifi bugs for v3.0
See merge request idf/esp-idf!2168
2018-04-02 16:34:09 +08:00
Jiang Jiang Jian
e468a105d8
Merge branch 'cherry-pick-f46ad1fe' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_fix_get_PID_key_error' into 'release/v3.0'
See merge request idf/esp-idf!2169
2018-04-02 16:12:26 +08:00
Jiang Jiang Jian
894ddea353
Merge branch 'cherry-pick-8eaae966' into 'release/v3.0'
...
Merge branch 'bugfix/flash_mapp' into 'release/v3.0'
See merge request idf/esp-idf!2170
2018-04-02 16:12:05 +08:00
Zhang Zhao Xiang
fed3c3ebf0
Add a new i2s feature to expand the original i2s width
2018-04-02 05:24:38 +00:00
Jiang Jiang Jian
f8515688cb
Merge branch 'bugfix/i2c_bugfix_for_v3.0' into 'release/v3.0'
...
driver(i2c): fix i2c bugs for release/v3.0
See merge request idf/esp-idf!2152
2018-03-31 17:12:55 +08:00
Tian Hao
b9dab23437
component/bt : fix interrupt slow reaction cause assert(interrupt wdt)
...
Some application lock interrupt(portENTER_CRITICAL) too long time,
it will cause bluetooth cannot react interrupt in time, then t will
cause some assert, assert info following:
1. ld_acl.c 1900
2. ld_fm.c 340
3. other assert reference to this.
2018-03-31 06:52:00 +00:00
Tian Hao
5632385d5f
component/bt : add bluetooth controller library compile version
2018-03-31 06:52:00 +00:00
Jiang Jiang Jian
cfcb22fe16
Merge branch 'bugfix/btdm_fix_get_PID_key_error' into 'master'
...
Component/bt: fix get PID key error
See merge request idf/esp-idf!2156
(cherry picked from commit f46ad1fec8
)
109a93bf
Component/bt: fix get PID key error
2018-03-31 06:51:31 +00:00
Jiang Jiang Jian
d6e3943233
Merge branch 'bugfix/flash_mapp' into 'master'
...
spi_flash: add api to get valid mmu table pages number
See merge request idf/esp-idf!2070
(cherry picked from commit 8eaae96658
)
75550315
add api get valid mmu table pages number
fa687743
spi_flash:
49a236da
fix CI failed when flash chip size if 2MBytes
2018-03-31 06:51:08 +00:00
Deng Xin
b563219f93
Fix some wifi bugs
...
1. Do not filter out TKIP MIC ERR packet
2. Modify response retry counter from 32 to 5
3. support enrollee feature in APSTA mode
2018-03-31 06:50:15 +00:00
Jiang Jiang Jian
d881fcd380
Merge branch 'bugfix/btdm_modify_open_API_params' into 'release/v3.0'
...
Component/bt: modify open API params for v3.0
See merge request idf/esp-idf!2166
2018-03-30 19:41:31 +08:00
zhiweijian
058a38a141
Component/bt: fix connect fail when remote addr type is random
2018-03-30 17:10:56 +08:00
Jiang Jiang Jian
1fca253a65
Merge branch 'bugfix/btdm_fix_no_set_rand_addr_event_callback' into 'master'
...
Component/bt: fix no set rand add callback
See merge request idf/esp-idf!2140
(cherry picked from commit 6ffd089c97
)
aa236809
Component/bt: fix no set rand add callback event
2018-03-30 16:05:43 +08:00
Jiang Jiang Jian
cf69dfa458
Merge branch 'cherry-pick-b26ab188' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_fix_service_change_event_param_error' into 'release/v3.0'
See merge request idf/esp-idf!2161
2018-03-30 15:53:51 +08:00
Jiang Jiang Jian
a80e687f8c
Merge branch 'bugfix/btdm_fix_service_change_event_param_error' into 'master'
...
Component/bt: fix service change event params error
See merge request idf/esp-idf!2150
(cherry picked from commit b26ab188af
)
f5d58142
Component/bt: fix service change event params error
2018-03-30 14:57:24 +08:00
baohongde
bc90b89e2b
component/bt: Fix xQueueGenericSend assertion in release/v3.0
2018-03-30 14:53:27 +08:00
kooho
14baac302f
driver(i2c):Fixed i2c bug for release/v3.0
2018-03-29 14:03:04 +08:00
wangmengyang
af211fcf0c
component/bt: bugfix for no link key notification event on repairing for initiating side of simple_pairing
...
In response to: https://github.com/espressif/esp-idf/issues/1275
2018-03-27 15:49:52 +08:00
zhiweijian
48c7afde27
Component/bt: fix build error when close SMP
2018-03-21 13:48:05 +08:00
Jiang Jiang Jian
c9ed467e26
Merge branch 'bugfix/dfs_rtc_fixes' into 'master'
...
DFS related fixes
See merge request idf/esp-idf!2102
(cherry picked from commit 8478823039
)
9377d4ac
pm: fix incorrect configuration at startup
7167ad45
pm: improve debug output from esp_pm_dump_locks
1618dbc9
soc/rtc: wait for frequency switch to complete
2018-03-21 12:02:58 +08:00
Jiang Jiang Jian
f0eb023f17
Merge branch 'bugfix/wifi_lwip_set_ip_post_wrong_event_v3.0' into 'release/v3.0'
...
Fix the bug that incorrect event is posted when setting static ip of softap and ethernet
See merge request idf/esp-idf!2096
2018-03-21 11:45:34 +08:00
XiaXiaotian
8944b90a06
Fix the bug that incorrect event is posted when setting static ip of softap and ethernet
2018-03-21 11:01:32 +08:00
Jiang Jiang Jian
9e4ec90a1e
Merge branch 'bugfix/tw18031_lwip_assert' into 'release/v3.0'
...
cherry pick 'bugfix/redirect_psram_muxes_to_single_mux' into 'release/v3.0'
See merge request idf/esp-idf!2055
2018-03-21 10:22:30 +08:00
Jiang Jiang Jian
e4357d9cf3
Merge branch 'cherry-pick-0f6f762b' into 'release/v3.0'
...
cherry pick 'bugfix/btdm_add_char_descr_uuid_error' into 'release/v3.0'
See merge request idf/esp-idf!2100
2018-03-21 10:21:54 +08:00