From 41343919b1bb0601400499edca67ea8f3020c467 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 25 Nov 2018 16:36:30 +0100 Subject: [PATCH] wifiscan.h: old code deleted --- include/wifiscan.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/include/wifiscan.h b/include/wifiscan.h index 7c143b2c..d5e2f456 100644 --- a/include/wifiscan.h +++ b/include/wifiscan.h @@ -10,23 +10,6 @@ #define MAC_SNIFF_WIFI 0 #define MAC_SNIFF_BLE 1 -/* -typedef struct { - unsigned frame_ctrl : 16; - unsigned duration_id : 16; - uint8_t addr1[6]; // receiver address - uint8_t addr2[6]; // sender address - uint8_t addr3[6]; // filtering address - unsigned sequence_ctrl : 16; - uint8_t addr4[6]; // optional -} wifi_ieee80211_mac_hdr_t; - -typedef struct { - wifi_ieee80211_mac_hdr_t hdr; - uint8_t payload[0]; // network data ended with 4 bytes csum (CRC32) -} wifi_ieee80211_packet_t; -*/ - void wifi_sniffer_init(void); void IRAM_ATTR wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type); void switchWifiChannel(void * parameter);