Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_ieee80211_vif(9) [centos man page]

IEEE80211_VIF(9) The basic mac80211 driver inte STRUCT IEEE80211_VIF(9) NAME
struct_ieee80211_vif - per-interface data SYNOPSIS
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]; struct ieee80211_chanctx_conf __rcu * chanctx_conf; u32 driver_flags; #ifdef CONFIG_MAC80211_DEBUGFS struct dentry * debugfs_dir; #endif u8 drv_priv[0]; }; MEMBERS
type type of this virtual interface bss_conf BSS configuration for this interface, either our own or the BSS we're associated to addr[ETH_ALEN] address of this interface p2p indicates whether this AP or STA interface is a p2p interface, i.e. a GO or p2p-sta respectively cab_queue content-after-beacon (DTIM beacon really) queue, AP mode only hw_queue[IEEE80211_NUM_ACS] hardware queue for each AC chanctx_conf The channel context this interface is assigned to, or NULL when it is not assigned. This pointer is RCU-protected due to the TX path needing to access it; even though the netdev carrier will always be off when it is NULL there can still be races and packets could be processed after it switches back to NULL. driver_flags 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 debugfs_dir debugfs dentry, can be used by drivers to create own per interface debug files. Note that it will be NULL for the virtual monitor interface (if that is requested.) drv_priv[0] data area for driver use, will always be aligned to sizeof(void *). DESCRIPTION
Data in this structure is continually present for driver use during the life of a virtual interface. AUTHOR
Johannes Berg <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_VIF(9)

Check Out this Related Man Page

IEEE80211_GET_BUFFER(9) 				     Advanced driver interface					   IEEE80211_GET_BUFFER(9)

ieee80211_get_buffered_bc - accessing buffered broadcast and multicast frames SYNOPSIS
struct sk_buff * ieee80211_get_buffered_bc(struct ieee80211_hw * hw, struct ieee80211_vif * vif); ARGUMENTS
hw pointer as obtained from ieee80211_alloc_hw. vif struct ieee80211_vif pointer from the add_interface callback. DESCRIPTION
Function for accessing buffered broadcast and multicast frames. If hardware/firmware does not implement buffering of broadcast/multicast frames when power saving is used, 802.11 code buffers them in the host memory. The low-level driver uses this function to fetch next buffered frame. In most cases, this is used when generating beacon frame. RETURN
A pointer to the next buffered skb or NULL if no more buffered frames are available. NOTE
buffered frames are returned only after DTIM beacon frame was generated with ieee80211_beacon_get and the low-level driver must thus call ieee80211_beacon_get first. ieee80211_get_buffered_bc returns NULL if the previous generated beacon was not DTIM, so the low-level driver does not need to check for DTIM beacons separately and should be able to use common code for all beacons. AUTHOR
Johannes Berg <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IEEE80211_GET_BUFFER(9)
Man Page