1IEEE80211_GET_BUFFER(9)    Advanced driver interface   IEEE80211_GET_BUFFER(9)
2
3
4

NAME

6       ieee80211_get_buffered_bc - accessing buffered broadcast and multicast
7       frames
8

SYNOPSIS

10       struct sk_buff * ieee80211_get_buffered_bc(struct ieee80211_hw * hw,
11                                                  struct ieee80211_vif * vif);
12

ARGUMENTS

14       hw
15           pointer as obtained from ieee80211_alloc_hw.
16
17       vif
18
19           struct ieee80211_vif pointer from the add_interface callback.
20

DESCRIPTION

22       Function for accessing buffered broadcast and multicast frames. If
23       hardware/firmware does not implement buffering of broadcast/multicast
24       frames when power saving is used, 802.11 code buffers them in the host
25       memory. The low-level driver uses this function to fetch next buffered
26       frame. In most cases, this is used when generating beacon frame.
27

RETURN

29       A pointer to the next buffered skb or NULL if no more buffered frames
30       are available.
31

NOTE

33       buffered frames are returned only after DTIM beacon frame was generated
34       with ieee80211_beacon_get and the low-level driver must thus call
35       ieee80211_beacon_get first.  ieee80211_get_buffered_bc returns NULL if
36       the previous generated beacon was not DTIM, so the low-level driver
37       does not need to check for DTIM beacons separately and should be able
38       to use common code for all beacons.
39

AUTHOR

41       Johannes Berg <johannes@sipsolutions.net>
42           Author.
43
45Kernel Hackers Manual 2.6.         June 2019           IEEE80211_GET_BUFFER(9)
Impressum