Angus Gratton
922bae0be3
Merge branch 'bugfix/cmake_make_flash_target_v3.1' into 'release/v3.1'
...
cmake: Fix "make flash" & "ninja flash" targets
See merge request idf/esp-idf!3295
2018-09-18 10:49:52 +08:00
Angus Gratton
982a7fa499
Merge branch 'fix/spi_slave_free_cs_v3.1' into 'release/v3.1'
...
spi_slave: fix the issue rx dma get broken by master unexpected transaction (backport v3.1)
See merge request idf/esp-idf!3294
2018-09-18 08:08:41 +08:00
Angus Gratton
52413e9925
Merge branch 'feature/signature_verify_updates_v3.1' into 'release/v3.1'
...
secure boot: Support signed app verification without hardware secure boot (backport v3.1)
See merge request idf/esp-idf!3184
2018-09-18 07:56:12 +08:00
Angus Gratton
cfb96e67f9
cmake: Fix "make flash" & "ninja flash" targets
...
As reported on forum.
Requires a small CMake wrapper script to pick
up environment variables at flashing time.
2018-09-18 09:32:54 +10:00
michael
a7c67c1681
spi_slave: fix the issue rx dma get broken by master unexpected transaction
2018-09-17 22:36:49 +08:00
zhiweijian
53d75901a9
Component/bt: fix save error key in smp when reconnect
2018-09-17 20:13:30 +08:00
Jiang Jiang Jian
8f665c3393
Merge branch 'bugfix/btdm_enable_modem_sleep_by_default_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_enable_modem_sleep_by_default_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3275
2018-09-17 16:17:46 +08:00
XiaXiaotian
738afe2de3
esp32: backport several WiFi bug fixes to v3.1
...
Backport following WiFi fixes to v3.1:
1. Fix AMPDU RX sequence compitability bug
2. Optimize scan capability in all channel scan
3. Fix some modem sleep bugs
4. Update API to set CSI channel filter and HT_LTF data generating
2018-09-17 14:40:24 +08:00
baohongde
ea3b2716fd
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
...
A cherry-pick of MR !3269
2018-09-17 11:01:58 +08:00
Jiang Jiang Jian
bfcb673c8e
Merge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1'
...
lwip: add code for sending gratuitous ARP periodically (backport v3.1)
See merge request idf/esp-idf!3195
2018-09-16 15:18:39 +08:00
Jiang Jiang Jian
e5d8a68d96
Merge branch 'bugfix/mdns_service_txt_set_backportv3.1' into 'release/v3.1'
...
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records (backport v3.1)
See merge request idf/esp-idf!3254
2018-09-16 15:12:03 +08:00
Jiang Jiang Jian
760772ec4b
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3187
2018-09-16 14:54:59 +08:00
wangmengyang
c6d2fc6807
component/bt: enable bluetooth modem sleep as default setting
2018-09-14 17:01:45 +08:00
Piyush Shah
9237110c5c
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
...
Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2018-09-14 11:17:53 +05:30
wangmengyang
4c240064ab
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-13 17:58:00 +08:00
wangmengyang
da4108dd1e
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
...
In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request
2018-09-13 17:58:00 +08:00
wangmengyang
01994059e2
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-13 17:58:00 +08:00
He Yin Ling
0e1f561a32
test: fix incorrect tx power value in adv
2018-09-13 15:48:52 +08:00
Renz Christian Bagaporo
bc8540fec1
cmake: fix source list issues
2018-09-13 11:13:27 +08:00
Renz Bagaporo
7edf2bf66c
cmake: make main a component again
2018-09-13 11:13:27 +08:00
Tian Hao
a05868f0a8
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 10:19:08 +00:00
zhangyanjiao
f6f4d7b410
add code for sending gratuitous ARP periodically
2018-09-11 15:20:24 +08:00
zhangyanjiao
f617a33b8d
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
2018-09-11 10:57:17 +08:00
michael
b3697e7741
sdio_slave: fix the recv crash when trans finish and load at the same time
2018-09-10 15:17:07 +08:00
Jiang Jiang Jian
35785d08fd
Merge branch 'feature/btdm_legacy_paring_v3.1' into 'release/v3.1'
...
component/bt: Add Legacy Pairing (backport 3.1)
See merge request idf/esp-idf!3193
2018-09-07 14:44:19 +08:00
Ivan Grokhotkov
297945c32e
Merge branch 'test/split_test_env_for_integration_test_v3.1' into 'release/v3.1'
...
test: split CI test environment (backport v3.1)
See merge request idf/esp-idf!3211
2018-09-07 11:06:51 +08:00
Jiang Jiang Jian
d193895ec6
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3188
2018-09-06 19:52:05 +08:00
He Yin Ling
f1bf446410
test: split CI test environment:
...
Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.
2018-09-06 16:35:34 +08:00
Jiang Jiang Jian
e6a0eb74c8
Merge branch 'bugfix/btdm_discovery_ble_v3.1' into 'release/v3.1'
...
component/bt : fix bug that set discovery mode will stop ble adv
See merge request idf/esp-idf!3189
2018-09-06 14:19:31 +08:00
zhangyanjiao
c27c381ba2
defination: fix the bug that esp_derive_local_mac() defination missing
2018-09-05 14:42:23 +08:00
baohongde
95c5805088
component/bt: Add Legacy Pairing (backport 3.1)
...
A cherry-pick of MR !3057
2018-09-04 20:59:03 +08:00
Tian Hao
196793dccb
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:29:36 +08:00
wangmengyang
7c6d447938
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:24:00 +08:00
Angus Gratton
b069b31a2c
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-09-04 19:10:02 +08:00
Jiang Jiang Jian
969161183a
Merge branch 'bugfix/esp_wifi_disconnect_fail_v3.1' into 'release/v3.1'
...
update wifi lib to fix two bugs (backport v3.1)
See merge request idf/esp-idf!3158
2018-09-04 15:06:49 +08:00
Jiang Jiang Jian
45e29a817c
Merge branch 'bugfix/btdm_update_private_address_v3.1' into 'release/v3.1'
...
component/bt: Update BLE private address after it's private address interval (backport 3.1)
See merge request idf/esp-idf!3170
2018-09-04 14:10:47 +08:00
Jiang Jiang Jian
dabebbf639
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash_v3.1' into 'release/v3.1'
...
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
See merge request idf/esp-idf!3169
2018-09-04 14:10:05 +08:00
Jiang Jiang Jian
cd78dc632a
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
See merge request idf/esp-idf!3164
2018-09-04 14:09:36 +08:00
baohongde
6a2f492832
component/bt: Update BLE private address after it's private address interval (backport 3.1)
...
A cherry-pick of MR !2987
2018-09-03 14:27:15 +08:00
baohongde
24a03a8d3f
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
...
A cherry-pick of MR !3080
2018-09-03 14:17:56 +08:00
Darian Leung
27ffeacf07
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-03 13:03:32 +08:00
baohongde
b1da63d645
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
...
A cherry-pick of MR !3036
2018-09-03 11:52:19 +08:00
zhangyanjiao
ec3a1318dc
update wifi lib to fix two bugs
...
1. fix the esp_wifi_disconnect() err when wifi is not started or inited
2. make g_intr_lock_mux and g_osi_funs_p in DRAM
2018-08-31 20:10:20 +08:00
Jiang Jiang Jian
22da5f6de9
Merge branch 'bugfix/btdm_security_vulnerability_v3.1' into 'release/v3.1'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3139
2018-08-31 02:11:55 +08:00
XiaXiaotian
2ad5686937
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:46:16 +08:00
He Yin Ling
84d10d8dad
Merge branch 'test/fix_test_summary_duplicate_v3.1' into 'release/v3.1'
...
test: fix duplicated summary of BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009
See merge request idf/esp-idf!3086
2018-08-30 11:20:58 +08:00
Tian Hao
7f8de47631
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:09:02 +08:00
zhiweijian
a83c918946
Component/bt: fix memory leak in security server
2018-08-29 17:56:14 +00:00
Jiang Jiang Jian
9f791e06f6
Merge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'
...
mesh: bugfix and add two APIs (backport3.1)
See merge request idf/esp-idf!3134
2018-08-30 01:54:08 +08:00
Jiang Jiang Jian
c3ba237846
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test_v3.1' into 'release/v3.1'
...
Component/bt: fix crash when BLE do connect and disconnect stress test(backport v3.1)
See merge request idf/esp-idf!3119
2018-08-30 01:51:33 +08:00
zhiweijian
17c4a76395
component/bt: fix crash when BLE do con and duscon stress test
2018-08-30 00:36:57 +08:00
Jiang Jiang Jian
114b16f0d5
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.1' into 'release/v3.1'
...
Component/bt: fix get error adv packet sometimes(backport v3.1)
See merge request idf/esp-idf!3082
2018-08-29 23:54:36 +08:00
Jiang Jiang Jian
e1fc259600
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3116
2018-08-29 22:54:58 +08:00
Angus Gratton
1d537d29d5
Merge branch 'feature/cmake_v3.1' into release/v3.1
2018-08-29 19:30:06 +08:00
qiyuexia
09f5854c9a
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-29 17:28:17 +08:00
chensheng
200d8d235b
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-29 12:27:59 +08:00
zhiweijian
bfc8142c99
Component/bt: fix get error adv packet sometimes
2018-08-28 14:13:10 +08:00
Jiang Jiang Jian
bcebf3e6f1
Merge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_check_slave_feature_before_set_afh(backport v3.1)
See merge request idf/esp-idf!3103
2018-08-28 13:40:56 +08:00
Jiang Jiang Jian
4577270fc3
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_v3.1' into 'release/v3.1'
...
lwip: optimize LWIP timer (backport v3.1)
See merge request idf/esp-idf!3060
2018-08-28 13:39:46 +08:00
wangmengyang
9f6af0ad4b
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 10:59:22 +08:00
Jiang Jiang Jian
c060853f70
Merge branch 'bugfix/fix_probable_mem_leak_v3.1' into 'release/v3.1'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
See merge request idf/esp-idf!3106
2018-08-28 10:41:42 +08:00
Jiang Jiang Jian
501d81ce32
lwip: optimize LWIP timer
...
Port LWIP timer implementation in LWIP v2.0.3 to IDF v3.0
2018-08-27 21:59:36 +08:00
Jiang Jiang Jian
f9a770134b
Merge branch 'bugfix/timer_oneshot_timeout_twice_v3.1' into 'release/v3.1'
...
component/bt: Some timer oneshot will timeout twice (backport v3.1)
See merge request idf/esp-idf!3063
2018-08-27 20:42:44 +08:00
Jiang Jiang Jian
b4fc5b0e8f
Merge branch 'bugfix/fix_several_wifi_bugs_v3.1' into 'release/v3.1'
...
esp32: update wifi lib to fix several WiFi bugs (backport v3.1)
See merge request idf/esp-idf!3098
2018-08-27 20:38:35 +08:00
Angus Gratton
a821805ddc
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-27 18:02:30 +08:00
Hrishikesh Dhayagude
7ffd68cac2
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
...
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 12:03:20 +05:30
Angus Gratton
dd77a4c65d
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-27 11:56:48 +08:00
wangmengyang
a47cc3dd46
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH
2018-08-27 11:20:34 +08:00
Angus Gratton
7cd75f30f2
Merge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'
...
spi: fix the issue that spi cannot be used when flash is disabled (backport v3.1)
See merge request idf/esp-idf!3075
2018-08-27 08:14:31 +08:00
Liu Zhi Fu
3d2cd911f0
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:15:53 +08:00
baohongde
da94560ec5
component/bt: Some timer oneshot will timeout twice (backport v3.1)
...
A cherry-pick of MR !2979
2018-08-25 15:50:46 +00:00
Michael (XIAO Xufeng)
125da7a1c2
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 05:56:17 +00:00
He Yin Ling
ceca7b741c
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 19:15:12 +08:00
Angus Gratton
7cc5888583
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-23 11:15:23 +10:00
Angus Gratton
c16fbbf614
partition table: Remove hard-coded offsets from default partition tables
...
Makes them compatible with moving the partition table offset
2018-08-20 16:58:00 +10:00
Angus Gratton
b64815be4c
cmake: Fix bt component dependencies
2018-08-20 10:47:55 +10:00
Angus Gratton
885df4c90f
cmake: Fix flasher argument generation
2018-08-20 10:47:42 +10:00
Angus Gratton
7f50bb7e7f
Merge branch 'release/v3.1' into feature/cmake_v3.1
2018-08-17 14:14:10 +10:00
Liu Han
1bbe9538ef
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 18:34:40 +10:00
Jiang Jiang Jian
39dd71d958
Merge branch 'bugfix/btdm_ecdh_public_key_not_check_v3.1' into 'release/v3.1'
...
Bugfix/btdm ecdh public key not check v3.1 (backport v3.1)
See merge request idf/esp-idf!2991
2018-08-14 13:20:22 +08:00
Jiang Jiang Jian
2dfe58e1b3
Merge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.1' into 'release/v3.1'
...
lwip: fix nonblocking tcp close issue (backport v3.1)
See merge request idf/esp-idf!2938
2018-08-14 13:20:08 +08:00
Angus Gratton
2e60a4b751
Merge branch 'bugfix/gpio_reset_bitmask_v3.1' into 'release/v3.1'
...
gpio: Bitmask overflow fix in gpio_reset_pin (backport v3.1)
See merge request idf/esp-idf!3005
2018-08-14 11:29:15 +08:00
Taavi Hein
8b6060e24e
gpio: Bitmask overflow fix in gpio_reset_pin
...
For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.
Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.
2018-08-14 04:23:56 +03:00
Ivan Grokhotkov
f63ab0792b
ulp: add tests for jumps instruction
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
f4c8df2635
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:23:55 +03:00
Ivan Grokhotkov
db5c542e96
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:23:55 +03:00
Ivan Grokhotkov
bb8ecf8a7b
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:23:55 +03:00
yulong
fa8dc32800
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 19:47:02 +08:00
Angus Gratton
695d95c983
Merge branch 'bugfix/http_client_null_auth_header_v3.1' into 'release/v3.1'
...
esp_http_client: Fixed exception on 401 without Www-Authenticate header (backport v3.1)
See merge request idf/esp-idf!2978
2018-08-13 11:48:26 +08:00
Angus Gratton
d91c425178
Merge branch 'bugfix/unit-test-build-fix_v3.1' into 'release/v3.1'
...
unit-test-app: don’t include project.mk for ut- targets (backport v3.1)
See merge request idf/esp-idf!2850
2018-08-13 11:42:43 +08:00
zhiweijian
281877ada5
Component/bt: fix get bond list error when connection with no bond
2018-08-10 21:00:56 +08:00
Tuan PM
9a273863ba
esp_http_client: Fixed exception on 401 without Www-Authenticate header
...
Closes https://github.com/espressif/esp-idf/issues/2246
2018-08-10 14:23:19 +07:00
Angus Gratton
abbc13af62
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
...
Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.
2018-08-10 16:53:17 +10:00
Liu Zhi Fu
9fb746824a
lwip: fix nonblocking tcp close issue
...
Fix assert issue causes by closing nonblocking tcp socket.
2018-08-10 06:21:56 +00:00
Angus Gratton
8a1adb0d50
Merge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'
...
spi_flash: allocate mmap pages array in internal memory (backport v3.1)
See merge request idf/esp-idf!2961
2018-08-10 13:43:55 +08:00
Angus Gratton
ddb2570849
Merge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'
...
mesh: modify parent switch mechanism (backport3.1)
See merge request idf/esp-idf!2977
2018-08-10 13:42:32 +08:00
Jiang Jiang Jian
7f4b77ca5b
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'
...
fix(touch): add_mutex_for_some_touchpad_apis (backport v3.1)
See merge request idf/esp-idf!2963
2018-08-10 12:18:33 +08:00
qiyuexia
d421663d3f
mesh: modify parent switch mechanism
...
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-10 11:45:11 +08:00
Jiang Jiang Jian
c455d6f2a0
Merge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'
...
nvs_flash: Version compatibility check for nvs storage (backport 3.1)
See merge request idf/esp-idf!2958
2018-08-10 11:36:39 +08:00
Jiang Jiang Jian
b3eee7d58f
Merge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'
...
component/bt: modify the invalid retransmission setting for SCO link in HFP(backport v3.1)
See merge request idf/esp-idf!2956
2018-08-10 11:10:55 +08:00
Jiang Jiang Jian
8a6c1df041
esp32: backport several WiFi bug fixes to v3.1
...
Backport following bug fixes to v3.1:
1. Bug fix of may connect to wrong AP in all channel scan
2. Station state machine change and fix ap loss
3. Add compatible to ccmp encryption
4. Update libphy.a to v3960:
4.1 Decrease phy_init time from 900us to 347us in sleep wakeup
4.2 Fix RX STBC initialization
4.3 Modify set_chan function to fix interrupt watchdog issue
5. Fix several wpa2 enterprise issues
5.1 Fix heap corrupted bug
5.2 Fix memory leak bug
5.3 Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569
6. Bugfix of coex wifi pm
2018-08-09 13:24:16 +00:00
He Yin Ling
7e02cd3498
Merge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'release/v3.1'
...
test: remove check for REASON_ASSOC_EXPIRE (backport v3.1)
See merge request idf/esp-idf!2953
2018-08-09 21:23:21 +08:00
Angus Gratton
ef30229e52
Merge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'
...
esp_https_ota: Add esp_https_ota component (Backport v3.1)
See merge request idf/esp-idf!2954
2018-08-09 08:20:33 +08:00
fuzhibo
6ee884c861
fix(touch): add_mutex_for_some_touchpad_apis
2018-08-08 20:06:54 +08:00
Jitin George
002189cd1a
esp_http_client: Add support for getting transport type
2018-08-08 14:55:35 +05:30
Jitin George
fbe792f33f
esp_https_ota: Add support for HTTPS based ota feature
2018-08-08 14:55:22 +05:30
Ivan Grokhotkov
b88ae6c39f
spi_flash: allocate mmap pages array in internal memory
...
* spi_flash_mmap_pages needs pages array to be in internal memory.
Document and check this.
* Fix a bug that spi_flash_mmap did not allocate pages array in
internal memory.
* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
spaces around operators, mark output arguments with [out].
Closes https://github.com/espressif/esp-idf/issues/2229 .
2018-08-08 11:30:31 +03:00
Angus Gratton
45d7039623
Merge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'
...
feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.1)
See merge request idf/esp-idf!2950
2018-08-08 16:30:09 +08:00
Tuan
b2901d7e2f
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)
2018-08-08 16:24:04 +08:00
Sagar Bijwe
a3b5a23b87
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-08 12:43:50 +05:30
Ivan Grokhotkov
eaa48f380a
Merge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'
...
freertos: Add critical sections to queue sets (backport v3.1)
See merge request idf/esp-idf!2789
2018-08-08 14:46:25 +08:00
wangmengyang
78c083325f
component/bt: modify the invalid retransmission setting for SCO link in HFP
2018-08-08 14:40:22 +08:00
He Yin Ling
66e7027e7a
test: update Wi-Fi test cases:
...
1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server
2018-08-08 13:04:16 +08:00
baohongde
6210272bfd
component/bt: Fix bug of SPP crash on reset
...
In response to: https://github.com/espressif/esp-idf/issues/1998
2018-08-08 12:03:32 +08:00
chenjianqiang
57ed12a019
feature(flash): support for QIO mode of XM25QU64A
2018-08-08 10:58:13 +08:00
Ivan Grokhotkov
cb05e152b9
Merge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'
...
backport v3.1: fix(sdio): update sdio to better run in 4bit HS mode
See merge request idf/esp-idf!2759
2018-08-06 15:17:26 +08:00
Jiang Jiang Jian
f999688f2c
Merge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'
...
fix coex pause cause bluetooth performance decrease (backport v3.1)
See merge request idf/esp-idf!2864
2018-08-06 15:05:19 +08:00
Angus Gratton
ac19aef689
Merge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'
...
mbedtls: update to 2.12.0 (backport v3.1)
See merge request idf/esp-idf!2932
2018-08-06 14:23:10 +08:00
Angus Gratton
d88b705562
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release/v3.1'
...
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
See merge request idf/esp-idf!2934
2018-08-06 14:22:29 +08:00
Tian Hao
7d9d4d16e5
fix coex pause cause bluetooth performance decrease
...
1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease
2018-08-06 11:19:17 +08:00
Jiang Jiang Jian
1e92ad77c4
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into 'release/v3.1'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones for v3.1
See merge request idf/esp-idf!2923
2018-08-05 23:48:29 +08:00
Ivan Grokhotkov
e136fb7e18
mbedtls: update to 2.12.0
2018-08-05 09:17:40 +03:00
Jiang Jiang Jian
4225b9794f
Merge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'
...
Wifi: fix ampdu duplicate issue (backport v3.1)
See merge request idf/esp-idf!2797
2018-08-05 07:17:25 +08:00
Jiang Jiang Jian
76b9e36f2b
Merge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_disconnect_reason(backport v3.1)
See merge request idf/esp-idf!2927
2018-08-04 23:48:42 +08:00
chenyudong
b490f05b95
wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-08-04 15:33:55 +00:00
zhiweijian
512e4d5836
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 17:02:13 +08:00
wangmengyang
9d8a85e2ab
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave
2018-08-03 15:55:23 +08:00
wangmengyang
8a940ccd65
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-03 15:36:44 +08:00
Jiang Jiang Jian
c983bc4d12
Merge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'
...
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception(backport v3.1)
See merge request idf/esp-idf!2865
2018-08-03 15:09:58 +08:00
michael
c4ffb39ccc
fix(sdmmc): disable all pulldowns used by sdmmc host
2018-08-03 11:03:25 +08:00
Angus Gratton
485ed4cc22
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
...
Component/bt: fix queue blocking when scanning for v3.1
See merge request idf/esp-idf!2893
2018-08-03 07:28:07 +08:00
kooho
d4e38152ef
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
2018-08-02 12:45:53 +08:00
Tian Hao
e5abec310d
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-01 20:08:40 +08:00
Ivan Grokhotkov
2c483a6b52
Merge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'
...
SPIFFS: fix stack overflow in readdir_r due to recursion (backport v3.1)
See merge request idf/esp-idf!2876
2018-08-01 18:05:47 +08:00
Ivan Grokhotkov
bf281b31ec
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'
...
Bugfix/remove bt dependency on lwip header (backport v3.1)
See merge request idf/esp-idf!2907
2018-08-01 17:40:37 +08:00
Ivan Grokhotkov
3c359763da
heap: move get_all_caps to IRAM, used in unit test
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
f81e71f622
freertos: bump limit for spinlock performance test to 300 cycles
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
a1dadda7d6
newlib: fix unit test for psram config
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
cfde037f9a
heap: fix unit test for the case when less than 10k of IRAM is available
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
3fcc3689ce
spi_master, ulp: fix aliasing errors in unit tests
2018-08-01 08:59:02 +00:00
michael
7995ba6433
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode
2018-08-01 15:23:24 +08:00
michael
5019ff3345
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.
2018-08-01 15:23:23 +08:00
zhiweijian
b270638868
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:10:28 +08:00
Darian Leung
3576a634c7
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-08-01 07:07:32 +00:00
Jiang Jiang Jian
d8a1080bdf
Merge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'
...
Component/bt: fix gattc get count invalid and discover included service error for v3.1
See merge request idf/esp-idf!2894
2018-08-01 14:51:08 +08:00
Jiang Jiang Jian
c209efa4e2
Merge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release/v3.1'
...
docs: update channel state information document (backport v3.1)
See merge request idf/esp-idf!2796
2018-08-01 14:49:45 +08:00
Mahavir Jain
d78452ed29
wpa_supplicant: removed unrequired header dir include from component.mk
...
- Also fixed license header in rtc driver
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-01 12:02:13 +05:30
Mahavir Jain
acb3b6fee2
bluedroid: remove dependency on arpa/inet.h
include
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-01 12:02:11 +05:30
Angus Gratton
c237beff1d
Merge branch 'bugfix/ulp_example_fix_v3.1' into 'release/v3.1'
...
ULP example fixes (backport v3.1)
See merge request idf/esp-idf!2818
2018-08-01 14:29:29 +08:00
Angus Gratton
34a4a96ded
Merge branch 'bugfix/sdmmc_auto_stop_cmd_v3.1' into 'release/v3.1'
...
sdmmc: enable host auto_stop only for certain commands (backport for v3.1)
See merge request idf/esp-idf!2817
2018-08-01 14:29:03 +08:00