Commit Graph

5914 Commits

Author SHA1 Message Date
Chinmay Chhajed
bf9e676884 This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled.
The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.

Also fixes ble crash issue triggered by ble event irq miss(0x20000)
2020-03-05 19:21:16 +05:30
David Čermák
42869f4912 Merge branch 'feature/websocket_client_v3.2' into 'release/v3.2'
websocket: backport of websocket client to v3.2

See merge request espressif/esp-idf!7268
2020-03-03 16:03:25 +08:00
June
511c1cee22 backport esp32 5p0 new features to release/v3.2 2020-02-29 09:12:15 +00:00
June
e1086b6b6f backport mr !6031 - fix security info restore bug 2020-02-28 11:48:52 +00:00
Marius Vikhammer
15d39eded5 tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
transport_ws can now be read multiple times in a row to read frames larger than the buffer.

Added reporting of total payload length and offset to the user in websocket_client.

Added local example test for long messages.

Closes IDF-1083
2020-02-27 08:56:43 +00:00
Marius Vikhammer
abe93ee7c3 websocket: backport of websocket client to v3.2
Backports the websocket client and example to ESP-IDF release 3.2.
2020-02-27 08:56:43 +00:00
Jiang Jiang Jian
3c0ac69088 Merge branch 'bugfix/mesh_ie_issues_3.2' into 'release/v3.2'
mesh: fix mesh ie issues (backport 3.2)

See merge request espressif/esp-idf!7199
2020-02-26 22:45:55 +08:00
Jiang Jiang Jian
5ddeab1409 Merge branch 'bugfix/btdm_allow_start_adv_again_v3.2' into 'release/v3.2'
component/bt: allow to send stop adv again and fix tx prog crash (backport v3.2)

See merge request espressif/esp-idf!6917
2020-02-24 20:17:44 +08:00
Jiang Jiang Jian
a988c6bdb6 Merge branch 'bugfix/mbedtls_esp_bignum_v3.2' into 'release/v3.2'
mbedtls: esp bignum fix for 4096 keys (v3.2)

See merge request espressif/esp-idf!7707
2020-02-24 11:44:03 +08:00
chenyudong
9c1935e24c mesh: fix mesh ie issues
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-21 18:55:49 +08:00
Jiang Jiang Jian
fda11a687d Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.2' into 'release/v3.2'
lw-ip: Add option to ipv6 stateless address configuration (backport v3.2)

See merge request espressif/esp-idf!7695
2020-02-21 14:56:44 +08:00
David Cermak
7b495db118 mbedtls: fix hw accelerated big-num mul if operand and result overlap
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 10:06:28 +01:00
David Cermak
bdf477e76d mbedtls: added mpi multiplication test for large numbers 2020-02-20 10:06:28 +01:00
Amit Sheth
b57134d21e project_include.cmake: Make esptool_py_custom_target callable from other directories 2020-02-20 13:06:18 +05:30
zhiweijian
bdb1391eeb component/bt: allow to send stop adv again and fix tx prog crash 2020-02-20 14:26:47 +08:00
xiehang
ecb5370ca6 lw-ip: Add option to ipv6 stateless address configuration 2020-02-20 14:26:19 +08:00
Jiang Jiang Jian
59f2b3f036 Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.2' into 'release/v3.2'
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.2)

See merge request espressif/esp-idf!7660
2020-02-20 12:44:58 +08:00
Michael (XIAO Xufeng)
aaf98c14fd Merge branch 'bugfix/i2s_timergroup_some_issues_v3.2' into 'release/v3.2'
bugfix(driver): fix i2s and timergroup some issues(backport v3.2)

See merge request espressif/esp-idf!7174
2020-02-20 00:20:54 +08:00
Jiang Jiang Jian
491c64e337 Merge branch 'bugfix/controller_initializer_order_3.2' into 'release/v3.2'
Fix the initializer order

See merge request espressif/esp-idf!7624
2020-02-19 17:10:50 +08:00
zhangyanjiao
1b21573901 fix the bug for Airkiss can't get the ip of the cellphone 2020-02-19 10:38:05 +08:00
xiehang
297146c410 lw-ip: Enable IPv6 stateless address autoconfiguration 2020-02-18 19:38:09 +08:00
Hrishikesh Dhayagude
3452d579ac Unified Provisioning - BLE: Fix characteristics read response issue
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 14:59:26 +05:30
weitianhua
714afdec6d Fix the initializer order 2020-02-17 16:10:53 +08:00
xueyunfei
c2f1cd5bc0 bugfix for add random udp port for 3.2 2020-02-14 22:00:16 +08:00
Jiang Jiang Jian
eb3f02a41a Merge branch 'hfp_a2dp_coex_iphone_3.2' into 'release/v3.2'
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.2]

See merge request espressif/esp-idf!7251
2020-02-14 17:12:03 +08:00
Jiang Jiang Jian
263c670342 Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v3.2' into 'release/v3.2'
soc: clear PHY status when cpu start (backport v3.2)

See merge request espressif/esp-idf!7591
2020-02-14 11:35:14 +08:00
Xia Xiaotian
2a7d2a7795 soc: clear PHY status when cpu start 2020-02-13 14:28:33 +08:00
liu zhifu
448dd7c6ca esp32: fix the crash caused by double free BAR buffer 2020-02-12 16:38:47 +08:00
Angus Gratton
b83749988c Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.2' into 'release/v3.2'
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.2)

See merge request espressif/esp-idf!7442
2020-02-06 14:31:17 +08:00
KonstantinKondrashov
ab0f6aceac esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-02-05 10:43:47 +00:00
Hrudaynath Dhabe
e789da12bd Fix wps config for support with gnu++11 as well as c99. 2020-01-31 05:57:58 +00:00
Angus Gratton
923cd98b9e soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:04:19 +11:00
Angus Gratton
3b7777e22d Merge branch 'bugfix/mqtt_submodule_ref_update_v3.2' into 'release/v3.2'
mqtt: update submodule to point to latest commit (backport v3.2)

See merge request espressif/esp-idf!7288
2020-01-22 11:29:18 +08:00
Jiang Jiang Jian
a9d3b625c4 Merge branch 'bugfix/wa_dport_and_intr_v3.2' into 'release/v3.2'
esp32: Fix for DPORT (v3.2)

See merge request espressif/esp-idf!7351
2020-01-21 10:47:35 +08:00
xiehang
db635956fb lwip: Drop packets larger than MTU 2020-01-20 08:01:59 +00:00
Xia Xiaotian
9f8efed1eb esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
1. Fix WiFi scan leads to poor performance of Bluetooth.
    2. Improve WiFi connect success ratio when coexist with Bluetooth.
    3. Check if WiFi is still connected when CSA or beacon timeout happen.
    4. add coex pre init
2020-01-20 08:01:59 +00:00
xiehang
644591b0d5 Update wifi lib
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,coex:fix wifi scan and connect bugs
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
10,Fix wifi reload issue
2020-01-20 08:01:59 +00:00
zhangyanjiao
0e8f66e017 fix the bugs for espnow and bandwidth 2020-01-20 08:01:59 +00:00
ronghulin
d62bb227b7 esp32: fix a WiFi RX bug
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-20 08:01:59 +00:00
baohongde
9463114e27 components/bt: backport release/v3.2
Fix A2DP stuck when BLE's interval is too small
Fix assert due to no free element from
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2020-01-16 16:19:14 +08:00
KonstantinKondrashov
a22a543636 esp32: Add UT for DPORT 2020-01-16 14:36:26 +08:00
KonstantinKondrashov
adf8131c20 esp32: Fix esp_dport_access_reg_read 2020-01-16 14:36:26 +08:00
zhiweijian
02687b9b40 component/bt: fix blufi prepare write buf len invalid 2020-01-14 17:49:41 +08:00
zhiweijian
0193e34c62 Component/bt: Fix GATTC trigger open event multiple times 2020-01-14 17:49:32 +08:00
Marius Vikhammer
e22d3dd804 mqtt: update submodule to point to latest commit.
Adds bugfixes for:
 - Too early publishing
 - Potential mutex memory leak
 - CI related issues.
 - Wait for entire connack message
 - Event loop not getting cleaned up

Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.

MQTT MR: esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137

MQTT MR: esp-mqtt/merge_requests/47
Closes IDF-1126

MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140

MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384

MQTT MR: esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293

MQTT MR: esp-mqtt/merge_requests/50
Closes FCS-254

MQTT MR: esp-mqtt/merge_requests/53
Closes FCS-267
2020-01-14 10:53:01 +08:00
Angus Gratton
287bee03b3 Merge branch 'bugfix/mdns_send_sdptr_answer_v3.2' into 'release/v3.2'
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v3.2)

See merge request espressif/esp-idf!7244
2020-01-09 13:00:53 +08:00
Jiang Jiang Jian
1a897da635 Merge branch 'bugfix/btdm_avrc_category_v3.2' into 'release/v3.2'
components/bt: Choose AVRC category according to A2DP role

See merge request espressif/esp-idf!7178
2020-01-09 11:34:59 +08:00
weitianhua
344c86bc3e hfp a2dp iphone 3.2 2020-01-08 19:44:23 +08:00
David Cermak
7a74262858 mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:22:27 +01:00
liu zhifu
1d7c633349 esp32: fix WiFi performance issue 2020-01-06 21:28:18 +08:00