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()
1877 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_bss_info_changed() local
1887 memcpy(avp->bssid, bss_conf->bssid, ETH_ALEN); in ath9k_bss_info_changed()
1888 avp->aid = vif->cfg.aid; in ath9k_bss_info_changed()
1889 avp->assoc = vif->cfg.assoc; in ath9k_bss_info_changed()
1891 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1904 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1907 if ((avp->chanctx == sc->cur_chan) && in ath9k_bss_info_changed()
1949 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_get_tsf() local
1955 if (sc->cur_chan == avp->chanctx) { in ath9k_get_tsf()
1961 tsf += le64_to_cpu(avp->tsf_adjust); in ath9k_get_tsf()
1973 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_set_tsf() local
1977 tsf -= le64_to_cpu(avp->tsf_adjust); in ath9k_set_tsf()
1978 ktime_get_raw_ts64(&avp->chanctx->tsf_ts); in ath9k_set_tsf()
1979 if (sc->cur_chan == avp->chanctx) in ath9k_set_tsf()
1981 avp->chanctx->tsf_val = tsf; in ath9k_set_tsf()
1989 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_reset_tsf() local
1994 ktime_get_raw_ts64(&avp->chanctx->tsf_ts); in ath9k_reset_tsf()
1995 if (sc->cur_chan == avp->chanctx) in ath9k_reset_tsf()
1997 avp->chanctx->tsf_val = 0; in ath9k_reset_tsf()
2257 struct ath_vif *avp; in ath9k_tx_last_beacon() local
2270 avp = (void *)vif->drv_priv; in ath9k_tx_last_beacon()
2275 bf = avp->av_bcbuf; in ath9k_tx_last_beacon()
2605 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_assign_vif_chanctx() local
2618 avp->chanctx = ctx; in ath9k_assign_vif_chanctx()
2620 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
2637 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_unassign_vif_chanctx() local
2650 avp->chanctx = NULL; in ath9k_unassign_vif_chanctx()
2652 list_del(&avp->list); in ath9k_unassign_vif_chanctx()
2666 struct ath_vif *avp = (struct ath_vif *) vif->drv_priv; in ath9k_mgd_prepare_tx() local
2676 if (!avp->chanctx) in ath9k_mgd_prepare_tx()
2682 if (sc->next_chan || (sc->cur_chan != avp->chanctx)) in ath9k_mgd_prepare_tx()
2727 sc->next_chan = avp->chanctx; in ath9k_mgd_prepare_tx()
2759 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_get_txpower() local
2762 if (avp->chanctx) in ath9k_get_txpower()
2763 *dbm = avp->chanctx->cur_txpower; in ath9k_get_txpower()