Home
last modified time | relevance | path

Searched refs:avp (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dchannel.c201 struct ath_vif *avp; in ath_chanctx_check_active() local
208 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active()
209 struct ieee80211_vif *vif = avp->vif; in ath_chanctx_check_active()
214 if (avp->assoc) in ath_chanctx_check_active()
310 struct ath_vif *avp = NULL; in ath_chanctx_event() local
316 avp = (struct ath_vif *) vif->drv_priv; in ath_chanctx_event()
327 if (avp->offchannel_duration) in ath_chanctx_event()
328 avp->offchannel_duration = 0; in ath_chanctx_event()
330 if (avp->chanctx != sc->cur_chan) { in ath_chanctx_event()
381 avp->noa_index++; in ath_chanctx_event()
[all …]
Dbeacon.c117 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_generate() local
124 if (avp->av_bcbuf == NULL) in ath9k_beacon_generate()
127 bf = avp->av_bcbuf; in ath9k_beacon_generate()
144 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; in ath9k_beacon_generate()
151 ath9k_beacon_add_noa(sc, avp, skb); in ath9k_beacon_generate()
196 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_beacon_assign_slot() local
199 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot()
200 list_del(&avp->av_bcbuf->list); in ath9k_beacon_assign_slot()
204 avp->av_bslot = slot; in ath9k_beacon_assign_slot()
209 sc->beacon.bslot[avp->av_bslot] = vif; in ath9k_beacon_assign_slot()
[all …]
Dhtc_drv_beacon.c196 struct ath9k_htc_vif *avp; in ath9k_htc_send_beacon() local
210 avp = (struct ath9k_htc_vif *)vif->drv_priv; in ath9k_htc_send_beacon()
229 mgmt->u.beacon.timestamp = avp->tsfadjust; in ath9k_htc_send_beacon()
235 avp->seq_no += 0x10; in ath9k_htc_send_beacon()
237 hdr->seq_ctrl |= cpu_to_le16(avp->seq_no); in ath9k_htc_send_beacon()
246 beacon_hdr.vif_index = avp->index; in ath9k_htc_send_beacon()
324 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv; in ath9k_htc_assign_bslot() local
330 avp->bslot = i; in ath9k_htc_assign_bslot()
335 priv->beacon.bslot[avp->bslot] = vif; in ath9k_htc_assign_bslot()
339 avp->bslot); in ath9k_htc_assign_bslot()
[all …]
Dmain.c901 struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; in ath9k_vif_iter() local
922 if (avp->assoc && !iter_data->primary_sta) in ath9k_vif_iter()
948 struct ath_vif *avp; in ath9k_update_bssid_mask() local
954 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
958 if (!avp->vif->p2p || !iter_data->has_hw_macaddr) in ath9k_update_bssid_mask()
961 ether_addr_copy(common->curbssid, avp->bssid); in ath9k_update_bssid_mask()
976 struct ath_vif *avp; in ath9k_calculate_iter_data() local
986 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
987 ath9k_vif_iter(iter_data, avp->vif->addr, avp->vif); in ath9k_calculate_iter_data()
996 struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; in ath9k_set_assoc_state() local
[all …]
Dhtc_drv_main.c471 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; in ath9k_htc_add_station() local
502 tsta.vif_index = avp->index; in ath9k_htc_add_station()
520 avp->index, tsta.sta_index); in ath9k_htc_add_station()
526 priv->vif_sta_pos[avp->index] = sta_idx; in ath9k_htc_add_station()
536 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; in ath9k_htc_remove_station() local
545 sta_idx = priv->vif_sta_pos[avp->index]; in ath9k_htc_remove_station()
564 avp->index, sta_idx); in ath9k_htc_remove_station()
1030 struct ath9k_htc_vif *avp = (void *)vif->drv_priv; in ath9k_htc_add_interface() local
1063 avp->index = hvif.index = ffz(priv->vif_slot); in ath9k_htc_add_interface()
1081 priv->vif_slot |= (1 << avp->index); in ath9k_htc_add_interface()
[all …]
Dtx99.c57 struct ath_vif *avp; in ath9k_build_tx99_skb() local
62 avp = (struct ath_vif *)sc->tx99_vif->drv_priv; in ath9k_build_tx99_skb()
80 hdr->seq_ctrl |= cpu_to_le16(avp->seq_no); in ath9k_build_tx99_skb()
Dhtc_drv_txrx.c215 struct ath9k_htc_vif *avp, in ath9k_htc_tx_mgmt() argument
236 if (avp && unlikely(ieee80211_is_probe_resp(hdr->frame_control))) { in ath9k_htc_tx_mgmt()
238 mgmt->u.probe_resp.timestamp = avp->tsfadjust; in ath9k_htc_tx_mgmt()
344 struct ath9k_htc_vif *avp = NULL; in ath9k_htc_tx_start() local
354 avp = (struct ath9k_htc_vif *) vif->drv_priv; in ath9k_htc_tx_start()
355 vif_idx = avp->index; in ath9k_htc_tx_start()
380 ath9k_htc_tx_mgmt(priv, avp, skb, in ath9k_htc_tx_start()
Dxmit.c111 struct ath_vif *avp = (struct ath_vif *) tid->an->vif->drv_priv; in ath_tx_queue_tid() local
112 struct ath_chanctx *ctx = avp->chanctx; in ath_tx_queue_tid()
2150 struct ath_vif *avp; in ath_assign_seq() local
2158 avp = (struct ath_vif *)vif->drv_priv; in ath_assign_seq()
2161 avp->seq_no += 0x10; in ath_assign_seq()
2164 hdr->seq_ctrl |= cpu_to_le16(avp->seq_no); in ath_assign_seq()
2174 struct ath_vif *avp; in ath_tx_prepare() local
2183 avp = (void *)vif->drv_priv; in ath_tx_prepare()
2184 txctl->an = &avp->mcast_node; in ath_tx_prepare()
2222 struct ath_vif *avp = NULL; in ath_tx_start() local
[all …]
Dath9k.h454 void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp,
521 static inline void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, in ath9k_beacon_add_noa() argument