Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ieee80211_get_buffered_bc(9) [suse man page]

IEEE80211_GET_BUFFER(9) 				     Advanced driver interface					   IEEE80211_GET_BUFFER(9)

NAME
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. This function returns 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 <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 IEEE80211_GET_BUFFER(9)

Check Out this Related Man Page

STRUCT 
IEEE80211_CON(9) The basic mac80211 driver inte STRUCT IEEE80211_CON(9) NAME
struct_ieee80211_conf - configuration of the device SYNOPSIS
struct ieee80211_conf { u32 flags; int power_level; int dynamic_ps_timeout; int max_sleep_period; u16 listen_interval; u8 ps_dtim_period; u8 long_frame_max_tx_count; u8 short_frame_max_tx_count; struct cfg80211_chan_def chandef; bool radar_enabled; enum ieee80211_smps_mode smps_mode; }; MEMBERS
flags configuration flags defined above power_level requested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfaces dynamic_ps_timeout The dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set. max_sleep_period the maximum number of beacon intervals to sleep for before checking the beacon for a TIM bit (managed mode only); this value will be only achievable between DTIM frames, the hardware needs to check for the multicast traffic bit in DTIM beacons. This variable is valid only when the CONF_PS flag is set. listen_interval listen interval in units of beacon interval ps_dtim_period The DTIM period of the AP we're connected to, for use in power saving. Power saving will not be enabled until a beacon has been received and the DTIM period is known. long_frame_max_tx_count Maximum number of transmissions for a "long" frame (a frame not RTS protected), called "dot11LongRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries short_frame_max_tx_count Maximum number of transmissions for a "short" frame, called "dot11ShortRetryLimit" in 802.11, but actually means the number of transmissions not the number of retries chandef the channel definition to tune to radar_enabled whether radar detection is enabled smps_mode spatial multiplexing powersave mode; note that IEEE80211_SMPS_STATIC is used when the device is not configured for an HT channel. Note that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed. DESCRIPTION
This struct indicates how the driver shall configure the hardware. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_CON(9)
Man Page