Home
last modified time | relevance | path

Searched refs:vif (Results 1 – 25 of 53) sorted by relevance

123

/net/mac80211/
Diface.c54 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in __ieee80211_recalc_txpower()
69 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower()
70 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower()
184 if (iter->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_verify_mac()
188 m = iter->vif.addr; in ieee80211_verify_mac()
238 switch (sdata->vif.type) { in ieee80211_can_powered_addr_change()
271 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_change_mac()
284 memcpy(sdata->vif.addr, sa->sa_data, ETH_ALEN); in ieee80211_change_mac()
285 ether_addr_copy(sdata->vif.bss_conf.addr, sdata->vif.addr); in ieee80211_change_mac()
324 if ((sdata->vif.type == NL80211_IFTYPE_OCB && in ieee80211_check_concurrent_iface()
[all …]
Ddriver-ops.c60 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in drv_add_interface()
61 (sdata->vif.type == NL80211_IFTYPE_MONITOR && in drv_add_interface()
67 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
88 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
102 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface()
124 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state()
157 ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif, in drv_sta_set_txpwr()
172 (sdata->vif.type != NL80211_IFTYPE_ADHOC && in drv_sta_rc_update()
173 sdata->vif.type != NL80211_IFTYPE_MESH_POINT)); in drv_sta_rc_update()
177 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update()
[all …]
Dlink.c16 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_setup()
30 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); in ieee80211_link_init()
50 switch (sdata->vif.type) { in ieee80211_link_init()
68 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_stop()
142 sdata->vif.valid_links = links; in ieee80211_set_vif_links_bitmaps()
145 sdata->vif.active_links = 0; in ieee80211_set_vif_links_bitmaps()
149 switch (sdata->vif.type) { in ieee80211_set_vif_links_bitmaps()
152 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
155 if (sdata->vif.active_links) in ieee80211_set_vif_links_bitmaps()
158 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
[all …]
Ddriver-ops.h24 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in get_bss_sdata()
54 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings()
66 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats()
78 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count()
161 local->ops->vif_cfg_changed(&local->hw, &sdata->vif, changed); in drv_vif_cfg_changed()
163 local->ops->bss_info_changed(&local->hw, &sdata->vif, in drv_vif_cfg_changed()
164 &sdata->vif.bss_conf, changed); in drv_vif_cfg_changed()
212 local->ops->config_iface_filter(&local->hw, &sdata->vif, in drv_config_iface_filter()
252 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key()
269 ret = local->ops->hw_scan(&local->hw, &sdata->vif, req); in drv_hw_scan()
[all …]
Dtx.c59 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
144 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
187 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
197 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
236 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_tx_h_dynamic_ps()
310 if (tx->sdata->vif.type == NL80211_IFTYPE_OCB) in ieee80211_tx_h_check_assoc()
356 if (sdata->vif.type == NL80211_IFTYPE_AP) in purge_old_ps_buffers()
358 else if (ieee80211_vif_is_mesh(&sdata->vif)) in purge_old_ps_buffers()
409 if (tx->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_tx_h_multicast_ps_buf()
410 tx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_tx_h_multicast_ps_buf()
[all …]
Dmesh.c94 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
97 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local()
110 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local()
402 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
433 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
434 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
435 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
458 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
474 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
475 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
[all …]
Ddebugfs_netdev.c210 IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC);
221 sdata->vif.hw_queue[IEEE80211_AC_VO], in ieee80211_if_fmt_hw_queues()
222 sdata->vif.hw_queue[IEEE80211_AC_VI], in ieee80211_if_fmt_hw_queues()
223 sdata->vif.hw_queue[IEEE80211_AC_BE], in ieee80211_if_fmt_hw_queues()
224 sdata->vif.hw_queue[IEEE80211_AC_BK]); in ieee80211_if_fmt_hw_queues()
226 if (sdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_if_fmt_hw_queues()
228 sdata->vif.cab_queue); in ieee80211_if_fmt_hw_queues()
236 IEEE80211_IF_FILE(aid, vif.cfg.aid, DEC);
255 if (sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_set_smps()
275 if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_if_fmt_smps()
[all …]
Dcfg.c38 if (require_valid && sdata->vif.valid_links) in ieee80211_link_or_deflink()
61 memcpy(sdata->vif.bss_conf.mu_group.membership, in ieee80211_set_mu_mimo_follow()
63 memcpy(sdata->vif.bss_conf.mu_group.position, in ieee80211_set_mu_mimo_follow()
81 sdata->vif.bss_conf.mu_mimo_owner = mu_mimo_groups || mu_mimo_follow; in ieee80211_set_mu_mimo_follow()
146 sdata->vif.mbssid_tx_vif = NULL; in ieee80211_set_ap_mbssid_options()
152 if (sdata->vif.type != NL80211_IFTYPE_AP || !params.tx_wdev) in ieee80211_set_ap_mbssid_options()
160 sdata->vif.mbssid_tx_vif = &sdata->vif; in ieee80211_set_ap_mbssid_options()
162 sdata->vif.mbssid_tx_vif = &tx_sdata->vif; in ieee80211_set_ap_mbssid_options()
231 if (sdata->vif.valid_links) in ieee80211_change_iface()
249 if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { in ieee80211_change_iface()
[all …]
Dutil.c180 struct ieee80211_vif *vif, in ieee80211_generic_frame_duration() argument
191 if (vif) { in ieee80211_generic_frame_duration()
192 sdata = vif_to_sdata(vif); in ieee80211_generic_frame_duration()
193 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration()
196 shift = ieee80211_vif_get_shift(vif); in ieee80211_generic_frame_duration()
207 struct ieee80211_vif *vif, size_t frame_len, in ieee80211_rts_duration() argument
225 if (vif) { in ieee80211_rts_duration()
226 sdata = vif_to_sdata(vif); in ieee80211_rts_duration()
227 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration()
230 shift = ieee80211_vif_get_shift(vif); in ieee80211_rts_duration()
[all …]
Doffchannel.c109 if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || in ieee80211_offchannel_stop_vifs()
110 sdata->vif.type == NL80211_IFTYPE_NAN) in ieee80211_offchannel_stop_vifs()
113 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_offchannel_stop_vifs()
117 if (sdata->vif.bss_conf.enable_beacon) { in ieee80211_offchannel_stop_vifs()
120 sdata->vif.bss_conf.enable_beacon = false; in ieee80211_offchannel_stop_vifs()
126 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_offchannel_stop_vifs()
142 if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) in ieee80211_offchannel_return()
145 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_offchannel_return()
152 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_offchannel_return()
158 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_offchannel_return()
[all …]
Drx.c1044 char *dev_addr = rx->sdata->vif.addr; in ieee80211_rx_mesh_check()
1480 if (ieee80211_vif_is_mesh(&rx->sdata->vif)) in ieee80211_rx_h_check()
1485 rx->sdata->vif.type != NL80211_IFTYPE_ADHOC && in ieee80211_rx_h_check()
1486 rx->sdata->vif.type != NL80211_IFTYPE_OCB && in ieee80211_rx_h_check()
1493 if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_rx_h_check()
1508 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_rx_h_check()
1561 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in sta_ps_start()
1562 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in sta_ps_start()
1691 if (sdata->vif.type != NL80211_IFTYPE_AP && in ieee80211_rx_h_uapsd_and_pspoll()
1692 sdata->vif.type != NL80211_IFTYPE_AP_VLAN) in ieee80211_rx_h_uapsd_and_pspoll()
[all …]
Dhe.c18 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_update_from_he_6ghz_capa()
19 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_update_from_he_6ghz_capa()
132 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_he_cap_ie_to_sta_he_cap()
211 ieee80211_he_op_ie_to_bss_conf(struct ieee80211_vif *vif, in ieee80211_he_op_ie_to_bss_conf() argument
214 memset(&vif->bss_conf.he_oper, 0, sizeof(vif->bss_conf.he_oper)); in ieee80211_he_op_ie_to_bss_conf()
218 vif->bss_conf.he_oper.params = __le32_to_cpu(he_op_ie->he_oper_params); in ieee80211_he_op_ie_to_bss_conf()
219 vif->bss_conf.he_oper.nss_set = __le16_to_cpu(he_op_ie->he_mcs_nss_set); in ieee80211_he_op_ie_to_bss_conf()
223 ieee80211_he_spr_ie_to_bss_conf(struct ieee80211_vif *vif, in ieee80211_he_spr_ie_to_bss_conf() argument
227 &vif->bss_conf.he_obss_pd; in ieee80211_he_spr_ie_to_bss_conf()
Dagg-tx.c79 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
80 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_request()
81 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_request()
82 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_request()
83 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
84 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_request()
86 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_request()
112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument
114 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_send_bar()
129 memcpy(bar->ta, sdata->vif.addr, ETH_ALEN); in ieee80211_send_bar()
[all …]
Dkey.c66 if (sdata->vif.type != NL80211_IFTYPE_AP) in update_vlan_tailroom_need_count()
169 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_key_enable_hw_accel()
180 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_enable_hw_accel()
181 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_enable_hw_accel()
253 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_disable_hw_accel()
254 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_disable_hw_accel()
372 if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN) in __ieee80211_set_default_key()
823 if (sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_key_identical()
852 bool delay_tailroom = sdata->vif.type == NL80211_IFTYPE_STATION; in ieee80211_key_link()
962 if (sdata->vif.type == NL80211_IFTYPE_AP) { in ieee80211_reenable_keys()
[all …]
Dht.c55 switch (sdata->vif.type) { in ieee80211_apply_htcap_overrides()
167 if (sdata->vif.type == NL80211_IFTYPE_STATION || in ieee80211_ht_cap_ie_to_sta_ht_cap()
168 sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_ht_cap_ie_to_sta_ht_cap()
256 link_conf = rcu_dereference(sdata->vif.link_conf[link_sta->link_id]); in ieee80211_ht_cap_ie_to_sta_ht_cap()
287 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_ht_cap_ie_to_sta_ht_cap()
288 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
482 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
483 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_delba()
484 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_delba()
485 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_delba()
[all …]
Dmlme.c113 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor()
441 ieee80211_vif_type_p2p(&sdata->vif))) { in ieee80211_config_bw()
449 ieee80211_vif_type_p2p(&sdata->vif))) in ieee80211_config_bw()
664 if (other->vif.bss_conf.mu_mimo_owner) { in ieee80211_add_vht_ie()
706 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_add_he_ie()
736 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_add_eht_ie()
738 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_add_eht_ie()
959 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_assoc_link_elems()
1216 if (!sdata->vif.valid_links) in ieee80211_assoc_add_ml_elem()
1220 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_assoc_add_ml_elem()
[all …]
Dmain.c150 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_hw_conf_chan()
152 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_hw_conf_chan()
154 if (sdata->vif.bss_conf.txpower == INT_MIN) in ieee80211_hw_conf_chan()
156 power = min(power, sdata->vif.bss_conf.txpower); in ieee80211_hw_conf_chan()
217 if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_bss_info_change_notify()
222 sdata->vif.type != NL80211_IFTYPE_AP && in ieee80211_bss_info_change_notify()
223 sdata->vif.type != NL80211_IFTYPE_ADHOC && in ieee80211_bss_info_change_notify()
224 sdata->vif.type != NL80211_IFTYPE_MESH_POINT && in ieee80211_bss_info_change_notify()
225 sdata->vif.type != NL80211_IFTYPE_OCB)) in ieee80211_bss_info_change_notify()
228 if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || in ieee80211_bss_info_change_notify()
[all …]
Dagg-rx.c125 void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, in ieee80211_stop_rx_ba_session() argument
128 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_stop_rx_ba_session()
196 ieee80211_vif_type_p2p(&sdata->vif)); in ieee80211_add_addbaext()
239 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp()
240 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_resp()
241 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_resp()
242 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_resp()
243 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp()
244 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_resp()
246 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_resp()
[all …]
Dibss.c80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_ibss_build_presp()
247 if (sdata->vif.cfg.ibss_joined) { in __ieee80211_sta_join_ibss()
248 sdata->vif.cfg.ibss_joined = false; in __ieee80211_sta_join_ibss()
249 sdata->vif.cfg.ibss_creator = false; in __ieee80211_sta_join_ibss()
250 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss()
325 sdata->vif.bss_conf.enable_beacon = true; in __ieee80211_sta_join_ibss()
326 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss()
327 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss()
328 sdata->vif.cfg.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss()
329 memcpy(sdata->vif.cfg.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss()
[all …]
Dsta_info.c128 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in __cleanup_single_sta()
129 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __cleanup_single_sta()
131 else if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta()
162 if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta()
321 if (ether_addr_equal(vif_addr, sta->sdata->vif.addr)) in sta_info_get_by_addrs()
561 if (ieee80211_vif_is_mesh(&sdata->vif)) { in __sta_info_alloc()
728 if (WARN_ON(ether_addr_equal(sta->sta.addr, sdata->vif.addr) || in sta_info_insert_check()
771 if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { in sta_info_insert_drv_state()
789 bool allow_p2p_go_ps = sdata->vif.p2p; in ieee80211_recalc_p2p_go_ps_allowed()
804 if (allow_p2p_go_ps != sdata->vif.bss_conf.allow_p2p_go_ps) { in ieee80211_recalc_p2p_go_ps_allowed()
[all …]
Dchan.c265 struct ieee80211_vif *vif = &sdata->vif; in ieee80211_get_chanctx_vif_max_required_bw() local
281 switch (vif->type) { in ieee80211_get_chanctx_vif_max_required_bw()
343 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
419 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_chan_bw_change()
782 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_recalc_chanctx_chantype()
787 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_recalc_chanctx_chantype()
859 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_NAN)) in ieee80211_assign_link_chanctx()
889 sdata->vif.cfg.idle = !conf; in ieee80211_assign_link_chanctx()
903 if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && in ieee80211_assign_link_chanctx()
904 sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_assign_link_chanctx()
[all …]
Dtdls.c161 if (!ieee80211_chandef_to_operating_class(&sdata->vif.bss_conf.chandef, in ieee80211_tdls_add_oper_classes()
209 init_addr = sdata->vif.addr; in ieee80211_tdls_add_link_ie()
213 rsp_addr = sdata->vif.addr; in ieee80211_tdls_add_link_ie()
233 put_unaligned_le16(sdata->vif.cfg.aid, pos); in ieee80211_tdls_add_aid()
439 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_start_ies()
567 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_cfm_ies()
613 &sdata->vif.bss_conf.chandef, prot, in ieee80211_tdls_add_setup_cfm_ies()
754 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
835 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_direct()
1201 if (sdata->vif.type != NL80211_IFTYPE_STATION || in ieee80211_tdls_mgmt()
[all …]
Dpm.c96 if (sdata->vif.type != NL80211_IFTYPE_STATION) in __ieee80211_suspend()
153 switch (sdata->vif.type) { in __ieee80211_suspend()
193 void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif, in ieee80211_report_wowlan_wakeup() argument
197 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); in ieee80211_report_wowlan_wakeup()
/net/ipv4/
Dipmr.c82 static struct net_device *vif_dev_read(const struct vif_device *vif) in vif_dev_read() argument
84 return rcu_dereference(vif->dev); in vif_dev_read()
625 struct vif_device *vif, in call_ipmr_vif_entry_notifiers() argument
630 vif, vif_dev, vif_index, tb_id, in call_ipmr_vif_entry_notifiers()
1363 struct vifctl vif; in ip_mroute_setsockopt() local
1425 if (optlen != sizeof(vif)) { in ip_mroute_setsockopt()
1429 if (copy_from_sockptr(&vif, optval, sizeof(vif))) { in ip_mroute_setsockopt()
1433 if (vif.vifc_vifi >= MAXVIFS) { in ip_mroute_setsockopt()
1438 ret = vif_add(net, mrt, &vif, in ip_mroute_setsockopt()
1441 ret = vif_delete(mrt, vif.vifc_vifi, 0, NULL); in ip_mroute_setsockopt()
[all …]
/net/ipv6/
Dip6mr.c67 static struct net_device *vif_dev_read(const struct vif_device *vif) in vif_dev_read() argument
69 return rcu_dereference(vif->dev); in vif_dev_read()
439 const struct vif_device *vif = v; in ip6mr_vif_seq_show() local
443 vif_dev = vif_dev_read(vif); in ip6mr_vif_seq_show()
448 vif - mrt->vif_table, in ip6mr_vif_seq_show()
449 name, vif->bytes_in, vif->pkt_in, in ip6mr_vif_seq_show()
450 vif->bytes_out, vif->pkt_out, in ip6mr_vif_seq_show()
451 vif->flags); in ip6mr_vif_seq_show()
681 struct vif_device *vif, in call_ip6mr_vif_entry_notifiers() argument
686 vif, vif_dev, vif_index, tb_id, in call_ip6mr_vif_entry_notifiers()
[all …]

123