baohongde
9b274cc989
components/bt: Fix waking up fail while sleeping
2020-11-22 20:37:10 +08:00
baohongde
a64acef06f
components/bt: Make sleep avaliable in hli(for future use)
2020-11-22 20:37:10 +08:00
wangcheng
c33dc7afd1
components/bt: Fix BT controller dead issue caused by clk overflow
...
components/bt: Fix assert(10, 9), when the AFPM happens
2020-11-22 20:37:10 +08:00
wangcheng
2b19bc9efa
components/bt: fixed memory damage caused by bluetooth memory release
2020-11-22 20:37:10 +08:00
wangcheng
a8035d21ef
ble_mesh: add ble mesh coex test example
2020-11-22 20:37:10 +08:00
Jiang Jiang Jian
5b73ec939c
Merge branch 'bugfix/fix_some_wifi_bugs_1120_v4.1' into 'release/v4.1'
...
WiFi: fix some wifi bugs 1120 (backport v4.1)
See merge request espressif/esp-idf!11317
2020-11-22 20:07:37 +08:00
dongyou
d950d3b6b0
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-11-22 18:05:12 +08:00
ronghulin
5a2445bb96
bugfix: fix TCP timer interval
2020-11-22 18:03:57 +08:00
ronghulin
f835edbf5c
fix TCP retransmission interval
2020-11-22 18:03:06 +08:00
Jan-Hendrik Frintrop
87bd31983c
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
https://github.com/espressif/esp-idf/pull/5186
2020-11-22 17:55:09 +08:00
Hrudaynath Dhabe
fc18d7972e
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-11-22 17:47:20 +08:00
Jiang Jiang Jian
8171579a5c
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.1' into 'release/v4.1'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.1)
See merge request espressif/esp-idf!9968
2020-11-22 15:17:41 +08:00
Jiang Jiang Jian
4dd4a1a2e0
Merge branch 'bugfix/backport_some_lwip_bugs_1120_v4.1' into 'release/v4.1'
...
lw-ip:backport bugfix lwip for v4.1(backport 4.1)
See merge request espressif/esp-idf!11305
2020-11-21 15:28:00 +08:00
KonstantinKondrashov
d925b564cd
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-11-21 07:14:38 +00:00
Jiang Jiang Jian
941e7771d9
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v4.1' into 'release/v4.1'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v4.1)
See merge request espressif/esp-idf!11313
2020-11-21 15:13:18 +08:00
Jiang Jiang Jian
552baf659c
Merge branch 'bugfix/mdns_src_addr_cpy_v4.1' into 'release/v4.1'
...
mdns: Fix wrong mdns source address if lwIP IPv6 zoning disabled (v4.1)
See merge request espressif/esp-idf!11311
2020-11-21 15:11:05 +08:00
Jiang Jiang Jian
fee376dcdc
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v4.1' into 'release/v4.1'
...
backport v4.1: added psram stack check in backtrace
See merge request espressif/esp-idf!8479
2020-11-20 22:33:26 +08:00
Hrudaynath Dhabe
7eada9f4d3
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-11-20 22:26:44 +08:00
liu zhifu
3dc7dc9e97
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-11-20 22:13:19 +08:00
zhangyanjiao
2c85e830e0
esp_wifi: update wifi lib
2020-11-20 20:14:07 +08:00
liu zhifu
5de5eb5676
esp_wifi: optimize WiFi TX performance
2020-11-20 19:47:01 +08:00
Nachiket Kukade
ffc87ab7d9
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
5. Use flag ESP32_WIFI_ENABLE_WPA3_SAE to control WPA3 code, disabling
it code footprint reduces by 7.7kB in libwpa_supplicant.a
6. Fix handling of multiple AP credentials in WPS, apps need update
to handle the new event for the fix to work
Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-20 19:45:21 +08:00
ChenJianxing
b8991833ca
esp_wifi: remove wifi tx buffer limits
2020-11-20 19:43:28 +08:00
Xia Xiaotian
3dbff1638c
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-20 19:42:13 +08:00
GOPTIONS\pfrost
77e7b15190
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-11-20 19:40:48 +08:00
aditi_lonkar
5707296aff
wifi: Fix esp_wifi log levels
2020-11-20 19:38:34 +08:00
kapil.gupta
2c995da190
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-11-20 19:33:43 +08:00
Nachiket Kukade
0bd483bbf5
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-11-20 19:00:55 +08:00
David Cermak
05314b6ce0
MQTT: Update submodule reference: config, error handle, minor fixes
...
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
outbox-size)
* extended error handle to include socket's errno
Closes https://github.com/espressif/esp-idf/issues/5906
Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179
Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178
mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a
config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96
Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174
Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5
Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166
Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-20 10:25:25 +01:00
David Cermak
eec0934081
mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
...
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.
Merges https://github.com/espressif/esp-idf/pull/6055
2020-11-20 10:16:01 +01:00
Li Shuai
ab63824600
added psram stack check in backtrace
2020-11-20 07:13:11 +00:00
xueyunfei
62d1f3f9ba
backport bugfix lwip for v4.1
2020-11-20 14:40:26 +08:00
Jiang Jiang Jian
ae5603381d
Merge branch 'bugfix/backport_v4.1_fix_websocket_issue' into 'release/v4.1'
...
websocket_client: fix some issues for websocket client(backport v4.1)
See merge request espressif/esp-idf!11274
2020-11-20 14:02:32 +08:00
Jiang Jiang Jian
c3324a82a3
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.1' into 'release/v4.1'
...
wpa_supplicant: Increase PMK Lifetime to a very high value
See merge request espressif/esp-idf!11275
2020-11-19 16:27:45 +08:00
Island
be7b859198
Merge branch 'feat/ble_mesh_node_local_data_func_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add node local netkey/appkey func (v4.1)
See merge request espressif/esp-idf!11281
2020-11-19 11:22:55 +08:00
Jiang Jiang Jian
c2167f137a
Merge branch 'fix/protocomm_simple_ble_v4.1' into 'release/v4.1'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v4.1)
See merge request espressif/esp-idf!11266
2020-11-19 11:21:04 +08:00
Jiang Jiang Jian
b21f42b279
Merge branch 'optimize/ble_mesh_gattc_conn_param_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Update connection parameters used by Central (v4.1)
See merge request espressif/esp-idf!11284
2020-11-19 11:17:44 +08:00
lly
3873c9e260
ble_mesh: stack: Update connection interval to 15ms
2020-11-18 20:24:22 +08:00
lly
1fb0861b9c
ble_mesh: stack: Update connection parameters used by Central
2020-11-18 20:24:22 +08:00
lly
e989d59a4e
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-18 20:15:12 +08:00
lly
7b9c04b773
ble_mesh: stack: Add node local netkey/appkey func
2020-11-18 20:14:56 +08:00
Island
9798f2c9b0
Merge branch 'optimize/ble_mesh_reduce_code_size_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Optimization introduced to reduce code size (v4.1)
See merge request espressif/esp-idf!11249
2020-11-18 20:08:29 +08:00
Jiang Jiang Jian
0a8fd1d44b
Merge branch 'bugfix/backport_v4.1_fix_pthread_priority_inheritance' into 'release/v4.1'
...
pthread: fix the priority inheritance(backport v4.1)
See merge request espressif/esp-idf!11259
2020-11-18 17:28:35 +08:00
Nachiket Kukade
50cf0c2d24
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-18 12:36:52 +05:30
Jiang Jiang Jian
ae202d81ec
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered_v4.1' into 'release/v4.1'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered [backport v4.1]
See merge request espressif/esp-idf!11019
2020-11-18 11:40:07 +08:00
Jiang Jiang Jian
e645e2e5d6
Merge branch 'bugfix/fix_spp_read_flow_control_v4.1' into 'release/v4.1'
...
component_bt/fix spp flow control and vfs write [backport 4.1]
See merge request espressif/esp-idf!11073
2020-11-18 11:39:35 +08:00
Alexey Gerenkov
c78f5cde40
coredump: Fixes size of memory region used by espcoredump.py
2020-11-17 20:25:56 +03:00
Prasad Alatkar
f39b02f299
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v4.1)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-17 15:59:06 +05:30
Jiang Jiang Jian
8eff4e7a47
Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data_for_4.1' into 'release/v4.1'
...
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'(backport 4.1)
See merge request espressif/esp-idf!11240
2020-11-17 17:45:56 +08:00
xutao
88ddddbd3f
websocket_client: fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-11-17 15:53:19 +08:00