Bläddra i källkod

feat(wifi/vendor): get more wifi information in csi rx callback

zhangyanjiao 2 år sedan
förälder
incheckning
1b5fb22da8
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 3 0
      components/esp_wifi/include/esp_wifi_types.h
  2. 1 1
      components/esp_wifi/lib

+ 3 - 0
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;
 
 /**

+ 1 - 1
components/esp_wifi/lib

@@ -1 +1 @@
-Subproject commit 2b823173bb72ac120e1ed9698d0f294e24cf1db2
+Subproject commit 5b70cdbe16fe862925a50f9a5a251e7aa4b69f43