Lines Matching refs:vif

236 		struct ieee80211_vif *vif)  in rtl_op_add_interface()  argument
242 if (mac->vif) { in rtl_op_add_interface()
244 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface()
248 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in rtl_op_add_interface()
253 switch (ieee80211_vif_type_p2p(vif)) { in rtl_op_add_interface()
311 "operation mode %d is not support!\n", vif->type); in rtl_op_add_interface()
318 "p2p role %x\n", vif->type); in rtl_op_add_interface()
323 mac->vif = vif; in rtl_op_add_interface()
324 mac->opmode = vif->type; in rtl_op_add_interface()
325 rtlpriv->cfg->ops->set_network_type(hw, vif->type); in rtl_op_add_interface()
326 memcpy(mac->mac_addr, vif->addr, ETH_ALEN); in rtl_op_add_interface()
335 struct ieee80211_vif *vif) in rtl_op_remove_interface() argument
343 if ((vif->type == NL80211_IFTYPE_AP) || in rtl_op_remove_interface()
344 (vif->type == NL80211_IFTYPE_ADHOC) || in rtl_op_remove_interface()
345 (vif->type == NL80211_IFTYPE_MESH_POINT)) { in rtl_op_remove_interface()
358 mac->vif = NULL; in rtl_op_remove_interface()
368 struct ieee80211_vif *vif, in rtl_op_change_interface() argument
373 rtl_op_remove_interface(hw, vif); in rtl_op_change_interface()
375 vif->type = new_type; in rtl_op_change_interface()
376 vif->p2p = p2p; in rtl_op_change_interface()
377 ret = rtl_op_add_interface(hw, vif); in rtl_op_change_interface()
588 ieee80211_resume_disconnect(mac->vif); in rtl_op_resume()
898 struct ieee80211_vif *vif, in rtl_op_sta_add() argument
918 if (vif->type == NL80211_IFTYPE_ADHOC) in rtl_op_sta_add()
927 if (vif->type == NL80211_IFTYPE_ADHOC) in rtl_op_sta_add()
944 struct ieee80211_vif *vif, in rtl_op_sta_remove() argument
990 struct ieee80211_vif *vif, u16 queue, in rtl_op_conf_tx() argument
1014 struct ieee80211_vif *vif) in send_beacon_frame() argument
1017 struct sk_buff *skb = ieee80211_beacon_get(hw, vif); in send_beacon_frame()
1027 struct ieee80211_vif *vif, in rtl_op_bss_info_changed() argument
1037 if ((vif->type == NL80211_IFTYPE_ADHOC) || in rtl_op_bss_info_changed()
1038 (vif->type == NL80211_IFTYPE_AP) || in rtl_op_bss_info_changed()
1039 (vif->type == NL80211_IFTYPE_MESH_POINT)) { in rtl_op_bss_info_changed()
1056 send_beacon_frame(hw, vif); in rtl_op_bss_info_changed()
1106 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1142 if (vif->type == NL80211_IFTYPE_STATION && sta) in rtl_op_bss_info_changed()
1174 rtlpriv->cfg->ops->set_network_type(hw, vif->type); in rtl_op_bss_info_changed()
1225 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1260 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); in rtl_op_bss_info_changed()
1291 if (vif->type == NL80211_IFTYPE_STATION) { in rtl_op_bss_info_changed()
1329 static u64 rtl_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in rtl_op_get_tsf() argument
1339 struct ieee80211_vif *vif, u64 tsf) in rtl_op_set_tsf() argument
1349 static void rtl_op_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in rtl_op_reset_tsf() argument
1358 struct ieee80211_vif *vif, in rtl_op_sta_notify() argument
1373 struct ieee80211_vif *vif, in rtl_op_ampdu_action() argument
1384 return rtl_tx_agg_start(hw, vif, sta, tid, ssn); in rtl_op_ampdu_action()
1390 return rtl_tx_agg_stop(hw, vif, sta, tid); in rtl_op_ampdu_action()
1413 struct ieee80211_vif *vif, in rtl_op_sw_scan_start() argument
1450 struct ieee80211_vif *vif) in rtl_op_sw_scan_complete() argument
1484 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in rtl_op_set_key() argument
1502 if (((vif->type == NL80211_IFTYPE_ADHOC) || in rtl_op_set_key()
1503 (vif->type == NL80211_IFTYPE_MESH_POINT)) && in rtl_op_set_key()
1549 vif->type == NL80211_IFTYPE_ADHOC) in rtl_op_set_key()
1569 if (vif->type == NL80211_IFTYPE_AP || in rtl_op_set_key()
1570 vif->type == NL80211_IFTYPE_MESH_POINT) { in rtl_op_set_key()
1578 if ((!group_key) || (vif->type == NL80211_IFTYPE_ADHOC) || in rtl_op_set_key()
1653 if (vif->type == NL80211_IFTYPE_AP || in rtl_op_set_key()
1654 vif->type == NL80211_IFTYPE_MESH_POINT) { in rtl_op_set_key()
1715 struct ieee80211_vif *vif, in rtl_op_flush() argument