Is there a way to extract the WiFi protocol type from a PcapNG trace file?
问题 I'm building a PcapNG parser (in Python) to analyse WiFi packets. I'd like to be able to display the link type (e.g., the protocol variant: 802.11b, 802.11a, 802.11g or 802.11n). However, reading the PcapNG format definition I see only the following being mentioned: LINKTYPE_IEEE802_11 105 IEEE 802.11 (wireless) LINKTYPE_IEEE802_11_RADIO 127 802.11 plus BSD radio header Is there a way to extract the WiFi protocol type from a PcapNG trace file? 回答1: If the link-layer header type for the