Lines Matching defs:vif
72 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif,
76 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif,
204 struct ieee80211_vif *vif)
207 struct rt2x00_intf *intf = vif_to_intf(vif);
240 if (vif->type == NL80211_IFTYPE_AP)
257 rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
258 vif->addr, NULL);
272 struct ieee80211_vif *vif)
275 struct rt2x00_intf *intf = vif_to_intf(vif);
283 (vif->type == NL80211_IFTYPE_AP && !rt2x00dev->intf_ap_count) ||
284 (vif->type != NL80211_IFTYPE_AP && !rt2x00dev->intf_sta_count))
287 if (vif->type == NL80211_IFTYPE_AP)
405 struct ieee80211_vif *vif)
407 struct rt2x00_intf *intf = vif_to_intf(vif);
409 if (vif->type != NL80211_IFTYPE_AP &&
410 vif->type != NL80211_IFTYPE_ADHOC &&
411 vif->type != NL80211_IFTYPE_MESH_POINT)
455 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
478 if (vif->type == NL80211_IFTYPE_ADHOC &&
487 crypto.bssidx = rt2x00lib_get_bssidx(rt2x00dev, vif);
540 struct ieee80211_vif *vif,
550 struct ieee80211_vif *vif)
575 struct ieee80211_vif *vif,
580 struct rt2x00_intf *intf = vif_to_intf(vif);
593 rt2x00lib_config_intf(rt2x00dev, intf, vif->type, NULL,
609 rt2x00queue_clear_beacon(rt2x00dev, vif);
624 * Clear beacon in the H/W for this vif. This is needed
628 rt2x00queue_clear_beacon(rt2x00dev, vif);
637 rt2x00queue_update_beacon(rt2x00dev, vif);
659 if (vif->cfg.assoc)
679 struct ieee80211_vif *vif,
725 void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,