Lines Matching refs:vif
24 struct ieee80211_vif *vif = info->control.vif; in rtw89_ops_tx() local
28 ret = rtw89_core_tx_write(rtwdev, vif, sta, skb, &qsel); in rtw89_ops_tx()
106 struct ieee80211_vif *vif) in rtw89_ops_add_interface() argument
109 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_add_interface()
113 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface()
122 rtw89_vif_type_mapping(vif, false); in rtw89_ops_add_interface()
134 ether_addr_copy(rtwvif->mac_addr, vif->addr); in rtw89_ops_add_interface()
142 rtw89_core_txq_init(rtwdev, vif->txq); in rtw89_ops_add_interface()
152 struct ieee80211_vif *vif) in rtw89_ops_remove_interface() argument
155 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_remove_interface()
158 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface()
172 struct ieee80211_vif *vif, in rtw89_ops_change_interface() argument
178 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface()
180 rtw89_ops_remove_interface(hw, vif); in rtw89_ops_change_interface()
182 vif->type = type; in rtw89_ops_change_interface()
183 vif->p2p = p2p; in rtw89_ops_change_interface()
185 return rtw89_ops_add_interface(hw, vif); in rtw89_ops_change_interface()
265 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif); in rtw89_aifsn_to_aifs() local
270 slot_time = vif->bss_conf.use_short_slot ? 9 : 20; in rtw89_aifsn_to_aifs()
346 struct ieee80211_vif *vif, in rtw89_station_mode_sta_assoc() argument
351 if (vif->type != NL80211_IFTYPE_STATION) in rtw89_station_mode_sta_assoc()
354 sta = ieee80211_find_sta(vif, conf->bssid); in rtw89_station_mode_sta_assoc()
360 rtw89_vif_type_mapping(vif, true); in rtw89_station_mode_sta_assoc()
362 rtw89_core_sta_assoc(rtwdev, vif, sta); in rtw89_station_mode_sta_assoc()
366 struct ieee80211_vif *vif, in rtw89_ops_bss_info_changed() argument
371 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_bss_info_changed()
377 if (vif->cfg.assoc) { in rtw89_ops_bss_info_changed()
378 rtw89_station_mode_sta_assoc(rtwdev, vif, conf); in rtw89_ops_bss_info_changed()
379 rtw89_phy_set_bss_color(rtwdev, vif); in rtw89_ops_bss_info_changed()
380 rtw89_chip_cfg_txpwr_ul_tb_offset(rtwdev, vif); in rtw89_ops_bss_info_changed()
382 rtw89_mac_set_he_obss_narrow_bw_ru(rtwdev, vif); in rtw89_ops_bss_info_changed()
389 rtw89_hw_scan_abort(rtwdev, vif); in rtw89_ops_bss_info_changed()
406 rtw89_phy_set_bss_color(rtwdev, vif); in rtw89_ops_bss_info_changed()
409 rtw89_mac_bf_set_gid_table(rtwdev, vif, conf); in rtw89_ops_bss_info_changed()
412 rtw89_process_p2p_ps(rtwdev, vif); in rtw89_ops_bss_info_changed()
418 struct ieee80211_vif *vif, in rtw89_ops_start_ap() argument
422 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_start_ap()
425 ether_addr_copy(rtwvif->bssid, vif->bss_conf.bssid); in rtw89_ops_start_ap()
428 rtw89_fw_h2c_assoc_cmac_tbl(rtwdev, vif, NULL); in rtw89_ops_start_ap()
439 void rtw89_ops_stop_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in rtw89_ops_stop_ap() argument
443 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_stop_ap()
446 rtw89_fw_h2c_assoc_cmac_tbl(rtwdev, vif, NULL); in rtw89_ops_stop_ap()
464 struct ieee80211_vif *vif, in rtw89_ops_conf_tx() argument
469 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_conf_tx()
481 struct ieee80211_vif *vif, in __rtw89_ops_sta_state() argument
490 return rtw89_core_sta_add(rtwdev, vif, sta); in __rtw89_ops_sta_state()
494 if (vif->type == NL80211_IFTYPE_STATION && !sta->tdls) in __rtw89_ops_sta_state()
496 return rtw89_core_sta_assoc(rtwdev, vif, sta); in __rtw89_ops_sta_state()
501 return rtw89_core_sta_disassoc(rtwdev, vif, sta); in __rtw89_ops_sta_state()
505 return rtw89_core_sta_disconnect(rtwdev, vif, sta); in __rtw89_ops_sta_state()
509 return rtw89_core_sta_remove(rtwdev, vif, sta); in __rtw89_ops_sta_state()
515 struct ieee80211_vif *vif, in rtw89_ops_sta_state() argument
525 ret = __rtw89_ops_sta_state(hw, vif, sta, old_state, new_state); in rtw89_ops_sta_state()
532 struct ieee80211_vif *vif, in rtw89_ops_set_key() argument
545 ret = rtw89_cam_sec_key_add(rtwdev, vif, sta, key); in rtw89_ops_set_key()
555 ret = rtw89_cam_sec_key_del(rtwdev, vif, sta, key, true); in rtw89_ops_set_key()
570 struct ieee80211_vif *vif, in rtw89_ops_ampdu_action() argument
589 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rtw89_ops_ampdu_action()
631 struct ieee80211_vif *vif, in rtw89_ops_sta_statistics() argument
642 void __rtw89_drop_packets(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif) in __rtw89_drop_packets() argument
646 if (vif) { in __rtw89_drop_packets()
647 rtwvif = (struct rtw89_vif *)vif->drv_priv; in __rtw89_drop_packets()
655 static void rtw89_ops_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in rtw89_ops_flush() argument
665 __rtw89_drop_packets(rtwdev, vif); in rtw89_ops_flush()
674 struct ieee80211_vif *vif; member
682 struct ieee80211_vif *vif = rtwvif_to_vif(rtwsta->rtwvif); in rtw89_ra_mask_info_update_iter() local
684 if (vif != br_data->vif || vif->p2p) in rtw89_ra_mask_info_update_iter()
693 struct ieee80211_vif *vif, in rtw89_ra_mask_info_update() argument
697 .vif = vif, in rtw89_ra_mask_info_update()
705 struct ieee80211_vif *vif, in rtw89_ops_set_bitrate_mask() argument
711 rtw89_phy_rate_pattern_vif(rtwdev, vif, mask); in rtw89_ops_set_bitrate_mask()
712 rtw89_ra_mask_info_update(rtwdev, vif, mask); in rtw89_ops_set_bitrate_mask()
749 struct ieee80211_vif *vif, in rtw89_ops_sw_scan_start() argument
753 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_sw_scan_start()
761 struct ieee80211_vif *vif) in rtw89_ops_sw_scan_complete() argument
766 rtw89_core_scan_complete(rtwdev, vif, false); in rtw89_ops_sw_scan_complete()
779 static int rtw89_ops_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in rtw89_ops_hw_scan() argument
792 rtw89_hw_scan_start(rtwdev, vif, req); in rtw89_ops_hw_scan()
793 ret = rtw89_hw_scan_offload(rtwdev, vif, true); in rtw89_ops_hw_scan()
795 rtw89_hw_scan_abort(rtwdev, vif); in rtw89_ops_hw_scan()
804 struct ieee80211_vif *vif) in rtw89_ops_cancel_hw_scan() argument
815 rtw89_hw_scan_abort(rtwdev, vif); in rtw89_ops_cancel_hw_scan()
820 struct ieee80211_vif *vif, in rtw89_ops_sta_rc_update() argument
863 struct ieee80211_vif *vif, in rtw89_ops_assign_vif_chanctx() argument
868 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_assign_vif_chanctx()
879 struct ieee80211_vif *vif, in rtw89_ops_unassign_vif_chanctx() argument
884 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_unassign_vif_chanctx()
901 struct ieee80211_vif *vif, in rtw89_ops_set_tid_config() argument