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
Jiang Jiang Jian
16add00668
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.1' into 'release/v3.1'
...
Component/bt: fix memory leak in security server(backport v3.1)
See merge request idf/esp-idf!3081
2018-08-30 02:20:58 +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
Angus Gratton
2d22fbd4ff
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-28 11:11:57 +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
Angus Gratton
cb9fa1f295
kconfig: Merge Kconfig.compiler back into Kconfig
...
Reverts 5e0a3d99e8
(no longer needed but also not supported by
mconf-idf built from kconfig-frontends repo.)
2018-08-27 17:24:31 +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
He Yin Ling
21ef7ed82c
Merge branch 'test/disable_mesh_re_establish_network_case_v3.1' into 'release/v3.1'
...
test: disable mesh recreate network test (backport v3.1)
See merge request idf/esp-idf!3068
2018-08-25 10:38:02 +08: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
Renz Bagaporo
ab95d5cdd7
Place embedded data on flash
2018-08-23 11:15:23 +10:00
Angus Gratton
bc6a193130
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-23 11:15:23 +10: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
0743361da3
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-20 17:18:05 +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
d376105e8e
doc: Update new documentation config output
...
Make output similar to previous implementation.
2018-08-17 20:21:59 +10:00
Angus Gratton
7f50bb7e7f
Merge branch 'release/v3.1' into feature/cmake_v3.1
2018-08-17 14:14:10 +10:00
Ivan Grokhotkov
53509c7bfd
Merge branch 'bugfix/mdns_any_type_share_v3.1' into 'release/v3.1'
...
mdns: Fix a portion of the queries are issued with the wildcard query type (backport v3.1)
See merge request idf/esp-idf!3008
2018-08-15 06:40:24 +08: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
Angus Gratton
fc18d2cea5
Merge branch 'bugfix/ulp_fixes_v3.1' into 'release/v3.1'
...
ULP fixes (backport v3.1)
See merge request idf/esp-idf!3001
2018-08-14 11:25:14 +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
640f690def
docs: update esp32ulp-binutils download link
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
cce9fa970e
ulp: add documentation for JUMPS instruction conditions
...
Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.
2018-08-13 23:23:55 +03:00