Lines Matching defs:vif
560 struct ieee80211_vif *vif)
565 if (!vif) {
570 memcpy(common->macaddr, vif->addr, ETH_ALEN);
582 ar->disable_offload |= ((vif->type != NL80211_IFTYPE_STATION) &&
583 (vif->type != NL80211_IFTYPE_AP));
590 ar->disable_offload |= vif->p2p;
599 struct ieee80211_vif *vif)
601 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv;
611 * if the vif survived the _restart call.
638 if (vif->type == NL80211_IFTYPE_STATION)
648 if ((vif->type == NL80211_IFTYPE_STATION) ||
649 (vif->type == NL80211_IFTYPE_WDS) ||
650 (vif->type == NL80211_IFTYPE_AP) ||
651 (vif->type == NL80211_IFTYPE_MESH_POINT))
691 rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif);
696 if (main_vif == vif) {
706 * vif data [id, addr] is safe.
714 err = carl9170_init_interface(ar, vif);
719 err = carl9170_mod_virtual_mac(ar, vif_id, vif->addr);
737 RCU_INIT_POINTER(ar->vif_priv[vif_id].vif, NULL);
752 struct ieee80211_vif *vif)
754 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv;
775 RCU_INIT_POINTER(ar->vif_priv[id].vif, NULL);
777 if (vif == main_vif) {
1035 struct ieee80211_vif *vif,
1046 vif_priv = (void *) vif->drv_priv;
1076 if (main_vif != vif) {
1085 if (vif->type != NL80211_IFTYPE_STATION &&
1104 if (main_vif != vif)
1144 struct ieee80211_vif *vif)
1161 struct ieee80211_vif *vif,
1169 if (ar->disable_offload || !vif)
1179 if (!is_main_vif(ar, vif)) {
1189 if ((vif->type != NL80211_IFTYPE_STATION &&
1190 vif->type != NL80211_IFTYPE_ADHOC) &&
1303 struct ieee80211_vif *vif,
1332 struct ieee80211_vif *vif,
1370 struct ieee80211_vif *vif, u16 queue,
1397 struct ieee80211_vif *vif,
1426 tid_info->vif = vif;
1456 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
1684 struct ieee80211_vif *vif,
1710 struct ieee80211_vif *vif,
2000 ar->vif_priv[i].vif = NULL;