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. This
27       function returns a pointer to the next buffered skb or NULL if no more
28       buffered frames are available.
29

NOTE

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

AUTHOR

39       Johannes Berg <johannes@sipsolutions.net>
40           Author.
41
43Kernel Hackers Manual 2.6.       November 2011         IEEE80211_GET_BUFFER(9)
Impressum