From 00484dc8a726cc34656f57422d159a392a810d6c Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Fri, 8 Sep 2023 11:46:12 +0800 Subject: [PATCH] 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 f8eb1baab4..2a0e69c519 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -580,6 +580,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 2b823173bb..5b70cdbe16 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 2b823173bb72ac120e1ed9698d0f294e24cf1db2 +Subproject commit 5b70cdbe16fe862925a50f9a5a251e7aa4b69f43