Commit Graph

181 Commits

Author SHA1 Message Date
Kapil Gupta 95b522a1be fix(wifi): Fix encryption/decryption issue for mgmt packets
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
2024-04-16 19:49:09 +05:30
muhaidong 6d97ebf35c fix(wifi): fixed task watchdog got triggered by esp_wifi_stop issue 2024-04-11 12:03:11 +08:00
liuning bd98ade2a8 fix(wifi): fix coex ld issue 2024-03-28 21:28:10 +08:00
muhaidong fedfac470a fix(wifi): fix multicast address qos frames issue 2024-03-27 10:13:14 +08:00
Guillaume Souchere 39f789df93 feat(esp_rom): patch heap walker to the ROM implementation
modify existing patch of TLSF rom and add multi heap patch
to add the walker feature to the ROM implementation of the
heap component.
2024-03-21 07:41:04 +01:00
Guillaume Souchere 5cc69ce12b feat(heap): Add walker to the heap component
Introduce new APIs in essp_heap_caps.h:
- heap_caps_walk()
- heap_caps_walk_all()

Those functions are triggering a callback for all blocks
(allocated or free) of memory present in heaps meeting
the set of capabilities passed as parameter (or all heaps
for heap_caps_walk_all() function)

test_walker.c added to test the new functionality in
test_apps/heap_test/
2024-03-20 08:33:48 +01:00
Marius Vikhammer 83d1c2f054 refactor(esp_rom): refactor rom LD inclusions to make it easier to add new targets 2024-03-12 09:48:46 +08:00
muhaidong eb54a4698c fix(wifi): fix esp32c2 disconnect reason code wrong issue 2024-02-29 09:58:24 +08:00
zwl 7b8b85e140 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 23:28:25 +08:00
liuning 7440e302be feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-02-27 09:43:00 +08:00
muhaidong 41ce6211d3 fix(wifi): fix lmac_stop_hw_txq issue 2024-02-22 22:56:02 +08:00
muhaidong e7625eb189 fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 22:56:02 +08:00
Cao Sen Miao 6768805d20 fix(uart,usj...): Fix wrong serial number that has been parsed to rom functions,
Closes https://github.com/espressif/esp-idf/issues/12958
2024-01-18 10:51:51 +08:00
luomanruo 0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
Island 682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Marius Vikhammer 99c88b9272 Merge branch 'feature/misc_core_build_tests_p4' into 'master'
ci(system): fixed and enabled misc system build tests

Closes IDF-8069, IDF-8071, and IDF-8119

See merge request espressif/esp-idf!27431
2023-11-29 16:58:07 +08:00
Marius Vikhammer b96f93b879 ci(system): fixed and enabled misc system build tests 2023-11-28 14:00:16 +08:00
luomanruo 201b7b8785 ble: update rom.ld file 2023-11-24 20:34:41 +08:00
Shyamal Khachane 05896af6bd fix(esp_wifi): Fix crash while cancelling NAN service 2023-11-24 04:15:39 +00:00
Jiang Jiang Jian 7ae8e1c438 Merge branch 'feat/optimize_bin_size' into 'master'
feat(wifi): Optimize bin size for STA only mode

Closes IDF-8120, IDFGH-11017, and WIFI-5010

See merge request espressif/esp-idf!25642
2023-11-03 09:39:17 +08:00
Guillaume Souchere 4cdb2f3f93 Merge branch 'fix/patch-heap-rom-integrity-check' into 'master'
fix(heap): Patch tlsf_check_pool in ROM heap

See merge request espressif/esp-idf!26615
2023-11-02 19:21:43 +08:00
Jiang Jiang Jian 39b2af9a29 Merge branch 'bugfix/fix_some_rom_ld_issue' into 'master'
fix(rom): fix wifi rom ld

See merge request espressif/esp-idf!26767
2023-11-02 16:10:58 +08:00
alanmaxwell 8a47c4875b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-11-02 14:05:45 +08:00
Guillaume Souchere 93d4b0b38c fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-01 09:47:41 +01:00
liuning 4a7a27c189 fix(rom): fix wifi rom ld 2023-10-31 15:41:09 +08:00
luomanruo d42fbcf144 ble: update c2 rom.ld 2023-10-27 16:03:32 +08:00
liuning 7532df427a fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-24 18:05:10 +08:00
Jiang Guang Ming 37ec1cc592 feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-23 13:10:44 +08:00
alanmaxwell 4d33bf7ee9 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-20 11:01:07 +08:00
cjin c9cf190847 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:08:51 +08:00
luomanruo 229685a4b5 ble: update tx power level index of ESP32-H2 and ESP32-C2 2023-10-12 15:56:56 +08:00
muhaidong d8b600e90b fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-09 19:17:28 +08:00
alanmaxwell 9e07fa9312 fix(phy): move phy tx power track to IDF 2023-09-26 16:23:58 +08:00
xueyunfei f0e5434dc1 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-15 14:55:57 +08:00
jgujarathi 906685898d fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-14 10:19:27 +05:30
muhaidong 4b645ef85d fix(wifi): fix ccmp and gcmp PN became large issue 2023-09-13 16:23:10 +08:00
zwl 4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
luomanruo a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
Nachiket Kukade 29e6603ba7 fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-14 16:50:42 +05:30
liuning 12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
chenjianxing 0672067e6c fix(esp_phy): WIFI RX multipath optimization.
fix(esp_phy): BLE TX sideband optimization for C3/S3.
2023-07-27 20:55:37 +08:00
zhangyanjiao a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
Chen Jian Xing e82348ace4 Merge branch 'bugfix/fix_miss_annotate_ld_function_issue' into 'master'
fix(wifi): missed annotate ld function from txop fix

See merge request espressif/esp-idf!24796
2023-07-14 16:40:03 +08:00
muhaidong 41c4240996 fix(wifi): missed annotate ld function from txop fix 2023-07-14 11:41:41 +08:00
Li Shuai b84d811684 Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-13 21:25:07 +08:00
Shen Weilong 303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
cjin b37f172cc6 ble: fix cca for esp32c2 2023-06-29 19:59:16 +08:00
Liu Ning 8514469092 esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-06-27 21:34:53 +08:00
Cao Sen Miao 47ec252dde temperature_sensor: make as a weak link 2023-06-21 10:50:57 +08:00
muhaidong a1a69b044e esp_wifi: fix some txop issues 2023-06-09 22:37:15 +08:00