Lines Matching refs:vif
185 static inline void hwsim_check_magic(struct ieee80211_vif *vif) in hwsim_check_magic() argument
187 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_check_magic()
190 vif, vp->magic, vif->addr, vif->type, vif->p2p); in hwsim_check_magic()
193 static inline void hwsim_set_magic(struct ieee80211_vif *vif) in hwsim_set_magic() argument
195 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_set_magic()
199 static inline void hwsim_clear_magic(struct ieee80211_vif *vif) in hwsim_clear_magic() argument
201 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_clear_magic()
608 static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) in hwsim_send_ps_poll() argument
611 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_send_ps_poll()
635 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
640 struct ieee80211_vif *vif, int ps) in hwsim_send_nullfunc() argument
642 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in hwsim_send_nullfunc()
667 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
673 struct ieee80211_vif *vif) in hwsim_send_nullfunc_ps() argument
676 hwsim_send_nullfunc(data, mac, vif, 1); in hwsim_send_nullfunc_ps()
680 struct ieee80211_vif *vif) in hwsim_send_nullfunc_no_ps() argument
683 hwsim_send_nullfunc(data, mac, vif, 0); in hwsim_send_nullfunc_no_ps()
778 struct ieee80211_vif *vif) in mac80211_hwsim_get_tsf() argument
785 struct ieee80211_vif *vif, u64 tsf) in mac80211_hwsim_set_tsf() argument
788 u64 now = mac80211_hwsim_get_tsf(hw, vif); in mac80211_hwsim_set_tsf()
897 struct ieee80211_vif *vif) in mac80211_hwsim_addr_iter() argument
1057 struct ieee80211_vif *vif) in mac80211_hwsim_tx_iter() argument
1061 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1065 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1266 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1284 if (txi->control.vif) in mac80211_hwsim_tx()
1285 hwsim_check_magic(txi->control.vif); in mac80211_hwsim_tx()
1290 ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, in mac80211_hwsim_tx()
1344 struct ieee80211_vif *vif) in mac80211_hwsim_add_interface() argument
1347 __func__, ieee80211_vif_type_p2p(vif), in mac80211_hwsim_add_interface()
1348 vif->addr); in mac80211_hwsim_add_interface()
1349 hwsim_set_magic(vif); in mac80211_hwsim_add_interface()
1351 vif->cab_queue = 0; in mac80211_hwsim_add_interface()
1352 vif->hw_queue[IEEE80211_AC_VO] = 0; in mac80211_hwsim_add_interface()
1353 vif->hw_queue[IEEE80211_AC_VI] = 1; in mac80211_hwsim_add_interface()
1354 vif->hw_queue[IEEE80211_AC_BE] = 2; in mac80211_hwsim_add_interface()
1355 vif->hw_queue[IEEE80211_AC_BK] = 3; in mac80211_hwsim_add_interface()
1362 struct ieee80211_vif *vif, in mac80211_hwsim_change_interface() argument
1369 __func__, ieee80211_vif_type_p2p(vif), in mac80211_hwsim_change_interface()
1370 newtype, vif->addr); in mac80211_hwsim_change_interface()
1371 hwsim_check_magic(vif); in mac80211_hwsim_change_interface()
1377 vif->cab_queue = 0; in mac80211_hwsim_change_interface()
1383 struct ieee80211_hw *hw, struct ieee80211_vif *vif) in mac80211_hwsim_remove_interface() argument
1386 __func__, ieee80211_vif_type_p2p(vif), in mac80211_hwsim_remove_interface()
1387 vif->addr); in mac80211_hwsim_remove_interface()
1388 hwsim_check_magic(vif); in mac80211_hwsim_remove_interface()
1389 hwsim_clear_magic(vif); in mac80211_hwsim_remove_interface()
1400 ieee80211_get_tx_rates(txi->control.vif, NULL, skb, in mac80211_hwsim_tx_frame()
1415 struct ieee80211_vif *vif) in mac80211_hwsim_beacon_tx() argument
1424 hwsim_check_magic(vif); in mac80211_hwsim_beacon_tx()
1426 if (vif->type != NL80211_IFTYPE_AP && in mac80211_hwsim_beacon_tx()
1427 vif->type != NL80211_IFTYPE_MESH_POINT && in mac80211_hwsim_beacon_tx()
1428 vif->type != NL80211_IFTYPE_ADHOC) in mac80211_hwsim_beacon_tx()
1431 skb = ieee80211_beacon_get(hw, vif); in mac80211_hwsim_beacon_tx()
1436 ieee80211_get_tx_rates(vif, NULL, skb, in mac80211_hwsim_beacon_tx()
1450 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
1452 if (vif->csa_active && ieee80211_csa_is_complete(vif)) in mac80211_hwsim_beacon_tx()
1453 ieee80211_csa_finish(vif); in mac80211_hwsim_beacon_tx()
1566 struct ieee80211_vif *vif) in mac80211_hwsim_bcn_en_iter() argument
1569 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in mac80211_hwsim_bcn_en_iter()
1576 struct ieee80211_vif *vif, in mac80211_hwsim_bss_info_changed() argument
1580 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; in mac80211_hwsim_bss_info_changed()
1583 hwsim_check_magic(vif); in mac80211_hwsim_bss_info_changed()
1586 __func__, changed, vif->addr); in mac80211_hwsim_bss_info_changed()
1611 tsf = mac80211_hwsim_get_tsf(hw, vif); in mac80211_hwsim_bss_info_changed()
1660 struct ieee80211_vif *vif, in mac80211_hwsim_sta_add() argument
1663 hwsim_check_magic(vif); in mac80211_hwsim_sta_add()
1670 struct ieee80211_vif *vif, in mac80211_hwsim_sta_remove() argument
1673 hwsim_check_magic(vif); in mac80211_hwsim_sta_remove()
1680 struct ieee80211_vif *vif, in mac80211_hwsim_sta_notify() argument
1684 hwsim_check_magic(vif); in mac80211_hwsim_sta_notify()
1707 struct ieee80211_vif *vif, u16 queue, in mac80211_hwsim_conf_tx() argument
1774 struct ieee80211_vif *vif, in mac80211_hwsim_testmode_cmd() argument
1821 struct ieee80211_vif *vif, in mac80211_hwsim_ampdu_action() argument
1828 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in mac80211_hwsim_ampdu_action()
1833 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in mac80211_hwsim_ampdu_action()
1848 struct ieee80211_vif *vif, in mac80211_hwsim_flush() argument
1910 struct ieee80211_vif *vif, in mac80211_hwsim_hw_scan() argument
1922 hwsim->hw_scan_vif = vif; in mac80211_hwsim_hw_scan()
1929 memcpy(hwsim->scan_addr, vif->addr, ETH_ALEN); in mac80211_hwsim_hw_scan()
1940 struct ieee80211_vif *vif) in mac80211_hwsim_cancel_hw_scan() argument
1957 struct ieee80211_vif *vif, in mac80211_hwsim_sw_scan() argument
1979 struct ieee80211_vif *vif) in mac80211_hwsim_sw_scan_complete() argument
2006 struct ieee80211_vif *vif, in mac80211_hwsim_roc() argument
2081 struct ieee80211_vif *vif, in mac80211_hwsim_assign_vif_chanctx() argument
2084 hwsim_check_magic(vif); in mac80211_hwsim_assign_vif_chanctx()
2091 struct ieee80211_vif *vif, in mac80211_hwsim_unassign_vif_chanctx() argument
2094 hwsim_check_magic(vif); in mac80211_hwsim_unassign_vif_chanctx()
2113 struct ieee80211_vif *vif, in mac80211_hwsim_get_et_strings() argument
2122 struct ieee80211_vif *vif, int sset) in mac80211_hwsim_get_et_sset_count() argument
2130 struct ieee80211_vif *vif, in mac80211_hwsim_get_et_stats() argument