Lines Matching refs:vif

559 				   struct ieee80211_vif *vif)
564 if (!vif) {
569 memcpy(common->macaddr, vif->addr, ETH_ALEN);
581 ar->disable_offload |= ((vif->type != NL80211_IFTYPE_STATION) &&
582 (vif->type != NL80211_IFTYPE_AP));
589 ar->disable_offload |= vif->p2p;
598 struct ieee80211_vif *vif)
600 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv;
610 * if the vif survived the _restart call.
637 if (vif->type == NL80211_IFTYPE_STATION)
647 if ((vif->type == NL80211_IFTYPE_STATION) ||
648 (vif->type == NL80211_IFTYPE_AP) ||
649 (vif->type == NL80211_IFTYPE_MESH_POINT))
689 rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif);
694 if (main_vif == vif) {
704 * vif data [id, addr] is safe.
712 err = carl9170_init_interface(ar, vif);
717 err = carl9170_mod_virtual_mac(ar, vif_id, vif->addr);
735 RCU_INIT_POINTER(ar->vif_priv[vif_id].vif, NULL);
750 struct ieee80211_vif *vif)
752 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv;
773 RCU_INIT_POINTER(ar->vif_priv[id].vif, NULL);
775 if (vif == main_vif) {
1033 struct ieee80211_vif *vif,
1044 vif_priv = (void *) vif->drv_priv;
1074 if (main_vif != vif) {
1083 if (vif->type != NL80211_IFTYPE_STATION &&
1102 if (main_vif != vif)
1118 ar->common.curaid = vif->cfg.aid;
1142 struct ieee80211_vif *vif)
1159 struct ieee80211_vif *vif,
1167 if (ar->disable_offload || !vif)
1177 if (!is_main_vif(ar, vif)) {
1187 if ((vif->type != NL80211_IFTYPE_STATION &&
1188 vif->type != NL80211_IFTYPE_ADHOC) &&
1301 struct ieee80211_vif *vif,
1330 struct ieee80211_vif *vif,
1368 struct ieee80211_vif *vif,
1396 struct ieee80211_vif *vif,
1425 tid_info->vif = vif;
1455 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
1662 struct ieee80211_vif *vif,
1688 struct ieee80211_vif *vif,
1978 ar->vif_priv[i].vif = NULL;