Lines Matching full:avp
118 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_generate() local
125 if (avp->av_bcbuf == NULL) in ath9k_beacon_generate()
128 bf = avp->av_bcbuf; in ath9k_beacon_generate()
145 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; in ath9k_beacon_generate()
153 ath9k_beacon_add_noa(sc, avp, skb); in ath9k_beacon_generate()
198 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_assign_slot() local
201 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot()
202 list_del(&avp->av_bcbuf->list); in ath9k_beacon_assign_slot()
206 avp->av_bslot = slot; in ath9k_beacon_assign_slot()
211 sc->beacon.bslot[avp->av_bslot] = vif; in ath9k_beacon_assign_slot()
214 avp->av_bslot); in ath9k_beacon_assign_slot()
220 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_remove_slot() local
221 struct ath_buf *bf = avp->av_bcbuf; in ath9k_beacon_remove_slot()
224 avp->av_bslot); in ath9k_beacon_remove_slot()
237 avp->av_bcbuf = NULL; in ath9k_beacon_remove_slot()
238 sc->beacon.bslot[avp->av_bslot] = NULL; in ath9k_beacon_remove_slot()
248 struct ath_vif *avp; in ath9k_beacon_ensure_primary_slot() local
273 avp = (void *)vif->drv_priv; in ath9k_beacon_ensure_primary_slot()
274 avp->av_bslot = slot; in ath9k_beacon_ensure_primary_slot()
286 avp = (void *)vif->drv_priv; in ath9k_beacon_ensure_primary_slot()
287 tsfadjust = le64_to_cpu(avp->tsf_adjust); in ath9k_beacon_ensure_primary_slot()
294 avp->chanctx->tsf_val += tsfadjust; in ath9k_beacon_ensure_primary_slot()
295 if (sc->cur_chan == avp->chanctx) { in ath9k_beacon_ensure_primary_slot()
296 offset = ath9k_hw_get_tsf_offset(&avp->chanctx->tsf_ts, NULL); in ath9k_beacon_ensure_primary_slot()
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset); in ath9k_beacon_ensure_primary_slot()
342 struct ath_vif *avp; in ath9k_set_tsfadjust() local
347 avp = (void *)sc->beacon.bslot[slot]->drv_priv; in ath9k_set_tsfadjust()
354 tsfadjust = cur_conf->beacon_interval * avp->av_bslot; in ath9k_set_tsfadjust()
356 avp->tsf_adjust = cpu_to_le64(tsfadjust); in ath9k_set_tsfadjust()
359 (signed long long)tsfadjust, avp->av_bslot); in ath9k_set_tsfadjust()
630 struct ath_vif *avp; in ath9k_beacon_config() local
646 avp = (void *)main_vif->drv_priv; in ath9k_beacon_config()
647 ctx = avp->chanctx; in ath9k_beacon_config()