Home
last modified time | relevance | path

Searched refs:wiphy (Results 1 – 25 of 254) sorted by relevance

1234567891011

/linux/net/wireless/
H A Drdev-ops.h19 trace_rdev_suspend(&rdev->wiphy, wowlan); in rdev_suspend()
20 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend()
21 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_suspend()
28 trace_rdev_resume(&rdev->wiphy); in rdev_resume()
29 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume()
30 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_resume()
37 trace_rdev_set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup()
38 rdev->ops->set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup()
39 trace_rdev_return_void(&rdev->wiphy); in rdev_set_wakeup()
49 trace_rdev_add_virtual_intf(&rdev->wiphy, nam in rdev_add_virtual_intf()
1433 struct wiphy *wiphy = &rdev->wiphy; rdev_set_radar_background() local
1517 struct wiphy *wiphy = &rdev->wiphy; rdev_set_hw_timestamp() local
1533 struct wiphy *wiphy = &rdev->wiphy; rdev_set_ttlm() local
1548 struct wiphy *wiphy = &rdev->wiphy; rdev_get_radio_mask() local
1561 struct wiphy *wiphy = &rdev->wiphy; rdev_assoc_ml_reconf() local
1576 struct wiphy *wiphy = &rdev->wiphy; rdev_set_epcs() local
[all...]
H A Dcore.c76 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument
78 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx()
83 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy()
92 return &rdev->wiphy; in wiphy_idx_to_wiphy()
123 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name()
135 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_dev_rename()
138 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename()
145 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename()
149 debugfs_change_name(rdev->wiphy.debugfsdir, "%s", newname); in cfg80211_dev_rename()
162 if (!(rdev->wiphy.flags & WIPHY_FLAG_NETNS_OK)) in cfg80211_switch_netns()
[all …]
H A Dtrace.h30 #define WIPHY_ASSIGN strscpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME)
246 * wiphy work traces *
250 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work),
251 TP_ARGS(wiphy, work),
267 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work),
268 TP_ARGS(wiphy, work)
272 TP_PROTO(struct wiphy *wiphy, struc
[all...]
H A Dsysfs.c24 return container_of(dev, struct cfg80211_registered_device, wiphy.dev); in dev_to_rdev()
37 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr);
38 SHOW_FMT(address_mask, "%pM", wiphy.addr_mask);
44 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() local
46 return sprintf(buf, "%s\n", wiphy_name(wiphy)); in name_show()
54 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show() local
58 if (!wiphy->addresses) in addresses_show()
59 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show()
61 for (i = 0; i < wiphy->n_addresses; i++) in addresses_show()
62 buf += sprintf(buf, "%pM\n", wiphy->addresses[i].addr); in addresses_show()
[all …]
H A Ddebugfs.c18 struct wiphy *wiphy = file->private_data; \
51 wiphy->rts_threshold); in ht_print_chan()
53 wiphy->frag_threshold); in ht_print_chan()
55 wiphy->retry_short); in ht_print_chan()
57 wiphy->retry_long); in ht_print_chan()
88 struct wiphy *wiphy = file->private_data; in ht40allow_map_read()
100 sband = wiphy->bands[band];
122 debugfs_create_file(#name, 0444, phyd, &rdev->wiphy,
67 struct wiphy *wiphy = file->private_data; ht40allow_map_read() local
121 struct wiphy *wiphy; global() member
130 wiphy_locked_debugfs_read_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_read_work() argument
148 wiphy_locked_debugfs_read(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,void * data),void * data) wiphy_locked_debugfs_read() argument
152 wiphy_locked_debugfs_read(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,void * data),void * data) wiphy_locked_debugfs_read() argument
201 struct wiphy *wiphy; global() member
210 wiphy_locked_debugfs_write_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_write_work() argument
228 wiphy_locked_debugfs_write(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,const char __user * userbuf,size_t count,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t count,void * data),void * data) wiphy_locked_debugfs_write() argument
231 wiphy_locked_debugfs_write(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,const char __user * userbuf,size_t count,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t count,void * data),void * data) wiphy_locked_debugfs_write() argument
[all...]
H A Dreg.c19 * registering those channels in the wiphy structure.
135 * Returns the regulatory domain associated with the wiphy.
137 * Requires any of RTNL, wiphy mutex or RCU protection.
139 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy)
141 return rcu_dereference_check(wiphy->regd, in get_cfg80211_regdom()
142 lockdep_is_held(&wiphy->mtx) || in get_cfg80211_regdom()
162 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) in reg_dfs_region_str()
172 if (!wiphy)
150 get_wiphy_regdom(struct wiphy * wiphy) get_wiphy_regdom() argument
173 reg_get_dfs_region(struct wiphy * wiphy) reg_get_dfs_region() argument
1143 reg_get_regdomain(struct wiphy * wiphy) reg_get_regdomain() argument
1650 __freq_reg_info(struct wiphy * wiphy,u32 center_freq,u32 min_bw) __freq_reg_info() argument
1667 freq_reg_info(struct wiphy * wiphy,u32 center_freq) freq_reg_info() argument
1746 handle_channel_single_rule(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan,u32 flags,struct regulatory_request * lr,struct wiphy * request_wiphy,const struct ieee80211_reg_rule * reg_rule) handle_channel_single_rule() argument
1825 handle_channel_adjacent_rules(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan,u32 flags,struct regulatory_request * lr,struct wiphy * request_wiphy,const struct ieee80211_reg_rule * rrule1,const struct ieee80211_reg_rule * rrule2,struct ieee80211_freq_range * comb_range) handle_channel_adjacent_rules() argument
1945 handle_channel(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan) handle_channel() argument
2029 handle_band(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_supported_band * sband) handle_band() argument
2072 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument
2083 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument
2089 wiphy_strict_alpha2_regd(struct wiphy * wiphy) wiphy_strict_alpha2_regd() argument
2097 ignore_reg_update(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) ignore_reg_update() argument
2136 reg_is_world_roaming(struct wiphy * wiphy) reg_is_world_roaming() argument
2152 reg_call_notifier(struct wiphy * wiphy,struct regulatory_request * request) reg_call_notifier() argument
2159 handle_reg_beacon(struct wiphy * wiphy,unsigned int chan_idx,struct reg_beacon * reg_beacon) handle_reg_beacon() argument
2203 wiphy_update_new_beacon(struct wiphy * wiphy,struct reg_beacon * reg_beacon) wiphy_update_new_beacon() argument
2221 wiphy_update_beacon_reg(struct wiphy * wiphy) wiphy_update_beacon_reg() argument
2237 reg_process_beacons(struct wiphy * wiphy) reg_process_beacons() argument
2260 reg_process_ht_flags_channel(struct wiphy * wiphy,struct ieee80211_channel * channel) reg_process_ht_flags_channel() argument
2316 reg_process_ht_flags_band(struct wiphy * wiphy,struct ieee80211_supported_band * sband) reg_process_ht_flags_band() argument
2328 reg_process_ht_flags(struct wiphy * wiphy) reg_process_ht_flags() argument
2348 reg_wdev_chan_valid(struct wiphy * wiphy,struct wireless_dev * wdev) reg_wdev_chan_valid() argument
2445 reg_leave_invalid_chans(struct wiphy * wiphy) reg_leave_invalid_chans() argument
2450 guard(wiphy)(wiphy); reg_leave_invalid_chans() local
2481 wiphy_update_regulatory(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) wiphy_update_regulatory() argument
2514 struct wiphy *wiphy; update_all_wiphy_regulatory() local
2526 handle_channel_custom(struct wiphy * wiphy,struct ieee80211_channel * chan,const struct ieee80211_regdomain * regd,u32 min_bw) handle_channel_custom() argument
2586 handle_band_custom(struct wiphy * wiphy,struct ieee80211_supported_band * sband,const struct ieee80211_regdomain * regd) handle_band_custom() argument
2606 wiphy_apply_custom_regulatory(struct wiphy * wiphy,const struct ieee80211_regdomain * regd) wiphy_apply_custom_regulatory() argument
2787 reg_process_hint_driver(struct wiphy * wiphy,struct regulatory_request * driver_request) reg_process_hint_driver() argument
2839 __reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) __reg_process_hint_country_ie() argument
2891 reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) reg_process_hint_country_ie() argument
2995 wiphy_all_share_dfs_chan_state(struct wiphy * wiphy) wiphy_all_share_dfs_chan_state() argument
3011 struct wiphy *wiphy = NULL; reg_process_hint() local
3065 struct wiphy *wiphy; notify_self_managed_wiphys() local
3142 reg_process_self_managed_hint(struct wiphy * wiphy) reg_process_self_managed_hint() argument
3312 regulatory_hint(struct wiphy * wiphy,const char * alpha2) regulatory_hint() argument
3340 regulatory_hint_country_ie(struct wiphy * wiphy,enum nl80211_band band,const u8 * country_ie,u8 country_ie_len) regulatory_hint_country_ie() argument
3437 restore_custom_reg_settings(struct wiphy * wiphy) restore_custom_reg_settings() argument
3647 regulatory_hint_found_beacon(struct wiphy * wiphy,struct ieee80211_channel * beacon_chan,gfp_t gfp) regulatory_hint_found_beacon() argument
4010 __regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) __regulatory_set_wiphy_regd() argument
4046 regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd() argument
4059 regulatory_set_wiphy_regd_sync(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd_sync() argument
4077 wiphy_regulatory_register(struct wiphy * wiphy) wiphy_regulatory_register() argument
4103 wiphy_regulatory_deregister(struct wiphy * wiphy) wiphy_regulatory_deregister() argument
4177 regulatory_pre_cac_allowed(struct wiphy * wiphy) regulatory_pre_cac_allowed() argument
4239 regulatory_propagate_dfs_state(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_dfs_state dfs_state,enum nl80211_radar_event event) regulatory_propagate_dfs_state() argument
[all...]
H A Dreg.h23 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy);
42 void wiphy_regulatory_register(struct wiphy *wiphy);
43 void wiphy_regulatory_deregister(struct wiphy *wiphy);
58 * @wiphy: the wireless device where the beacon was found on
72 * set the wiphy->disable_beacon_hints to true.
74 void regulatory_hint_found_beacon(struct wiphy *wiphy,
[all...]
H A Dmlme.c28 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() local
29 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp()
89 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp()
103 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth()
113 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth()
132 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc()
154 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_rx_mlme_mgmt()
173 struct wiphy *wiph in cfg80211_auth_timeout() local
187 struct wiphy *wiphy = wdev->wiphy; cfg80211_assoc_failure() local
237 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; cfg80211_michael_mic_failure() local
761 struct wiphy *wiphy = wdev->wiphy; cfg80211_mlme_unregister_socket() local
962 struct wiphy *wiphy = wdev->wiphy; cfg80211_rx_mgmt_ext() local
1029 struct wiphy *wiphy; cfg80211_dfs_channels_update_work() local
1104 __cfg80211_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,bool offchan,gfp_t gfp) __cfg80211_radar_event() argument
1136 struct wiphy *wiphy = wdev->wiphy; cfg80211_cac_event() local
1182 struct wiphy *wiphy = &rdev->wiphy; __cfg80211_background_cac_event() local
1248 cfg80211_background_cac_abort(struct wiphy * wiphy) cfg80211_background_cac_abort() argument
1300 struct wiphy *wiphy = wdev->wiphy; cfg80211_stop_background_radar_detection() local
1346 struct wiphy *wiphy = wdev->wiphy; cfg80211_mlo_reconf_add_done() local
[all...]
H A Dwext-compat.c43 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode()
64 guard(wiphy)(wdev->wiphy); in cfg80211_wext_siwmode()
136 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange()
160 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange()
161 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange()
187 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
212 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange()
254 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts()
255 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts()
258 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwrts()
[all …]
H A Dcore.h49 * domain as the wiphy's. Only used for %REGULATORY_WIPHY_SELF_MANAGED
58 /* wiphy index, internal only */
126 struct wiphy wiphy __aligned(NETDEV_ALIGN);
130 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
132 BUG_ON(!wiphy); in wiphy_to_rdev()
133 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
142 if (!rdev->wiphy in cfg80211_rdev_free_wowlan()
[all...]
H A Dnl80211.c91 lockdep_assert_held(&rdev->wiphy.mtx); in __cfg80211_wdev_from_attrs()
93 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs()
113 if (wiphy_net(&rdev->wiphy) != netns) in __cfg80211_wdev_from_attrs()
119 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs()
165 list_for_each_entry(wdev, &tmp->wiphy.wdev_list, list) { in __cfg80211_rdev_from_attrs()
188 netdev->ieee80211_ptr->wiphy); in __cfg80211_rdev_from_attrs()
207 if (netns != wiphy_net(&rdev->wiphy)) in __cfg80211_rdev_from_attrs()
1262 *rdev = wiphy_to_rdev((*wdev)->wiphy); in nl80211_prepare_wdev_dump()
1263 mutex_lock(&(*rdev)->wiphy.mtx); in nl80211_prepare_wdev_dump()
1270 struct wiphy *wiphy; in nl80211_prepare_wdev_dump() local
[all …]
H A Dsme.c66 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_scan()
70 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_conn_scan()
78 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); in cfg80211_conn_scan()
89 wdev->wiphy->bands[band]; in cfg80211_conn_scan()
104 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan()
129 request->req.wiphy = &rdev->wiphy; in cfg80211_conn_scan()
149 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_do_work()
155 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_conn_do_work()
176 auth_req.bss = cfg80211_get_bss(&rdev->wiphy, param in cfg80211_conn_do_work()
340 struct wiphy *wiphy = wdev->wiphy; cfg80211_sme_rx_auth() local
[all...]
H A Dof.c10 static bool wiphy_freq_limits_valid_chan(struct wiphy *wiphy,
30 static void wiphy_freq_limits_apply(struct wiphy *wiphy, in wiphy_freq_limits_valid_chan()
41 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply() argument
52 if (!wiphy_freq_limits_valid_chan(wiphy, freq_limits, in wiphy_freq_limits_apply()
63 void wiphy_read_of_freq_limits(struct wiphy *wiphy) in wiphy_freq_limits_apply()
65 struct device *dev = wiphy_dev(wiphy); in wiphy_freq_limits_apply()
120 wiphy_freq_limits_apply(wiphy, freq_limit in wiphy_read_of_freq_limits()
21 wiphy_freq_limits_valid_chan(struct wiphy * wiphy,struct ieee80211_freq_range * freq_limits,unsigned int n_freq_limits,struct ieee80211_channel * chan) wiphy_freq_limits_valid_chan() argument
74 wiphy_read_of_freq_limits(struct wiphy * wiphy) wiphy_read_of_freq_limits() argument
[all...]
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dwifi_regd.c44 static void _rtw_reg_apply_flags(struct wiphy *wiphy) in _rtw_reg_apply_flags() argument
46 struct adapter *padapter = wiphy_to_adapter(wiphy); in _rtw_reg_apply_flags()
59 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
75 ch = ieee80211_get_channel(wiphy, freq); in _rtw_reg_apply_flags()
85 static int _rtw_reg_notifier_apply(struct wiphy *wiphy, in _rtw_reg_notifier_apply() argument
90 _rtw_reg_apply_flags(wiphy); in _rtw_reg_notifier_apply()
102 struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument
103 void (*reg_notifier)(struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument
110 wiphy->reg_notifier = reg_notifier; in _rtw_regd_init_wiphy()
112 wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG; in _rtw_regd_init_wiphy()
[all …]
/linux/drivers/net/wireless/ath/
H A Dregd.c266 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, in ath_force_clear_no_ir_chan() argument
271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan()
280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_clear_no_ir_freq() argument
284 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_clear_no_ir_freq()
288 ath_force_clear_no_ir_chan(wiphy, ch); in ath_force_clear_no_ir_freq()
296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_no_ir_freq() argument
300 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_no_ir_freq()
308 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in __ath_reg_apply_beaconing_flags() argument
319 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags()
323 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags()
[all …]
/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c18 static struct wiphy *common_wiphy;
142 static void virt_wifi_inform_bss(struct wiphy *wiphy) in virt_wifi_inform_bss() argument
156 informed_bss = cfg80211_inform_bss(wiphy, &channel_5ghz, in virt_wifi_inform_bss()
162 cfg80211_put_bss(wiphy, informed_bss); in virt_wifi_inform_bss()
166 static int virt_wifi_scan(struct wiphy *wiphy, in virt_wifi_scan() argument
169 struct virt_wifi_wiphy_priv *priv = wiphy_priv(wiphy); in virt_wifi_scan()
171 wiphy_debug(wiphy, "scan\n"); in virt_wifi_scan()
188 struct wiphy *wiphy = priv_to_wiphy(priv); in virt_wifi_scan_result() local
191 virt_wifi_inform_bss(wiphy); in virt_wifi_scan_result()
199 static void virt_wifi_cancel_scan(struct wiphy *wiphy) in virt_wifi_cancel_scan() argument
[all …]
/linux/net/mac80211/
H A Dcfg.c127 monitor_sdata = wiphy_dereference(local->hw.wiphy, in ieee80211_set_mon_options()
206 static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, in ieee80211_add_iface() argument
212 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface()
252 static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in ieee80211_del_iface() argument
259 static int ieee80211_change_iface(struct wiphy *wiphy, in ieee80211_change_iface() argument
269 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_change_iface()
306 static int ieee80211_start_p2p_device(struct wiphy *wiphy, in ieee80211_start_p2p_device() argument
312 lockdep_assert_wiphy(sdata->local->hw.wiphy); in ieee80211_start_p2p_device()
321 static void ieee80211_stop_p2p_device(struct wiphy *wiphy, in ieee80211_stop_p2p_device() argument
334 static void ieee80211_stop_nan(struct wiphy *wiphy, in ieee80211_stop_nan() argument
[all …]
H A Doffchannel.c37 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable()
87 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_stop_vifs()
137 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_return()
200 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_end_finished_rocs()
233 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, dur); in ieee80211_recalc_sw_work()
261 static void ieee80211_hw_roc_start(struct wiphy *wiphy, struct wiphy_work *work) in ieee80211_hw_roc_start() argument
267 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_hw_roc_start()
286 wiphy_work_queue(hw->wiphy, &local->hw_roc_start); in ieee80211_ready_on_channel()
296 lockdep_assert_wiphy(local->hw.wiphy); in _ieee80211_start_next_roc()
326 wiphy_warn(local->hw.wiphy, in _ieee80211_start_next_roc()
[all …]
H A Dchan.c120 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_user_iter_next()
239 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_num_chanctx()
253 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_can_create_new_chanctx()
266 lockdep_is_held(&local->hw.wiphy->mtx)); in ieee80211_link_get_chanctx()
321 lockdep_assert_wiphy(local->hw.wiphy); in _ieee80211_chanctx_compatible()
353 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_reserved_chanreq()
376 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_non_reserved_chandef()
398 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_can_reserve()
420 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_find_reservation_chanctx()
447 link_sta = wiphy_dereference(sta->local->hw.wiphy, sta->link[link_id]); in ieee80211_get_sta_bw()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c135 static void *mwifiex_cfg80211_get_adapter(struct wiphy *wiphy) in mwifiex_cfg80211_get_adapter() argument
137 return (void *) (*(unsigned long *) wiphy_priv(wiphy)); in mwifiex_cfg80211_get_adapter()
144 mwifiex_cfg80211_del_key(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_del_key() argument
198 mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_tx() argument
282 mwifiex_cfg80211_update_mgmt_frame_registrations(struct wiphy *wiphy, in mwifiex_cfg80211_update_mgmt_frame_registrations() argument
304 mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_remain_on_channel() argument
346 mwifiex_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_cancel_remain_on_channel() argument
376 mwifiex_cfg80211_set_tx_power(struct wiphy *wiphy, in mwifiex_cfg80211_set_tx_power() argument
382 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_cfg80211_set_tx_power()
412 mwifiex_cfg80211_get_tx_power(struct wiphy *wiphy, in mwifiex_cfg80211_get_tx_power() argument
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.h145 struct wireless_dev *brcmf_p2p_add_vif(struct wiphy *wiphy, const char *name,
149 int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev);
153 int brcmf_p2p_start_device(struct wiphy *wiphy, struct wireless_dev *wdev);
154 void brcmf_p2p_stop_device(struct wiphy *wiphy, struct wireless_dev *wdev);
155 int brcmf_p2p_scan_prep(struct wiphy *wiphy,
158 int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev,
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c128 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_addresses() local
133 wiphy->addresses = mld->addresses; in iwl_mld_hw_set_addresses()
134 wiphy->n_addresses = 1; in iwl_mld_hw_set_addresses()
146 wiphy->n_addresses++; in iwl_mld_hw_set_addresses()
152 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_channels() local
155 wiphy->bands[NL80211_BAND_2GHZ] = &bands[NL80211_BAND_2GHZ]; in iwl_mld_hw_set_channels()
156 wiphy->bands[NL80211_BAND_5GHZ] = &bands[NL80211_BAND_5GHZ]; in iwl_mld_hw_set_channels()
159 wiphy->bands[NL80211_BAND_6GHZ] = &bands[NL80211_BAND_6GHZ]; in iwl_mld_hw_set_channels()
180 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mld_ciphers); in iwl_mld_hw_set_security()
181 hw->wiphy->cipher_suites = mld_ciphers; in iwl_mld_hw_set_security()
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_wifi_regd.h11 void rtw_regd_init(struct wiphy *wiphy,
12 void (*reg_notifier)(struct wiphy *wiphy,
14 void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
/linux/drivers/net/wireless/realtek/rtw88/
H A Dregd.c278 static void rtw_regd_apply_hw_cap_flags(struct wiphy *wiphy) in rtw_regd_apply_hw_cap_flags() argument
280 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in rtw_regd_apply_hw_cap_flags()
290 sband = wiphy->bands[NL80211_BAND_2GHZ]; in rtw_regd_apply_hw_cap_flags()
300 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw_regd_apply_hw_cap_flags()
333 void rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request);
338 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw_regd_init() local
341 if (!wiphy) in rtw_regd_init()
344 wiphy->reg_notifier = rtw_regd_notifier; in rtw_regd_init()
354 wiphy->regulatory_flags |= REGULATORY_STRICT_REG; in rtw_regd_init()
355 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE; in rtw_regd_init()
[all …]
/linux/net/wireless/tests/
H A Dutil.c17 struct wiphy *wiphy; in t_wiphy_init() local
23 wiphy = wiphy_new_nm(ops, sizeof(*priv), "kunit"); in t_wiphy_init()
24 KUNIT_ASSERT_NOT_NULL(test, wiphy); in t_wiphy_init()
26 priv = wiphy_priv(wiphy); in t_wiphy_init()
32 wiphy->bands[NL80211_BAND_2GHZ] = &priv->band_2ghz; in t_wiphy_init()
36 resource->data = wiphy; in t_wiphy_init()

1234567891011