Home
last modified time | relevance | path

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

12

/freebsd-13-stable/sys/compat/linuxkpi/common/include/net/
HDcfg80211.h385 struct wiphy *wiphy; member
1089 int (*doit)(struct wiphy *, struct wireless_dev *, const void *, int);
1138 struct wiphy { struct
1158 void(*reg_notifier)(struct wiphy *, struct regulatory_request *); argument
1193 struct wiphy *wiphy; argument
1198 …struct wireless_dev *(*add_virtual_intf)(struct wiphy *, const char *, unsigned char, enum nl80211…
1199 int (*del_virtual_intf)(struct wiphy *, struct wireless_dev *);
1200 …s32 (*change_virtual_intf)(struct wiphy *, struct net_device *, enum nl80211_iftype, struct vif_p…
1201 s32 (*scan)(struct wiphy *, struct cfg80211_scan_request *);
1202 s32 (*set_wiphy_params)(struct wiphy *, u32);
[all …]
HDmac80211.h454 struct wiphy *wiphy; member
1066 struct ieee80211_hw * linuxkpi_wiphy_to_ieee80211_hw(struct wiphy *);
1163 if (hw->wiphy != NULL) in ieee80211_free_hw()
1164 wiphy_free(hw->wiphy); in ieee80211_free_hw()
1181 set_wiphy_dev(hw->wiphy, dev); in SET_IEEE80211_DEV()
1192 error = wiphy_register(hw->wiphy); in ieee80211_register_hw()
1217 wiphy_to_ieee80211_hw(struct wiphy *wiphy) in wiphy_to_ieee80211_hw() argument
1220 return (linuxkpi_wiphy_to_ieee80211_hw(wiphy)); in wiphy_to_ieee80211_hw()
2042 wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool state) in wiphy_rfkill_set_hw_state() argument
2453 ether_addr_copy(hw->wiphy->perm_addr, addr); in SET_IEEE80211_PERM_ADDR()
/freebsd-13-stable/sys/contrib/dev/rtw88/
HDregd.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 …]
HDmain.c1672 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband; in rtw_set_supported_band()
1683 hw->wiphy->bands[NL80211_BAND_5GHZ] = sband; in rtw_set_supported_band()
1695 kfree(hw->wiphy->bands[NL80211_BAND_2GHZ]); in rtw_unset_supported_band()
1696 kfree(hw->wiphy->bands[NL80211_BAND_5GHZ]); in rtw_unset_supported_band()
2258 hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in rtw_register_hw()
2262 hw->wiphy->available_antennas_tx = hal->antenna_tx; in rtw_register_hw()
2263 hw->wiphy->available_antennas_rx = hal->antenna_rx; in rtw_register_hw()
2265 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS | in rtw_register_hw()
2268 hw->wiphy->features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; in rtw_register_hw()
2269 hw->wiphy->max_scan_ssids = RTW_SCAN_MAX_SSIDS; in rtw_register_hw()
[all …]
HDbf.c64 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc()
HDtx.c378 if (info->control.use_rts || skb->len > hw->wiphy->rts_threshold) in rtw_tx_data_pkt_info_update()
HDdebug.c1255 rtwdev->hw->wiphy->debugfsdir); in rtw_debugfs_init()
/freebsd-13-stable/sys/contrib/dev/rtw89/
HDregd.c286 void (*reg_notifier)(struct wiphy *wiphy, in rtw89_regd_init() argument
290 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw89_regd_init() local
293 if (!wiphy) in rtw89_regd_init()
305 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE; in rtw89_regd_init()
306 wiphy->regulatory_flags |= REGULATORY_STRICT_REG; in rtw89_regd_init()
308 ret = regulatory_hint(rtwdev->hw->wiphy, rtwdev->regd->alpha2); in rtw89_regd_init()
322 struct wiphy *wiphy, in rtw89_regd_notifier_apply() argument
332 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE; in rtw89_regd_notifier_apply()
334 wiphy->regulatory_flags &= ~REGULATORY_COUNTRY_IE_IGNORE; in rtw89_regd_notifier_apply()
337 void rtw89_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request) in rtw89_regd_notifier() argument
[all …]
HDcore.c2792 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband_2ghz; in rtw89_core_set_supported_band()
2802 hw->wiphy->bands[NL80211_BAND_5GHZ] = sband_5ghz; in rtw89_core_set_supported_band()
2810 hw->wiphy->bands[NL80211_BAND_6GHZ] = sband_6ghz; in rtw89_core_set_supported_band()
2816 hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL; in rtw89_core_set_supported_band()
2817 hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL; in rtw89_core_set_supported_band()
2818 hw->wiphy->bands[NL80211_BAND_6GHZ] = NULL; in rtw89_core_set_supported_band()
2835 kfree(hw->wiphy->bands[NL80211_BAND_2GHZ]->iftype_data); in rtw89_core_clr_supported_band()
2836 kfree(hw->wiphy->bands[NL80211_BAND_5GHZ]->iftype_data); in rtw89_core_clr_supported_band()
2837 if (hw->wiphy->bands[NL80211_BAND_6GHZ]) in rtw89_core_clr_supported_band()
2838 kfree(hw->wiphy->bands[NL80211_BAND_6GHZ]->iftype_data); in rtw89_core_clr_supported_band()
[all …]
HDcore.h4175 void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request));
4176 void rtw89_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request);
HDmac80211.c677 if (rx_ant != hw->wiphy->available_antennas_rx) in rtw89_ops_set_antenna()
/freebsd-13-stable/sys/contrib/dev/iwlwifi/mvm/
HDmac80211.c111 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy, in iwl_mvm_get_regdomain() argument
117 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in iwl_mvm_get_regdomain()
182 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); in iwl_mvm_update_changed_regdom()
191 return iwl_mvm_get_regdomain(mvm->hw->wiphy, "ZZ", in iwl_mvm_get_current_regdomain()
204 wiphy_dereference(mvm->hw->wiphy, mvm->hw->wiphy->regd); in iwl_mvm_init_fw_regd()
219 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src, in iwl_mvm_init_fw_regd()
226 ret = regulatory_set_wiphy_regd_sync(mvm->hw->wiphy, regd); in iwl_mvm_init_fw_regd()
328 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_MLO; in iwl_mvm_mac_setup_register()
339 if (!(hw->wiphy->flags & WIPHY_FLAG_SUPPORTS_MLO)) in iwl_mvm_mac_setup_register()
405 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mvm_ciphers); in iwl_mvm_mac_setup_register()
[all …]
HDops.c205 sband = mvm->hw->wiphy->bands[NL80211_BAND_2GHZ]; in iwl_mvm_rx_monitor_notif()
780 wiphy_lock(mvm->hw->wiphy); in iwl_mvm_start_get_nvm()
786 wiphy_unlock(mvm->hw->wiphy); in iwl_mvm_start_get_nvm()
795 mvm->hw->wiphy->regulatory_flags |= REGULATORY_WIPHY_SELF_MANAGED; in iwl_mvm_start_get_nvm()
803 wiphy_unlock(mvm->hw->wiphy); in iwl_mvm_start_get_nvm()
827 wiphy_rfkill_set_hw_state_reason(mvm->hw->wiphy, in iwl_mvm_start_post_nvm()
1049 wiphy_rfkill_set_hw_state_reason(mvm->hw->wiphy, in iwl_mvm_mei_rfkill()
1111 cfg80211_shutdown_all_interfaces(mvm->hw->wiphy); in iwl_mvm_mei_nic_stolen()
1319 snprintf(mvm->hw->wiphy->fw_version, in iwl_op_mode_mvm_start()
1320 sizeof(mvm->hw->wiphy->fw_version), in iwl_op_mode_mvm_start()
[all …]
HDnvm.c589 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, in iwl_mvm_init_mcc()
595 retval = regulatory_set_wiphy_regd_sync(mvm->hw->wiphy, regd); in iwl_mvm_init_mcc()
628 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, src, NULL); in iwl_mvm_rx_chub_update_mcc()
641 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); in iwl_mvm_rx_chub_update_mcc()
HDled.c74 wiphy_name(mvm->hw->wiphy)); in iwl_mvm_leds_init()
HDphy-ctxt.c358 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_phy_ctxt_unref()
HDmac-ctxt.c330 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_ack_rates()
919 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_mac_ctxt_get_lowest_rate()
966 mvm->hw->wiphy->bands[info->band]; in iwl_mvm_mac_ctxt_get_beacon_rate()
HDd3.c3225 wiphy_lock(mvm->hw->wiphy); in iwl_mvm_d3_test_open()
3226 err = __iwl_mvm_suspend(mvm->hw, mvm->hw->wiphy->wowlan_config, true); in iwl_mvm_d3_test_open()
3227 wiphy_unlock(mvm->hw->wiphy); in iwl_mvm_d3_test_open()
3283 wiphy_lock(mvm->hw->wiphy); in iwl_mvm_d3_test_release()
3285 wiphy_unlock(mvm->hw->wiphy); in iwl_mvm_d3_test_release()
HDmvm.h2268 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy,
2586 mvm->hw_registered ? rfkill_soft_blocked(mvm->hw->wiphy->rfkill) : false; in iwl_mvm_mei_set_sw_rfkill_state()
HDfw.c476 cfg80211_bss_flush(mvm->hw->wiphy); in iwl_mvm_load_ucode_wait_alive()
1626 sband = mvm->hw->wiphy->bands[i++]; in iwl_mvm_up()
HDrs-fw.c590 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in iwl_mvm_rs_fw_rate_init()
HDdebugfs.c2295 debugfs_create_symlink("iwlwifi", mvm->hw->wiphy->debugfsdir, in iwl_mvm_dbgfs_register()
/freebsd-13-stable/sys/compat/linuxkpi/common/src/
HDlinux_80211.c337 supband = hw->wiphy->bands[band]; in lkpi_lsta_alloc()
644 if (hw->wiphy->bands[band] == NULL) in lkpi_find_lkpi80211_chan()
647 nchans = hw->wiphy->bands[band]->n_channels; in lkpi_find_lkpi80211_chan()
651 channels = hw->wiphy->bands[band]->channels; in lkpi_find_lkpi80211_chan()
688 linuxkpi_ieee80211_get_channel(struct wiphy *wiphy, uint32_t freq) in linuxkpi_ieee80211_get_channel() argument
697 supband = wiphy->bands[band]; in linuxkpi_ieee80211_get_channel()
2961 hw->wiphy->frag_threshold = vap->iv_fragthreshold; in lkpi_ic_vap_create()
2963 hw->wiphy->rts_threshold = vap->iv_rtsthreshold; in lkpi_ic_vap_create()
2975 wiphy_unregister(hw->wiphy); in linuxkpi_ieee80211_unregister_hw()
3136 supband = hw->wiphy->bands[band]; in lkpi_scan_ies_add()
[all …]
HDlinux_80211.h282 struct wiphy wiphy __aligned(CACHE_LINE_SIZE);
284 #define WIPHY_TO_LWIPHY(_wiphy) container_of(_wiphy, struct lkpi_wiphy, wiphy)
285 #define LWIPHY_TO_WIPHY(_lwiphy) (&(_lwiphy)->wiphy)
/freebsd-13-stable/contrib/wpa/src/drivers/
HDdriver_nl80211_event.c3309 u32 vendor_id, subcmd, wiphy = 0; in nl80211_vendor_event() local
3322 wiphy = nla_get_u32(tb[NL80211_ATTR_WIPHY]); in nl80211_vendor_event()
3325 wiphy, vendor_id, subcmd); in nl80211_vendor_event()
3334 if (wiphy_idx >= 0 && wiphy_idx != (int) wiphy) { in nl80211_vendor_event()
3336 wiphy, wiphy_idx); in nl80211_vendor_event()

12