Jiang Jiang Jian
863131435f
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.0' into 'release/v3.0'
...
esp32: fix some WiFi bugs (backport v3.0)
See merge request idf/esp-idf!4220
2019-02-15 12:15:11 +08:00
Liu Zhi Fu
a774044688
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
after reset.
2019-01-31 21:22:09 +08:00
Jiang Jiang Jian
e04cb97187
Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.0' into 'release/v3.0'
...
driver(i2c): enable I2C master hardware filter by default (backport v3.0)
See merge request idf/esp-idf!3817
2019-01-25 13:54:49 +08:00
Jiang Jiang Jian
799f5b7a49
Merge branch 'bugfix/bootloader_map_size_v3.0' into 'release/v3.0'
...
bootloader: fix incorrect mapping size (backport v3.0)
See merge request idf/esp-idf!4140
2019-01-24 14:15:13 +08:00
Jiang Jiang Jian
6ca6cd4ef5
Merge branch 'bugfix/init_memctl_v3.0' into 'release/v3.0'
...
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.0)
See merge request idf/esp-idf!4141
2019-01-23 22:14:21 +08:00
Ivan Grokhotkov
0ee46b6321
bootloader, esp32: add workaround for Tensilica erratum 572
...
If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.
2019-01-23 17:20:56 +08:00
Angus Gratton
42140822d5
Update esptool.py to v2.6
2019-01-23 17:15:06 +08:00
Ivan Grokhotkov
b6113eb73b
bootloader: account for load address when mapping cache pages
...
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.
Reported in https://esp32.com/viewtopic.php?f=13&t=6952 .
2019-01-23 17:13:30 +08:00
Ivan Grokhotkov
3a88249180
bootloader: fix IROM and DROM swapped in log messages
2019-01-23 17:11:08 +08:00
Jiang Jiang Jian
25a10b2aa4
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.0' into 'release/v3.0'
...
esp32: fix wrongly deleting hardware BA index bug (backport v3.0)
See merge request idf/esp-idf!4104
2019-01-12 13:56:48 +08:00
Liu Zhi Fu
fe6d497fb7
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 23:56:27 +08:00
Jiang Jiang Jian
3fc32829b1
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.0' into 'release/v3.0'
...
esp32: do defragmentation only for data and management frame (backport v3.0)
See merge request idf/esp-idf!4092
2019-01-11 22:24:22 +08:00
Jiang Jiang Jian
62897af3ab
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.0' into 'release/v3.0'
...
tcpip: fix mbox thread-safe issue (backport v3.0)
See merge request idf/esp-idf!4007
2019-01-11 22:22:19 +08:00
XiaXiaotian
2d40102197
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-09 16:17:27 +08:00
Liu Zhi Fu
c51c00143a
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-02 23:08:08 +08:00
Jiang Jiang Jian
8fac11eb1f
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.0' into 'release/v3.0'
...
test: add case to detect ds2ds issue (backport v3.0)
See merge request idf/esp-idf!3867
2018-12-29 10:34:25 +08:00
Jiang Jiang Jian
9e7e484b55
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.0' into 'release/v3.0'
...
driver(uart): fixed uart read error bug when using dual core (backport v3.0)
See merge request idf/esp-idf!3818
2018-12-29 10:33:27 +08:00
Jiang Jiang Jian
9884622fab
Merge branch 'bugfix/btdm_assert_ble_32768_and_65535_v3.0' into 'release/v3.0'
...
components/bt: Fix assert 32768 and 65535 (backport 3.0)
See merge request idf/esp-idf!4034
2018-12-29 10:32:09 +08:00
Ivan Grokhotkov
ce0ddff8e9
unit tests: make static init guard test single core compatible
2018-12-28 16:31:32 +08:00
Angus Gratton
f3a108f629
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-12-28 15:53:01 +08:00
baohongde
13bed6ed4c
components/bt: Fix assert 32768 and 65535
...
1. fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2. fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-27 15:05:22 +08:00
Ivan Grokhotkov
9aff9f3f8b
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.0' into 'release/v3.0'
...
mdns: fixed crashes on network changes (backport v3.0)
See merge request idf/esp-idf!3785
2018-12-21 11:59:20 +08:00
He Yin Ling
1bde2dada6
test: add test case to receive ds2ds packet
2018-12-06 20:28:54 +08:00
Ivan Grokhotkov
629a342919
ci: remove stale submodules after checkout
...
When ‘fetch’ strategy is used, Gitlab removes untracked files before
checking out new revision. However if the new revision doesn’t
include some of the submodules which were present in the old
revision, such submodule directories would not be removed by the
checkout. This extra step ensures that these stale submodules are
removed.
2018-12-06 20:28:54 +08:00
He Yin Ling
e4a1d7848e
unit-test-app: backport from v3.1 to v3.0:
...
1. add multiple devices feature
2. use tiny-test-fw to run unit test cases
2018-12-06 20:28:54 +08:00
He Yin Ling
ee3ad61ad8
tiny-test-fw: backport tiny-test-fw from v3.1 to v3.0
2018-12-06 20:28:53 +08:00
kooho
ca380caba9
driver(uart): fixed uart read error bug when using dual core for release/v3.0.
2018-11-28 17:59:27 +08:00
kooho
b39143b922
driver(i2c): enable I2C master hardware filter by default for release/v3.0
2018-11-28 17:50:32 +08:00
David Cermak
6acc982f86
mdns: fixed crashes on network changes
...
not properly locked sending packets to queue from timer task
2018-11-24 06:07:16 +01:00
Jiang Jiang Jian
7e0ea6b05d
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.0' into 'release/v3.0'
...
esp32: fix some wifi bugs (backport v3.0)
See merge request idf/esp-idf!3760
2018-11-23 17:08:59 +08:00
Liu Zhi Fu
1a2cb6e363
esp32: fix some wifi bugs
...
Fix some wifi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-21 15:15:11 +08:00
Jiang Jiang Jian
b7c4d9a9ea
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.0' into 'release/v3.0'
...
Component/bt: add check peer addr type in set adv params (backport v3.0)
See merge request idf/esp-idf!3737
2018-11-20 20:03:22 +08:00
Jiang Jiang Jian
9ee965c784
Merge branch 'bugfix/btdm_controller_disable_v3.0' into 'release/v3.0'
...
Fix two bugs when disable bluetooth controller(backport v3.0)
See merge request idf/esp-idf!3694
2018-11-20 17:00:16 +08:00
Jiang Jiang Jian
3ad56faf94
Merge branch 'bugfix/aes_sha_mpi_shared_regs_add_for_single_core_v3.0' into 'release/v3.0'
...
aes/sha/mpi: Bugfix a use of shared registers. (add for single core) (backport v3.0)
See merge request idf/esp-idf!3738
2018-11-20 14:20:41 +08:00
Konstantin Kondrashov
7761b0f28b
aes/sha/mpi: Bugfix a use of shared registers.
...
This commit resolves a blocking in esp_aes_block function.
Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.
Fix some related issue with shared using of AES SHA RSA accelerators.
Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
2018-11-19 20:57:01 +08:00
zhiweijian
896d40609f
Component/bt: add check peer addr type in set adv params
2018-11-19 19:46:41 +08:00
Angus Gratton
03533a79d9
Merge branch 'bugfix/aes_sha_mpi_shared_regs_v3.0' into 'release/v3.0'
...
aes/sha/mpi: Bugfix a use of shared registers. (backport v3.0)
See merge request idf/esp-idf!3641
2018-11-19 15:18:55 +08:00
wangmengyang
979c4c199c
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working.
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.
2018-11-16 10:25:21 +00:00
Ivan Grokhotkov
d990817814
Merge branch 'bugfix/app_template_build_v3.0' into 'release/v3.0'
...
esp-idf-template app: some fixes for the updated template app (backport v3.0)
See merge request idf/esp-idf!3702
2018-11-15 18:39:50 +08:00
Jiang Jiang Jian
820200e66b
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.0' into 'release/v3.0'
...
fix the crash caused by sys_mbox_free (backport v3.0)
See merge request idf/esp-idf!3675
2018-11-15 10:32:21 +08:00
Anton Maklakov
725cd28007
ci: If there is no sdkconfig, we have to generate one
2018-11-15 01:13:47 +08:00
Jiang Jiang Jian
93530e676e
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.0' into 'release/v3.0'
...
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backport 3.0)
See merge request idf/esp-idf!3644
2018-11-12 15:29:37 +08:00
Jiang Jiang Jian
f9f3870e02
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.0' into 'release/v3.0'
...
esp32: do not try to load PHY data if fail to open NVS (backport v3.0)
See merge request idf/esp-idf!3650
2018-11-12 14:23:21 +08:00
Liu Zhi Fu
cb4b9041bd
lwip: fix crash caused by sys_mbox_free
...
Fix lwip crashed bug caused by sys_mbox_free()
2018-11-11 11:53:01 +08:00
XiaXiaotian
ec5f7d6344
esp32: do not try to load PHY data if fail to open NVS
2018-11-06 21:57:23 +08:00
baohongde
0ee8db80ff
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
...
When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2018-11-06 18:03:15 +08:00
Konstantin Kondrashov
8776290f73
aes/sha: Bugfix a filling of AES_KEY_BASE and eap_sha function
...
Fixed filling of AES_KEY_BASE.
Fixed esp_sha function.
2018-11-06 15:05:36 +08:00
Jiang Jiang Jian
09cc6d316f
Merge branch 'bugfix/fix_some_wifi_bugs_1022_v3.0' into 'release/v3.0'
...
esp32: fix some wifi bugs (backport v3.0)
See merge request idf/esp-idf!3541
2018-11-02 15:37:59 +08:00
Angus Gratton
bb56d86fde
Merge branch 'bugfix/bootloader_iram_overlap_check_v3.0' into 'release/v3.0'
...
bootloader: verify that loaded image does not overlap bootloader code (backport v3.0)
See merge request idf/esp-idf!3527
2018-11-01 14:01:49 +08:00
Ivan Grokhotkov
db2223818b
bootloader: verify that loaded image does not overlap bootloader code
...
Fixes CVE-2018-18558
2018-10-30 17:35:23 +08:00