Lines Matching defs:beacon

29 	ath9k_hw_get_txq_props(ah, priv->beacon.beaconq, &qi);
57 if (!ath9k_hw_set_txq_props(ah, priv->beacon.beaconq, &qi)) {
59 "Unable to update beacon queue %u!\n", priv->beacon.beaconq);
61 ath9k_hw_resettxqueue(ah, priv->beacon.beaconq);
87 priv->beacon.bmisscnt = 0;
148 vif = priv->beacon.bslot[slot];
201 struct sk_buff *beacon;
209 vif = priv->beacon.bslot[slot];
217 /* Get a new beacon */
218 beacon = ieee80211_beacon_get(priv->hw, vif, 0);
219 if (!beacon) {
226 * add this value for every beacon.
228 mgmt = (struct ieee80211_mgmt *)beacon->data;
229 mgmt->u.beacon.timestamp = avp->tsfadjust;
231 info = IEEE80211_SKB_CB(beacon);
234 (struct ieee80211_hdr *) beacon->data;
240 tx_ctl = HTC_SKB_CB(beacon);
247 tx_fhdr = skb_push(beacon, sizeof(beacon_hdr));
250 ret = htc_send(priv->htc, beacon);
254 "Failed to send beacon, no free TX buffer\n");
256 dev_kfree_skb_any(beacon);
294 priv->beacon.bmisscnt++;
295 if (priv->beacon.bmisscnt > BSTUCK_THRESHOLD) {
303 if (priv->beacon.bmisscnt) {
305 "Resuming beacon xmit after %u misses\n",
306 priv->beacon.bmisscnt);
307 priv->beacon.bmisscnt = 0;
312 if (priv->beacon.bslot[slot] == NULL) {
331 if (priv->beacon.bslot[i] == NULL) {
337 priv->beacon.bslot[avp->bslot] = vif;
340 ath_dbg(common, CONFIG, "Added interface at beacon slot: %d\n",
351 priv->beacon.bslot[avp->bslot] = NULL;
354 ath_dbg(common, CONFIG, "Removed interface at beacon slot: %d\n",
374 * The beacon interval cannot be different for multi-AP mode,
404 * Changing the beacon interval when multiple AP interfaces
405 * are configured will affect beacon transmission of all
413 "Changing beacon interval of multiple AP interfaces !\n");
419 * are added cannot change the beacon parameters.
424 "HW in AP mode, cannot set STA beacon parameters\n");
429 * The beacon parameters are configured only for the first