Commit Graph

11704 Commits

Author SHA1 Message Date
alanmaxwell
c93d0dbcb4 fix(phy): side band optimize 2023-08-21 19:48:58 +08:00
chenwen@espressif.com
2e0f850123 Remove invalid submodule 2023-08-21 19:45:18 +08:00
muhaidong
125902ab2c esp_wifi: support country code CS 2023-07-06 15:30:25 +08:00
ronghulin
e01b690e5b feature: support multiple PHY init data 2023-07-06 15:30:15 +08:00
wangmengyang
4235ee44e6 bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth 2023-07-06 15:30:05 +08:00
xiewenxiang
f07768413f feat(ble): Add functions to monitor ble adv packets report 2022-07-04 15:44:12 +08:00
xiewenxiang
ac9caecc99 fix(ble scan): Malloc fail will lead to stop receive adv packets 2022-07-01 17:29:20 +08:00
Cao Sen Miao
04a730c80c spi_flash: move the unlock patch to bootloader and add support for GD (backport v4.0) 2022-07-01 11:41:05 +08:00
xiewenxiang
6b79d1c206 fix ble scan issue 2021-11-25 16:49:55 +08:00
Kapil Gupta
c2bc773b28 wpa_supplicant: 11KV bug fixes 2021-11-19 12:34:54 +05:30
Cao Sen Miao
d859c24028 spi_flash: fix cs line setup to make the flash driver more stable 2021-11-19 12:34:45 +05:30
Michael (XIAO Xufeng)
3df60ecd9c bootloader: add xmc spi_flash startup flow to improve reliability 2021-11-19 12:34:33 +05:30
Kapil Gupta
5f96245c05 esp_wifi: Update WiFi lib for 11kv feature 2021-10-26 16:33:34 +05:30
Kapil Gupta
a9f1cf070a wpa_supplicant: Add some miscellaneous fixes
1. Complilation correction when supplicant's debug are enabled
2. Scan optimization/correction in BTM request
3. BSS Transition reason code in case of BTM disconnect
2021-10-26 16:31:43 +05:30
Kapil Gupta
267fcd97ea wpa_supplicant: Remove generic scan done event for rrm/btm scans 2021-10-12 15:44:39 +05:30
Kapil Gupta
a1d836d659 wpa_supplicant: Fix some issues in 11kv
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-10-12 15:42:11 +05:30
kapil.gupta
626d9d8bd6 wpa_supplicant: Remove lock during processing of btm/rrm packets
Lock is not required during btm/rrm action frames processing and
taking it may cause inconsistant behavior since wifi task
posts the events to this task.
2021-10-12 15:20:03 +05:30
kapil.gupta
5ad7e4aa2a wpa_supplicant: Add initial roaming support
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.

Followings are added as part of this.

1. Support for sending neighbor report request and provide
   the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
   (triggered by the APP)
5. Support for bss transition management request and move
   to the candidate based on that.
6. Sending the bss transition management response.
2021-10-12 15:19:42 +05:30
Hrudaynath Dhabe
c616d9014e esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of specified interface. 2021-10-12 14:59:48 +05:30
kapil.gupta
e3cc2e8a0d 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
2021-10-12 14:59:30 +05:30
Jiang Jiang Jian
7504329ef9 Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.0' into 'release/v4.0'
esp_wifi: fix amsdu & fragment vulnerabilities(v4.0)

See merge request espressif/esp-idf!14101
2021-06-25 11:45:15 +00:00
Jiang Jiang Jian
c2f9002b03 Merge branch 'update/version_4_0_3' into 'release/v4.0'
Update version to 4.0.3

See merge request espressif/esp-idf!14141
2021-06-25 11:42:07 +00:00
ChenJianxing
f3f1190959 esp_wifi: fix amsdu & fragment vulnerabilities 2021-06-24 22:39:13 +08:00
He Yin Ling
03fc307e21 versions: Update version to 4.0.3 2021-06-24 17:35:06 +08:00
Ivan Grokhotkov
b0097bb64f Merge branch 'feature/codeowners_v4.0' into 'release/v4.0'
add simplified CODEOWNERS file for older release branches (v4.0)

See merge request espressif/esp-idf!14093
2021-06-23 08:08:35 +00:00
Ivan Grokhotkov
57a9782f8b add simplified CODEOWNERS file for older release branches 2021-06-22 09:23:33 +02:00
Island
ee8c27e5e3 Merge branch 'bugfix/AuthValue_leak_v4.0' into 'release/v4.0'
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.0)

See merge request espressif/esp-idf!14005
2021-06-18 03:47:47 +00:00
wangjialiang
6ba3ae339b ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 16:53:07 +08:00
Island
3ea9deff82 Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.0' into 'release/v4.0'
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.0)

See merge request espressif/esp-idf!13924
2021-06-17 07:38:45 +00:00
wangjialiang
f9b2bba5a4 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-16 21:28:52 +08:00
Island
577aef29ad Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.0' into 'release/v4.0'
component/bt: fix enable gattc nvs cache lead to crash

See merge request espressif/esp-idf!13916
2021-06-10 02:56:25 +00:00
Island
8ca5068f20 Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.0' into 'release/v4.0'
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.0)

See merge request espressif/esp-idf!13898
2021-06-09 06:32:42 +00:00
Chinmay Chhajed
e42479e129 Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-06-08 10:09:21 +05:30
xiewenxiang
3892a92d80 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 18:03:19 +08:00
Angus Gratton
bdbfdcdf5c Merge branch 'bugfix/partition_table_integrity_check_v4.0' into 'release/v4.0'
paritition_table: Verify the partition table md5sum when loading in the app (v4.0)

See merge request espressif/esp-idf!13586
2021-06-03 02:14:28 +00:00
Angus Gratton
c572e0bf5f paritition_table: Verify the partition table md5sum when loading the app
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).

The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:30:02 +10:00
He Yin Ling
b23f8e21cd Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.0' into 'release/v4.0'
ttfw: fix DUT exception not added to junit report (v4.0)

See merge request espressif/esp-idf!13614
2021-05-26 03:12:41 +00:00
Jiang Jiang Jian
1a415f3e31 Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.0' into 'release/v4.0'
NimBLE: Fix MITM vulnerability and free AES context (v4.0)

See merge request espressif/esp-idf!13599
2021-05-25 14:27:33 +00:00
Prasad Alatkar
fc9f2e8782 NimBLE: Fix MITM vulnerability and free AES context (v4.0) 2021-05-25 14:57:37 +05:30
He Yin Ling
091681faec ttfw: fix DUT exception not added to junit report 2021-05-20 16:57:06 +08:00
Island
532d0a72c3 Merge branch 'nimble/fix_host_flow_ctrl_v4.0' into 'release/v4.0'
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v4.0)

See merge request espressif/esp-idf!13577
2021-05-19 09:50:27 +00:00
Angus Gratton
51623fd4ce Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
Feature/oocd ver backport v4.0

See merge request espressif/esp-idf!11378
2021-05-19 07:57:38 +00:00
Angus Gratton
0242438e9d Merge branch 'bugfix/setjmp_longjmp_4.0' into 'release/v4.0'
[system]: Made longjmp save for context switch (backport v4.0)

See merge request espressif/esp-idf!13503
2021-05-19 01:39:51 +00:00
Prasad Alatkar
e123d89625 NimBLE: Update submodule to fix host flow control bugs. 2021-05-18 19:01:28 +05:30
Prasad Alatkar
b57b6f1adb NimBLE: Fix host flow control in NimBLE porting layer.
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:01:17 +05:30
He Yin Ling
4ba4b5780e Merge branch 'bugfix/python3_target_test_4.0' into 'release/v4.0'
ci: using python3 to tun target test (4.0)

See merge request espressif/esp-idf!13241
2021-05-11 09:15:18 +00:00
Alexey Gerenkov
0d99d2a1a1 tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401' 2021-05-10 16:23:48 +00:00
Jakob Hasse
19eab31660 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-05-10 19:21:56 +08:00
Jiang Jiang Jian
fa1f7e112c Merge branch 'feature/twdt_prints_backtrace_v4.0' into 'release/v4.0'
Add Task Watchdog backtrace printing (v4.0)

See merge request espressif/esp-idf!12618
2021-05-10 09:47:28 +00:00
Jiang Jiang Jian
f5c4e5e7d2 Merge branch 'bugfix/gtk_reinstallation_fix_v4.0' into 'release/v4.0'
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.0)

See merge request espressif/esp-idf!13184
2021-05-10 08:33:46 +00:00