struct ieee80211_vif — per-interface data
struct ieee80211_vif { enum nl80211_iftype type; struct ieee80211_bss_conf bss_conf; u8 addr[ETH_ALEN]; bool p2p; u8 cab_queue; u8 hw_queue[IEEE80211_NUM_ACS]; u32 driver_flags; u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); };
type of this virtual interface
BSS configuration for this interface, either our own or the BSS we're associated to
address of this interface
indicates whether this AP or STA interface is a p2p interface, i.e. a GO or p2p-sta respectively
content-after-beacon (DTIM beacon really) queue, AP mode only
hardware queue for each AC
flags/capabilities the driver has for this interface, these need to be set (or cleared) when the interface is added or, if supported by the driver, the interface type is changed at runtime, mac80211 will never touch this field
data area for driver use, will always be aligned to sizeof(void *).