Home
last modified time | relevance | path

Searched refs:IEEE80211_BAND_2GHZ (Results 1 – 157 of 157) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-init.c22 .band = IEEE80211_BAND_2GHZ, \
142 common->sbands[IEEE80211_BAND_2GHZ].channels = channels; in ath9k_cmn_init_channels_rates()
143 common->sbands[IEEE80211_BAND_2GHZ].band = IEEE80211_BAND_2GHZ; in ath9k_cmn_init_channels_rates()
144 common->sbands[IEEE80211_BAND_2GHZ].n_channels = in ath9k_cmn_init_channels_rates()
146 common->sbands[IEEE80211_BAND_2GHZ].bitrates = ath9k_legacy_rates; in ath9k_cmn_init_channels_rates()
147 common->sbands[IEEE80211_BAND_2GHZ].n_bitrates = in ath9k_cmn_init_channels_rates()
239 &common->sbands[IEEE80211_BAND_2GHZ].ht_cap); in ath9k_cmn_reload_chainmask()
Ddebug_sta.c142 if (ah->curchan->chan->band == IEEE80211_BAND_2GHZ) in ath_debug_rate_stats()
209 if (band == IEEE80211_BAND_2GHZ) { in read_file_node_recv()
Dinit.c716 ath9k_init_band_txpower(sc, IEEE80211_BAND_2GHZ); in ath9k_init_txpower_limits()
904 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
905 &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_set_hw_capab()
Ddynack.c215 if (info->band == IEEE80211_BAND_2GHZ && in ath_dynack_sample_tx_ts()
Dcalib.c155 case IEEE80211_BAND_2GHZ: in ath9k_hw_get_nf_thresh()
Dhtc_drv_init.c768 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
769 &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_set_hw_capab()
Dhtc_drv_main.c1772 tmask.band = IEEE80211_BAND_2GHZ; in ath9k_htc_set_bitrate_mask()
1773 tmask.mask = cpu_to_be32(mask->control[IEEE80211_BAND_2GHZ].legacy); in ath9k_htc_set_bitrate_mask()
1795 mask->control[IEEE80211_BAND_2GHZ].legacy, in ath9k_htc_set_bitrate_mask()
Dchannel.c110 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath_chanctx_init()
1318 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_offchannel_init()
Dxmit.c1115 is_2ghz = info->band == IEEE80211_BAND_2GHZ; in ath_get_rate_txpower()
1239 if ((tx_info->band == IEEE80211_BAND_2GHZ) && in ath_buf_set_rate()
Dmain.c1932 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath9k_get_survey()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c23 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2412,
25 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2417,
27 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2422,
29 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2427,
31 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2432,
33 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2437,
35 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2442,
37 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2447,
39 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2452,
41 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2457,
[all …]
Drsi_91x_pkt.c185 if (common->band == IEEE80211_BAND_2GHZ) in rsi_send_mgmt_pkt()
Drsi_91x_mgmt.c213 common->band = IEEE80211_BAND_2GHZ; in rsi_set_default_parameters()
875 if (common->band == IEEE80211_BAND_2GHZ) { in rsi_band_check()
1050 if (band == IEEE80211_BAND_2GHZ) { in rsi_send_auto_rate_request()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00dev.c914 entry->band = channel <= 14 ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in rt2x00lib_channel()
978 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes()
979 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
980 rt2x00dev->bands[IEEE80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes()
981 rt2x00dev->bands[IEEE80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
982 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes()
983 &rt2x00dev->bands[IEEE80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes()
984 memcpy(&rt2x00dev->bands[IEEE80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes()
1019 if (likely(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ])) { in rt2x00lib_remove_hw()
1020 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw()
[all …]
Drt73usb.c202 (enabled && led->rt2x00dev->curr_band == IEEE80211_BAND_2GHZ); in rt73usb_brightness_set()
719 (rt2x00dev->curr_band == IEEE80211_BAND_2GHZ)); in rt73usb_config_ant()
737 if (libconf->conf->chandef.chan->band == IEEE80211_BAND_2GHZ) { in rt73usb_config_lna_gain()
Drt61pci.c257 (enabled && led->rt2x00dev->curr_band == IEEE80211_BAND_2GHZ); in rt61pci_brightness_set()
823 rt2x00dev->curr_band == IEEE80211_BAND_2GHZ); in rt61pci_config_ant()
847 if (libconf->conf->chandef.chan->band == IEEE80211_BAND_2GHZ) { in rt61pci_config_lna_gain()
Drt2800lib.c780 if (rt2x00dev->curr_band == IEEE80211_BAND_2GHZ) { in rt2800_agc_to_rssi()
1177 (enabled && led->rt2x00dev->curr_band == IEEE80211_BAND_2GHZ); in rt2800_brightness_set()
3453 if (rt2x00dev->curr_band == IEEE80211_BAND_2GHZ) { in rt2800_get_gain_calibration_delta()
3564 if (band == IEEE80211_BAND_2GHZ) { in rt2800_get_txpower_bw_comp()
3641 if (band == IEEE80211_BAND_2GHZ) in rt2800_compensate_txpower()
4438 if (rt2x00dev->curr_band == IEEE80211_BAND_2GHZ) { in rt2800_get_default_vgc()
4513 if (rt2x00dev->curr_band == IEEE80211_BAND_2GHZ) in rt2800_link_tuner()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dcfg.c63 IEEE80211_BAND_2GHZ); in orinoco_wiphy_register()
70 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in orinoco_wiphy_register()
178 if (chandef->chan->band != IEEE80211_BAND_2GHZ) in orinoco_set_monitor_channel()
Dscan.c114 le16_to_cpu(bss->a.channel), IEEE80211_BAND_2GHZ); in orinoco_add_hostscan_result()
151 freq = ieee80211_channel_to_frequency(chan, IEEE80211_BAND_2GHZ); in orinoco_add_extscan_result()
Dhw.c1196 freq = ieee80211_channel_to_frequency(channel, IEEE80211_BAND_2GHZ); in orinoco_hw_get_freq()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c396 IEEE80211_BAND_5GHZ : IEEE80211_BAND_2GHZ; in iwl_eeprom_enh_txp_read_element()
609 channel->band = (band == 1) ? IEEE80211_BAND_2GHZ in iwl_init_channel_map()
687 ieeeband = (band == 6) ? IEEE80211_BAND_2GHZ in iwl_init_channel_map()
816 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands()
817 sband->band = IEEE80211_BAND_2GHZ; in iwl_init_sbands()
821 IEEE80211_BAND_2GHZ); in iwl_init_sbands()
822 iwl_init_ht_hw_capab(cfg, data, &sband->ht_cap, IEEE80211_BAND_2GHZ, in iwl_init_sbands()
Diwl-nvm-parse.c307 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in iwl_init_channel_map()
424 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands()
425 sband->band = IEEE80211_BAND_2GHZ; in iwl_init_sbands()
429 IEEE80211_BAND_2GHZ); in iwl_init_sbands()
430 iwl_init_ht_hw_capab(cfg, data, &sband->ht_cap, IEEE80211_BAND_2GHZ, in iwl_init_sbands()
772 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in iwl_parse_nvm_mcc_info()
Diwl-7000.c155 .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ),
284 .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ),
Diwl-1000.c71 .ht40_bands = BIT(IEEE80211_BAND_2GHZ),
Diwl-5000.c69 .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ),
Diwl-8000.c123 .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ),
Diwl-2000.c98 .ht40_bands = BIT(IEEE80211_BAND_2GHZ),
Diwl-6000.c120 .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ),
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dattach.c163 IEEE80211_BAND_2GHZ); in ath5k_hw_init()
170 IEEE80211_BAND_2GHZ); in ath5k_hw_init()
207 IEEE80211_BAND_2GHZ); in ath5k_hw_init()
Dphy.c94 case IEEE80211_BAND_2GHZ: in ath5k_hw_radio_revision()
141 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_channel_ok()
789 index = (band == IEEE80211_BAND_2GHZ) ? 1 : 0; in ath5k_hw_rfgain_init()
920 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_rfregs_init()
1148 channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_rfregs_init()
1273 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_rf5111_channel()
1922 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_set_spur_mitigation_filter()
Dbase.c279 if (band == IEEE80211_BAND_2GHZ && chan <= 14) in ath5k_is_standard_channel()
311 band = IEEE80211_BAND_2GHZ; in ath5k_setup_channels()
370 sband = &ah->sbands[IEEE80211_BAND_2GHZ]; in ath5k_setup_bands()
371 sband->band = IEEE80211_BAND_2GHZ; in ath5k_setup_bands()
372 sband->bitrates = &ah->rates[IEEE80211_BAND_2GHZ][0]; in ath5k_setup_bands()
384 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
410 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
Dqcu.c602 band = IEEE80211_BAND_2GHZ; in ath5k_hw_set_ifs_intervals()
Dani.c282 } else if (ah->ah_current_channel->band == IEEE80211_BAND_2GHZ) { in ath5k_ani_raise_immunity()
Dpcu.c282 u8 band = IEEE80211_BAND_2GHZ; in ath5k_hw_write_rate_duration()
Dreset.c755 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_nic_wakeup()
Ddebug.c1050 case IEEE80211_BAND_2GHZ: in ath5k_debug_dump_bands()
/linux-4.4.14/drivers/net/wireless/b43/
Dphy_lcn.c111 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_radio_2064_init()
538 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_phy_lcn_tx_pwr_ctl_init()
723 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_phy_lcn_op_init()
782 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_phy_lcn_op_switch_channel()
794 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_phy_lcn_op_get_default_chan()
Dphy_n.c109 return ((dev->phy.n->ipa2g_on && band == IEEE80211_BAND_2GHZ) || in b43_nphy_ipa()
603 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_nphy_adjust_lna_gain_table()
739 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_radio_2057_setup()
778 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_radio_2057_setup()
1158 b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_radio_2056_setup()
1171 b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_radio_2056_setup()
1185 if (dev->phy.n->ipa2g_on && band == IEEE80211_BAND_2GHZ) { in b43_radio_2056_setup()
2260 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_nphy_rev3_rssi_cal()
2292 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_nphy_rev3_rssi_cal()
2632 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ && in b43_nphy_gain_ctl_workarounds_rev1_2()
[all …]
Dphy_ac.c64 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_phy_ac_op_get_default_chan()
Dphy_ht.c646 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_phy_ht_tx_power_ctl_setup()
808 if (new_channel->band == IEEE80211_BAND_2GHZ) in b43_phy_ht_channel_setup()
1008 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_phy_ht_op_init()
1080 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_phy_ht_op_switch_channel()
1092 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_phy_ht_op_get_default_chan()
Dtables_nphy.c3654 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_nphy_get_ipa_gain_table()
3708 if ((dev->phy.n->ipa2g_on && band == IEEE80211_BAND_2GHZ) || in b43_nphy_get_tx_gain_table()
3749 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_ntab_get_rf_pwr_offset_table()
Dphy_lp.c49 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in b43_lpphy_op_get_default_chan()
94 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_read_band_sprom()
177 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_adjust_gain_table()
329 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_baseband_rev0_1_init()
469 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_baseband_rev2plus_init()
550 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_2062_init()
749 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_clear_deaf()
810 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_disable_rx_gain_override()
826 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_enable_rx_gain_override()
954 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in lpphy_rev2plus_set_rx_gain()
[all …]
Dtables_phy_lcn.c704 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b43_phy_lcn_tables_init()
Dxmit.c814 status.band = IEEE80211_BAND_2GHZ; in b43_rx()
831 status.band = IEEE80211_BAND_2GHZ; in b43_rx()
Dtables_lpphy.c563 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b2062_upload_init_table()
582 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) { in b2063_upload_init_table()
2426 else if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_init_tx_gain_table()
2438 else if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_init_tx_gain_table()
2449 else if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) in lpphy_init_tx_gain_table()
Dmain.c190 .band = IEEE80211_BAND_2GHZ, \
350 .band = IEEE80211_BAND_2GHZ,
358 .band = IEEE80211_BAND_2GHZ,
3888 case IEEE80211_BAND_2GHZ: in band_to_string()
3909 case IEEE80211_BAND_2GHZ: in b43_switch_band()
5299 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = limited_2g ? in b43_setup_bands()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dscan.c147 if (band == IEEE80211_BAND_2GHZ) in wl1271_scan_send()
229 band = IEEE80211_BAND_2GHZ; in wl1271_scan_stm()
246 band = IEEE80211_BAND_2GHZ; in wl1271_scan_stm()
381 u8 band = IEEE80211_BAND_2GHZ; in wl1271_scan_sched_scan_config()
Dmain.c471 [IEEE80211_BAND_2GHZ] = wl12xx_rate_to_idx_2ghz,
1828 wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, &wl12xx_ht_cap); in wl12xx_setup()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfp.c325 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_cfp()
407 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
410 rate_mask = request->rates[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
Dcfg80211.c1595 if (band == IEEE80211_BAND_2GHZ) in mwifiex_cfg80211_set_bitrate_mask()
1599 if (band == IEEE80211_BAND_2GHZ) in mwifiex_cfg80211_set_bitrate_mask()
2255 if (params->chandef.chan->band == IEEE80211_BAND_2GHZ) { in mwifiex_set_ibss_params()
2721 mwifiex_setup_ht_caps(&wiphy->bands[IEEE80211_BAND_2GHZ]->ht_cap, priv); in mwifiex_add_virtual_intf()
2724 &wiphy->bands[IEEE80211_BAND_2GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
3787 wiphy->bands[IEEE80211_BAND_2GHZ] = &mwifiex_band_2ghz; in mwifiex_register_cfg80211()
Duap_cmd.c819 if (chandef.chan->band == IEEE80211_BAND_2GHZ) { in mwifiex_uap_set_channel()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dscan.c315 (priv->scan_band == IEEE80211_BAND_2GHZ) ? "2.4" : "5.2", in iwl_rx_scan_complete_notif()
436 u16 passive = (band == IEEE80211_BAND_2GHZ) ? in iwl_get_passive_dwell_time()
753 case IEEE80211_BAND_2GHZ: in iwlagn_request_scan()
812 if (band == IEEE80211_BAND_2GHZ && in iwlagn_request_scan()
930 if (!priv->scan_tx_ant[IEEE80211_BAND_2GHZ]) in iwl_init_scan_params()
931 priv->scan_tx_ant[IEEE80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
Ddevices.c423 cmd.band = priv->band == IEEE80211_BAND_2GHZ; in iwl5000_hw_channel_switch()
591 cmd->band = priv->band == IEEE80211_BAND_2GHZ; in iwl6000_hw_channel_switch()
Dmac80211.c202 if (priv->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) in iwlagn_mac_setup_register()
203 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in iwlagn_mac_setup_register()
204 &priv->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwlagn_mac_setup_register()
Drx.c914 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in iwlagn_rx_reply_rx()
Dlib.c881 if (priv->band == IEEE80211_BAND_2GHZ && in iwl_toggle_tx_ant()
Dtx.c84 else if (info->band == IEEE80211_BAND_2GHZ && in iwlagn_tx_cmd_build_basic()
Dmain.c1032 priv->band = IEEE80211_BAND_2GHZ; in iwl_init_drv()
Drs.c955 if (priv->band == IEEE80211_BAND_2GHZ) in rs_tx_status()
Ddebugfs.c336 supp_band = iwl_get_hw_mode(priv, IEEE80211_BAND_2GHZ); in iwl_dbgfs_channels_read()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dmac.c51 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) in carl9170_set_dyn_sifs_ack()
69 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) { in carl9170_set_rts_cts_rate()
515 case IEEE80211_BAND_2GHZ: in carl9170_set_mac_tpc()
Dphy.c547 bool is_2ghz = band == IEEE80211_BAND_2GHZ; in carl9170_init_phy()
1128 case IEEE80211_BAND_2GHZ: in carl9170_set_freq_cal_data()
1161 case IEEE80211_BAND_2GHZ: in carl9170_set_freq_cal_data()
1343 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) { in carl9170_calc_ctl()
Dtx.c723 if (info->band == IEEE80211_BAND_2GHZ) in carl9170_tx_rate_tpc_chains()
728 if (info->band == IEEE80211_BAND_2GHZ) in carl9170_tx_rate_tpc_chains()
737 if (info->band == IEEE80211_BAND_2GHZ) { in carl9170_tx_rate_tpc_chains()
800 if (info->band == IEEE80211_BAND_2GHZ) { in carl9170_tx_physet()
Drx.c420 if (status->band == IEEE80211_BAND_2GHZ) in carl9170_rx_mac_status()
Dmain.c1942 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in carl9170_parse_eeprom()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dscan.c218 (band == IEEE80211_BAND_2GHZ) && in wlcore_scan_get_channels()
269 IEEE80211_BAND_2GHZ, in wlcore_set_scan_chan_params()
280 IEEE80211_BAND_2GHZ, in wlcore_set_scan_chan_params()
Dps.c205 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode()
216 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode()
Dcmd.c696 case IEEE80211_BAND_2GHZ: in wl12xx_cmd_role_start_ap()
1167 if (band == IEEE80211_BAND_2GHZ) in wl12xx_cmd_build_probe_req()
1198 if (wlvif->band == IEEE80211_BAND_2GHZ) in wl1271_cmd_build_ap_probe_req()
1638 case IEEE80211_BAND_2GHZ: in wlcore_get_reg_conf_ch_idx()
1702 for (b = IEEE80211_BAND_2GHZ; b <= IEEE80211_BAND_5GHZ; b++) { in wlcore_cmd_regdomain_config_locked()
1873 case IEEE80211_BAND_2GHZ: in wl12xx_cmd_roc()
Drx.c67 status->band = IEEE80211_BAND_2GHZ; in wl1271_rx_status()
Dmain.c2007 wl->band = IEEE80211_BAND_2GHZ; in wlcore_op_stop_locked()
2317 wlvif->bitrate_masks[IEEE80211_BAND_2GHZ] = wl->conf.tx.basic_rate; in wl12xx_init_vif_data()
6171 memcpy(&wl->bands[IEEE80211_BAND_2GHZ], &wl1271_band_2ghz, in wl1271_init_ieee80211()
6173 memcpy(&wl->bands[IEEE80211_BAND_2GHZ].ht_cap, in wl1271_init_ieee80211()
6174 &wl->ht_cap[IEEE80211_BAND_2GHZ], in wl1271_init_ieee80211()
6182 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in wl1271_init_ieee80211()
6183 &wl->bands[IEEE80211_BAND_2GHZ]; in wl1271_init_ieee80211()
6280 wl->band = IEEE80211_BAND_2GHZ; in wlcore_alloc_hw()
/linux-4.4.14/drivers/net/wireless/p54/
Deeprom.c94 return IEEE80211_BAND_2GHZ; in p54_get_band_from_freq()
132 case IEEE80211_BAND_2GHZ: in p54_fill_band_bitrates()
209 (band == IEEE80211_BAND_2GHZ) ? 2 : 5); in p54_generate_band()
576 case IEEE80211_BAND_2GHZ: in p54_parse_rssical()
905 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = in p54_parse_eeprom()
906 priv->band_table[IEEE80211_BAND_2GHZ]; in p54_parse_eeprom()
/linux-4.4.14/drivers/net/wireless/
Dmwl8k.c349 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, },
350 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2417, .hw_value = 2, },
351 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2422, .hw_value = 3, },
352 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2427, .hw_value = 4, },
353 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2432, .hw_value = 5, },
354 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2437, .hw_value = 6, },
355 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2442, .hw_value = 7, },
356 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2447, .hw_value = 8, },
357 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2452, .hw_value = 9, },
358 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2457, .hw_value = 10, },
[all …]
Dat76c50x-usb.c1550 return ieee80211_channel_to_frequency(channel, IEEE80211_BAND_2GHZ); in at76_guess_freq()
1593 rx_status.band = IEEE80211_BAND_2GHZ; in at76_rx_tasklet()
2362 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &at76_supported_band; in at76_init_new_device()
Dadm8211.c443 rx_status.band = IEEE80211_BAND_2GHZ; in adm8211_interrupt_rci()
1897 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in adm8211_probe()
Dmac80211_hwsim.c258 .band = IEEE80211_BAND_2GHZ, \
2426 for (band = IEEE80211_BAND_2GHZ; band < IEEE80211_NUM_BANDS; band++) { in mac80211_hwsim_new_radio()
2429 case IEEE80211_BAND_2GHZ: in mac80211_hwsim_new_radio()
Drndis_wlan.c1294 ieee80211_channel_to_frequency(channel, IEEE80211_BAND_2GHZ); in set_channel()
3479 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rndis_wlan_bind()
Dwl3501_cs.c1457 ieee80211_channel_to_frequency(this->chan, IEEE80211_BAND_2GHZ); in wl3501_get_freq()
Dairo.c5851 ieee80211_channel_to_frequency(ch, IEEE80211_BAND_2GHZ); in airo_get_freq()
6909 ieee80211_channel_to_frequency(i + 1, IEEE80211_BAND_2GHZ); in airo_get_range()
7317 ieee80211_channel_to_frequency(iwe.u.freq.m, IEEE80211_BAND_2GHZ); in airo_translate_scan()
Datmel.c2437 ieee80211_channel_to_frequency(i, IEEE80211_BAND_2GHZ); in atmel_get_range()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dscan.c168 if (band == IEEE80211_BAND_2GHZ) in iwl_mvm_scan_rxon_flags()
185 if (band == IEEE80211_BAND_2GHZ && !no_cck) in iwl_mvm_scan_rate_n_flags()
576 IEEE80211_BAND_2GHZ, in iwl_mvm_scan_fill_tx_cmd()
680 ies->ies[IEEE80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
681 ies->len[IEEE80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
889 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_scan_config_rates()
907 mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels + in iwl_mvm_config_scan()
949 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_config_scan()
Dcoex.c381 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_get_coex_type()
546 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
897 if (band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed()
908 if (info->band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_tx_prio()
Dcoex_legacy.c579 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_get_coex_type()
870 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
1103 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_mvm_bt_rssi_iterator()
1235 if (band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed_old()
Dphy-ctxt.c150 cmd->ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ? in iwl_mvm_phy_ctxt_cmd_data()
Drx.c319 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in iwl_mvm_rx_rx_mpdu()
Dtdls.c447 cmd.ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ? in iwl_mvm_tdls_config_channel_switch()
Dmac80211.c547 if (mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) in iwl_mvm_mac_setup_register()
548 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in iwl_mvm_mac_setup_register()
549 &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_mac_setup_register()
3114 .channel_info.band = (channel->band == IEEE80211_BAND_2GHZ) ? in iwl_mvm_send_aux_roc_cmd()
Dtx.c255 if (info->band == IEEE80211_BAND_2GHZ && in iwl_mvm_set_tx_cmd_rate()
Dfw.c1044 chan = &mvm->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels[0]; in iwl_mvm_up()
Dmac-ctxt.c705 : IEEE80211_BAND_2GHZ, in iwl_mvm_mac_ctxt_cmd_common()
Ddebugfs-vif.c726 IEEE80211_BAND_2GHZ : in iwl_dbgfs_tof_responder_params_write()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dregd.c213 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags()
215 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags()
Dbase.c134 .band = IEEE80211_BAND_2GHZ,
331 sband = &(rtlmac->bands[IEEE80211_BAND_2GHZ]); in _rtl_init_mac80211()
335 memcpy(&(rtlmac->bands[IEEE80211_BAND_2GHZ]), &rtl_band_2ghz, in _rtl_init_mac80211()
342 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in _rtl_init_mac80211()
362 sband = &(rtlmac->bands[IEEE80211_BAND_2GHZ]); in _rtl_init_mac80211()
366 memcpy(&(rtlmac->bands[IEEE80211_BAND_2GHZ]), in _rtl_init_mac80211()
374 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in _rtl_init_mac80211()
961 if (IEEE80211_BAND_2GHZ == hw->conf.chandef.chan->band) { in rtlwifi_rate_mapping()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dscan.c113 u8 band = IEEE80211_BAND_2GHZ; in wl18xx_scan_send()
256 u8 band = IEEE80211_BAND_2GHZ; in wl18xx_scan_sched_scan_config()
Devent.c73 band = IEEE80211_BAND_2GHZ; in wlcore_smart_config_sync_event()
Dmain.c140 [IEEE80211_BAND_2GHZ] = wl18xx_rate_to_idx_2ghz,
1298 wlvif->band == IEEE80211_BAND_2GHZ) { in wl18xx_ap_get_mimo_wide_rate_mask()
1986 wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, in wl18xx_setup()
1989 wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, in wl18xx_setup()
1996 wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, in wl18xx_setup()
2001 wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, in wl18xx_setup()
Dcmd.c51 case IEEE80211_BAND_2GHZ: in wl18xx_cmd_channel_switch()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c42 .band = IEEE80211_BAND_2GHZ, \
151 if (band == IEEE80211_BAND_2GHZ) { in rtw_spt_band_alloc()
179 if (band == IEEE80211_BAND_2GHZ) { in rtw_spt_band_alloc()
260 IEEE80211_BAND_2GHZ); in rtw_cfg80211_inform_bss()
325 IEEE80211_BAND_2GHZ); in rtw_cfg80211_indicate_connect()
2368 IEEE80211_BAND_2GHZ); in rtw_cfg80211_indicate_sta_assoc()
2400 IEEE80211_BAND_2GHZ); in rtw_cfg80211_indicate_sta_disassoc()
3188 bands = wiphy->bands[IEEE80211_BAND_2GHZ]; in rtw_cfg80211_init_wiphy()
3191 IEEE80211_BAND_2GHZ, in rtw_cfg80211_init_wiphy()
3239 wiphy->bands[IEEE80211_BAND_2GHZ] = in rtw_cfg80211_preinit_wiphy()
[all …]
/linux-4.4.14/drivers/staging/vt6656/
Dchannel.c174 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
/linux-4.4.14/drivers/staging/wlan-ng/
Dcfg80211.c416 IEEE80211_BAND_2GHZ); in prism2_scan()
758 priv->band.band = IEEE80211_BAND_2GHZ; in wlan_create_wiphy()
760 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in wlan_create_wiphy()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Drx.c56 status->band = IEEE80211_BAND_2GHZ; in wl1251_rx_status()
Dmain.c1485 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz; in wl1251_init_ieee80211()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c136 .band = IEEE80211_BAND_2GHZ, \
173 .band = IEEE80211_BAND_2GHZ,
285 case IEEE80211_BAND_2GHZ: in chandef_to_chanspec()
2626 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_inform_single_bss()
2735 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in wl_inform_ibss()
4901 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_bss_roaming_done()
5397 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_construct_chaninfo()
5412 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_construct_chaninfo()
5529 band = cfg_to_wiphy(cfg)->bands[IEEE80211_BAND_2GHZ]; in brcmf_enable_bw40_2g()
5561 bw_cap[IEEE80211_BAND_2GHZ] = band; in brcmf_get_bwcap()
[all …]
Dp2p.c1434 IEEE80211_BAND_2GHZ : in brcmf_p2p_notify_action_frame_rx()
1899 IEEE80211_BAND_2GHZ : in brcmf_p2p_notify_rx_mgmt_p2p_probereq()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dmain.c105 .band = IEEE80211_BAND_2GHZ, \
314 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &cw1200_band_2ghz; in cw1200_init_common()
Dtxrx.c1082 IEEE80211_BAND_5GHZ : IEEE80211_BAND_2GHZ; in cw1200_rx_cb()
Dwsm.c852 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in wsm_startup_indication()
/linux-4.4.14/drivers/net/wireless/ath/
Dregd.c377 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in ath_reg_apply_ir_flags()
797 case IEEE80211_BAND_2GHZ: in ath_regd_get_band_ctl()
/linux-4.4.14/net/mac80211/
Ddebugfs_netdev.c172 IEEE80211_IF_FILE(rc_rateidx_mask_2ghz, rc_rateidx_mask[IEEE80211_BAND_2GHZ],
177 rc_rateidx_mcs_mask[IEEE80211_BAND_2GHZ], HEXARRAY);
186 const u16 *mask = sdata->rc_rateidx_vht_mcs_mask[IEEE80211_BAND_2GHZ]; in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
Dtdls.c186 if (ieee80211_get_sdata_band(sdata) == IEEE80211_BAND_2GHZ) { in ieee80211_get_tdls_sta_capab()
612 if (band != IEEE80211_BAND_2GHZ && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies()
1783 band = target_channel < 14 ? IEEE80211_BAND_2GHZ : in ieee80211_process_tdls_channel_switch_req()
Drc80211_minstrel.c624 sband = mp->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in minstrel_init_cck_rates()
Drate.c290 if ((sband->band == IEEE80211_BAND_2GHZ) && in __rate_control_send_low()
Dibss.c129 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_ibss_build_presp()
355 if (chan->band == IEEE80211_BAND_2GHZ && have_higher_than_11mbit) in __ieee80211_sta_join_ibss()
Dmesh_plink.c107 } else if (band != IEEE80211_BAND_2GHZ) in mesh_set_short_slot_time()
Drc80211_minstrel_ht.c1076 if (sband->band != IEEE80211_BAND_2GHZ) in minstrel_ht_update_cck()
Dutil.c1129 chanctx_conf->def.chan->band == IEEE80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1375 if (chandef->chan && sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_build_preq_ies_band()
Dieee80211_i.h962 enum ieee80211_band band = IEEE80211_BAND_2GHZ; in ieee80211_get_sdata_band()
Dmlme.c696 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_send_assoc()
1292 case IEEE80211_BAND_2GHZ: in ieee80211_find_80211h_pwr_constr()
4391 if (cbss->channel->band == IEEE80211_BAND_2GHZ && in ieee80211_prep_connection()
Dtrace.h1253 __entry->legacy_2g = mask->control[IEEE80211_BAND_2GHZ].legacy;
Dtx.c153 case IEEE80211_BAND_2GHZ: { in ieee80211_duration()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dinit.c472 .band = IEEE80211_BAND_2GHZ, \
566 dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = dev->sband_2g; in mt76_init_sband_2g()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c91 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2412,
93 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2417,
95 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2422,
97 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2427,
99 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2432,
101 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2437,
103 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2442,
105 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2447,
107 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2452,
109 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2457,
[all …]
/linux-4.4.14/drivers/staging/vt6655/
Dchannel.c162 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dmain.c29 .band = IEEE80211_BAND_2GHZ, \
532 if (band == IEEE80211_BAND_2GHZ) { in wcn36xx_update_allowed_rates()
959 wcn->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wcn_band_2ghz; in wcn36xx_init_ieee80211()
Dsmd.c111 else if (sta && (sta->supp_rates[IEEE80211_BAND_2GHZ] & 0x7f)) in wcn36xx_smd_set_bss_nw_type()
/linux-4.4.14/net/wireless/
Dutil.c50 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_mandatory_rates()
75 case IEEE80211_BAND_2GHZ: in ieee80211_channel_to_frequency()
158 case IEEE80211_BAND_2GHZ: in set_mandatory_flags_band()
1348 *band = IEEE80211_BAND_2GHZ; in ieee80211_operating_class_to_band()
Dreg.c2695 if (freq == ieee80211_channel_to_frequency(12, IEEE80211_BAND_2GHZ) || in freq_is_chan_12_13_14()
2696 freq == ieee80211_channel_to_frequency(13, IEEE80211_BAND_2GHZ) || in freq_is_chan_12_13_14()
2697 freq == ieee80211_channel_to_frequency(14, IEEE80211_BAND_2GHZ)) in freq_is_chan_12_13_14()
2722 (beacon_chan->band == IEEE80211_BAND_2GHZ && in regulatory_hint_found_beacon()
Dwext-compat.c41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname()
268 enum ieee80211_band band = IEEE80211_BAND_2GHZ; in cfg80211_wext_freq()
Dcore.c655 band == IEEE80211_BAND_2GHZ && in wiphy_register()
Dnl80211.c10546 if (chandef.chan->band == IEEE80211_BAND_2GHZ && in nl80211_tdls_channel_switch()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c573 stats.band = IEEE80211_BAND_2GHZ; in lbtf_rx()
645 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in lbtf_add_card()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-rs.c110 case IEEE80211_BAND_2GHZ: in il3945_get_rate_idx_by_rssi()
938 case IEEE80211_BAND_2GHZ: in il3945_rate_scale_init()
Dcommon.c950 1) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in il_init_channel_map()
1015 (band == 6) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in il_init_channel_map()
1065 case IEEE80211_BAND_2GHZ: in il_get_channel_info()
1462 (il->scan_band == IEEE80211_BAND_2GHZ) ? "2.4" : "5.2", in il_hdl_scan_complete()
1500 IEEE80211_BAND_2GHZ) ? IL_PASSIVE_DWELL_BASE + in il_get_passive_dwell_time()
1527 if (!il->scan_tx_ant[IEEE80211_BAND_2GHZ]) in il_init_scan_params()
1528 il->scan_tx_ant[IEEE80211_BAND_2GHZ] = ant_idx; in il_init_scan_params()
3442 if (il->bands[IEEE80211_BAND_2GHZ].n_bitrates || in il_init_geos()
3473 sband = &il->bands[IEEE80211_BAND_2GHZ]; in il_init_geos()
3480 il_init_ht_hw_capab(il, &sband->ht_cap, IEEE80211_BAND_2GHZ); in il_init_geos()
[all …]
D3945-mac.c2618 case IEEE80211_BAND_2GHZ: in il3945_request_scan()
2621 band = IEEE80211_BAND_2GHZ; in il3945_request_scan()
3510 il->band = IEEE80211_BAND_2GHZ; in il3945_init_drv()
3585 if (il->bands[IEEE80211_BAND_2GHZ].n_channels) in il3945_setup_mac()
3586 il->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in il3945_setup_mac()
3587 &il->bands[IEEE80211_BAND_2GHZ]; in il3945_setup_mac()
3764 il_set_rxon_channel(il, &il->bands[IEEE80211_BAND_2GHZ].channels[5]); in il3945_pci_probe()
D3945.c264 case IEEE80211_BAND_2GHZ: in il3945_rs_next_rate()
557 phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? IEEE80211_BAND_2GHZ : in il3945_hdl_rx()
2362 case IEEE80211_BAND_2GHZ: in il3945_init_hw_rate_table()
D4965.c1270 band = il->band == IEEE80211_BAND_2GHZ; in il4965_send_tx_power()
1483 band = (il->band == IEEE80211_BAND_2GHZ); in il4965_hw_channel_switch()
D4965-mac.c691 phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? IEEE80211_BAND_2GHZ : in il4965_hdl_rx()
947 case IEEE80211_BAND_2GHZ: in il4965_request_scan()
5790 if (il->bands[IEEE80211_BAND_2GHZ].n_channels) in il4965_mac_setup_register()
5791 il->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in il4965_mac_setup_register()
5792 &il->bands[IEEE80211_BAND_2GHZ]; in il4965_mac_setup_register()
6366 il->band = IEEE80211_BAND_2GHZ; in il4965_init_drv()
Ddebug.c547 supp_band = il_get_hw_mode(il, IEEE80211_BAND_2GHZ); in il_dbgfs_channels_read()
D4965-rs.c867 if (il->band == IEEE80211_BAND_2GHZ) in il4965_rs_tx_status()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c52 .band = IEEE80211_BAND_2GHZ, \
220 .band = IEEE80211_BAND_2GHZ,
1027 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in ieee_hw_rate_init()
1039 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = band; in ieee_hw_rate_init()
Dchannel.c758 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcms_c_regd_init()
Dmain.c7079 channel > 14 ? IEEE80211_BAND_5GHZ : IEEE80211_BAND_2GHZ; in prep_mac80211_status()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c529 IEEE80211_BAND_2GHZ, skb->len, in rtl8180_tx()
1532 IEEE80211_BAND_2GHZ, 10, in rtl8180_bss_info_changed()
1798 priv->band.band = IEEE80211_BAND_2GHZ; in rtl8180_probe()
1803 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8180_probe()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c481 case IEEE80211_BAND_2GHZ: in chan_to_phymode()
2326 if (def.chan->band == IEEE80211_BAND_2GHZ) in ath10k_peer_assoc_h_vht()
2394 return sta->supp_rates[IEEE80211_BAND_2GHZ] >> in ath10k_mac_sta_has_ofdm_only()
2418 case IEEE80211_BAND_2GHZ: in ath10k_peer_assoc_h_phymode()
2885 if (channel->band == IEEE80211_BAND_2GHZ) in ath10k_update_channel_list()
3910 band = &ar->mac.sbands[IEEE80211_BAND_2GHZ]; in ath10k_mac_setup_ht_vht_cap()
5950 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey()
6835 .band = IEEE80211_BAND_2GHZ, \
7160 band = &ar->mac.sbands[IEEE80211_BAND_2GHZ]; in ath10k_mac_register()
7166 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = band; in ath10k_mac_register()
[all …]
Dwmi.c2057 band = IEEE80211_BAND_2GHZ; in phy_mode_to_band()
2235 status->band = IEEE80211_BAND_2GHZ; in ath10k_wmi_event_mgmt_rx()
2300 for (band = IEEE80211_BAND_2GHZ; band < IEEE80211_NUM_BANDS; band++) { in freq_to_idx()
/linux-4.4.14/drivers/net/wireless/libertas/
Dcfg.c26 .band = IEEE80211_BAND_2GHZ, \
642 IEEE80211_BAND_2GHZ); in lbs_ret_scan()
2164 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &lbs_band_2ghz; in lbs_cfg_register()
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dmain.c1059 IEEE80211_BAND_2GHZ, in b43legacy_write_probe_resp_plcp()
1125 IEEE80211_BAND_2GHZ, in b43legacy_generate_probe_resp()
2722 case IEEE80211_BAND_2GHZ: in b43legacy_op_dev_config()
2795 dev->wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in b43legacy_update_basic_rates()
3633 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in b43legacy_setup_modes()
3639 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in b43legacy_setup_modes()
Dxmit.c568 status.band = IEEE80211_BAND_2GHZ; in b43legacy_rx()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c40 .band = IEEE80211_BAND_2GHZ, \
188 s32Freq = ieee80211_channel_to_frequency((s32)pstrNetworkInfo->u8channel, IEEE80211_BAND_2GHZ); in refresh_scan()
382 s32Freq = ieee80211_channel_to_frequency((s32)pstrNetworkInfo->u8channel, IEEE80211_BAND_2GHZ); in CfgScanResult()
1955 s32Freq = ieee80211_channel_to_frequency(curr_channel, IEEE80211_BAND_2GHZ); in WILC_WFI_p2p_rx()
3334 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &WILC_WFI_band_2ghz; in WILC_WFI_CfgAlloc()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_mac.c1071 stats.band = IEEE80211_BAND_2GHZ; in zd_mac_rx()
1398 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band; in zd_mac_alloc_hw()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c37 .band = IEEE80211_BAND_2GHZ, \
2597 htcap->cap_info = (band == IEEE80211_BAND_2GHZ) ? in ath6kl_set_htcap()
3794 vif->htcap[IEEE80211_BAND_2GHZ].ht_enable = true; in ath6kl_interface_add()
3946 wiphy->bands[IEEE80211_BAND_2GHZ] = &ath6kl_band_2ghz; in ath6kl_cfg80211_init()
Dwmi.c2799 band = IEEE80211_BAND_2GHZ; in ath6kl_set_bitrate_mask64()
2849 band = IEEE80211_BAND_2GHZ; in ath6kl_set_bitrate_mask32()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1473 priv->band.band = IEEE80211_BAND_2GHZ; in rtl8187_probe()
1478 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8187_probe()
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
Dar5523.c1474 ar->band.band = IEEE80211_BAND_2GHZ; in ar5523_init_modes()
1479 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &ar->band; in ar5523_init_modes()
/linux-4.4.14/include/net/
Dcfg80211.h82 IEEE80211_BAND_2GHZ = NL80211_BAND_2GHZ, enumerator
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2100.c1916 bg_band->band = IEEE80211_BAND_2GHZ; in ipw2100_wdev_init()
1927 bg_band->channels[i].band = IEEE80211_BAND_2GHZ; in ipw2100_wdev_init()
1948 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; in ipw2100_wdev_init()
Dipw2200.c11362 bg_band->band = IEEE80211_BAND_2GHZ; in ipw_wdev_init()
11373 bg_band->channels[i].band = IEEE80211_BAND_2GHZ; in ipw_wdev_init()
11394 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; in ipw_wdev_init()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c2116 IEEE80211_BAND_2GHZ); in on_action_public23a()