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()
615 int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, in cw1200_conf_tx() argument
688 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in cw1200_set_key() argument
941 void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_flush() argument
1032 ieee80211_cqm_rssi_notify(priv->vif, cqm_evt, in cw1200_event_handler()
1185 ieee80211_connection_loss(priv->vif); in cw1200_join_complete()
1220 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_do_join()
1241 bssid = priv->vif->bss_conf.bssid; in cw1200_do_join()
1311 if (priv->vif->p2p) { in cw1200_do_join()
1458 ieee80211_connection_loss(priv->vif); in cw1200_unjoin_work()
1552 int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_sta_add() argument
1583 int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in cw1200_sta_remove() argument
1607 struct ieee80211_vif *vif, in __cw1200_sta_notify() argument
1648 struct ieee80211_vif *vif, in cw1200_sta_notify() argument
1657 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
1671 __cw1200_sta_notify(priv->hw, priv->vif, in cw1200_ps_notify()
1686 skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, in cw1200_set_tim_impl()
1779 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo()
1810 struct ieee80211_vif *vif, in cw1200_bss_info_changed() argument
1900 ieee80211_connection_loss(vif); in cw1200_bss_info_changed()
1921 sta = ieee80211_find_sta(vif, info->bssid); in cw1200_bss_info_changed()
1996 if (priv->vif->p2p) { in cw1200_bss_info_changed()
2141 struct ieee80211_vif *vif, in cw1200_ampdu_action() argument
2218 if (priv->vif->p2p) in cw1200_upload_beacon()
2221 frame.skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, in cw1200_upload_beacon()
2240 if (priv->vif->p2p) { in cw1200_upload_beacon()
2262 frame.skb = ieee80211_pspoll_get(priv->hw, priv->vif); in cw1200_upload_pspoll()
2281 frame.skb = ieee80211_nullfunc_get(priv->hw, priv->vif); in cw1200_upload_null()
2326 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_start_ap()
2328 .mode = priv->vif->p2p ? in cw1200_start_ap()
2366 if (!ret && priv->vif->p2p) { in cw1200_start_ap()
2381 struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; in cw1200_update_beaconing()