ieee80211_get_buffered_bc — accessing buffered broadcast and multicast frames
|struct ieee80211_hw * hw,|
|struct ieee80211_vif * vif|
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.
buffered frames are returned only after DTIM beacon frame was
ieee80211_beacon_get and the low-level driver must thus
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.