/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | cfg80211.h | 385 struct wiphy *wiphy; member 1193 struct wiphy *wiphy; argument 1276 wiphy_free(struct wiphy *wiphy) in wiphy_free() argument 1283 wiphy_priv(struct wiphy *wiphy) in wiphy_priv() argument 1297 wiphy_dev(struct wiphy *wiphy) in wiphy_dev() argument 1315 wiphy_lock(struct wiphy *wiphy) in wiphy_lock() argument 1321 wiphy_unlock(struct wiphy *wiphy) in wiphy_unlock() argument 1639 wiphy_name(struct wiphy *wiphy) in wiphy_name() argument 1665 wiphy_net(struct wiphy *wiphy) in wiphy_net() argument 1672 wiphy_register(struct wiphy *wiphy) in wiphy_register() argument [all …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 266 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, in ath_force_clear_no_ir_chan() argument 308 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in __ath_reg_apply_beaconing_flags() argument 339 ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in ath_reg_apply_beaconing_flags() argument 376 ath_reg_apply_ir_flags(struct wiphy *wiphy, in ath_reg_apply_ir_flags() argument 471 static int __ath_reg_dyn_country(struct wiphy *wiphy, in __ath_reg_dyn_country() argument 495 static void ath_reg_dyn_country(struct wiphy *wiphy, in ath_reg_dyn_country() argument 508 void ath_reg_notifier_apply(struct wiphy *wiphy, in ath_reg_notifier_apply() argument 636 struct wiphy *wiphy, in ath_regd_init_wiphy() argument 637 void (*reg_notifier)(struct wiphy *wiphy, in ath_regd_init_wiphy() argument 759 struct wiphy *wiphy, in ath_regd_init() argument [all …]
|
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.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,
|
H A D | main.c | 87 if (common && common->hw && common->hw->wiphy) { in ath_printk() 89 level, wiphy_name(common->hw->wiphy), &vaf); in ath_printk() 90 trace_ath_log(common->hw->wiphy, &vaf); in ath_printk()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | init.c | 50 struct wiphy *wiphy = mt76_hw(dev)->wiphy; in mt7615_thermal_init() local 58 wiphy_name(wiphy)); in mt7615_thermal_init() 191 struct wiphy *wiphy = hw->wiphy; in mt7615_check_offload_capability() local 214 wiphy->max_sched_scan_ie_len = 0; in mt7615_check_offload_capability() 216 wiphy->max_sched_scan_ssids = 0; in mt7615_check_offload_capability() 217 wiphy->max_match_sets = 0; in mt7615_check_offload_capability() 218 wiphy->max_sched_scan_reqs = 0; in mt7615_check_offload_capability() 331 mt7615_regd_notifier(struct wiphy *wiphy, in mt7615_regd_notifier() argument 363 struct wiphy *wiphy = hw->wiphy; in mt7615_init_wiphy() local 394 wiphy->max_sched_scan_reqs = 1; in mt7615_init_wiphy() [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | regd.c | 278 static void rtw_regd_apply_hw_cap_flags(struct wiphy *wiphy) in rtw_regd_apply_hw_cap_flags() argument 290 sband = wiphy->bands[NL80211_BAND_2GHZ]; 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() 364 rtw_regd_apply_hw_cap_flags(wiphy); in rtw_regd_init() 371 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw_regd_hint() local 374 if (!wiphy) in rtw_regd_hint() 398 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw_regd_mgmt_worldwide() local 428 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw_regd_mgmt_setting() local [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | regd.c | 288 struct wiphy *wiphy) in rtw89_regd_setup_unii4() argument 334 static void rtw89_regd_setup_6ghz(struct rtw89_dev *rtwdev, struct wiphy *wiphy) in rtw89_regd_setup_6ghz() argument 385 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw89_regd_setup() local 387 if (!wiphy) in rtw89_regd_setup() 391 rtw89_regd_setup_6ghz(rtwdev, wiphy); in rtw89_regd_setup() 398 void (*reg_notifier)(struct wiphy *wiphy, in rtw89_regd_init() argument 403 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw89_regd_init() local 408 if (!wiphy) in rtw89_regd_init() 438 struct wiphy *wiphy, in rtw89_regd_notifier_apply() argument 453 void rtw89_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) in rtw89_regd_notifier() argument [all …]
|
H A D | core.c | 3403 hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL; in rtw89_core_set_supported_band() 3404 hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL; in rtw89_core_set_supported_band() 3405 hw->wiphy->bands[NL80211_BAND_6GHZ] = NULL; in rtw89_core_set_supported_band() 3422 if (hw->wiphy->bands[NL80211_BAND_2GHZ]) in rtw89_core_clr_supported_band() 3424 if (hw->wiphy->bands[NL80211_BAND_5GHZ]) in rtw89_core_clr_supported_band() 3426 if (hw->wiphy->bands[NL80211_BAND_6GHZ]) in rtw89_core_clr_supported_band() 3428 kfree(hw->wiphy->bands[NL80211_BAND_2GHZ]); in rtw89_core_clr_supported_band() 3429 kfree(hw->wiphy->bands[NL80211_BAND_5GHZ]); in rtw89_core_clr_supported_band() 3876 hw->wiphy->available_antennas_tx = 0x3; in rtw89_core_register_hw() 3877 hw->wiphy->available_antennas_rx = 0x3; in rtw89_core_register_hw() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_core.c | 517 struct wiphy *wiphy = hw->wiphy; in mt792x_init_wiphy() local 538 wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; in mt792x_init_wiphy() 539 wiphy->iface_combinations = if_comb_chanctx; in mt792x_init_wiphy() 542 wiphy->flags &= ~WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; in mt792x_init_wiphy() 543 wiphy->iface_combinations = if_comb; in mt792x_init_wiphy() 552 wiphy->max_remain_on_channel_duration = 5000; in mt792x_init_wiphy() 553 wiphy->max_scan_ie_len = MT76_CONNAC_SCAN_IE_LEN; in mt792x_init_wiphy() 554 wiphy->max_scan_ssids = 4; in mt792x_init_wiphy() 555 wiphy->max_sched_scan_plan_interval = in mt792x_init_wiphy() 560 wiphy->max_sched_scan_reqs = 1; in mt792x_init_wiphy() [all …]
|
H A D | mt76x02_util.c | 143 struct wiphy *wiphy = hw->wiphy; in mt76x02_init_device() local 156 wiphy->iface_combinations = mt76x02u_if_comb; in mt76x02_init_device() 157 wiphy->n_iface_combinations = ARRAY_SIZE(mt76x02u_if_comb); in mt76x02_init_device() 163 wiphy->reg_notifier = mt76x02_regd_notifier; in mt76x02_init_device() 164 wiphy->iface_combinations = mt76x02_if_comb; in mt76x02_init_device() 165 wiphy->n_iface_combinations = ARRAY_SIZE(mt76x02_if_comb); in mt76x02_init_device() 175 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS); in mt76x02_init_device() 680 struct wiphy *wiphy = hw->wiphy; in mt76x02_config_mac_addr_list() local 694 wiphy->addresses = dev->macaddr_list; in mt76x02_config_mac_addr_list() 695 wiphy->n_addresses = ARRAY_SIZE(dev->macaddr_list); in mt76x02_config_mac_addr_list()
|
H A D | mac80211.c | 215 wiphy_name(hw->wiphy)); in mt76_led_init() 422 phy->hw->wiphy->bands[band] = NULL; in mt76_check_sband() 429 struct wiphy *wiphy = hw->wiphy; in mt76_phy_init() local 436 wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH | in mt76_phy_init() 447 wiphy->sar_capa = &mt76_sar_capa; in mt76_phy_init() 503 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in mt76_alloc_phy() 504 hw->wiphy->interface_modes = in mt76_alloc_phy() 553 wiphy_read_of_freq_limits(phy->hw->wiphy); in mt76_register_phy() 666 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in mt76_alloc_device() 667 hw->wiphy->interface_modes = in mt76_alloc_device() [all …]
|
H A D | mt76x02_txrx.c | 80 struct wiphy *wiphy = dev->mt76.hw->wiphy; in mt76x02_tx_get_max_txpwr_adj() local 83 r = &wiphy->bands[band]->bitrates[rate->idx]; in mt76x02_tx_get_max_txpwr_adj()
|
H A D | mt76x02_dfs.h | 129 void mt76x02_regd_notifier(struct wiphy *wiphy,
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 47 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7921_thermal_init() local 54 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7921_%s", in mt7921_thermal_init() 55 wiphy_name(wiphy)); in mt7921_thermal_init() 57 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, phy, in mt7921_thermal_init() 67 mt7921_regd_notifier(struct wiphy *wiphy, in mt7921_regd_notifier() argument 70 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7921_regd_notifier() 249 hw->wiphy->reg_notifier = mt7921_regd_notifier; in mt7921_register_device() 267 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device() 268 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | init.c | 183 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7915_unregister_thermal() local 196 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7915_thermal_init() local 202 wiphy_name(wiphy)); in mt7915_thermal_init() 327 mt7915_regd_notifier(struct wiphy *wiphy, in mt7915_regd_notifier() argument 357 struct wiphy *wiphy = hw->wiphy; in mt7915_init_wiphy() local 373 wiphy->iface_combinations = if_comb; in mt7915_init_wiphy() 374 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); in mt7915_init_wiphy() 375 wiphy->reg_notifier = mt7915_regd_notifier; in mt7915_init_wiphy() 376 wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH; in mt7915_init_wiphy() 377 wiphy->mbssid_max_interfaces = 16; in mt7915_init_wiphy() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | init.c | 132 mt7996_regd_notifier(struct wiphy *wiphy, in mt7996_regd_notifier() argument 135 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7996_regd_notifier() 160 struct wiphy *wiphy = hw->wiphy; in mt7996_init_wiphy() local 177 wiphy->iface_combinations = if_comb; in mt7996_init_wiphy() 178 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); in mt7996_init_wiphy() 179 wiphy->reg_notifier = mt7996_regd_notifier; in mt7996_init_wiphy() 180 wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH; in mt7996_init_wiphy() 183 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS); in mt7996_init_wiphy() 199 wiphy_ext_feature_set(wiphy, in mt7996_init_wiphy() 237 wiphy->available_antennas_rx = phy->mt76->antenna_mask; in mt7996_init_wiphy() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mac80211.c | 111 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy, in iwl_mvm_get_regdomain() argument 204 wiphy_dereference(mvm->hw->wiphy, mvm->hw->wiphy->regd); in iwl_mvm_init_fw_regd() 411 hw->wiphy->n_cipher_suites++; in iwl_mvm_mac_setup_register() 414 hw->wiphy->n_cipher_suites++; in iwl_mvm_mac_setup_register() 426 hw->wiphy->n_cipher_suites++; in iwl_mvm_mac_setup_register() 430 hw->wiphy->n_cipher_suites++; in iwl_mvm_mac_setup_register() 463 hw->wiphy->features |= in iwl_mvm_mac_setup_register() 513 hw->wiphy->n_addresses = 1; in iwl_mvm_mac_setup_register() 523 hw->wiphy->n_addresses++; in iwl_mvm_mac_setup_register() 600 hw->wiphy->features |= in iwl_mvm_mac_setup_register() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 686 linuxkpi_ieee80211_get_channel(struct wiphy *wiphy, uint32_t freq) in linuxkpi_ieee80211_get_channel() argument 3166 hw_req->req.wiphy = hw->wiphy; in lkpi_ic_scan_start() 4256 struct wiphy *wiphy; in linuxkpi_ieee80211_alloc_hw() local 4288 hw->wiphy = wiphy; in linuxkpi_ieee80211_alloc_hw() 4369 linuxkpi_wiphy_to_ieee80211_hw(struct wiphy *wiphy) in linuxkpi_wiphy_to_ieee80211_hw() argument 4792 linuxkpi_regulatory_set_wiphy_regd_sync(struct wiphy *wiphy, in linuxkpi_regulatory_set_wiphy_regd_sync() argument 5176 struct wiphy * 5191 linuxkpi_wiphy_free(struct wiphy *wiphy) in linuxkpi_wiphy_free() argument 5970 struct wiphy *wiphy; member 6068 lookup.wiphy = wiphy; in linuxkpi_cfg80211_get_bss() [all …]
|
H A D | linux_80211.h | 281 struct wiphy wiphy __aligned(CACHE_LINE_SIZE); 283 #define WIPHY_TO_LWIPHY(_wiphy) container_of(_wiphy, struct lkpi_wiphy, wiphy) 284 #define LWIPHY_TO_WIPHY(_lwiphy) (&(_lwiphy)->wiphy)
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath12k_regdom_changes() 47 ath12k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) in ath12k_reg_notifier() argument 49 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath12k_reg_notifier() 55 "Regulatory Notification received for %s\n", wiphy_name(wiphy)); in ath12k_reg_notifier() 104 bands = hw->wiphy->bands; in ath12k_reg_update_chan_list() 262 wiphy_lock(ar->hw->wiphy); 263 ret = regulatory_set_wiphy_regd_sync(ar->hw->wiphy, regd_copy); 264 wiphy_unlock(ar->hw->wiphy); 733 ar->hw->wiphy->regulatory_flags = REGULATORY_WIPHY_SELF_MANAGED; 734 ar->hw->wiphy->reg_notifier = ath12k_reg_notifier;
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | init.c | 417 mt7603_regd_notifier(struct wiphy *wiphy, in mt7603_regd_notifier() argument 420 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7603_regd_notifier() 489 struct wiphy *wiphy = hw->wiphy; in mt7603_register_device() local 527 wiphy->iface_combinations = if_comb; in mt7603_register_device() 528 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); in mt7603_register_device() 540 wiphy->reg_notifier = mt7603_regd_notifier; in mt7603_register_device()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath11k_regdom_changes() 47 ath11k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) in ath11k_reg_notifier() argument 49 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath11k_reg_notifier() 56 "Regulatory Notification received for %s\n", wiphy_name(wiphy)); in ath11k_reg_notifier() 145 bands = hw->wiphy->bands; in ath11k_reg_update_chan_list() 303 ret = regulatory_set_wiphy_regd(ar->hw->wiphy, regd_copy); in ath11k_regd_update() 781 ar->hw->wiphy->regulatory_flags = REGULATORY_WIPHY_SELF_MANAGED; in ath11k_reg_init() 782 ar->hw->wiphy->reg_notifier = ath11k_reg_notifier; in ath11k_reg_init()
|
H A D | thermal.c | 183 ret = sysfs_create_link(&ar->hw->wiphy->dev.kobj, &cdev->device.kobj, in ath11k_thermal_register() 193 hwmon_dev = devm_hwmon_device_register_with_groups(&ar->hw->wiphy->dev, in ath11k_thermal_register() 223 sysfs_remove_link(&ar->hw->wiphy->dev.kobj, "cooling_device"); in ath11k_thermal_unregister()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | mac.c | 2220 cfg80211_put_bss(ar->hw->wiphy, bss); in ath10k_peer_assoc_h_crypto() 2262 sband = ar->hw->wiphy->bands[band]; in ath10k_peer_assoc_h_rates() 3382 bands = hw->wiphy->bands; in ath10k_update_channel_list() 3539 static void ath10k_reg_notifier(struct wiphy *wiphy, in ath10k_reg_notifier() argument 10072 ar->hw->wiphy->interface_modes = 10081 ar->hw->wiphy->interface_modes |= 10150 ar->hw->wiphy->probe_resp_offload |= 10189 wiphy_ext_feature_set(ar->hw->wiphy, 10195 wiphy_ext_feature_set(ar->hw->wiphy, 10200 wiphy_ext_feature_set(ar->hw->wiphy, [all …]
|