Lines Matching refs:vif

157 	struct ieee80211_vif *vif;  in ath_is_go_chanctx_present()  local
166 vif = avp->vif; in ath_is_go_chanctx_present()
168 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_P2P_GO) { in ath_is_go_chanctx_present()
263 struct ieee80211_vif *vif = avp->vif; in ath_chanctx_check_active() local
265 switch (vif->type) { in ath_chanctx_check_active()
474 void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, in ath_chanctx_event() argument
485 if (vif) in ath_chanctx_event()
486 avp = (struct ath_vif *) vif->drv_priv; in ath_chanctx_event()
558 ath_dbg(common, CHAN_CTX, "Preparing beacon for vif: %pM\n", vif->addr); in ath_chanctx_event()
891 struct ieee80211_vif *vif; in ath_offchannel_next() local
894 vif = sc->offchannel.scan_vif; in ath_offchannel_next()
895 sc->offchannel.chan.txpower = vif->bss_conf.txpower; in ath_offchannel_next()
898 vif = sc->offchannel.roc_vif; in ath_offchannel_next()
899 sc->offchannel.chan.txpower = vif->bss_conf.txpower; in ath_offchannel_next()
960 struct ieee80211_vif *vif = sc->offchannel.scan_vif; in ath_scan_send_probe() local
966 skb = ieee80211_probereq_get(sc->hw, vif->addr, in ath_scan_send_probe()
980 if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, NULL)) in ath_scan_send_probe()
1072 struct ieee80211_vif *vif = avp->vif; in ath_chanctx_send_vif_ps_frame() local
1079 switch (vif->type) { in ath_chanctx_send_vif_ps_frame()
1084 skb = ieee80211_nullfunc_get(sc->hw, vif); in ath_chanctx_send_vif_ps_frame()
1094 if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { in ath_chanctx_send_vif_ps_frame()
1415 static void ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_update_p2p_ps() argument
1417 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_update_p2p_ps()
1423 if (vif->type != NL80211_IFTYPE_STATION || !vif->p2p) in ath9k_update_p2p_ps()
1428 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1446 ctwin = avp->vif->bss_conf.p2p_noa_attr.oppps_ctwindow; in ath9k_get_ctwin()
1515 struct ieee80211_vif *vif; in ath9k_p2p_ps_timer() local
1539 vif = avp->vif; in ath9k_p2p_ps_timer()
1540 sta = ieee80211_find_sta(vif, avp->bssid); in ath9k_p2p_ps_timer()
1559 struct ieee80211_vif *vif) in ath9k_p2p_bss_info_changed() argument
1566 ath9k_update_p2p_ps(sc, vif); in ath9k_p2p_bss_info_changed()
1574 ath9k_update_p2p_ps(sc, sc->p2p_ps_vif->vif); in ath9k_p2p_beacon_sync()
1578 struct ieee80211_vif *vif) in ath9k_p2p_remove_vif() argument
1580 struct ath_vif *avp = (void *)vif->drv_priv; in ath9k_p2p_remove_vif()