/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | common-init.c | 22 .band = NL80211_BAND_2GHZ, \ 142 common->sbands[NL80211_BAND_2GHZ].channels = channels; in ath9k_cmn_init_channels_rates() 143 common->sbands[NL80211_BAND_2GHZ].band = NL80211_BAND_2GHZ; in ath9k_cmn_init_channels_rates() 144 common->sbands[NL80211_BAND_2GHZ].n_channels = in ath9k_cmn_init_channels_rates() 146 common->sbands[NL80211_BAND_2GHZ].bitrates = ath9k_legacy_rates; in ath9k_cmn_init_channels_rates() 147 common->sbands[NL80211_BAND_2GHZ].n_bitrates = in ath9k_cmn_init_channels_rates() 239 &common->sbands[NL80211_BAND_2GHZ].ht_cap); in ath9k_cmn_reload_chainmask()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | eeprom.c | 177 if (chan->band == NL80211_BAND_2GHZ) in mt7663_eeprom_get_target_power_index() 204 if (chan->band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_target_power_index() 211 if (chan->band == NL80211_BAND_2GHZ) { in mt7615_eeprom_get_target_power_index() 242 if (band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_power_delta_index() 248 if (band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_power_delta_index()
|
/linux-6.3-rc2/drivers/net/wireless/rsi/ |
A D | rsi_91x_mac80211.c | 25 { .band = NL80211_BAND_2GHZ, .center_freq = 2412, 27 { .band = NL80211_BAND_2GHZ, .center_freq = 2417, 29 { .band = NL80211_BAND_2GHZ, .center_freq = 2422, 31 { .band = NL80211_BAND_2GHZ, .center_freq = 2427, 33 { .band = NL80211_BAND_2GHZ, .center_freq = 2432, 35 { .band = NL80211_BAND_2GHZ, .center_freq = 2437, 37 { .band = NL80211_BAND_2GHZ, .center_freq = 2442, 198 if (band == NL80211_BAND_2GHZ) { in rsi_register_rates_channels() 203 sbands->band = NL80211_BAND_2GHZ; in rsi_register_rates_channels() 2058 wiphy->bands[NL80211_BAND_2GHZ] = in rsi_mac80211_attach() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/ |
A D | main.c | 65 .band = NL80211_BAND_2GHZ, \ 296 hw->wiphy->bands[NL80211_BAND_2GHZ] = devm_kmalloc(dev, sizeof(wfx_band_2ghz), GFP_KERNEL); in wfx_init_common() 297 if (!hw->wiphy->bands[NL80211_BAND_2GHZ]) in wfx_init_common() 301 memcpy(hw->wiphy->bands[NL80211_BAND_2GHZ], &wfx_band_2ghz, sizeof(wfx_band_2ghz)); in wfx_init_common() 398 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[11].flags |= in wfx_probe() 400 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[12].flags |= in wfx_probe() 402 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[13].flags |= in wfx_probe()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | phy.c | 51 if (band == NL80211_BAND_2GHZ) { in mt76x2_phy_set_txpower_regs() 94 if (band == NL80211_BAND_2GHZ) in mt76x2_phy_set_txpower_regs() 103 if (band == NL80211_BAND_2GHZ) { in mt76x2_phy_set_txpower_regs() 259 dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ && in mt76x2_phy_set_gain_val() 318 if (dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ) in mt76x2_phy_update_channel_gain()
|
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00dev.c | 1045 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes() 1046 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes() 1047 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes() 1048 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes() 1049 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1050 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes() 1051 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes() 1086 if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) { in rt2x00lib_remove_hw() 1087 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw() 1088 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->bitrates); in rt2x00lib_remove_hw() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A D | cfg.c | 63 NL80211_BAND_2GHZ); in orinoco_wiphy_register() 70 wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; in orinoco_wiphy_register() 178 if (chandef->chan->band != NL80211_BAND_2GHZ) in orinoco_set_monitor_channel()
|
A D | scan.c | 114 le16_to_cpu(bss->a.channel), NL80211_BAND_2GHZ); in orinoco_add_hostscan_result() 151 freq = ieee80211_channel_to_frequency(chan, NL80211_BAND_2GHZ); in orinoco_add_extscan_result()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-eeprom-parse.c | 339 NL80211_BAND_5GHZ : NL80211_BAND_2GHZ; in iwl_eeprom_enh_txp_read_element() 552 channel->band = (band == 1) ? NL80211_BAND_2GHZ in iwl_init_channel_map() 630 ieeeband = (band == 6) ? NL80211_BAND_2GHZ in iwl_init_channel_map() 766 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 767 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 771 NL80211_BAND_2GHZ); in iwl_init_sbands() 772 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
|
A D | iwl-nvm-parse.c | 300 if (band == NL80211_BAND_2GHZ && (nvm_flags & NVM_CHANNEL_40MHZ)) { in iwl_get_channel_flags() 346 return NL80211_BAND_2GHZ; in iwl_nl80211_band_from_channel_idx() 863 if (sband->band != NL80211_BAND_2GHZ) in iwl_nvm_fixup_sband_iftd() 871 case NL80211_BAND_2GHZ: in iwl_nvm_fixup_sband_iftd() 1004 case NL80211_BAND_2GHZ: in iwl_init_he_hw_capab() 1042 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 1043 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 1047 NL80211_BAND_2GHZ); in iwl_init_sbands() 1048 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands() 1646 band == NL80211_BAND_2GHZ) in iwl_parse_nvm_mcc_info()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/ |
A D | attach.c | 163 NL80211_BAND_2GHZ); in ath5k_hw_init() 170 NL80211_BAND_2GHZ); in ath5k_hw_init() 207 NL80211_BAND_2GHZ); in ath5k_hw_init()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_eeprom.c | 123 if (band == NL80211_BAND_2GHZ) in mt76x02_get_rx_gain() 143 if (chan->band == NL80211_BAND_2GHZ) in mt76x02_get_lna_gain()
|
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/ |
A D | ps.c | 45 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode() 56 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode()
|
A D | scan.c | 208 (band == NL80211_BAND_2GHZ) && in wlcore_scan_get_channels() 259 NL80211_BAND_2GHZ, in wlcore_set_scan_chan_params() 270 NL80211_BAND_2GHZ, in wlcore_set_scan_chan_params()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A D | phy_lcn.c | 111 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_radio_2064_init() 538 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_phy_lcn_tx_pwr_ctl_init() 723 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_phy_lcn_op_init() 782 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_phy_lcn_op_switch_channel() 794 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_phy_lcn_op_get_default_chan()
|
A D | phy_n.c | 591 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_nphy_adjust_lna_gain_table() 766 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_radio_2057_setup() 1146 b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_radio_2056_setup() 1159 b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_radio_2056_setup() 2280 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_nphy_rev3_rssi_cal() 2675 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_nphy_gain_ctl_workarounds_rev1_2() 3227 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_nphy_workarounds_rev3plus() 5365 b43_current_band(dev->wl) == NL80211_BAND_2GHZ); in b43_nphy_cal_tx_iq_lo() 5861 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_nphy_op_recalc_txpower() 6109 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_phy_initn() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ti/wl12xx/ |
A D | scan.c | 133 if (band == NL80211_BAND_2GHZ) in wl1271_scan_send() 215 band = NL80211_BAND_2GHZ; in wl1271_scan_stm() 232 band = NL80211_BAND_2GHZ; in wl1271_scan_stm() 367 u8 band = NL80211_BAND_2GHZ; in wl1271_scan_sched_scan_config()
|
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A D | cfp.c | 311 sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_cfp() 393 sband = wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211() 396 rate_mask = request->rates[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | scan.c | 297 (priv->scan_band == NL80211_BAND_2GHZ) ? "2.4" : "5.2", in iwl_rx_scan_complete_notif() 418 u16 passive = (band == NL80211_BAND_2GHZ) ? in iwl_get_passive_dwell_time() 740 case NL80211_BAND_2GHZ: in iwlagn_request_scan() 799 if (band == NL80211_BAND_2GHZ && in iwlagn_request_scan() 917 if (!priv->scan_tx_ant[NL80211_BAND_2GHZ]) in iwl_init_scan_params() 918 priv->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | coex.c | 112 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type() 290 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator() 629 if (band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed() 650 if (info->band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_tx_prio()
|
/linux-6.3-rc2/drivers/net/wireless/ath/carl9170/ |
A D | mac.c | 51 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) in carl9170_set_dyn_sifs_ack() 69 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { in carl9170_set_rts_cts_rate() 511 case NL80211_BAND_2GHZ: in carl9170_set_mac_tpc()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/cfg/ |
A D | 7000.c | 89 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), 210 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | binding.h | 65 band == NL80211_BAND_2GHZ) in iwl_mvm_get_lmac_id()
|
/linux-6.3-rc2/drivers/net/wireless/marvell/ |
A D | mwl8k.c | 1027 status->band = NL80211_BAND_2GHZ; in mwl8k_rxd_ap_process() 1136 status->band = NL80211_BAND_2GHZ; in mwl8k_rxd_sta_process() 2321 priv->band_24.band = NL80211_BAND_2GHZ; in mwl8k_setup_2ghz_band() 2327 hw->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band_24; in mwl8k_setup_2ghz_band() 2897 if (channel->band == NL80211_BAND_2GHZ) in mwl8k_cmd_tx_power() 3170 if (channel->band == NL80211_BAND_2GHZ) in mwl8k_cmd_set_rf_channel() 4115 if (hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) in mwl8k_cmd_set_new_stn_add() 4116 rates = sta->deflink.supp_rates[NL80211_BAND_2GHZ]; in mwl8k_cmd_set_new_stn_add() 4553 rates = sta->deflink.supp_rates[NL80211_BAND_2GHZ]; in mwl8k_cmd_update_stadb_add() 5065 NL80211_BAND_2GHZ) in mwl8k_bss_info_changed_sta() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/p54/ |
A D | eeprom.c | 91 return NL80211_BAND_2GHZ; in p54_get_band_from_freq() 129 case NL80211_BAND_2GHZ: in p54_fill_band_bitrates() 207 (band == NL80211_BAND_2GHZ) ? 2 : 5); in p54_generate_band() 575 case NL80211_BAND_2GHZ: in p54_parse_rssical() 904 dev->wiphy->bands[NL80211_BAND_2GHZ] = in p54_parse_eeprom() 905 priv->band_table[NL80211_BAND_2GHZ]; in p54_parse_eeprom()
|