/net/mac80211/ |
H A D | pm.c | 107 switch (sdata->vif.type) { 146 void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif, argument 150 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
|
H A D | agg-rx.c | 107 void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, argument 110 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); 198 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 199 if (sdata->vif.type == NL80211_IFTYPE_AP || 200 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || 201 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) 202 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); 203 else if (sdata->vif.type == NL80211_IFTYPE_STATION) 205 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) 374 void ieee80211_start_rx_ba_session_offl(struct ieee80211_vif *vif, argument 395 ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif *vif, const u8 *addr, u16 tid) argument [all...] |
H A D | agg-tx.c | 81 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 82 if (sdata->vif.type == NL80211_IFTYPE_AP || 83 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || 84 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) 85 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); 86 else if (sdata->vif.type == NL80211_IFTYPE_STATION) 88 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) 113 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) argument 115 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); 131 memcpy(bar->ta, sdata->vif 672 ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid) argument 714 ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) argument 788 ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid) argument 837 ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) argument [all...] |
H A D | ht.c | 56 switch (sdata->vif.type) { 157 if (sdata->vif.type == NL80211_IFTYPE_STATION || 158 sdata->vif.type == NL80211_IFTYPE_ADHOC) 238 switch (sdata->vif.bss_conf.chandef.width) { 377 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 378 if (sdata->vif.type == NL80211_IFTYPE_AP || 379 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || 380 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) 381 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); 382 else if (sdata->vif 497 ieee80211_request_smps(struct ieee80211_vif *vif, enum ieee80211_smps_mode smps_mode) argument [all...] |
H A D | trace.h | 25 #define VIF_ASSIGN __entry->vif_type = sdata->vif.type; __entry->sdata = sdata; \ 26 __entry->p2p = sdata->vif.p2p; \ 28 #define VIF_PR_FMT " vif:%s(%d%s)" 103 memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN); 1415 struct trace_vif_entry vif; member in struct:trace_switch_entry 1449 sdata = container_of(vifs[i].vif, 1451 vif); 1453 SWITCH_ENTRY_ASSIGN(vif.vif_type, vif->type); 1454 SWITCH_ENTRY_ASSIGN(vif [all...] |
H A D | key.c | 119 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { 554 struct ieee80211_vif *vif, 556 struct ieee80211_vif *vif, 569 if (vif) { 570 sdata = vif_to_sdata(vif); 572 iter(hw, &sdata->vif, 579 iter(hw, &sdata->vif, 622 if (sdata->vif.type == NL80211_IFTYPE_AP) { 634 if (sdata->vif.type == NL80211_IFTYPE_AP) { 703 void ieee80211_gtk_rekey_notify(struct ieee80211_vif *vif, cons argument 553 ieee80211_iter_keys(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void (*iter)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, void *data), void *iter_data) argument 887 ieee80211_gtk_rekey_add(struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf) argument [all...] |
H A D | rate.c | 282 if (ieee80211_vif_is_mesh(&sta->sdata->vif)) 431 static void rate_fixup_ratelist(struct ieee80211_vif *vif, argument 450 u32 basic_rates = vif->bss_conf.basic_rates; 593 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); 619 chan_width = sdata->vif.bss_conf.chandef.width; 630 void ieee80211_get_tx_rates(struct ieee80211_vif *vif, argument 643 if (!vif) 646 sdata = vif_to_sdata(vif); 657 rate_fixup_ratelist(vif, sband, info, dest, max_rates); 690 ieee80211_get_tx_rates(&sdata->vif, ist [all...] |
H A D | tdls.c | 81 init_addr = sdata->vif.addr; 85 rsp_addr = sdata->vif.addr; 343 rcu_dereference(sdata->vif.chanctx_conf); 411 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); 480 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 748 if (sdata->vif.type != NL80211_IFTYPE_STATION || 807 if (sdata->vif.type != NL80211_IFTYPE_STATION) 872 void ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer, argument 876 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); 878 if (vif [all...] |
H A D | chan.c | 72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, 118 compat = &sdata->vif.bss_conf.chandef; 121 &sdata->vif.bss_conf.chandef, compat); 253 struct ieee80211_vif *vif = &sdata->vif; local 259 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) 262 switch (vif->type) { 273 width = vif->bss_conf.chandef.width; 287 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) 542 if (rcu_access_pointer(sdata->vif [all...] |
H A D | driver-ops.h | 18 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) 38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); 50 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); 62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, 147 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || 148 (sdata->vif.type == NL80211_IFTYPE_MONITOR && 154 ret = local->ops->add_interface(&local->hw, &sdata->vif); 175 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); 189 local->ops->remove_interface(&local->hw, &sdata->vif); 215 sdata->vif 753 struct ieee80211_vif *vif = sdata ? &sdata->vif : NULL; local [all...] |
H A D | sta_info.c | 106 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || 107 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) 109 else if (ieee80211_vif_is_mesh(&sdata->vif)) 128 if (ieee80211_vif_is_mesh(&sdata->vif)) 341 if (ieee80211_vif_is_mesh(&sdata->vif) && 380 if (sdata->vif.type == NL80211_IFTYPE_AP || 381 sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { 430 if (WARN_ON(ether_addr_equal(sta->sta.addr, sdata->vif.addr) || 460 if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { 530 if (ieee80211_vif_is_mesh(&sdata->vif)) 1069 ieee80211_find_sta(struct ieee80211_vif *vif, const u8 *addr) argument [all...] |
H A D | cfg.c | 73 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && flags) { 168 cs = ieee80211_cs_get(local, params->cipher, sdata->vif.type); 184 if (ieee80211_vif_is_mesh(&sdata->vif)) 205 switch (sdata->vif.type) { 420 int shift = ieee80211_vif_get_shift(&sta->sdata->vif); 451 int shift = ieee80211_vif_get_shift(&sta->sdata->vif); 718 sdata->vif.type); 728 vlan->vif.type); 731 sdata->vif.bss_conf.beacon_int = params->beacon_interval; 732 sdata->vif 2115 struct ieee80211_vif *vif = NULL; local 2313 struct ieee80211_vif *vif = &sdata->vif; local 2780 ieee80211_csa_finish(struct ieee80211_vif *vif) argument [all...] |
H A D | tx.c | 55 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); 140 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) 180 tx->sdata->vif.bss_conf.use_short_preamble, 190 tx->sdata->vif.bss_conf.use_short_preamble, 228 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) 299 if (tx->sdata->vif.type == NL80211_IFTYPE_WDS) 302 if (tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT) 322 } else if (unlikely(tx->sdata->vif.type == NL80211_IFTYPE_AP && 349 if (sdata->vif.type == NL80211_IFTYPE_AP) 351 else if (ieee80211_vif_is_mesh(&sdata->vif)) 1198 ieee80211_tx_frags(struct ieee80211_local *local, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct sk_buff_head *skbs, bool txpending) argument 1280 struct ieee80211_vif *vif; local 1393 ieee80211_tx_prepare_skb(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct sk_buff *skb, int band, struct ieee80211_sta **sta) argument 2463 ieee80211_csa_update_counter(struct ieee80211_vif *vif) argument 2493 ieee80211_csa_is_complete(struct ieee80211_vif *vif) argument 2552 __ieee80211_beacon_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs, bool is_template) argument 2741 ieee80211_beacon_get_template(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs) argument 2749 ieee80211_beacon_get_tim(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 *tim_offset, u16 *tim_length) argument 2766 ieee80211_proberesp_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2800 ieee80211_pspoll_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2838 ieee80211_nullfunc_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2874 ieee80211_probereq_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const u8 *ssid, size_t ssid_len, size_t tailroom) argument 2916 ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts) argument 2932 ieee80211_ctstoself_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_cts *cts) argument 2948 ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument [all...] |
H A D | mlme.c | 118 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) 302 cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) 370 if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { 372 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; 375 chan = sdata->vif.bss_conf.chandef.chan; 400 if (cfg80211_chandef_identical(&chandef, &sdata->vif.bss_conf.chandef)) 606 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); 615 shift = ieee80211_vif_get_shift(&sdata->vif); 682 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); 872 skb = ieee80211_pspoll_get(&local->hw, &sdata->vif); 1022 ieee80211_chswitch_done(struct ieee80211_vif *vif, bool success) argument 2117 ieee80211_ap_probereq_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2221 ieee80211_beacon_loss(struct ieee80211_vif *vif) argument 2233 ieee80211_connection_loss(struct ieee80211_vif *vif) argument 4679 ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif, enum nl80211_cqm_rssi_threshold_event rssi_event, gfp_t gfp) argument [all...] |
H A D | util.c | 179 struct ieee80211_vif *vif, 190 if (vif) { 191 sdata = vif_to_sdata(vif); 192 short_preamble = sdata->vif.bss_conf.use_short_preamble; 195 shift = ieee80211_vif_get_shift(vif); 206 struct ieee80211_vif *vif, size_t frame_len, 224 if (vif) { 225 sdata = vif_to_sdata(vif); 226 short_preamble = sdata->vif.bss_conf.use_short_preamble; 229 shift = ieee80211_vif_get_shift(vif); 178 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_band band, size_t frame_len, struct ieee80211_rate *rate) argument 205 ieee80211_rts_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl) argument 248 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, size_t frame_len, const struct ieee80211_tx_info *frame_txctl) argument 618 __iterate_active_interfaces(struct ieee80211_local *local, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument 654 ieee80211_iterate_active_interfaces( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument 668 ieee80211_iterate_active_interfaces_atomic( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument 682 ieee80211_iterate_active_interfaces_rtnl( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument 1978 ieee80211_resume_disconnect(struct ieee80211_vif *vif) argument 2119 ieee80211_enable_rssi_reports(struct ieee80211_vif *vif, int rssi_min_thold, int rssi_max_thold) argument 2133 ieee80211_disable_rssi_reports(struct ieee80211_vif *vif) argument 2391 ieee80211_ave_rssi(struct ieee80211_vif *vif) argument [all...] |
H A D | ieee80211_i.h | 855 struct ieee80211_vif vif; member in struct:ieee80211_sub_if_data 861 return container_of(p, struct ieee80211_sub_if_data, vif); 894 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); 916 ieee80211_vif_get_shift(struct ieee80211_vif *vif) argument 922 chanctx_conf = rcu_dereference(vif->chanctx_conf); 1612 void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid); 1613 void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); 1716 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf);
|
/net/ipv4/ |
H A D | ipmr.c | 102 /* Big lock, protecting vif table, mrt cache and mroute socket state. 722 /* Is vif busy ? */ 1201 * Close the multicast socket, and clear the vif tables etc 1210 /* Shut down all active vif entries */ 1273 struct vifctl vif; local 1319 if (optlen != sizeof(vif)) 1321 if (copy_from_user(&vif, optval, sizeof(vif))) 1323 if (vif.vifc_vifi >= MAXVIFS) 1327 ret = vif_add(net, mrt, &vif, 1486 struct vif_device *vif; local 1560 struct vif_device *vif; local 1694 struct vif_device *vif = &mrt->vif_table[vifi]; local 1808 int vif, ct; local 1992 int vif = ipmr_find_vif(mrt, skb->dev); local 2003 int vif; local 2203 int vif = ipmr_find_vif(mrt, skb->dev); local 2212 int vif = -1; local 2488 const struct vif_device *vif = v; local [all...] |
/net/ipv6/ |
H A D | ip6mr.c | 85 /* Big lock, protecting vif table, mrt cache and mroute socket state. 456 const struct mif_device *vif = v; local 457 const char *name = vif->dev ? vif->dev->name : "none"; 461 vif - mrt->vif6_table, 462 name, vif->bytes_in, vif->pkt_in, 463 vif->bytes_out, vif->pkt_out, 464 vif 1661 struct mif6ctl vif; local 1858 struct mif_device *vif; local 1932 struct mif_device *vif; local 2003 struct mif_device *vif = &mrt->vif6_table[vifi]; local 2087 int vif, ct; local 2198 int vif = ip6mr_find_vif(mrt, skb->dev); local 2210 int vif; local 2293 int vif = ip6mr_find_vif(mrt, skb->dev); local 2304 int vif; local [all...] |