/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 115 const struct ieee80211_regdomain *rd, const uint8_t bands[]) in ieee80211_init_channels() argument 125 if (isset(bands, IEEE80211_MODE_11B) || in ieee80211_init_channels() 126 isset(bands, IEEE80211_MODE_11G) || in ieee80211_init_channels() 127 isset(bands, IEEE80211_MODE_11NG)) { in ieee80211_init_channels() 133 nchans, def_chan_2ghz, nchan, bands, cbw_flags); in ieee80211_init_channels() 137 if (isset(bands, IEEE80211_MODE_11A) || in ieee80211_init_channels() 138 isset(bands, IEEE80211_MODE_11NA)) { in ieee80211_init_channels() 141 bands, cbw_flags); in ieee80211_init_channels() 144 bands, cbw_flags); in ieee80211_init_channels() 147 bands, cbw_flags); in ieee80211_init_channels() [all …]
|
H A D | ieee80211.c | 1371 getflags_2ghz(const uint8_t bands[], uint32_t flags[], int cbw_flags) in getflags_2ghz() argument 1376 if (isset(bands, IEEE80211_MODE_11B)) in getflags_2ghz() 1378 if (isset(bands, IEEE80211_MODE_11G)) in getflags_2ghz() 1380 if (isset(bands, IEEE80211_MODE_11NG)) in getflags_2ghz() 1390 getflags_5ghz(const uint8_t bands[], uint32_t flags[], int cbw_flags) in getflags_5ghz() argument 1404 if (isset(bands, IEEE80211_MODE_11A)) in getflags_5ghz() 1406 if (isset(bands, IEEE80211_MODE_11NA)) in getflags_5ghz() 1408 if (isset(bands, IEEE80211_MODE_VHT_5GHZ)) { in getflags_5ghz() 1417 isset(bands, IEEE80211_MODE_VHT_5GHZ)) in getflags_5ghz() 1423 isset(bands, IEEE80211_MODE_VHT_5GHZ)) in getflags_5ghz() [all …]
|
H A D | ieee80211_regdomain.h | 284 const struct ieee80211_regdomain *, const uint8_t bands[]);
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | acpi.c | 664 u8 bands; in iwl_sar_get_wrds_table() 670 .bands = ACPI_GEO_NUM_BANDS_REV2, in iwl_sar_get_wrds_table() 676 .bands = ACPI_GEO_NUM_BANDS_REV2, in iwl_sar_get_wrds_table() 681 .bands = ACPI_GEO_NUM_BANDS_REV0, in iwl_sar_get_wrds_table() 701 rev_data[idx].bands; in iwl_sar_get_ewrd_table() 718 num_bands = rev_data[idx].bands; in iwl_sar_get_ewrd_table() 770 fwrt->geo_profiles[i].bands[j].max = in iwl_sar_get_ewrd_table() 771 fwrt->geo_profiles[i].bands[1].max; in iwl_sar_get_ewrd_table() 781 fwrt->geo_profiles[i].bands[j].max = in iwl_sar_get_ewrd_table() 788 fwrt->geo_profiles[i].bands[ in iwl_sar_get_ewrd_table() 801 u8 bands; iwl_sar_get_wgds_table() member [all...] |
H A D | acpi.h | 124 struct iwl_geo_profile_band bands[ACPI_GEO_NUM_BANDS_REV2]; global() member
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 95 struct ieee80211_supported_band **bands; in ath12k_reg_update_chan_list() local 104 bands = hw->wiphy->bands; in ath12k_reg_update_chan_list() 106 if (!bands[band]) in ath12k_reg_update_chan_list() 109 for (i = 0; i < bands[band]->n_channels; i++) { in ath12k_reg_update_chan_list() 110 if (bands[band]->channels[i].flags & in ath12k_reg_update_chan_list() 132 if (!bands[band]) in ath12k_reg_update_chan_list() 135 for (i = 0; i < bands[band]->n_channels; i++) { in ath12k_reg_update_chan_list() 136 channel = &bands[band]->channels[i]; in ath12k_reg_update_chan_list()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 108 struct ieee80211_supported_band **bands; in ath11k_reg_update_chan_list() local 145 bands = hw->wiphy->bands; in ath11k_reg_update_chan_list() 147 if (!bands[band]) in ath11k_reg_update_chan_list() 150 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list() 151 if (bands[band]->channels[i].flags & in ath11k_reg_update_chan_list() 173 if (!bands[band]) in ath11k_reg_update_chan_list() 176 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list() 177 channel = &bands[band]->channels[i]; in ath11k_reg_update_chan_list()
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 349 if (!wiphy->bands[band]) in ath_reg_apply_beaconing_flags() 351 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags() 382 sband = wiphy->bands[NL80211_BAND_2GHZ]; in ath_reg_apply_ir_flags() 411 if (!wiphy->bands[NL80211_BAND_5GHZ]) in ath_reg_apply_radar_flags() 414 sband = wiphy->bands[NL80211_BAND_5GHZ]; in ath_reg_apply_radar_flags()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 416 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) in wps_process_rf_bands() argument 418 if (bands == NULL) { in wps_process_rf_bands() 423 dev->rf_bands = *bands; in wps_process_rf_bands()
|
H A D | wps_dev_attr.h | 33 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands);
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | rfi.h | 17 * @bands: the corresponding bands 22 u8 bands[IWL_RFI_LUT_ENTRY_CHANNELS_NUM]; member
|
/freebsd/contrib/wpa/src/fst/ |
H A D | fst_group.c | 111 unsigned bands[MB_BAND_ID_WIFI_60GHZ + 1] = {}; in fst_fill_iface_mb_ies() local 120 if (b >= ARRAY_SIZE(bands) || bands[b]++) in fst_fill_iface_mb_ies()
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn.c | 1526 uint8_t bands[IEEE80211_MODE_BYTES]; in rtwn_getradiocaps() local 1532 memset(bands, 0, sizeof(bands)); in rtwn_getradiocaps() 1533 setbit(bands, IEEE80211_MODE_11B); in rtwn_getradiocaps() 1534 setbit(bands, IEEE80211_MODE_11G); in rtwn_getradiocaps() 1535 setbit(bands, IEEE80211_MODE_11NG); in rtwn_getradiocaps() 1537 bands, cbw_flags); in rtwn_getradiocaps() 1540 setbit(bands, IEEE80211_MODE_11A); in rtwn_getradiocaps() 1541 setbit(bands, IEEE80211_MODE_11NA); in rtwn_getradiocaps() 1547 sc->chan_list_5ghz[i], sc->chan_num_5ghz[i], bands, in rtwn_getradiocaps()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 336 supband = hw->wiphy->bands[band]; in lkpi_lsta_alloc() 643 if (hw->wiphy->bands[band] == NULL) in lkpi_find_lkpi80211_chan() 646 nchans = hw->wiphy->bands[band]->n_channels; in lkpi_find_lkpi80211_chan() 650 channels = hw->wiphy->bands[band]->channels; in lkpi_find_lkpi80211_chan() 696 supband = wiphy->bands[band]; in linuxkpi_ieee80211_get_channel() 3146 supband = hw->wiphy->bands[band]; in lkpi_scan_ies_add() 4395 uint8_t *bands, int *chan_flags, enum nl80211_band band) in lkpi_ic_getradiocaps_ht() argument 4400 ht_cap = &hw->wiphy->bands[band]->ht_cap; in lkpi_ic_getradiocaps_ht() 4406 setbit(bands, IEEE80211_MODE_11NG); in lkpi_ic_getradiocaps_ht() 4409 setbit(bands, IEEE80211_MODE_11NA); in lkpi_ic_getradiocaps_ht() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-eeprom-parse.h |
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 3584 iwi_collect_bands(struct ieee80211com *ic, uint8_t bands[], size_t bands_sz) in iwi_collect_bands() argument 3589 memset(bands, 0, bands_sz); in iwi_collect_bands() 3590 setbit(bands, IEEE80211_MODE_11B); in iwi_collect_bands() 3591 setbit(bands, IEEE80211_MODE_11G); in iwi_collect_bands() 3593 setbit(bands, IEEE80211_MODE_11A); in iwi_collect_bands() 3600 uint8_t bands[IEEE80211_MODE_BYTES]; in iwi_getradiocaps() local 3602 iwi_collect_bands(ic, bands, sizeof(bands)); in iwi_getradiocaps() 3604 if (isset(bands, IEEE80211_MODE_11B) || isset(bands, IEEE80211_MODE_11G)) in iwi_getradiocaps() 3606 bands, 0); in iwi_getradiocaps() 3607 if (isset(bands, IEEE80211_MODE_11A)) { in iwi_getradiocaps() [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | core.c | 4011 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband_2ghz; in rtw89_alloc_ieee80211_hw() 4021 hw->wiphy->bands[NL80211_BAND_5GHZ] = sband_5ghz; in rtw89_alloc_ieee80211_hw() 4029 hw->wiphy->bands[NL80211_BAND_6GHZ] = sband_6ghz; 4035 hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL; in rtw89_free_ieee80211_hw() 4036 hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL; 4037 hw->wiphy->bands[NL80211_BAND_6GHZ] = NULL; 4054 if (hw->wiphy->bands[NL80211_BAND_2GHZ]) 4055 kfree((__force void *)hw->wiphy->bands[NL80211_BAND_2GHZ]->iftype_data); 4056 if (hw->wiphy->bands[NL80211_BAND_5GHZ]) 4057 kfree((__force void *)hw->wiphy->bands[NL80211_BAND_5GH [all...] |
H A D | regd.c | 354 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw89_regd_setup_6ghz() 562 sband = wiphy->bands[NL80211_BAND_6GHZ]; 566 wiphy->bands[NL80211_BAND_6GHZ] = NULL; 635 sband = wiphy->bands[NL80211_BAND_5GHZ]; 671 sband = wiphy->bands[NL80211_BAND_6GHZ];
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_ural.c | 1574 uint8_t bands[IEEE80211_MODE_BYTES]; in ural_getradiocaps() local 1576 memset(bands, 0, sizeof(bands)); in ural_getradiocaps() 1577 setbit(bands, IEEE80211_MODE_11B); in ural_getradiocaps() 1578 setbit(bands, IEEE80211_MODE_11G); in ural_getradiocaps() 1579 ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, bands, 0); in ural_getradiocaps() 1582 setbit(bands, IEEE80211_MODE_11A); in ural_getradiocaps() 1584 ural_chan_5ghz, nitems(ural_chan_5ghz), bands, 0); in ural_getradiocaps()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | fw.c | 839 mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; in iwl_mvm_sar_select_profile() 840 mvm->nvm_data->bands[0].n_channels = 1; in iwl_mvm_sar_select_profile() 841 mvm->nvm_data->bands[0].n_bitrates = 1; in iwl_mvm_sar_select_profile() 842 mvm->nvm_data->bands[0].bitrates = in iwl_mvm_sar_select_profile() 844 mvm->nvm_data->bands[0].bitrates->hw_value = 10; in iwl_mvm_sar_select_profile() 1500 sband = mvm->hw->wiphy->bands[i++]; in iwl_mvm_up()
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 779 uint8_t bands[IEEE80211_MODE_BYTES]; in otus_getradiocaps() local 782 memset(bands, 0, sizeof(bands)); in otus_getradiocaps() 784 setbit(bands, IEEE80211_MODE_11B); in otus_getradiocaps() 785 setbit(bands, IEEE80211_MODE_11G); in otus_getradiocaps() 786 setbit(bands, IEEE80211_MODE_11NG); in otus_getradiocaps() 788 ar_chans, 14, bands, 0); in otus_getradiocaps() 791 setbit(bands, IEEE80211_MODE_11A); in otus_getradiocaps() 792 setbit(bands, IEEE80211_MODE_11NA); in otus_getradiocaps() 794 &ar_chans[14], nitems(ar_chans) - 14, bands, 0); in otus_getradiocaps()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 4388 const MWL_HAL_CHANNELINFO *ci, const uint8_t bands[]) in addchannels() argument 4397 hc->ieee, hc->freq, hc->maxTxPow, 0, bands); in addchannels() 4406 uint8_t bands[IEEE80211_MODE_BYTES]; in getchannels() local 4417 memset(bands, 0, sizeof(bands)); in getchannels() 4418 setbit(bands, IEEE80211_MODE_11B); in getchannels() 4419 setbit(bands, IEEE80211_MODE_11G); in getchannels() 4420 setbit(bands, IEEE80211_MODE_11NG); in getchannels() 4421 addchannels(chans, maxchans, nchans, ci, bands); in getchannels() 4425 memset(bands, 0, sizeof(bands)); in getchannels() 4426 setbit(bands, IEEE80211_MODE_11A); in getchannels() [all …]
|
/freebsd/sys/dev/malo/ |
H A D | if_malo.c | 170 uint8_t bands[IEEE80211_MODE_BYTES]; in malo_attach() local 219 memset(bands, 0, sizeof(bands)); in malo_attach() 220 setbit(bands, IEEE80211_MODE_11B); in malo_attach() 221 setbit(bands, IEEE80211_MODE_11G); in malo_attach() 222 ieee80211_init_channels(ic, NULL, bands); in malo_attach()
|
/freebsd/sys/dev/ral/ |
H A D | rt2661.c | 2748 uint8_t bands[IEEE80211_MODE_BYTES]; in rt2661_getradiocaps() local 2750 memset(bands, 0, sizeof(bands)); in rt2661_getradiocaps() 2751 setbit(bands, IEEE80211_MODE_11B); in rt2661_getradiocaps() 2752 setbit(bands, IEEE80211_MODE_11G); in rt2661_getradiocaps() 2753 ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, bands, 0); in rt2661_getradiocaps() 2756 setbit(bands, IEEE80211_MODE_11A); in rt2661_getradiocaps() 2758 rt2661_chan_5ghz, nitems(rt2661_chan_5ghz), bands, 0); in rt2661_getradiocaps()
|
H A D | rt2560.c | 2126 uint8_t bands[IEEE80211_MODE_BYTES]; in rt2560_getradiocaps() local 2128 memset(bands, 0, sizeof(bands)); in rt2560_getradiocaps() 2129 setbit(bands, IEEE80211_MODE_11B); in rt2560_getradiocaps() 2130 setbit(bands, IEEE80211_MODE_11G); in rt2560_getradiocaps() 2131 ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, bands, 0); in rt2560_getradiocaps() 2134 setbit(bands, IEEE80211_MODE_11A); in rt2560_getradiocaps() 2136 rt2560_chan_5ghz, nitems(rt2560_chan_5ghz), bands, 0); in rt2560_getradiocaps()
|