Lines Matching full:avp

1020 	struct ath_vif *avp = (struct ath_vif *)vif->drv_priv;  in ath9k_vif_iter()  local
1043 if (avp->assoc && !iter_data->primary_sta) in ath9k_vif_iter()
1069 struct ath_vif *avp; in ath9k_update_bssid_mask() local
1075 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1082 ether_addr_copy(common->curbssid, avp->bssid); in ath9k_update_bssid_mask()
1097 struct ath_vif *avp; in ath9k_calculate_iter_data() local
1107 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1108 ath9k_vif_iter(iter_data, avp->vif->addr, avp->vif); in ath9k_calculate_iter_data()
1117 struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; in ath9k_set_assoc_state() local
1122 ether_addr_copy(common->curbssid, avp->bssid); in ath9k_set_assoc_state()
1123 common->curaid = avp->aid; in ath9k_set_assoc_state()
1335 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_add_interface() local
1336 struct ath_node *an = &avp->mcast_node; in ath9k_add_interface()
1356 avp->vif = vif; in ath9k_add_interface()
1358 avp->chanctx = sc->cur_chan; in ath9k_add_interface()
1359 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
1362 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_add_interface()
1385 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_change_interface() local
1406 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_change_interface()
1419 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_remove_interface() local
1430 list_del(&avp->list); in ath9k_remove_interface()
1435 ath_tx_node_cleanup(sc, &avp->mcast_node); in ath9k_remove_interface()
1437 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_remove_interface()
1876 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_bss_info_changed() local
1886 memcpy(avp->bssid, bss_conf->bssid, ETH_ALEN); in ath9k_bss_info_changed()
1887 avp->aid = vif->cfg.aid; in ath9k_bss_info_changed()
1888 avp->assoc = vif->cfg.assoc; in ath9k_bss_info_changed()
1890 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1903 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1906 if ((avp->chanctx == sc->cur_chan) && in ath9k_bss_info_changed()
1948 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_get_tsf() local
1954 if (sc->cur_chan == avp->chanctx) { in ath9k_get_tsf()
1960 tsf += le64_to_cpu(avp->tsf_adjust); in ath9k_get_tsf()
1972 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_set_tsf() local
1976 tsf -= le64_to_cpu(avp->tsf_adjust); in ath9k_set_tsf()
1977 ktime_get_raw_ts64(&avp->chanctx->tsf_ts); in ath9k_set_tsf()
1978 if (sc->cur_chan == avp->chanctx) in ath9k_set_tsf()
1980 avp->chanctx->tsf_val = tsf; in ath9k_set_tsf()
1988 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_reset_tsf() local
1993 ktime_get_raw_ts64(&avp->chanctx->tsf_ts); in ath9k_reset_tsf()
1994 if (sc->cur_chan == avp->chanctx) in ath9k_reset_tsf()
1996 avp->chanctx->tsf_val = 0; in ath9k_reset_tsf()
2256 struct ath_vif *avp; in ath9k_tx_last_beacon() local
2269 avp = (void *)vif->drv_priv; in ath9k_tx_last_beacon()
2274 bf = avp->av_bcbuf; in ath9k_tx_last_beacon()
2619 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_assign_vif_chanctx() local
2632 avp->chanctx = ctx; in ath9k_assign_vif_chanctx()
2634 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
2651 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_unassign_vif_chanctx() local
2664 avp->chanctx = NULL; in ath9k_unassign_vif_chanctx()
2666 list_del(&avp->list); in ath9k_unassign_vif_chanctx()
2680 struct ath_vif *avp = (struct ath_vif *) vif->drv_priv; in ath9k_mgd_prepare_tx() local
2690 if (!avp->chanctx) in ath9k_mgd_prepare_tx()
2696 if (sc->next_chan || (sc->cur_chan != avp->chanctx)) in ath9k_mgd_prepare_tx()
2741 sc->next_chan = avp->chanctx; in ath9k_mgd_prepare_tx()
2773 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_get_txpower() local
2776 if (avp->chanctx) in ath9k_get_txpower()
2777 *dbm = avp->chanctx->cur_txpower; in ath9k_get_txpower()