Lines Matching refs: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()
152 ath9k_beacon_add_noa(sc, avp, skb); in ath9k_beacon_generate()
197 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_assign_slot() local
200 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot()
201 list_del(&avp->av_bcbuf->list); in ath9k_beacon_assign_slot()
205 avp->av_bslot = slot; in ath9k_beacon_assign_slot()
210 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()
225 avp->av_bslot); in ath9k_beacon_remove_slot()
229 cur_conf->enable_beacon &= ~BIT(avp->av_bslot); in ath9k_beacon_remove_slot()
240 avp->av_bcbuf = NULL; in ath9k_beacon_remove_slot()
241 sc->beacon.bslot[avp->av_bslot] = NULL; in ath9k_beacon_remove_slot()
279 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_set_tsfadjust() local
280 struct ath_beacon_config *cur_conf = &avp->chanctx->beacon; in ath9k_set_tsfadjust()
283 if (avp->av_bslot == 0) in ath9k_set_tsfadjust()
286 tsfadjust = cur_conf->beacon_interval * avp->av_bslot; in ath9k_set_tsfadjust()
288 avp->tsf_adjust = cpu_to_le64(tsfadjust); in ath9k_set_tsfadjust()
291 (unsigned long long)tsfadjust, avp->av_bslot); in ath9k_set_tsfadjust()
513 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_allow_beacon_config() local
522 if (sc->cur_chan != avp->chanctx) in ath9k_allow_beacon_config()
590 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_config() local
591 struct ath_chanctx *ctx = avp->chanctx; in ath9k_beacon_config()
599 cur_conf = &avp->chanctx->beacon; in ath9k_beacon_config()
624 cur_conf->enable_beacon &= ~BIT(avp->av_bslot); in ath9k_beacon_config()
626 cur_conf->enable_beacon |= BIT(avp->av_bslot); in ath9k_beacon_config()