Lines Matching refs:cvif
964 struct carl9170_vif_info *cvif; in carl9170_tx_prepare() local
993 cvif = (void *) info->control.vif->drv_priv; in carl9170_tx_prepare()
995 cvif = NULL; in carl9170_tx_prepare()
1002 if (likely(cvif)) in carl9170_tx_prepare()
1003 SET_VAL(CARL9170_TX_SUPER_MISC_VIF_ID, txc->s.misc, cvif->id); in carl9170_tx_prepare()
1043 if (unlikely(!sta || !cvif)) in carl9170_tx_prepare()
1541 struct carl9170_vif_info *cvif; in carl9170_pick_beaconing_vif() local
1551 cvif = rcu_dereference(ar->beacon_iter); in carl9170_pick_beaconing_vif()
1552 if (ar->vifs > 0 && cvif) { in carl9170_pick_beaconing_vif()
1554 list_for_each_entry_continue_rcu(cvif, &ar->vif_list, in carl9170_pick_beaconing_vif()
1556 if (cvif->active && cvif->enable_beacon) in carl9170_pick_beaconing_vif()
1566 RCU_INIT_POINTER(ar->beacon_iter, cvif); in carl9170_pick_beaconing_vif()
1567 return cvif; in carl9170_pick_beaconing_vif()
1617 struct carl9170_vif_info *cvif; in carl9170_update_beacon() local
1624 cvif = carl9170_pick_beaconing_vif(ar); in carl9170_update_beacon()
1625 if (!cvif) in carl9170_update_beacon()
1628 skb = ieee80211_beacon_get_tim(ar->hw, carl9170_get_vif(cvif), in carl9170_update_beacon()
1638 if (cvif->beacon) in carl9170_update_beacon()
1639 old = (__le32 *)cvif->beacon->data; in carl9170_update_beacon()
1641 off = cvif->id * AR9170_MAC_BCN_LENGTH_MAX; in carl9170_update_beacon()
1688 dev_kfree_skb_any(cvif->beacon); in carl9170_update_beacon()
1689 cvif->beacon = NULL; in carl9170_update_beacon()
1693 cvif->beacon = skb; in carl9170_update_beacon()
1699 err = carl9170_bcn_ctrl(ar, cvif->id, in carl9170_update_beacon()