Home
last modified time | relevance | path

Searched refs:sdata (Results 1 – 25 of 91) sorted by relevance

1234

/linux-2.6.39/net/mac80211/
Diface.c49 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); in ieee80211_change_mtu() local
51 meshhdrlen = (sdata->vif.type == NL80211_IFTYPE_MESH_POINT) ? 5 : 0; in ieee80211_change_mtu()
69 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); in ieee80211_change_mac() local
73 if (ieee80211_sdata_running(sdata)) in ieee80211_change_mac()
79 memcpy(sdata->vif.addr, sa->sa_data, ETH_ALEN); in ieee80211_change_mac()
98 static int ieee80211_check_concurrent_iface(struct ieee80211_sub_if_data *sdata, in ieee80211_check_concurrent_iface() argument
101 struct ieee80211_local *local = sdata->local; in ieee80211_check_concurrent_iface()
103 struct net_device *dev = sdata->dev; in ieee80211_check_concurrent_iface()
145 sdata->bss = &nsdata->u.ap; in ieee80211_check_concurrent_iface()
152 void ieee80211_adjust_monitor_flags(struct ieee80211_sub_if_data *sdata, in ieee80211_adjust_monitor_flags() argument
[all …]
Dmlme.c135 void ieee80211_sta_reset_beacon_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_beacon_monitor() argument
137 if (sdata->local->hw.flags & IEEE80211_HW_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor()
140 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor()
141 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor()
144 void ieee80211_sta_reset_conn_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_conn_monitor() argument
146 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor()
148 if (unlikely(!sdata->u.mgd.associated)) in ieee80211_sta_reset_conn_monitor()
151 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_conn_monitor()
154 mod_timer(&sdata->u.mgd.conn_mon_timer, in ieee80211_sta_reset_conn_monitor()
170 static u32 ieee80211_enable_ht(struct ieee80211_sub_if_data *sdata, in ieee80211_enable_ht() argument
[all …]
Doffchannel.c26 static void ieee80211_offchannel_ps_enable(struct ieee80211_sub_if_data *sdata, in ieee80211_offchannel_ps_enable() argument
29 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable()
30 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
60 ieee80211_send_nullfunc(local, sdata, 1); in ieee80211_offchannel_ps_enable()
64 static void ieee80211_offchannel_ps_disable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_disable() argument
66 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable()
69 ieee80211_send_nullfunc(local, sdata, 0); in ieee80211_offchannel_ps_disable()
96 ieee80211_send_nullfunc(local, sdata, 0); in ieee80211_offchannel_ps_disable()
101 ieee80211_sta_reset_beacon_monitor(sdata); in ieee80211_offchannel_ps_disable()
102 ieee80211_sta_reset_conn_monitor(sdata); in ieee80211_offchannel_ps_disable()
[all …]
Dibss.c39 static void ieee80211_rx_mgmt_auth_ibss(struct ieee80211_sub_if_data *sdata, in ieee80211_rx_mgmt_auth_ibss() argument
45 lockdep_assert_held(&sdata->u.ibss.mtx); in ieee80211_rx_mgmt_auth_ibss()
61 ieee80211_send_auth(sdata, 2, WLAN_AUTH_OPEN, NULL, 0, in ieee80211_rx_mgmt_auth_ibss()
62 sdata->u.ibss.bssid, NULL, 0, 0); in ieee80211_rx_mgmt_auth_ibss()
65 static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, in __ieee80211_sta_join_ibss() argument
71 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss()
72 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss()
93 skb_reserve(skb, sdata->local->hw.extra_tx_headroom); in __ieee80211_sta_join_ibss()
96 sta_info_flush(sdata->local, sdata); in __ieee80211_sta_join_ibss()
99 if (sdata->vif.bss_conf.ibss_joined) { in __ieee80211_sta_join_ibss()
[all …]
Dmesh.c46 struct ieee80211_sub_if_data *sdata = (void *) data; in ieee80211_mesh_housekeeping_timer() local
47 struct ieee80211_local *local = sdata->local; in ieee80211_mesh_housekeeping_timer()
48 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
57 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_mesh_housekeeping_timer()
69 bool mesh_matches_local(struct ieee802_11_elems *ie, struct ieee80211_sub_if_data *sdata) in mesh_matches_local() argument
71 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
111 void mesh_accept_plinks_update(struct ieee80211_sub_if_data *sdata) in mesh_accept_plinks_update() argument
121 free_plinks = mesh_plink_availables(sdata); in mesh_accept_plinks_update()
123 if (free_plinks != sdata->u.mesh.accepting_plinks) in mesh_accept_plinks_update()
124 ieee80211_mesh_housekeeping_timer((unsigned long) sdata); in mesh_accept_plinks_update()
[all …]
Dkey.c66 struct ieee80211_sub_if_data *sdata; in ieee80211_key_enable_hw_accel() local
87 sdata = key->sdata; in ieee80211_key_enable_hw_accel()
88 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_key_enable_hw_accel()
95 sdata = container_of(sdata->bss, in ieee80211_key_enable_hw_accel()
100 ret = drv_set_key(key->local, SET_KEY, sdata, sta, &key->conf); in ieee80211_key_enable_hw_accel()
128 struct ieee80211_sub_if_data *sdata; in ieee80211_key_disable_hw_accel() local
143 sdata = key->sdata; in ieee80211_key_disable_hw_accel()
145 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_key_disable_hw_accel()
146 sdata = container_of(sdata->bss, in ieee80211_key_disable_hw_accel()
150 ret = drv_set_key(key->local, DISABLE_KEY, sdata, in ieee80211_key_disable_hw_accel()
[all …]
Dmesh.h94 struct ieee80211_sub_if_data *sdata; member
190 struct ieee80211_sub_if_data *sdata, char *addr4or5,
193 struct ieee80211_sub_if_data *sdata);
195 struct ieee80211_sub_if_data *sdata);
198 struct ieee80211_sub_if_data *sdata);
199 void mesh_rmc_free(struct ieee80211_sub_if_data *sdata);
200 int mesh_rmc_init(struct ieee80211_sub_if_data *sdata);
205 void ieee80211_mesh_init_sdata(struct ieee80211_sub_if_data *sdata);
206 void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata);
207 void ieee80211_stop_mesh(struct ieee80211_sub_if_data *sdata);
[all …]
Ddebugfs_netdev.c26 struct ieee80211_sub_if_data *sdata, in ieee80211_if_read() argument
35 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_read()
36 ret = (*format)(sdata, buf, sizeof(buf)); in ieee80211_if_read()
46 struct ieee80211_sub_if_data *sdata, in ieee80211_if_write() argument
64 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_write()
65 ret = (*write)(sdata, buf, count); in ieee80211_if_write()
75 const struct ieee80211_sub_if_data *sdata, char *buf, \
78 return scnprintf(buf, buflen, format_string, sdata->field); \
91 const struct ieee80211_sub_if_data *sdata, \
94 return scnprintf(buf, buflen, "%d\n", atomic_read(&sdata->field));\
[all …]
Dcfg.c29 struct ieee80211_sub_if_data *sdata; in ieee80211_add_iface() local
37 sdata = IEEE80211_DEV_TO_SUB_IF(dev); in ieee80211_add_iface()
38 sdata->u.mntr_flags = *flags; in ieee80211_add_iface()
56 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); in ieee80211_change_iface() local
59 ret = ieee80211_if_change_type(sdata, type); in ieee80211_change_iface()
65 rcu_assign_pointer(sdata->u.vlan.sta, NULL); in ieee80211_change_iface()
68 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_change_iface()
70 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && flags) { in ieee80211_change_iface()
71 struct ieee80211_local *local = sdata->local; in ieee80211_change_iface()
73 if (ieee80211_sdata_running(sdata)) { in ieee80211_change_iface()
[all …]
Dpm.c12 struct ieee80211_sub_if_data *sdata; in __ieee80211_suspend() local
40 list_for_each_entry(sdata, &local->interfaces, list) in __ieee80211_suspend()
41 ieee80211_disable_keys(sdata); in __ieee80211_suspend()
52 sdata = sta->sdata; in __ieee80211_suspend()
53 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __ieee80211_suspend()
54 sdata = container_of(sdata->bss, in __ieee80211_suspend()
58 drv_sta_remove(local, sdata, &sta->sta); in __ieee80211_suspend()
66 list_for_each_entry(sdata, &local->interfaces, list) { in __ieee80211_suspend()
67 cancel_work_sync(&sdata->work); in __ieee80211_suspend()
69 switch(sdata->vif.type) { in __ieee80211_suspend()
[all …]
Dsta_info.c90 struct sta_info *sta_info_get(struct ieee80211_sub_if_data *sdata, in sta_info_get() argument
93 struct ieee80211_local *local = sdata->local; in sta_info_get()
101 if (sta->sdata == sdata && in sta_info_get()
116 struct sta_info *sta_info_get_bss(struct ieee80211_sub_if_data *sdata, in sta_info_get_bss() argument
119 struct ieee80211_local *local = sdata->local; in sta_info_get_bss()
127 if ((sta->sdata == sdata || in sta_info_get_bss()
128 (sta->sdata->bss && sta->sdata->bss == sdata->bss)) && in sta_info_get_bss()
139 struct sta_info *sta_info_get_by_idx(struct ieee80211_sub_if_data *sdata, in sta_info_get_by_idx() argument
142 struct ieee80211_local *local = sdata->local; in sta_info_get_by_idx()
147 if (sdata != sta->sdata) in sta_info_get_by_idx()
[all …]
Dmesh_plink.c64 void mesh_plink_inc_estab_count(struct ieee80211_sub_if_data *sdata) in mesh_plink_inc_estab_count() argument
66 atomic_inc(&sdata->u.mesh.mshstats.estab_plinks); in mesh_plink_inc_estab_count()
67 mesh_accept_plinks_update(sdata); in mesh_plink_inc_estab_count()
71 void mesh_plink_dec_estab_count(struct ieee80211_sub_if_data *sdata) in mesh_plink_dec_estab_count() argument
73 atomic_dec(&sdata->u.mesh.mshstats.estab_plinks); in mesh_plink_dec_estab_count()
74 mesh_accept_plinks_update(sdata); in mesh_plink_dec_estab_count()
95 static struct sta_info *mesh_plink_alloc(struct ieee80211_sub_if_data *sdata, in mesh_plink_alloc() argument
98 struct ieee80211_local *local = sdata->local; in mesh_plink_alloc()
104 sta = sta_info_alloc(sdata, hw_addr, GFP_KERNEL); in mesh_plink_alloc()
126 struct ieee80211_sub_if_data *sdata = sta->sdata; in __mesh_plink_deactivate() local
[all …]
Dmesh_hwmp.c96 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
111 struct ieee80211_sub_if_data *sdata) in mesh_path_sel_frame_tx() argument
113 struct ieee80211_local *local = sdata->local; in mesh_path_sel_frame_tx()
132 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
134 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
191 ieee80211_tx_skb(sdata, skb); in mesh_path_sel_frame_tx()
205 struct ieee80211_sub_if_data *sdata) in mesh_path_error_tx() argument
207 struct ieee80211_local *local = sdata->local; in mesh_path_error_tx()
226 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx()
254 ieee80211_tx_skb(sdata, skb); in mesh_path_error_tx()
[all …]
Dmesh_pathtbl.c155 struct mesh_path *mesh_path_lookup(u8 *dst, struct ieee80211_sub_if_data *sdata) in mesh_path_lookup() argument
165 bucket = &tbl->hash_buckets[mesh_table_hash(dst, sdata, tbl)]; in mesh_path_lookup()
168 if (mpath->sdata == sdata && in mesh_path_lookup()
182 struct mesh_path *mpp_path_lookup(u8 *dst, struct ieee80211_sub_if_data *sdata) in mpp_path_lookup() argument
192 bucket = &tbl->hash_buckets[mesh_table_hash(dst, sdata, tbl)]; in mpp_path_lookup()
195 if (mpath->sdata == sdata && in mpp_path_lookup()
219 struct mesh_path *mesh_path_lookup_by_idx(int idx, struct ieee80211_sub_if_data *sdata) in mesh_path_lookup_by_idx() argument
227 if (sdata && node->mpath->sdata != sdata) in mesh_path_lookup_by_idx()
252 int mesh_path_add(u8 *dst, struct ieee80211_sub_if_data *sdata) in mesh_path_add() argument
254 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_add()
[all …]
Dchan.c12 struct ieee80211_sub_if_data *sdata; in __ieee80211_get_channel_mode() local
16 list_for_each_entry(sdata, &local->interfaces, list) { in __ieee80211_get_channel_mode()
17 if (sdata == ignore) in __ieee80211_get_channel_mode()
20 if (!ieee80211_sdata_running(sdata)) in __ieee80211_get_channel_mode()
23 if (sdata->vif.type == NL80211_IFTYPE_MONITOR) in __ieee80211_get_channel_mode()
26 if (sdata->vif.type == NL80211_IFTYPE_STATION && in __ieee80211_get_channel_mode()
27 !sdata->u.mgd.associated) in __ieee80211_get_channel_mode()
30 if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { in __ieee80211_get_channel_mode()
31 if (!sdata->u.ibss.ssid_len) in __ieee80211_get_channel_mode()
33 if (!sdata->u.ibss.fixed_channel) in __ieee80211_get_channel_mode()
[all …]
Drx.c222 struct ieee80211_sub_if_data *sdata; in ieee80211_rx_monitor() local
296 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee80211_rx_monitor()
297 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_rx_monitor()
300 if (sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) in ieee80211_rx_monitor()
303 if (!ieee80211_sdata_running(sdata)) in ieee80211_rx_monitor()
314 prev_dev = sdata->dev; in ieee80211_rx_monitor()
315 sdata->dev->stats.rx_packets++; in ieee80211_rx_monitor()
316 sdata->dev->stats.rx_bytes += skb->len; in ieee80211_rx_monitor()
411 return ieee80211_scan_rx(rx->sdata, skb); in ieee80211_rx_h_passive_scan()
469 char *dev_addr = rx->sdata->vif.addr; in ieee80211_rx_mesh_check()
[all …]
Dutil.c168 struct ieee80211_sub_if_data *sdata; in ieee80211_generic_frame_duration() local
175 sdata = vif_to_sdata(vif); in ieee80211_generic_frame_duration()
176 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration()
177 if (sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_generic_frame_duration()
194 struct ieee80211_sub_if_data *sdata; in ieee80211_rts_duration() local
208 sdata = vif_to_sdata(vif); in ieee80211_rts_duration()
209 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration()
210 if (sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_rts_duration()
235 struct ieee80211_sub_if_data *sdata; in ieee80211_ctstoself_duration() local
248 sdata = vif_to_sdata(vif); in ieee80211_ctstoself_duration()
[all …]
Dagg-tx.c59 static void ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, in ieee80211_send_addba_request() argument
64 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_request()
73 "for addba request frame\n", sdata->name); in ieee80211_send_addba_request()
80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
81 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_request()
82 sdata->vif.type == NL80211_IFTYPE_AP_VLAN) 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()
85 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
106 ieee80211_tx_skb(sdata, skb); in ieee80211_send_addba_request()
[all …]
Dtx.c123 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
129 if (tx->sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_duration()
157 tx->sdata->vif.bss_conf.use_short_preamble); in ieee80211_duration()
166 tx->sdata->vif.bss_conf.use_short_preamble); in ieee80211_duration()
209 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_tx_h_dynamic_ps()
212 ifmgd = &tx->sdata->u.mgd; in ieee80211_tx_h_dynamic_ps()
262 test_bit(SDATA_STATE_OFFCHANNEL, &tx->sdata->state) && in ieee80211_tx_h_check_assoc()
278 if (tx->sdata->vif.type == NL80211_IFTYPE_WDS) in ieee80211_tx_h_check_assoc()
281 if (tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_tx_h_check_assoc()
291 tx->sdata->vif.type != NL80211_IFTYPE_ADHOC && in ieee80211_tx_h_check_assoc()
[all …]
Dht.c158 void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata, in ieee80211_send_delba() argument
162 struct ieee80211_local *local = sdata->local; in ieee80211_send_delba()
171 "for delba frame\n", sdata->name); in ieee80211_send_delba()
179 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
180 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_delba()
181 sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in ieee80211_send_delba()
182 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
183 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_delba()
184 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba()
199 ieee80211_tx_skb(sdata, skb); in ieee80211_send_delba()
[all …]
Dieee80211_i.h146 struct ieee80211_sub_if_data *sdata; member
200 struct ieee80211_sub_if_data *sdata; member
287 struct ieee80211_sub_if_data *sdata; member
1065 void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
1068 u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata);
1071 void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata);
1072 int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata,
1074 int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata,
1076 int ieee80211_mgd_deauth(struct ieee80211_sub_if_data *sdata,
1079 int ieee80211_mgd_disassoc(struct ieee80211_sub_if_data *sdata,
[all …]
Dwork.c194 static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata, in ieee80211_send_assoc() argument
197 struct ieee80211_local *local = sdata->local; in ieee80211_send_assoc()
242 "frame\n", sdata->name); in ieee80211_send_assoc()
266 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_assoc()
411 ieee80211_tx_skb(sdata, skb); in ieee80211_send_assoc()
437 struct ieee80211_sub_if_data *sdata = wk->sdata; in ieee80211_direct_probe() local
438 struct ieee80211_local *local = sdata->local; in ieee80211_direct_probe()
443 sdata->name, wk->filter_ta); in ieee80211_direct_probe()
455 sdata->name, wk->filter_ta, wk->probe_auth.tries, in ieee80211_direct_probe()
462 ieee80211_send_probe_req(sdata, NULL, wk->probe_auth.ssid, in ieee80211_direct_probe()
[all …]
Ddebugfs_key.c61 KEY_READ(ifindex, sdata->name, "%s\n");
278 void ieee80211_debugfs_key_update_default(struct ieee80211_sub_if_data *sdata) in ieee80211_debugfs_key_update_default() argument
283 if (!sdata->debugfs.dir) in ieee80211_debugfs_key_update_default()
286 lockdep_assert_held(&sdata->local->key_mtx); in ieee80211_debugfs_key_update_default()
288 if (sdata->default_unicast_key) { in ieee80211_debugfs_key_update_default()
289 key = sdata->default_unicast_key; in ieee80211_debugfs_key_update_default()
291 sdata->debugfs.default_unicast_key = in ieee80211_debugfs_key_update_default()
293 sdata->debugfs.dir, buf); in ieee80211_debugfs_key_update_default()
295 debugfs_remove(sdata->debugfs.default_unicast_key); in ieee80211_debugfs_key_update_default()
296 sdata->debugfs.default_unicast_key = NULL; in ieee80211_debugfs_key_update_default()
[all …]
Ddebugfs_netdev.h7 void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
8 void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
9 void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
12 struct ieee80211_sub_if_data *sdata) in ieee80211_debugfs_add_netdev() argument
15 struct ieee80211_sub_if_data *sdata) in ieee80211_debugfs_remove_netdev() argument
18 struct ieee80211_sub_if_data *sdata) in ieee80211_debugfs_rename_netdev() argument
Dmain.c240 void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, in ieee80211_bss_info_change_notify() argument
243 struct ieee80211_local *local = sdata->local; in ieee80211_bss_info_change_notify()
249 if (sdata->vif.type == NL80211_IFTYPE_STATION) { in ieee80211_bss_info_change_notify()
255 if (sdata->vif.bss_conf.assoc) in ieee80211_bss_info_change_notify()
256 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_bss_info_change_notify()
258 sdata->vif.bss_conf.bssid = zero; in ieee80211_bss_info_change_notify()
259 } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_bss_info_change_notify()
260 sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; in ieee80211_bss_info_change_notify()
261 else if (sdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_bss_info_change_notify()
262 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_bss_info_change_notify()
[all …]

1234