/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
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.12.1/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | eeprom.c | 182 if (chan->band == NL80211_BAND_2GHZ) in mt7663_eeprom_get_target_power_index() 209 if (chan->band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_target_power_index() 216 if (chan->band == NL80211_BAND_2GHZ) { in mt7615_eeprom_get_target_power_index() 247 if (band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_power_delta_index() 253 if (band == NL80211_BAND_2GHZ) in mt7615_eeprom_get_power_delta_index()
|
/linux-6.12.1/drivers/net/wireless/rsi/ |
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, 39 { .band = NL80211_BAND_2GHZ, .center_freq = 2447, 41 { .band = NL80211_BAND_2GHZ, .center_freq = 2452, 43 { .band = NL80211_BAND_2GHZ, .center_freq = 2457, [all …]
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x2/ |
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()
|
D | eeprom.h | 56 if (dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ) in mt76x2_has_ext_lna()
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
D | main.c | 65 .band = NL80211_BAND_2GHZ, \ 301 hw->wiphy->bands[NL80211_BAND_2GHZ] = devm_kmemdup(dev, &wfx_band_2ghz, in wfx_init_common() 303 if (!hw->wiphy->bands[NL80211_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.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 971 entry->band = channel <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; in rt2x00lib_channel() 1046 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes() 1047 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes() 1048 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes() 1049 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes() 1050 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1051 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes() 1052 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes() 1087 if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) { in rt2x00lib_remove_hw() 1088 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw() [all …]
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_eeprom.c | 123 if (band == NL80211_BAND_2GHZ) in mt76x02_get_rx_gain() 136 if (chan->band == NL80211_BAND_2GHZ) in mt76x02_get_lna_gain()
|
/linux-6.12.1/drivers/net/wireless/ath/ath5k/ |
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.12.1/drivers/net/wireless/ti/wlcore/ |
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()
|
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.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | eeprom.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() 1040 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 1041 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 1045 NL80211_BAND_2GHZ); in iwl_init_sbands() 1046 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
|
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.12.1/drivers/net/wireless/broadcom/b43/ |
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()
|
D | phy_n.c | 97 return ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || in b43_nphy_ipa() 591 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_nphy_adjust_lna_gain_table() 727 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_radio_2057_setup() 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() 1173 if (dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) { in b43_radio_2056_setup() 2248 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { in b43_nphy_rev3_rssi_cal() 2280 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_nphy_rev3_rssi_cal() 2616 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ && in b43_nphy_gain_ctl_workarounds_rev1_2() [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl12xx/ |
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.12.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.c | 337 if (band == NL80211_BAND_2GHZ && (nvm_flags & NVM_CHANNEL_40MHZ)) { in iwl_get_channel_flags() 391 return NL80211_BAND_2GHZ; in iwl_nl80211_band_from_channel_idx() 929 else if (sband->band != NL80211_BAND_2GHZ) in iwl_nvm_fixup_sband_iftd() 937 case NL80211_BAND_2GHZ: in iwl_nvm_fixup_sband_iftd() 1117 case NL80211_BAND_2GHZ: in iwl_init_he_hw_capab() 1148 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_reinit_cab() 1149 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_reinit_cab() 1187 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 1188 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 1192 NL80211_BAND_2GHZ); in iwl_init_sbands() [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
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.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | coex.c | 112 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type() 375 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_per_link() 550 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) in iwl_mvm_bt_coex_notif_iterator() 792 if (band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed() 813 if (info->band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_tx_prio()
|
/linux-6.12.1/drivers/net/wireless/ath/carl9170/ |
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.12.1/drivers/net/wireless/intel/iwlwifi/cfg/ |
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.12.1/net/wireless/tests/ |
D | util.c | 32 wiphy->bands[NL80211_BAND_2GHZ] = &priv->band_2ghz; in t_wiphy_init()
|
D | util.h | 11 .band = NL80211_BAND_2GHZ, \
|
/linux-6.12.1/drivers/net/wireless/marvell/ |
D | mwl8k.c | 349 { .band = NL80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, }, 350 { .band = NL80211_BAND_2GHZ, .center_freq = 2417, .hw_value = 2, }, 351 { .band = NL80211_BAND_2GHZ, .center_freq = 2422, .hw_value = 3, }, 352 { .band = NL80211_BAND_2GHZ, .center_freq = 2427, .hw_value = 4, }, 353 { .band = NL80211_BAND_2GHZ, .center_freq = 2432, .hw_value = 5, }, 354 { .band = NL80211_BAND_2GHZ, .center_freq = 2437, .hw_value = 6, }, 355 { .band = NL80211_BAND_2GHZ, .center_freq = 2442, .hw_value = 7, }, 356 { .band = NL80211_BAND_2GHZ, .center_freq = 2447, .hw_value = 8, }, 357 { .band = NL80211_BAND_2GHZ, .center_freq = 2452, .hw_value = 9, }, 358 { .band = NL80211_BAND_2GHZ, .center_freq = 2457, .hw_value = 10, }, [all …]
|
/linux-6.12.1/drivers/net/wireless/intersil/p54/ |
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()
|