ieee80211_beacon_get(9)
NAME
ieee80211_beacon_get - beacon generation function
SYNOPSIS
struct sk_buff * ieee80211_beacon_get(struct ieee80211_hw * hw,
struct ieee80211_vif * vif,
struct ieee80211_tx_control * control);
ARGUMENTS
- hw
- pointer obtained from ieee80211_alloc_hw.
- vif
struct ieee80211_vif pointer from struct ieee80211_if_init_conf.- control
- will be filled with information needed to send this beacon.
DESCRIPTION
If the beacon frames are generated by the host system (i.e., not in
hardware/firmware), the low-level driver uses this function to receive
the next beacon frame from the 802.11 code. The low-level is
responsible for calling this function before beacon data is needed
(e.g., based on hardware interrupt). Returned skb is used only once and
low-level driver is responsible of freeing it.
AUTHOR
- Johannes Berg <johannes@sipsolutions.net>
- Author.