Lines Matching refs:vif

40 				struct ieee80211_vif *vif,
176 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm()
201 skb = ieee80211_nullfunc_get(priv->hw, priv->vif); in __cw1200_cqm_bssloss_sm()
209 struct ieee80211_vif *vif) in cw1200_add_interface() argument
215 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in cw1200_add_interface()
226 switch (vif->type) { in cw1200_add_interface()
231 priv->mode = vif->type; in cw1200_add_interface()
238 priv->vif = vif; in cw1200_add_interface()
239 memcpy(priv->mac_addr, vif->addr, ETH_ALEN); in cw1200_add_interface()
252 struct ieee80211_vif *vif) in cw1200_remove_interface() argument
294 priv->vif = NULL; in cw1200_remove_interface()
309 struct ieee80211_vif *vif, in cw1200_change_interface() argument
315 p2p, vif->type, vif->p2p); in cw1200_change_interface()
317 if (new_type != vif->type || vif->p2p != p2p) { in cw1200_change_interface()
318 cw1200_remove_interface(dev, vif); in cw1200_change_interface()
319 vif->type = new_type; in cw1200_change_interface()
320 vif->p2p = p2p; in cw1200_change_interface()
321 ret = cw1200_add_interface(dev, vif); in cw1200_change_interface()
446 bool is_p2p = priv->vif && priv->vif->p2p; in cw1200_update_filtering()
447 bool is_sta = priv->vif && NL80211_IFTYPE_STATION == priv->vif->type; in cw1200_update_filtering()
611 int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, in cw1200_conf_tx() argument
684 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in cw1200_set_key() argument
937 void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_flush() argument
1028 ieee80211_cqm_rssi_notify(priv->vif, cqm_evt, in cw1200_event_handler()
1181 ieee80211_connection_loss(priv->vif); in cw1200_join_complete()
1216 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_do_join()
1237 bssid = priv->vif->bss_conf.bssid; in cw1200_do_join()
1307 if (priv->vif->p2p) { in cw1200_do_join()
1454 ieee80211_connection_loss(priv->vif); in cw1200_unjoin_work()
1548 int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_sta_add() argument
1579 int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_sta_remove() argument
1603 struct ieee80211_vif *vif, in __cw1200_sta_notify() argument
1644 struct ieee80211_vif *vif, in cw1200_sta_notify() argument
1653 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
1667 __cw1200_sta_notify(priv->hw, priv->vif, in cw1200_ps_notify()
1682 skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, in cw1200_set_tim_impl()
1775 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo()
1806 struct ieee80211_vif *vif, in cw1200_bss_info_changed() argument
1896 ieee80211_connection_loss(vif); in cw1200_bss_info_changed()
1917 sta = ieee80211_find_sta(vif, info->bssid); in cw1200_bss_info_changed()
1992 if (priv->vif->p2p) { in cw1200_bss_info_changed()
2137 struct ieee80211_vif *vif, in cw1200_ampdu_action() argument
2214 if (priv->vif->p2p) in cw1200_upload_beacon()
2217 frame.skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, in cw1200_upload_beacon()
2236 if (priv->vif->p2p) { in cw1200_upload_beacon()
2258 frame.skb = ieee80211_pspoll_get(priv->hw, priv->vif); in cw1200_upload_pspoll()
2277 frame.skb = ieee80211_nullfunc_get(priv->hw, priv->vif); in cw1200_upload_null()
2322 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_start_ap()
2324 .mode = priv->vif->p2p ? in cw1200_start_ap()
2362 if (!ret && priv->vif->p2p) { in cw1200_start_ap()
2377 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_update_beaconing()