Home
last modified time | relevance | path

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

123

/net/wireless/
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, name, type); in rdev_add_virtual_intf()
[all …]
Dcore.c73 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument
75 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx()
80 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy()
89 return &rdev->wiphy; in wiphy_idx_to_wiphy()
120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name()
132 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_dev_rename()
135 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename()
142 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename()
146 if (!IS_ERR_OR_NULL(rdev->wiphy.debugfsdir)) in cfg80211_dev_rename()
147 debugfs_rename(rdev->wiphy.debugfsdir->d_parent, in cfg80211_dev_rename()
[all …]
Dtrace.h25 #define WIPHY_ASSIGN strscpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME)
242 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow),
243 TP_ARGS(wiphy, wow),
280 TP_PROTO(struct wiphy *wiphy, int ret),
281 TP_ARGS(wiphy, ret),
294 TP_PROTO(struct wiphy *wiphy, struct cfg80211_scan_request *request),
295 TP_ARGS(wiphy, request),
306 TP_PROTO(struct wiphy *wiphy),
307 TP_ARGS(wiphy),
318 TP_PROTO(struct wiphy *wiphy),
[all …]
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 …]
Dreg.c148 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy) in get_wiphy_regdom() argument
150 return rcu_dereference_check(wiphy->regd, in get_wiphy_regdom()
151 lockdep_is_held(&wiphy->mtx) || in get_wiphy_regdom()
171 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) in reg_get_dfs_region() argument
181 if (!wiphy) in reg_get_dfs_region()
184 wiphy_regd = get_wiphy_regdom(wiphy); in reg_get_dfs_region()
188 if (wiphy->regulatory_flags & REGULATORY_WIPHY_SELF_MANAGED) { in reg_get_dfs_region()
197 dev_name(&wiphy->dev), in reg_get_dfs_region()
1142 static const struct ieee80211_regdomain *reg_get_regdomain(struct wiphy *wiphy) in reg_get_regdomain() argument
1152 wiphy->regd) in reg_get_regdomain()
[all …]
Dchan.c448 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
458 c = ieee80211_get_channel(wiphy, freq); in cfg80211_set_chans_dfs_state()
467 void cfg80211_set_dfs_state(struct wiphy *wiphy, in cfg80211_set_dfs_state() argument
480 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq1, in cfg80211_set_dfs_state()
485 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq2, in cfg80211_set_dfs_state()
559 static bool cfg80211_dfs_permissive_chan(struct wiphy *wiphy, in cfg80211_dfs_permissive_chan() argument
564 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_dfs_permissive_chan()
566 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_dfs_permissive_chan()
568 if (!wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_dfs_permissive_chan()
580 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_dfs_permissive_chan()
[all …]
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()
173 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local
174 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout()
187 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_failure() local
188 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_assoc_failure()
[all …]
Dreg.h34 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy);
53 void wiphy_regulatory_register(struct wiphy *wiphy);
54 void wiphy_regulatory_deregister(struct wiphy *wiphy);
85 int regulatory_hint_found_beacon(struct wiphy *wiphy,
110 void regulatory_hint_country_ie(struct wiphy *wiphy,
167 void regulatory_propagate_dfs_state(struct wiphy *wiphy,
177 bool reg_dfs_domain_same(struct wiphy *wiphy1, struct wiphy *wiphy2);
Dcore.h119 struct wiphy wiphy __aligned(NETDEV_ALIGN);
123 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
125 BUG_ON(!wiphy); in wiphy_to_rdev()
126 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
135 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
137 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
138 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
139 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
140 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
141 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
[all …]
Dwext-compat.c45 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode()
66 wiphy_lock(wdev->wiphy); in cfg80211_wext_siwmode()
68 wiphy_unlock(wdev->wiphy); in cfg80211_wext_siwmode()
142 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange()
166 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange()
167 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange()
193 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
218 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange()
261 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts()
262 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts()
[all …]
Dnl80211.c90 lockdep_assert_held(&rdev->wiphy.mtx); in __cfg80211_wdev_from_attrs()
92 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs()
112 if (wiphy_net(&rdev->wiphy) != netns) in __cfg80211_wdev_from_attrs()
118 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs()
164 list_for_each_entry(wdev, &tmp->wiphy.wdev_list, list) { in __cfg80211_rdev_from_attrs()
187 netdev->ieee80211_ptr->wiphy); in __cfg80211_rdev_from_attrs()
206 if (netns != wiphy_net(&rdev->wiphy)) in __cfg80211_rdev_from_attrs()
1023 *rdev = wiphy_to_rdev((*wdev)->wiphy); in nl80211_prepare_wdev_dump()
1024 mutex_lock(&(*rdev)->wiphy.mtx); in nl80211_prepare_wdev_dump()
1031 struct wiphy *wiphy; in nl80211_prepare_wdev_dump() local
[all …]
Ddebugfs.c17 struct wiphy *wiphy = file->private_data; \
32 wiphy->rts_threshold);
34 wiphy->frag_threshold);
36 wiphy->retry_short);
38 wiphy->retry_long);
66 struct wiphy *wiphy = file->private_data; in ht40allow_map_read() local
78 sband = wiphy->bands[band]; in ht40allow_map_read()
100 debugfs_create_file(#name, 0444, phyd, &rdev->wiphy, &name## _ops)
104 struct dentry *phyd = rdev->wiphy.debugfsdir; in cfg80211_debugfs_rdev_add()
Dsme.c66 struct cfg80211_registered_device *rdev = wiphy_to_rdev(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()
128 request->wiphy = &rdev->wiphy; in cfg80211_conn_scan()
148 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_do_work()
175 auth_req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel, in cfg80211_conn_do_work()
182 cfg80211_put_bss(&rdev->wiphy, auth_req.bss); in cfg80211_conn_do_work()
204 req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel, in cfg80211_conn_do_work()
213 cfg80211_put_bss(&rdev->wiphy, req.bss); in cfg80211_conn_do_work()
[all …]
Dof.c21 static bool wiphy_freq_limits_valid_chan(struct wiphy *wiphy, in wiphy_freq_limits_valid_chan() argument
41 static void wiphy_freq_limits_apply(struct wiphy *wiphy, in wiphy_freq_limits_apply() argument
52 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply()
63 if (!wiphy_freq_limits_valid_chan(wiphy, freq_limits, in wiphy_freq_limits_apply()
74 void wiphy_read_of_freq_limits(struct wiphy *wiphy) in wiphy_read_of_freq_limits() argument
76 struct device *dev = wiphy_dev(wiphy); in wiphy_read_of_freq_limits()
131 wiphy_freq_limits_apply(wiphy, freq_limits, n_freq_limits); in wiphy_read_of_freq_limits()
Dscan.c857 if (!rdev->wiphy.bands[NL80211_BAND_6GHZ]) in cfg80211_scan_6ghz()
860 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
865 n_channels = rdev->wiphy.bands[NL80211_BAND_6GHZ]->n_channels; in cfg80211_scan_6ghz()
995 ieee80211_get_channel(&rdev->wiphy, ap->center_freq); in cfg80211_scan_6ghz()
1074 if (!(rdev->wiphy.flags & WIPHY_FLAG_SPLIT_SCAN_6GHZ)) in cfg80211_scan()
1113 lockdep_assert_held(&rdev->wiphy.mtx); in ___cfg80211_scan_done()
1129 (rdev->wiphy.flags & WIPHY_FLAG_SPLIT_SCAN_6GHZ) && in ___cfg80211_scan_done()
1174 void __cfg80211_scan_done(struct wiphy *wiphy, struct wiphy_work *wk) in __cfg80211_scan_done() argument
1176 ___cfg80211_scan_done(wiphy_to_rdev(wiphy), true); in __cfg80211_scan_done()
1185 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req && in cfg80211_scan_done()
[all …]
Dutil.c162 struct ieee80211_channel *ieee80211_get_channel_khz(struct wiphy *wiphy, in ieee80211_get_channel_khz() argument
170 sband = wiphy->bands[band]; in ieee80211_get_channel_khz()
253 void ieee80211_set_bitrate_flags(struct wiphy *wiphy) in ieee80211_set_bitrate_flags() argument
258 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
259 set_mandatory_flags_band(wiphy->bands[band]); in ieee80211_set_bitrate_flags()
262 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher) in cfg80211_supported_cipher_suite() argument
265 for (i = 0; i < wiphy->n_cipher_suites; i++) in cfg80211_supported_cipher_suite()
266 if (cipher == wiphy->cipher_suites[i]) in cfg80211_supported_cipher_suite()
274 struct wiphy *wiphy = &rdev->wiphy; in cfg80211_igtk_cipher_supported() local
277 for (i = 0; i < wiphy->n_cipher_suites; i++) { in cfg80211_igtk_cipher_supported()
[all …]
Dethtool.c10 struct device *pdev = wiphy_dev(wdev->wiphy); in cfg80211_get_drvinfo()
20 if (wdev->wiphy->fw_version[0]) in cfg80211_get_drvinfo()
21 strscpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
26 strscpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo()
Dwext-sme.c70 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwfreq()
83 chan = ieee80211_get_channel(wdev->wiphy, freq); in cfg80211_mgd_wext_siwfreq()
152 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwessid()
251 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwap()
331 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwgenie()
341 wiphy_lock(wdev->wiphy); in cfg80211_wext_siwgenie()
374 wiphy_unlock(wdev->wiphy); in cfg80211_wext_siwgenie()
390 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmlme()
398 wiphy_lock(&rdev->wiphy); in cfg80211_wext_siwmlme()
410 wiphy_unlock(&rdev->wiphy); in cfg80211_wext_siwmlme()
/net/mac80211/
Dmain.c349 wiphy_lock(local->hw.wiphy); in ieee80211_restart_work()
371 wiphy_work_cancel(local->hw.wiphy, in ieee80211_restart_work()
386 wiphy_delayed_work_flush(local->hw.wiphy, &local->roc_work); in ieee80211_restart_work()
387 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_done); in ieee80211_restart_work()
393 wiphy_unlock(local->hw.wiphy); in ieee80211_restart_work()
396 cfg80211_shutdown_all_interfaces(local->hw.wiphy); in ieee80211_restart_work()
407 wiphy_info(hw->wiphy, in ieee80211_restart_hw()
446 if (wdev->wiphy != local->hw.wiphy || !wdev->registered) in ieee80211_ifa_changed()
478 mutex_lock_nested(&local->hw.wiphy->mtx, 1); in ieee80211_ifa_changed()
479 __acquire(&local->hw.wiphy->mtx); in ieee80211_ifa_changed()
[all …]
Dcfg.c108 monitor_sdata = wiphy_dereference(local->hw.wiphy, in ieee80211_set_mon_options()
172 static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, in ieee80211_add_iface() argument
178 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface()
200 static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in ieee80211_del_iface() argument
207 static int ieee80211_change_iface(struct wiphy *wiphy, in ieee80211_change_iface() argument
258 static int ieee80211_start_p2p_device(struct wiphy *wiphy, in ieee80211_start_p2p_device() argument
273 static void ieee80211_stop_p2p_device(struct wiphy *wiphy, in ieee80211_stop_p2p_device() argument
279 static int ieee80211_start_nan(struct wiphy *wiphy, in ieee80211_start_nan() argument
305 static void ieee80211_stop_nan(struct wiphy *wiphy, in ieee80211_stop_nan() argument
314 static int ieee80211_nan_change_conf(struct wiphy *wiphy, in ieee80211_nan_change_conf() argument
[all …]
Doffchannel.c233 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
288 wiphy_work_queue(hw->wiphy, &local->hw_roc_start); in ieee80211_ready_on_channel()
328 wiphy_warn(local->hw.wiphy, in _ieee80211_start_next_roc()
341 wiphy_work_queue(local->hw.wiphy, &local->hw_roc_done); in _ieee80211_start_next_roc()
371 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in _ieee80211_start_next_roc()
410 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in ieee80211_start_next_roc()
454 static void ieee80211_roc_work(struct wiphy *wiphy, struct wiphy_work *work) in ieee80211_roc_work() argument
464 static void ieee80211_hw_roc_done(struct wiphy *wiphy, struct wiphy_work *work) in ieee80211_hw_roc_done() argument
485 wiphy_work_queue(hw->wiphy, &local->hw_roc_done); in ieee80211_remain_on_channel_expired()
[all …]
Dibss.c93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
266 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
279 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
287 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss()
385 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt, in __ieee80211_sta_join_ibss()
388 cfg80211_put_bss(local->hw.wiphy, bss); in __ieee80211_sta_join_ibss()
440 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss()
495 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan, in ieee80211_ibss_csa_beacon()
507 cfg80211_put_bss(sdata->local->hw.wiphy, cbss); in ieee80211_ibss_csa_beacon()
540 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, in ieee80211_ibss_finish_csa()
[all …]
Dtdls.c48 bool chan_switch = local->hw.wiphy->features & in ieee80211_tdls_add_ext_capab()
80 struct wiphy *wiphy = sdata->local->hw.wiphy; in ieee80211_tdls_add_subband() local
86 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i); in ieee80211_tdls_add_subband()
91 if (cfg80211_reg_can_beacon_relax(wiphy, &chandef, in ieee80211_tdls_add_subband()
348 !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc, in ieee80211_tdls_chandef_vht_upgrade()
818 ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev, in ieee80211_prep_tdls_encap_data() argument
901 ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, in ieee80211_prep_tdls_direct() argument
992 ret = ieee80211_prep_tdls_encap_data(local->hw.wiphy, in ieee80211_tdls_build_mgmt_packet_data()
998 ret = ieee80211_prep_tdls_direct(local->hw.wiphy, sdata->dev, in ieee80211_tdls_build_mgmt_packet_data()
1025 ieee80211_tdls_prep_mgmt_packet(struct wiphy *wiphy, struct net_device *dev, in ieee80211_tdls_prep_mgmt_packet() argument
[all …]
Dscan.c37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
63 void ieee80211_inform_bss(struct wiphy *wiphy, in ieee80211_inform_bss() argument
68 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_inform_bss()
147 local->hw.wiphy->bands[rx_status->band]; in ieee80211_inform_bss()
205 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update()
276 wiphy_delayed_work_queue(local->hw.wiphy, &local->scan_work, 0); in ieee80211_scan_rx()
279 channel = ieee80211_get_channel_khz(local->hw.wiphy, in ieee80211_scan_rx()
477 wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work); in __ieee80211_scan_completed()
497 wiphy_delayed_work_queue(local->hw.wiphy, &local->scan_work, 0); in ieee80211_scan_completed()
537 wiphy_delayed_work_queue(local->hw.wiphy, &local->scan_work, 0); in ieee80211_start_sw_scan()
[all …]
Ddebug.h92 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
101 #define _wiphy_dbg(print, wiphy, fmt, ...) \ argument
102 __wiphy_dbg(wiphy, print, fmt, ##__VA_ARGS__)
123 #define _wiphy_dbg(print, wiphy, fmt, ...) \ argument
126 wiphy_dbg((wiphy), fmt, ##__VA_ARGS__); \
188 (hw)->wiphy, fmt, ##__VA_ARGS__)

123