ieee80211_beacon_get — beacon generation function
struct sk_buff * ieee80211_beacon_get ( | struct ieee80211_hw * hw, |
struct ieee80211_vif * vif) ; |
hw
pointer obtained from ieee80211_alloc_hw
.
vif
struct ieee80211_vif pointer from struct ieee80211_if_init_conf.
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 for freeing it.