Ivan Grokhotkov
447890247a
sdmmc: enable host auto_stop only for certain commands
...
Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
2018-07-19 10:23:58 +03:00
Jiang Jiang Jian
afdc73c8ab
Merge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'
...
mdns: Minor fix for mdns_service_remove (backport v3.1)
See merge request idf/esp-idf!2784
2018-07-17 20:50:34 +08:00
Jiang Jiang Jian
1dc9be01c4
Merge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL(backport v3.1)
See merge request idf/esp-idf!2787
2018-07-17 20:49:31 +08:00
Ivan Grokhotkov
cffd28ad83
Merge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'
...
bt: fix OS abstraction layer for correct critical section API usage (backport v3.1)
See merge request idf/esp-idf!2713
2018-07-17 18:53:01 +08:00
Jiang Jiang Jian
346d6b0eaa
Merge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
...
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 (backport v3.1)
See merge request idf/esp-idf!2777
2018-07-17 14:13:28 +08:00
Piyush Shah
76a46a0f68
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-16 15:12:18 +05:30
Piyush Shah
8dbf96a471
mdns: Minor fix for mdns_service_remove()
...
Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.
2018-07-16 15:07:44 +05:30
Liu Zhi Fu
60080d4893
lwip: minor fix about ip route
...
Minor fix about ip4_route_src_hook()
2018-07-16 17:21:46 +08:00
Alexey Gerenkov
af2a6ee826
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
2018-07-16 14:19:57 +08:00
Liu Zhi Fu
2a581e3fab
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-14 10:01:55 +08:00
Jiang Jiang Jian
7b0a926574
Merge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_err_data_report_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2751
2018-07-13 19:16:42 +08:00
Mahavir Jain
f2c543785b
bt: fix OS abstraction layer for correct critical section API usage
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-07-13 11:29:40 +08:00
Ivan Grokhotkov
ed27e75f50
Merge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
...
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile (backport v3.1)
See merge request idf/esp-idf!2712
2018-07-12 17:18:06 +08:00
wangmengyang
ea30c54cda
component/bt: bugfix for erroneous data reporting always enabled
2018-07-11 20:08:36 +08:00
Jiang Jiang Jian
c71c8aea55
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2727
2018-07-11 18:23:47 +08:00
Jiang Jiang Jian
46001bf6d4
Merge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
...
Fix linking of libgcc math functions to ROM (backport v3.1)
See merge request idf/esp-idf!2711
2018-07-11 16:45:39 +08:00
Jiang Jiang Jian
0db9b87d66
Merge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
...
lwip: disable ETHARP_TRUST_IP_MAC by default (backport v3.1)
See merge request idf/esp-idf!2720
2018-07-10 14:42:54 +08:00
Jiang Jiang Jian
a9aaabae21
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
...
lwip: fix the assertion in tcp_pcb_purge() (backport v3.1)
See merge request idf/esp-idf!2722
2018-07-10 14:42:47 +08:00
wangmengyang
dff911da69
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-09 12:14:27 +08:00
Liu Zhi Fu
31ca811240
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-09 10:33:13 +08:00
Liu Zhi Fu
febb0cb3da
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-09 10:26:05 +08:00
Ivan Grokhotkov
d128ff3ecd
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
...
INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.
Fixes https://github.com/espressif/esp-idf/issues/2127
2018-07-05 17:21:55 +08:00
Ivan Grokhotkov
debe83c3b5
esp32: force pure math functions from libgcc to be linked from ROM
2018-07-05 17:19:01 +08:00
Ivan Grokhotkov
5752e4d588
esp32: fix addresses of some libgcc functions in ROM ld script
2018-07-05 17:18:54 +08:00
Xia Xiaotian
fffbcbb78b
esp32: Change channel state information(CSI) data type from unsigned char to singed char
2018-07-04 11:47:57 +08:00
Tian Hao
3ad712ba86
esp32: fix coex bug
...
1. fix BLE connection missing in coex mode
2. modify other parameters to make coex priority more reasonable
3. fix modem sleep procedure trap cause Wifi disable RF when BT is
working. Such cause that BR/EDR is difficult to be connected, BLE
connection stability decrease and so on.
4. modify BR/EDR coexist duration to imrove BR/EDR connect success
ratio.
5. Due to the hardware coexist bug, BLE scan interval/window should
be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
scan any advertising packet while WiFi have higher priority
behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).
2018-06-30 22:40:09 +08:00
Jiang Jiang Jian
b31e16039e
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'
...
Component/bt: fix register multi service change when register multi gattc for v3.1
See merge request idf/esp-idf!2668
2018-06-30 11:30:59 +08:00
Jiang Jiang Jian
16bb663c74
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
...
component/bt: Fix some bad point calculations of BT GAP of v3.1
See merge request idf/esp-idf!2669
2018-06-29 22:16:15 +08:00
baohongde
1340de576e
component/bt: Fix bug of BT and BLE remove bond device of v3.1
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
A cherry-pick of MR !2562
2018-06-29 20:09:19 +08:00
baohongde
92ea676c38
component/bt: Fix some bad point calculations of BT GAP of v3.1
...
Closes https://github.com/espressif/esp-idf/issues/2103
A cherry-pick of MR !2655
2018-06-29 20:01:51 +08:00
zhiweijian
8335933cdf
Component/bt: fix register multi service change when register multi gattc
2018-06-29 19:54:22 +08:00
Jiang Jiang Jian
f4f563bc7b
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
...
component/bt: fix stop adv error in dual core for v3.1
See merge request idf/esp-idf!2661
2018-06-29 19:22:28 +08:00
Jiang Jiang Jian
a95678bfcd
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'
...
assert: Fix. Move useful functions from wrapped assert functions (v3.1)
See merge request idf/esp-idf!2605
2018-06-29 19:20:35 +08:00
Jiang Jiang Jian
dadfcc35b3
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
...
bt : fix read rssi conflict when in dual mode
See merge request idf/esp-idf!2618
2018-06-29 19:18:15 +08:00
Jiang Jiang Jian
7535226679
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'
...
component/bt: Fix bug: Respond with the Error Response when receiving a request…
See merge request idf/esp-idf!2662
2018-06-29 19:15:03 +08:00
Jiang Jiang Jian
2d7798e091
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2660
2018-06-29 18:45:47 +08:00
Jiang Jiang Jian
d945191e08
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2659
2018-06-29 18:45:30 +08:00
Jiang Jiang Jian
a0014d91b9
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2658
2018-06-29 18:44:20 +08:00
baohongde
85127bcbbd
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1
...
A cherry-pick of MR !2591
2018-06-29 15:19:19 +08:00
Jiang Jiang Jian
364e587b46
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
...
Optimize WiFi memory (backport v3.1)
See merge request idf/esp-idf!2651
2018-06-29 15:13:00 +08:00
zwj
6752163800
component/bt: fix stop adv error in dual core
2018-06-29 15:09:11 +08:00
wangmengyang
125828edaf
prevent Dynamic Frequency Scaling when using bluetooth modem sleep
...
This constraint will be elimiated after the issue is fixed
2018-06-29 14:49:23 +08:00
wangmengyang
d7f5c3e55f
component/bt: remove the call of assert in time conversion functions which can be caused in ISR
2018-06-29 14:40:54 +08:00
wangmengyang
eebbe2d008
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep
...
1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case
2018-06-29 14:29:53 +08:00
zwj
9ca4dc0626
component/bt: fix no adv packets
2018-06-29 10:23:46 +08:00
Liu Zhi Fu
dd73e2a453
Optimize WiFi memory
...
Optimize wifi memory (b987c01d)
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-28 21:27:24 +08:00
Jiang Jiang Jian
07b1e2053c
Merge branch 'mesh/update_libs_v3.1' into 'release/v3.1'
...
mesh: update libs(backport3.1)
See merge request idf/esp-idf!2630
2018-06-28 16:09:29 +08:00
wangmengyang
3c188abdd7
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
...
this will resolve the issue of failure of BLE connection stress test with sleep enabled
2018-06-27 18:13:17 +08:00
Jiang Jiang Jian
698d3bafa5
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix slave can not receive long packets in smp for v3.1
See merge request idf/esp-idf!2626
2018-06-27 18:10:24 +08:00
Ivan Grokhotkov
fcf0324a66
Merge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'
...
soc: Fix check_long_hold_gpio and move def to soc (v3.1 backport)
See merge request idf/esp-idf!2622
2018-06-27 15:55:46 +08:00