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
xutao
61807f6e52
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-17 14:46:09 +08:00
lly
c53fe053e7
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-11-17 11:06:34 +08:00
lly
230e8f5c92
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-11-17 11:06:34 +08:00
lly
c94d7fe982
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-11-17 11:06:34 +08:00
lly
ea1c51639f
ble_mesh: example: Fix fast provisioning compile error
2020-11-17 11:06:34 +08:00
lly
447d19776c
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-11-17 11:06:34 +08:00
lly
dad5cc4aeb
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-17 11:06:33 +08:00
lly
e44307504a
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-17 11:06:33 +08:00
lly
a67d205468
ble_mesh: stack: Make some internal static functions inline
2020-11-17 11:06:33 +08:00
lly
22cfa7ea6a
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-11-17 11:06:33 +08:00
lly
bc5ba60ceb
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-17 11:06:33 +08:00
lly
73733396cd
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-17 11:06:32 +08:00
Krzysztof Budzynski
4f74fd9e95
Merge branch 'bugfix/sleep_comments_v4.1' into 'release/v4.1'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v4.1)
See merge request espressif/esp-idf!8567
2020-11-17 08:59:22 +08:00
Angus Gratton
09e669dba2
Merge branch 'bugfix/secure_boot_v2_key_gen_py3_v4.1' into 'release/v4.1'
...
esptool: Update submodule fixing Py3 keygen in Secure boot v2
See merge request espressif/esp-idf!11230
2020-11-17 07:38:43 +08:00
israel
467bf2f53f
AP_STAIPASSIGNED now passes the IP through 'event_data'
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
2020-11-16 17:32:14 +08:00