1IEEE80211_GET_BUFFER(9) Advanced driver interface IEEE80211_GET_BUFFER(9)
2
3
4
6 ieee80211_get_buffered_bc - accessing buffered broadcast and multicast
7 frames
8
10 struct sk_buff * ieee80211_get_buffered_bc(struct ieee80211_hw * hw,
11 struct ieee80211_vif * vif);
12
14 hw
15 pointer as obtained from ieee80211_alloc_hw.
16
17 vif
18 struct ieee80211_vif pointer from the add_interface callback.
19
21 Function for accessing buffered broadcast and multicast frames. If
22 hardware/firmware does not implement buffering of broadcast/multicast
23 frames when power saving is used, 802.11 code buffers them in the host
24 memory. The low-level driver uses this function to fetch next buffered
25 frame. In most cases, this is used when generating beacon frame.
26
28 A pointer to the next buffered skb or NULL if no more buffered frames
29 are available.
30
32 buffered frames are returned only after DTIM beacon frame was generated
33 with ieee80211_beacon_get and the low-level driver must thus call
34 ieee80211_beacon_get first. ieee80211_get_buffered_bc returns NULL if
35 the previous generated beacon was not DTIM, so the low-level driver
36 does not need to check for DTIM beacons separately and should be able
37 to use common code for all beacons.
38
40 Johannes Berg <johannes@sipsolutions.net>
41 Author.
42
44Kernel Hackers Manual 3.10 June 2019 IEEE80211_GET_BUFFER(9)