From 24da38f63cbd29a5bc747fb52c4e27bdf93cafcd Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Fri, 8 Sep 2023 11:46:12 +0800 Subject: [PATCH] fix(wifi): fix some wifi bugs 20231214 1. add support for espnow to seet dcm rate 2. bugfix: fix csi info is not correct 3. feature: add support for establishing over 4 rx ba sessions 4. sniffer: modified rx error dump in sniffer mode 5. fix(itwt): fix when receiving the twt setup response frame, twt tx cb has not yet been called 6. itwt: fix itwt information frame format is not correct when suspend time is 0 7. update esp_wifi_crypto_types.h 8. sta not pmf capable when ap requires should reject profile 9. fix softap set config issue 10. allow some special igtk keyindex to workaround faulty APs 11. fix psram enabled but initialized fail issue 12. add missing header files for wifi files 13. feat(wifi/vendor): get more wifi information in csi rx callback --- components/esp_wifi/include/esp_wifi_types.h | 3 +++ components/esp_wifi/lib | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 163cb3b393..facec5f681 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -576,6 +576,9 @@ typedef struct { bool first_word_invalid; /**< first four bytes of the CSI data is invalid or not, true indicates the first four bytes is invalid due to hardware limition */ int8_t *buf; /**< valid buffer of CSI data */ uint16_t len; /**< valid length of CSI data */ + uint8_t *hdr; /**< header of the wifi packet */ + uint8_t *payload; /**< payload of the wifi packet */ + uint16_t payload_len; /**< payload len of the wifi packet */ } wifi_csi_info_t; /** diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index b9944486f9..9bb605e822 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit b9944486f94cb80c5ec8a1fac2bbc9a6dcae8d6a +Subproject commit 9bb605e822e5fa473448aa6a80b740e09c3c8df2