Home
last modified time | relevance | path

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

123

/net/mac80211/
Diface.c48 bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) in __ieee80211_recalc_txpower() argument
54 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in __ieee80211_recalc_txpower()
63 if (sdata->deflink.user_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower()
64 power = min(power, sdata->deflink.user_power_level); in __ieee80211_recalc_txpower()
66 if (sdata->deflink.ap_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower()
67 power = min(power, sdata->deflink.ap_power_level); 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()
71 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
78 void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata, in ieee80211_recalc_txpower() argument
[all …]
Dlink.c17 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_setup()
21 void ieee80211_link_init(struct ieee80211_sub_if_data *sdata, in ieee80211_link_init() argument
31 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); in ieee80211_link_init()
32 rcu_assign_pointer(sdata->link[link_id], link); in ieee80211_link_init()
34 link->sdata = sdata; in ieee80211_link_init()
38 link_conf->vif = &sdata->vif; in ieee80211_link_init()
52 switch (sdata->vif.type) { in ieee80211_link_init()
55 sdata->wdev.links[link_id].addr); in ieee80211_link_init()
57 WARN_ON(!(sdata->wdev.valid_links & BIT(link_id))); in ieee80211_link_init()
72 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_stop()
[all …]
Ddriver-ops.h15 #define check_sdata_in_driver(sdata) ({ \ argument
16 WARN_ONCE(!sdata->local->reconfig_failure && \
17 !(sdata->flags & IEEE80211_SDATA_IN_DRIVER), \
19 sdata->dev ? sdata->dev->name : sdata->name, sdata->flags); \
20 !!(sdata->flags & IEEE80211_SDATA_IN_DRIVER); \
24 get_bss_sdata(struct ieee80211_sub_if_data *sdata) in get_bss_sdata() argument
26 if (sdata && sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in get_bss_sdata()
27 sdata = container_of(sdata->bss, struct ieee80211_sub_if_data, in get_bss_sdata()
30 return sdata; in get_bss_sdata()
44 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
[all …]
Ddriver-ops.c56 struct ieee80211_sub_if_data *sdata) in drv_add_interface() argument
62 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in drv_add_interface()
63 (sdata->vif.type == NL80211_IFTYPE_MONITOR && in drv_add_interface()
65 !(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)))) in drv_add_interface()
68 trace_drv_add_interface(local, sdata); in drv_add_interface()
69 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
73 sdata->flags |= IEEE80211_SDATA_IN_DRIVER; in drv_add_interface()
79 struct ieee80211_sub_if_data *sdata, in drv_change_interface() argument
86 if (!check_sdata_in_driver(sdata)) in drv_change_interface()
89 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface()
[all …]
Ddebug.h95 #define _sdata_info(sdata, fmt, ...) \ argument
96 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
97 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
98 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__)
99 #define _sdata_err(sdata, fmt, ...) \ argument
100 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
104 #define _sdata_info(sdata, fmt, ...) \ argument
107 (sdata)->name, ##__VA_ARGS__); \
110 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
114 (sdata)->name, ##__VA_ARGS__); \
[all …]
Dibss.c38 ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata, in ieee80211_ibss_build_presp() argument
45 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_build_presp()
46 struct ieee80211_local *local = sdata->local; in ieee80211_ibss_build_presp()
80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_ibss_build_presp()
183 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_ibss_build_presp()
218 static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, in __ieee80211_sta_join_ibss() argument
225 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss()
226 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss()
238 sdata_assert_lock(sdata); in __ieee80211_sta_join_ibss()
241 drv_reset_tsf(local, sdata); in __ieee80211_sta_join_ibss()
[all …]
Dmesh.c41 struct ieee80211_sub_if_data *sdata = in ieee80211_mesh_housekeeping_timer() local
42 from_timer(sdata, t, u.mesh.housekeeping_timer); in ieee80211_mesh_housekeeping_timer()
43 struct ieee80211_local *local = sdata->local; in ieee80211_mesh_housekeeping_timer()
44 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
48 wiphy_work_queue(local->hw.wiphy, &sdata->work); in ieee80211_mesh_housekeeping_timer()
60 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata, in mesh_matches_local() argument
63 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
88 sband = ieee80211_get_sband(sdata); in mesh_matches_local()
92 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local()
95 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
[all …]
Dcfg.c27 ieee80211_link_or_deflink(struct ieee80211_sub_if_data *sdata, int link_id, in ieee80211_link_or_deflink() argument
38 if (require_valid && ieee80211_vif_is_mld(&sdata->vif)) in ieee80211_link_or_deflink()
41 return &sdata->deflink; in ieee80211_link_or_deflink()
44 link = sdata_dereference(sdata->link[link_id], sdata); in ieee80211_link_or_deflink()
50 static void ieee80211_set_mu_mimo_follow(struct ieee80211_sub_if_data *sdata, in ieee80211_set_mu_mimo_follow() argument
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()
66 ieee80211_link_info_change_notify(sdata, &sdata->deflink, in ieee80211_set_mu_mimo_follow()
77 ether_addr_copy(sdata->u.mntr.mu_follow_addr, 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()
[all …]
Dmesh.h110 struct ieee80211_sub_if_data *sdata; member
237 unsigned int ieee80211_new_mesh_header(struct ieee80211_sub_if_data *sdata,
240 int mesh_rmc_check(struct ieee80211_sub_if_data *sdata,
242 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata,
244 int mesh_add_meshconf_ie(struct ieee80211_sub_if_data *sdata,
246 int mesh_add_meshid_ie(struct ieee80211_sub_if_data *sdata,
248 int mesh_add_rsn_ie(struct ieee80211_sub_if_data *sdata,
250 int mesh_add_vendor_ies(struct ieee80211_sub_if_data *sdata,
252 int mesh_add_ht_cap_ie(struct ieee80211_sub_if_data *sdata,
254 int mesh_add_ht_oper_ie(struct ieee80211_sub_if_data *sdata,
[all …]
Docb.c39 void ieee80211_ocb_rx_no_sta(struct ieee80211_sub_if_data *sdata, in ieee80211_ocb_rx_no_sta() argument
43 struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; in ieee80211_ocb_rx_no_sta()
44 struct ieee80211_local *local = sdata->local; in ieee80211_ocb_rx_no_sta()
55 sdata->name, addr); in ieee80211_ocb_rx_no_sta()
59 ocb_dbg(sdata, "Adding new OCB station %pM\n", addr); in ieee80211_ocb_rx_no_sta()
62 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta()
70 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta()
81 wiphy_work_queue(local->hw.wiphy, &sdata->work); in ieee80211_ocb_rx_no_sta()
87 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta() local
92 ocb_dbg(sdata, "Adding new IBSS station %pM (dev=%s)\n", in ieee80211_ocb_finish_sta()
[all …]
Dmlme.c175 static void run_again(struct ieee80211_sub_if_data *sdata, in run_again() argument
178 sdata_assert_lock(sdata); in run_again()
180 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
181 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again()
182 mod_timer(&sdata->u.mgd.timer, timeout); in run_again()
185 void ieee80211_sta_reset_beacon_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_beacon_monitor() argument
187 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor()
190 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
193 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor()
194 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor()
[all …]
Dmesh_plink.c58 static bool rssi_threshold_check(struct ieee80211_sub_if_data *sdata, in rssi_threshold_check() argument
61 s32 rssi_threshold = sdata->u.mesh.mshcfg.rssi_threshold; in rssi_threshold_check()
93 static u64 mesh_set_short_slot_time(struct ieee80211_sub_if_data *sdata) in mesh_set_short_slot_time() argument
95 struct ieee80211_local *local = sdata->local; in mesh_set_short_slot_time()
103 sband = ieee80211_get_sband(sdata); in mesh_set_short_slot_time()
124 if (sdata != sta->sdata || in mesh_set_short_slot_time()
137 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time()
138 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time()
140 mpl_dbg(sdata, "mesh_plink %pM: ERP short slot time %d\n", in mesh_set_short_slot_time()
141 sdata->vif.addr, short_slot); in mesh_set_short_slot_time()
[all …]
Dkey.c62 update_vlan_tailroom_need_count(struct ieee80211_sub_if_data *sdata, int delta) in update_vlan_tailroom_need_count() argument
66 if (sdata->vif.type != NL80211_IFTYPE_AP) in update_vlan_tailroom_need_count()
70 assert_key_lock(sdata->local); in update_vlan_tailroom_need_count()
74 list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) in update_vlan_tailroom_need_count()
80 static void increment_tailroom_need_count(struct ieee80211_sub_if_data *sdata) in increment_tailroom_need_count() argument
101 assert_key_lock(sdata->local); in increment_tailroom_need_count()
103 update_vlan_tailroom_need_count(sdata, 1); in increment_tailroom_need_count()
105 if (!sdata->crypto_tx_tailroom_needed_cnt++) { in increment_tailroom_need_count()
114 static void decrease_tailroom_need_count(struct ieee80211_sub_if_data *sdata, in decrease_tailroom_need_count() argument
117 assert_key_lock(sdata->local); in decrease_tailroom_need_count()
[all …]
Ddebugfs_netdev.c201 const struct ieee80211_sub_if_data *sdata, in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz() argument
205 const u16 *mask = sdata->rc_rateidx_vht_mcs_mask[NL80211_BAND_2GHZ]; in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
217 const struct ieee80211_sub_if_data *sdata, in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz() argument
221 const u16 *mask = sdata->rc_rateidx_vht_mcs_mask[NL80211_BAND_5GHZ]; in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
239 ieee80211_if_fmt_hw_queues(const struct ieee80211_sub_if_data *sdata, in ieee80211_if_fmt_hw_queues() argument
245 sdata->vif.hw_queue[IEEE80211_AC_VO], in ieee80211_if_fmt_hw_queues()
246 sdata->vif.hw_queue[IEEE80211_AC_VI], in ieee80211_if_fmt_hw_queues()
247 sdata->vif.hw_queue[IEEE80211_AC_BE], in ieee80211_if_fmt_hw_queues()
248 sdata->vif.hw_queue[IEEE80211_AC_BK]); in ieee80211_if_fmt_hw_queues()
250 if (sdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_if_fmt_hw_queues()
[all …]
Dtdls.c26 struct ieee80211_sub_if_data *sdata; in ieee80211_tdls_peer_del_work() local
29 sdata = container_of(wk, struct ieee80211_sub_if_data, in ieee80211_tdls_peer_del_work()
31 local = sdata->local; in ieee80211_tdls_peer_del_work()
34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
45 struct ieee80211_sub_if_data *sdata = link->sdata; in ieee80211_tdls_add_ext_capab() local
46 struct ieee80211_local *local = sdata->local; in ieee80211_tdls_add_ext_capab()
47 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab()
[all …]
Dmesh_pathtbl.c52 static void mesh_fast_tx_deinit(struct ieee80211_sub_if_data *sdata) in mesh_fast_tx_deinit() argument
56 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_deinit()
61 static void mesh_fast_tx_init(struct ieee80211_sub_if_data *sdata) in mesh_fast_tx_init() argument
65 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_init()
126 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop()
127 ieee80211_mps_set_frame_flags(sta->sdata, sta, hdr); in mesh_path_assign_nexthop()
169 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
212 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue()
230 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue()
243 struct ieee80211_sub_if_data *sdata) in mpath_lookup() argument
[all …]
Doffchannel.c25 static void ieee80211_offchannel_ps_enable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_enable() argument
27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable()
28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
57 ieee80211_send_nullfunc(local, sdata, true); in ieee80211_offchannel_ps_enable()
61 static void ieee80211_offchannel_ps_disable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_disable() argument
63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable()
66 ieee80211_send_nullfunc(local, sdata, false); in ieee80211_offchannel_ps_disable()
74 ieee80211_send_nullfunc(local, sdata, false); in ieee80211_offchannel_ps_disable()
79 ieee80211_sta_reset_beacon_monitor(sdata); in ieee80211_offchannel_ps_disable()
80 ieee80211_sta_reset_conn_monitor(sdata); in ieee80211_offchannel_ps_disable()
[all …]
Dmesh_hwmp.c87 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
89 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval)
106 struct ieee80211_sub_if_data *sdata) in mesh_path_sel_frame_tx() argument
108 struct ieee80211_local *local = sdata->local; in mesh_path_sel_frame_tx()
126 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
128 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
135 mhwmp_dbg(sdata, "sending PREQ to %pM\n", target); in mesh_path_sel_frame_tx()
141 mhwmp_dbg(sdata, "sending PREP to %pM\n", orig_addr); in mesh_path_sel_frame_tx()
147 mhwmp_dbg(sdata, "sending RANN from %pM\n", orig_addr); in mesh_path_sel_frame_tx()
193 ieee80211_tx_skb(sdata, skb); in mesh_path_sel_frame_tx()
[all …]
Dagg-tx.c61 static void ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, in ieee80211_send_addba_request() argument
66 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_request()
79 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()
85 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_addba_request()
86 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_request()
[all …]
Dsta_info.c121 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() local
122 struct ieee80211_local *local = sdata->local; in __cleanup_single_sta()
128 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()
130 ps = &sdata->bss->ps; in __cleanup_single_sta()
131 else if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta()
132 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
160 if (ieee80211_vif_is_mesh(&sdata->vif)) in __cleanup_single_sta()
183 struct ieee80211_sub_if_data *sdata = sta->sdata; in cleanup_single_sta() local
184 struct ieee80211_local *local = sdata->local; in cleanup_single_sta()
[all …]
Dchan.c72 struct ieee80211_local *local __maybe_unused = link->sdata->local; in ieee80211_link_get_chanctx()
242 ieee80211_get_max_required_bw(struct ieee80211_sub_if_data *sdata, in ieee80211_get_max_required_bw() argument
248 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) { in ieee80211_get_max_required_bw()
249 if (sdata != sta->sdata && in ieee80211_get_max_required_bw()
250 !(sta->sdata->bss && sta->sdata->bss == sdata->bss)) in ieee80211_get_max_required_bw()
260 ieee80211_get_chanctx_vif_max_required_bw(struct ieee80211_sub_if_data *sdata, in ieee80211_get_chanctx_vif_max_required_bw() argument
265 struct ieee80211_vif *vif = &sdata->vif; in ieee80211_get_chanctx_vif_max_required_bw()
269 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_get_chanctx_vif_max_required_bw()
272 rcu_dereference(sdata->link[link_id]); in ieee80211_get_chanctx_vif_max_required_bw()
284 width = ieee80211_get_max_required_bw(sdata, link_id); in ieee80211_get_chanctx_vif_max_required_bw()
[all …]
Dtrace.h31 #define VIF_ENTRY __field(enum nl80211_iftype, vif_type) __field(void *, sdata) \
33 __string(vif_name, sdata->name)
34 #define VIF_ASSIGN __entry->vif_type = sdata->vif.type; __entry->sdata = sdata; \
35 __entry->p2p = sdata->vif.p2p; \
36 __assign_str(vif_name, sdata->name)
140 struct ieee80211_sub_if_data *sdata),
141 TP_ARGS(local, sdata),
152 memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN);
183 struct ieee80211_sub_if_data *sdata),
184 TP_ARGS(local, sdata),
[all …]
/net/mac802154/
Dmib.c23 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_dev_set_page_channel() local
24 struct ieee802154_local *local = sdata->local; in mac802154_dev_set_page_channel()
43 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_get_params() local
48 mutex_lock(&sdata->sec_mtx); in mac802154_get_params()
49 res = mac802154_llsec_get_params(&sdata->sec, params); in mac802154_get_params()
50 mutex_unlock(&sdata->sec_mtx); in mac802154_get_params()
59 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_set_params() local
64 mutex_lock(&sdata->sec_mtx); in mac802154_set_params()
65 res = mac802154_llsec_set_params(&sdata->sec, params, changed); in mac802154_set_params()
66 mutex_unlock(&sdata->sec_mtx); in mac802154_set_params()
[all …]
Diface.c27 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_update_llsec() local
29 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_wpan_update_llsec()
51 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_ioctl() local
52 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_wpan_ioctl()
113 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_mac_addr() local
123 if (sdata->wpan_dev.lowpan_dev) { in mac802154_wpan_mac_addr()
124 if (netif_running(sdata->wpan_dev.lowpan_dev)) in mac802154_wpan_mac_addr()
133 sdata->wpan_dev.extended_addr = extended_addr; in mac802154_wpan_mac_addr()
138 if (sdata->wpan_dev.lowpan_dev) in mac802154_wpan_mac_addr()
139 dev_addr_set(sdata->wpan_dev.lowpan_dev, dev->dev_addr); in mac802154_wpan_mac_addr()
[all …]
Dcfg.c36 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_iface_deprecated() local
38 ieee802154_if_remove(sdata); in ieee802154_del_iface_deprecated()
271 struct ieee802154_sub_if_data *sdata; in mac802154_trigger_scan() local
273 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(request->wpan_dev); in mac802154_trigger_scan()
277 return mac802154_trigger_scan_locked(sdata, request); in mac802154_trigger_scan()
284 struct ieee802154_sub_if_data *sdata; in mac802154_abort_scan() local
286 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(wpan_dev); in mac802154_abort_scan()
290 return mac802154_abort_scan_locked(local, sdata); in mac802154_abort_scan()
296 struct ieee802154_sub_if_data *sdata; in mac802154_send_beacons() local
298 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(request->wpan_dev); in mac802154_send_beacons()
[all …]

123