'\" t .\" Title: ieee80211_get_buffered_bc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_GET_BUFFER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_get_buffered_bc \- accessing buffered broadcast and multicast frames .SH "SYNOPSIS" .HP \w'struct\ sk_buff\ *\ ieee80211_get_buffered_bc('u .BI "struct sk_buff * ieee80211_get_buffered_bc(struct\ ieee80211_hw\ *\ " "hw" ", struct\ ieee80211_vif\ *\ " "vif" ");" .SH "ARGUMENTS" .PP \fIhw\fR .RS 4 pointer as obtained from \fBieee80211_alloc_hw\fR\&. .RE .PP \fIvif\fR .RS 4 struct ieee80211_vif pointer from the add_interface callback\&. .RE .SH "DESCRIPTION" .PP 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\&. .SH "RETURN" .PP A pointer to the next buffered skb or NULL if no more buffered frames are available\&. .SH "NOTE" .PP buffered frames are returned only after DTIM beacon frame was generated with \fBieee80211_beacon_get\fR and the low\-level driver must thus call \fBieee80211_beacon_get\fR first\&. \fBieee80211_get_buffered_bc\fR 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\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br