| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rsi/ |
| H 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, 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/staging/wfx/ |
| H A D | main.c | 64 .band = NL80211_BAND_2GHZ, \ 296 hw->wiphy->bands[NL80211_BAND_2GHZ] = devm_kmalloc(dev, sizeof(wfx_band_2ghz), GFP_KERNEL); in wfx_init_common() 298 memcpy(hw->wiphy->bands[NL80211_BAND_2GHZ], &wfx_band_2ghz, in wfx_init_common() 397 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[11].flags |= IEEE80211_CHAN_NO_IR; in wfx_probe() 398 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[12].flags |= IEEE80211_CHAN_NO_IR; in wfx_probe() 399 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[13].flags |= IEEE80211_CHAN_DISABLED; in wfx_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt76x2/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00dev.c | 971 entry->band = channel <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; in rt2x00lib_channel() 1050 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes() 1051 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes() 1052 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes() 1053 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes() 1054 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1055 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes() 1056 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes() 1091 if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) { in rt2x00lib_remove_hw() 1092 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/ |
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-eeprom-parse.c | 393 NL80211_BAND_5GHZ : NL80211_BAND_2GHZ; in iwl_eeprom_enh_txp_read_element() 606 channel->band = (band == 1) ? NL80211_BAND_2GHZ in iwl_init_channel_map() 684 ieeeband = (band == 6) ? NL80211_BAND_2GHZ in iwl_init_channel_map() 819 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 820 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 824 NL80211_BAND_2GHZ); in iwl_init_sbands() 825 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
|
| H A D | iwl-nvm-parse.c | 352 if (band == NL80211_BAND_2GHZ && (nvm_flags & NVM_CHANNEL_40MHZ)) { in iwl_get_channel_flags() 394 return NL80211_BAND_2GHZ; in iwl_nl80211_band_from_channel_idx() 781 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 782 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 786 NL80211_BAND_2GHZ); in iwl_init_sbands() 787 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands() 1301 band == NL80211_BAND_2GHZ) in iwl_parse_nvm_mcc_info()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H 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()
|
| H A 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() 2620 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ && in b43_nphy_gain_ctl_workarounds_rev1_2() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/ |
| H 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()
|
| H A D | scan.c | 210 (band == NL80211_BAND_2GHZ) && in wlcore_scan_get_channels() 261 NL80211_BAND_2GHZ, in wlcore_set_scan_chan_params() 272 NL80211_BAND_2GHZ, in wlcore_set_scan_chan_params()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | scan.c | 301 (priv->scan_band == NL80211_BAND_2GHZ) ? "2.4" : "5.2", in iwl_rx_scan_complete_notif() 422 u16 passive = (band == NL80211_BAND_2GHZ) ? in iwl_get_passive_dwell_time() 738 case NL80211_BAND_2GHZ: in iwlagn_request_scan() 797 if (band == NL80211_BAND_2GHZ && in iwlagn_request_scan() 915 if (!priv->scan_tx_ant[NL80211_BAND_2GHZ]) in iwl_init_scan_params() 916 priv->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfp.c | 323 sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_cfp() 405 sband = wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211() 408 rate_mask = request->rates[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | coex.c | 167 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type() 345 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator() 684 if (band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed() 705 if (info->band != NL80211_BAND_2GHZ) in iwl_mvm_bt_coex_tx_prio()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | linux_80211.h | 22 #define INDEX_80211_BAND_2GHZ NL80211_BAND_2GHZ
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/carl9170/ |
| H 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() 515 case NL80211_BAND_2GHZ: in carl9170_set_mac_tpc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/cfg/ |
| H A D | 7000.c | 147 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), 269 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
|