Lines Matching defs:vif

211 		struct ieee80211_vif *vif)
218 if (mac->vif) {
220 "vif has been set!! mac->vif = 0x%p\n", mac->vif);
224 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER;
229 switch (ieee80211_vif_type_p2p(vif)) {
292 vif->type);
299 "p2p role %x\n", vif->type);
304 mac->vif = vif;
305 mac->opmode = vif->type;
306 rtlpriv->cfg->ops->set_network_type(hw, vif->type);
307 memcpy(mac->mac_addr, vif->addr, ETH_ALEN);
320 struct ieee80211_vif *vif)
328 if (vif->type == NL80211_IFTYPE_AP ||
329 vif->type == NL80211_IFTYPE_ADHOC ||
330 vif->type == NL80211_IFTYPE_MESH_POINT) {
343 mac->vif = NULL;
354 struct ieee80211_vif *vif,
360 rtl_op_remove_interface(hw, vif);
362 vif->type = new_type;
363 vif->p2p = p2p;
364 ret = rtl_op_add_interface(hw, vif);
574 ieee80211_resume_disconnect(mac->vif);
884 struct ieee80211_vif *vif,
904 if (vif->type == NL80211_IFTYPE_ADHOC)
913 if (vif->type == NL80211_IFTYPE_ADHOC)
930 struct ieee80211_vif *vif,
978 struct ieee80211_vif *vif,
1003 struct ieee80211_vif *vif)
1006 struct sk_buff *skb = ieee80211_beacon_get(hw, vif, 0);
1021 struct ieee80211_vif *vif = rtlpriv->mac80211.vif;
1023 if (!vif) {
1024 WARN_ONCE(true, "no vif to update beacon\n");
1029 send_beacon_frame(hw, vif);
1035 struct ieee80211_vif *vif,
1045 if (vif->type == NL80211_IFTYPE_ADHOC ||
1046 vif->type == NL80211_IFTYPE_AP ||
1047 vif->type == NL80211_IFTYPE_MESH_POINT) {
1064 send_beacon_frame(hw, vif);
1091 if (vif->cfg.assoc) {
1108 mac->assoc_id = vif->cfg.aid;
1115 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1151 if (vif->type == NL80211_IFTYPE_STATION)
1196 rtlpriv->cfg->ops->set_network_type(hw, vif->type);
1247 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1282 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
1313 if (vif->type == NL80211_IFTYPE_STATION) {
1352 static u64 rtl_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
1362 struct ieee80211_vif *vif, u64 tsf)
1372 static void rtl_op_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
1381 struct ieee80211_vif *vif,
1396 struct ieee80211_vif *vif,
1409 return rtl_tx_agg_start(hw, vif, sta, tid, ssn);
1415 return rtl_tx_agg_stop(hw, vif, sta, tid);
1437 struct ieee80211_vif *vif,
1471 struct ieee80211_vif *vif)
1511 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
1531 if ((vif->type == NL80211_IFTYPE_ADHOC ||
1532 vif->type == NL80211_IFTYPE_MESH_POINT) &&
1577 vif->type == NL80211_IFTYPE_ADHOC)
1597 if (vif->type == NL80211_IFTYPE_AP ||
1598 vif->type == NL80211_IFTYPE_MESH_POINT) {
1606 if (!group_key || vif->type == NL80211_IFTYPE_ADHOC ||
1681 if (vif->type == NL80211_IFTYPE_AP ||
1682 vif->type == NL80211_IFTYPE_MESH_POINT) {
1744 struct ieee80211_vif *vif,