Lines Matching defs:vif
125 void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap,
128 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
220 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
221 if (sdata->vif.type == NL80211_IFTYPE_AP ||
222 sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
223 sdata->vif.type == NL80211_IFTYPE_MESH_POINT)
224 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
225 else if (sdata->vif.type == NL80211_IFTYPE_STATION)
226 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN);
227 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC)
506 void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif,
509 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
525 void ieee80211_rx_ba_timer_expired(struct ieee80211_vif *vif,
528 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);