/freebsd-current/sys/contrib/dev/athk/ |
H A D | trace.h | 35 TP_PROTO(struct wiphy *wiphy, 38 TP_ARGS(wiphy, vaf), 41 __string(device, wiphy_name(wiphy)) 47 __assign_str(device, wiphy_name(wiphy));
|
H A D | regd.c | 266 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, argument 271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); 280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) argument 284 ch = ieee80211_get_channel(wiphy, center_freq); 288 ath_force_clear_no_ir_chan(wiphy, ch); 296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) argument 300 ch = ieee80211_get_channel(wiphy, center_fre 308 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, struct ath_regulatory *reg, enum nl80211_reg_initiator initiator, struct ieee80211_channel *ch) argument 339 ath_reg_apply_beaconing_flags(struct wiphy *wiphy, struct ath_regulatory *reg, enum nl80211_reg_initiator initiator) argument 376 ath_reg_apply_ir_flags(struct wiphy *wiphy, struct ath_regulatory *reg, enum nl80211_reg_initiator initiator) argument 404 ath_reg_apply_radar_flags(struct wiphy *wiphy, struct ath_regulatory *reg) argument 436 ath_reg_apply_world_flags(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ath_regulatory *reg) argument 471 __ath_reg_dyn_country(struct wiphy *wiphy, struct ath_regulatory *reg, struct regulatory_request *request) argument 495 ath_reg_dyn_country(struct wiphy *wiphy, struct ath_regulatory *reg, struct regulatory_request *request) argument 508 ath_reg_notifier_apply(struct wiphy *wiphy, struct regulatory_request *request, struct ath_regulatory *reg) argument 635 ath_regd_init_wiphy(struct ath_regulatory *reg, struct wiphy *wiphy, void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request)) argument 758 ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request)) argument [all...] |
H A D | main.c | 87 if (common && common->hw && common->hw->wiphy) { 89 level, wiphy_name(common->hw->wiphy), &vaf); 90 trace_ath_log(common->hw->wiphy, &vaf);
|
H A D | regd.h | 264 int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, 265 void (*reg_notifier)(struct wiphy *wiphy, 269 void ath_reg_notifier_apply(struct wiphy *wiphy,
|
/freebsd-current/sys/compat/linuxkpi/common/include/net/ |
H A D | cfg80211.h | 385 struct wiphy *wiphy; member in struct:cfg80211_scan_request 1089 int (*doit)(struct wiphy *, struct wireless_dev *, const void *, int); 1138 struct wiphy { struct 1158 void(*reg_notifier)(struct wiphy *, struct regulatory_request *); 1193 struct wiphy *wiphy; member in struct:wireless_dev 1198 struct wireless_dev *(*add_virtual_intf)(struct wiphy *, const char *, unsigned char, enum nl80211_iftype, struct vif_params *); 1199 int (*del_virtual_intf)(struct wiphy *, struct wireless_dev *); 1200 s32 (*change_virtual_intf)(struct wiphy *, struc 1276 wiphy_free(struct wiphy *wiphy) argument 1283 wiphy_priv(struct wiphy *wiphy) argument 1290 set_wiphy_dev(struct wiphy *wiphy, struct device *dev) argument 1297 wiphy_dev(struct wiphy *wiphy) argument 1307 wiphy_dereference(struct wiphy *wiphy, const struct linuxkpi_ieee80211_regdomain *regd) argument 1315 wiphy_lock(struct wiphy *wiphy) argument 1321 wiphy_unlock(struct wiphy *wiphy) argument 1327 wiphy_rfkill_set_hw_state_reason(struct wiphy *wiphy, bool blocked, enum rfkill_hard_block_reasons reason) argument 1336 cfg80211_get_bss(struct wiphy *wiphy, struct linuxkpi_ieee80211_channel *chan, const uint8_t *bssid, const uint8_t *ssid, size_t ssid_len, enum ieee80211_bss_type bss_type, enum ieee80211_privacy privacy) argument 1346 cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss) argument 1353 cfg80211_bss_flush(struct wiphy *wiphy) argument 1451 cfg80211_bss_iter(struct wiphy *wiphy, struct cfg80211_chan_def *chandef, void (*iterfunc)(struct wiphy *, struct cfg80211_bss *, void *), void *data) argument 1554 regulatory_set_wiphy_regd_sync(struct wiphy *wiphy, struct linuxkpi_ieee80211_regdomain *regd) argument 1562 regulatory_set_wiphy_regd_sync_rtnl(struct wiphy *wiphy, struct linuxkpi_ieee80211_regdomain *regd) argument 1571 regulatory_set_wiphy_regd(struct wiphy *wiphy, struct linuxkpi_ieee80211_regdomain *regd) argument 1590 regulatory_hint(struct wiphy *wiphy, const uint8_t *alpha2) argument 1625 freq_reg_info(struct wiphy *wiphy, uint32_t center_freq) argument 1632 wiphy_apply_custom_regulatory(struct wiphy *wiphy, const struct linuxkpi_ieee80211_regdomain *regd) argument 1639 wiphy_name(struct wiphy *wiphy) argument 1650 wiphy_read_of_freq_limits(struct wiphy *wiphy) argument 1658 wiphy_ext_feature_set(struct wiphy *wiphy, enum nl80211_ext_feature ef) argument 1665 wiphy_net(struct wiphy *wiphy) argument 1672 wiphy_register(struct wiphy *wiphy) argument 1679 wiphy_unregister(struct wiphy *wiphy) argument 1685 wiphy_warn(struct wiphy *wiphy, const char *fmt, ...) argument 1691 cfg80211_check_combinations(struct wiphy *wiphy, struct iface_combination_params *params) argument 1741 cfg80211_inform_bss(struct wiphy *wiphy, struct linuxkpi_ieee80211_channel *channel, enum cfg80211_bss_frame_type bss_ftype, const uint8_t *bss, int _x, uint16_t cap, uint16_t intvl, const uint8_t *ie, size_t ie_len, int signal, gfp_t gfp) argument 1752 cfg80211_inform_bss_data(struct wiphy *wiphy, struct cfg80211_inform_bss *bss_data, enum cfg80211_bss_frame_type bss_ftype, const uint8_t *bss, int _x, uint16_t cap, uint16_t intvl, const uint8_t *ie, size_t ie_len, gfp_t gfp) argument 1838 cfg80211_sched_scan_results(struct wiphy *wiphy, uint64_t reqid) argument 1844 cfg80211_sched_scan_stopped(struct wiphy *wiphy, int _x) argument 1856 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, unsigned int len) argument 1870 ieee80211_get_channel(struct wiphy *wiphy, uint32_t freq) argument 1953 cfg80211_shutdown_all_interfaces(struct wiphy *wiphy) argument 1959 cfg80211_reg_can_beacon(struct wiphy *wiphy, struct cfg80211_chan_def *chandef, enum nl80211_iftype iftype) argument 1967 cfg80211_background_radar_event(struct wiphy *wiphy, struct cfg80211_chan_def *chandef, gfp_t gfp) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | init.c | 50 struct wiphy *wiphy = mt76_hw(dev)->wiphy; local 57 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7615_%s", 58 wiphy_name(wiphy)); 59 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, dev, 191 struct wiphy *wiphy = hw->wiphy; local 197 wiphy 331 mt7615_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument 363 struct wiphy *wiphy = hw->wiphy; local [all...] |
H A D | mt7615_trace.h | 18 wiphy_name(mt76_hw(dev)->wiphy), MAXNAME)
|
/freebsd-current/sys/contrib/dev/rtw88/ |
H A D | regd.c | 278 static void rtw_regd_apply_hw_cap_flags(struct wiphy *wiphy) argument 280 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 290 sband = wiphy->bands[NL80211_BAND_2GHZ]; 300 sband = wiphy->bands[NL80211_BAND_5GHZ]; 333 void rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request); 338 struct wiphy *wiphy = rtwdev->hw->wiphy; local 371 struct wiphy *wiphy = rtwdev->hw->wiphy; local 398 struct wiphy *wiphy = rtwdev->hw->wiphy; local 428 struct wiphy *wiphy = rtwdev->hw->wiphy; local 460 rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 47 struct wiphy *wiphy = phy->mt76->hw->wiphy; local 54 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7921_%s", 55 wiphy_name(wiphy)); 57 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, phy, 67 mt7921_regd_notifier(struct wiphy *wiphy, argument 70 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 249 hw->wiphy [all...] |
/freebsd-current/sys/contrib/dev/rtw89/ |
H A D | regd.c | 288 struct wiphy *wiphy) 327 sband = wiphy->bands[NL80211_BAND_5GHZ]; 334 static void rtw89_regd_setup_6ghz(struct rtw89_dev *rtwdev, struct wiphy *wiphy) argument 374 sband = wiphy->bands[NL80211_BAND_6GHZ]; 378 wiphy->bands[NL80211_BAND_6GHZ] = NULL; 385 struct wiphy *wiphy = rtwdev->hw->wiphy; local 287 rtw89_regd_setup_unii4(struct rtw89_dev *rtwdev, struct wiphy *wiphy) argument 397 rtw89_regd_init(struct rtw89_dev *rtwdev, void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request)) argument 403 struct wiphy *wiphy = rtwdev->hw->wiphy; local 437 rtw89_regd_notifier_apply(struct rtw89_dev *rtwdev, struct wiphy *wiphy, struct regulatory_request *request) argument 453 rtw89_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_core.c | 517 struct wiphy *wiphy = hw->wiphy; local 538 wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; 539 wiphy->iface_combinations = if_comb_chanctx; 540 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_chanctx); 542 wiphy->flags &= ~WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; 543 wiphy->iface_combinations = if_comb; 544 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); 546 wiphy [all...] |
H A D | mt792x_trace.h | 18 wiphy_name(mt76_hw(dev)->wiphy), MAXNAME)
|
H A D | mt76x02_dfs.h | 129 void mt76x02_regd_notifier(struct wiphy *wiphy,
|
H A D | mt76x02_txrx.c | 80 struct wiphy *wiphy = dev->mt76.hw->wiphy; local 83 r = &wiphy->bands[band]->bitrates[rate->idx];
|
H A D | mac80211.c | 215 wiphy_name(hw->wiphy)); 367 phy->hw->wiphy->bands[NL80211_BAND_2GHZ] = &phy->sband_2g.sband; 378 phy->hw->wiphy->bands[NL80211_BAND_5GHZ] = &phy->sband_5g.sband; 389 phy->hw->wiphy->bands[NL80211_BAND_6GHZ] = &phy->sband_6g.sband; 422 phy->hw->wiphy->bands[band] = NULL; 429 struct wiphy *wiphy = hw->wiphy; local 434 wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | 436 wiphy [all...] |
H A D | mt76x02_util.c | 143 struct wiphy *wiphy = hw->wiphy; local 156 wiphy->iface_combinations = mt76x02u_if_comb; 157 wiphy->n_iface_combinations = ARRAY_SIZE(mt76x02u_if_comb); 163 wiphy->reg_notifier = mt76x02_regd_notifier; 164 wiphy->iface_combinations = mt76x02_if_comb; 165 wiphy->n_iface_combinations = ARRAY_SIZE(mt76x02_if_comb); 175 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS); 680 struct wiphy *wiph local [all...] |
H A D | mt76x02_mcu.c | 166 snprintf(dev->mt76.hw->wiphy->fw_version, 167 sizeof(dev->mt76.hw->wiphy->fw_version),
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | init.c | 183 struct wiphy *wiphy = phy->mt76->hw->wiphy; local 188 sysfs_remove_link(&wiphy->dev.kobj, "cooling_device"); 196 struct wiphy *wiphy = phy->mt76->hw->wiphy; local 201 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7915_%s", 202 wiphy_name(wiphy)); 206 if (sysfs_create_link(&wiphy 327 mt7915_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument 357 struct wiphy *wiphy = hw->wiphy; local [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | init.c | 132 mt7996_regd_notifier(struct wiphy *wiphy, argument 135 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 160 struct wiphy *wiphy = hw->wiphy; local 177 wiphy->iface_combinations = if_comb; 178 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); 179 wiphy->reg_notifier = mt7996_regd_notifier; 180 wiphy [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mac80211.c | 111 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy, argument 117 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 182 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); 191 return iwl_mvm_get_regdomain(mvm->hw->wiphy, "ZZ", 204 wiphy_dereference(mvm->hw->wiphy, mvm->hw->wiphy->regd); 219 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src, 226 ret = regulatory_set_wiphy_regd_sync(mvm->hw->wiphy, regd); 328 hw->wiphy 3416 iwl_mvm_check_he_obss_narrow_bw_ru_iter(struct wiphy *wiphy, struct cfg80211_bss *bss, void *_data) argument [all...] |
H A D | led.c | 74 wiphy_name(mvm->hw->wiphy));
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); 36 /* This can happen during wiphy registration where the previous 47 ath12k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument 49 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 55 "Regulatory Notification received for %s\n", wiphy_name(wiphy)); 60 * self managed wiphy's 64 ath12k_warn(ar->ab, "Unexpected Regulatory event for this wiphy\n"); 104 bands = hw->wiphy->bands; 262 wiphy_lock(ar->hw->wiphy); [all...] |
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 336 supband = hw->wiphy->bands[band]; 643 if (hw->wiphy->bands[band] == NULL) 646 nchans = hw->wiphy->bands[band]->n_channels; 650 channels = hw->wiphy->bands[band]->channels; 687 linuxkpi_ieee80211_get_channel(struct wiphy *wiphy, uint32_t freq) argument 696 supband = wiphy->bands[band]; 2932 hw->wiphy->frag_threshold = vap->iv_fragthreshold; 2934 hw->wiphy->rts_threshold = vap->iv_rtsthreshold; 2946 wiphy_unregister(hw->wiphy); 4389 struct wiphy *wiphy; local 4502 linuxkpi_wiphy_to_ieee80211_hw(struct wiphy *wiphy) argument 4925 linuxkpi_regulatory_set_wiphy_regd_sync(struct wiphy *wiphy, struct linuxkpi_ieee80211_regdomain *regd) argument 5325 linuxkpi_wiphy_free(struct wiphy *wiphy) argument 6104 struct wiphy *wiphy; member in struct:lkpi_cfg80211_get_bss_iter_lookup 6184 linuxkpi_cfg80211_get_bss(struct wiphy *wiphy, struct linuxkpi_ieee80211_channel *chan, const uint8_t *bssid, const uint8_t *ssid, size_t ssid_len, enum ieee80211_bss_type bss_type, enum ieee80211_privacy privacy) argument 6225 linuxkpi_cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss) argument 6239 linuxkpi_cfg80211_bss_flush(struct wiphy *wiphy) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | init.c | 417 mt7603_regd_notifier(struct wiphy *wiphy, argument 420 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 489 struct wiphy *wiphy = hw->wiphy; local 527 wiphy->iface_combinations = if_comb; 528 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); 540 wiphy->reg_notifier = mt7603_regd_notifier;
|
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); 36 /* This can happen during wiphy registration where the previous 47 ath11k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) argument 49 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); 56 "Regulatory Notification received for %s\n", wiphy_name(wiphy)); 61 * self managed wiphy's 65 ath11k_warn(ar->ab, "Unexpected Regulatory event for this wiphy\n"); 145 bands = hw->wiphy->bands; 303 ret = regulatory_set_wiphy_regd(ar->hw->wiphy, regd_cop [all...] |