Home
last modified time | relevance | path

Searched refs:bands (Results 1 – 139 of 139) sorted by relevance

/linux-4.1.27/net/sched/
Dsch_prio.c26 int bands; member
63 if (band >= q->bands) in prio_classify()
101 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
115 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
135 for (prio = q->bands-1; prio >= 0; prio--) { in prio_drop()
152 for (prio = 0; prio < q->bands; prio++) in prio_reset()
164 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
178 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune()
182 if (qopt->priomap[i] >= qopt->bands) in prio_tune()
187 q->bands = qopt->bands; in prio_tune()
[all …]
Dsch_multiq.c31 u16 bands; member
61 if (band >= q->bands) in multiq_classify()
101 for (band = 0; band < q->bands; band++) { in multiq_dequeue()
104 if (q->curband >= q->bands) in multiq_dequeue()
133 for (band = 0; band < q->bands; band++) { in multiq_peek()
136 if (curband >= q->bands) in multiq_peek()
161 for (band = q->bands - 1; band >= 0; band--) { in multiq_drop()
181 for (band = 0; band < q->bands; band++) in multiq_reset()
194 for (band = 0; band < q->bands; band++) in multiq_destroy()
213 qopt->bands = qdisc_dev(sch)->real_num_tx_queues; in multiq_tune()
[all …]
Dsch_generic.c543 struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS }; in pfifo_fast_dump()
/linux-4.1.27/drivers/media/radio/si470x/
Dradio-si470x-common.c148 static const struct v4l2_frequency_band bands[] = { variable
274 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq()
287 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq()
288 bands[radio->band].rangehigh); in si470x_set_freq()
290 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq()
309 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek()
310 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek()
311 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek()
314 if (band == ARRAY_SIZE(bands)) in si470x_set_seek()
691 if (freq->frequency < bands[radio->band].rangelow || in si470x_vidioc_s_frequency()
[all …]
/linux-4.1.27/drivers/media/radio/
Dradio-tea5777.c152 static const struct v4l2_frequency_band bands[] = { variable
192 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
193 bands[tea->band].rangehigh); in radio_tea5777_set_freq()
288 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands()
292 *band = bands[band->index]; in vidioc_enum_freq_bands()
319 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner()
320 bands[BAND_FM].rangelow; in vidioc_g_tuner()
321 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner()
403 for (i = 0; i < ARRAY_SIZE(bands); i++) { in vidioc_s_hw_freq_seek()
406 if (bands[i].rangelow >= rangelow && in vidioc_s_hw_freq_seek()
[all …]
Dradio-cadet.c93 static const struct v4l2_frequency_band bands[] = { variable
219 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq()
220 bands[dev->is_fm_band].rangehigh); in cadet_setfreq()
379 v->capability = bands[0].capability | bands[1].capability; in vidioc_g_tuner()
380 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner()
381 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */ in vidioc_g_tuner()
411 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
413 *band = bands[band->index]; in vidioc_enum_freq_bands()
438 f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2; in vidioc_s_frequency()
580 cadet_setfreq(dev, bands[1].rangelow); in cadet_probe()
[all …]
Dtea575x.c64 static const struct v4l2_frequency_band bands[] = { variable
185 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq()
186 bands[tea->band].rangehigh); /* from kHz */ in snd_tea575x_val_to_freq()
275 *band = bands[index]; in snd_tea575x_enum_freq_bands()
305 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner()
368 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency()
369 bands[tea->band].rangehigh); in vidioc_s_frequency()
389 for (i = 0; i < ARRAY_SIZE(bands); i++) { in snd_tea575x_s_hw_freq_seek()
394 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek()
395 bands[i].rangehigh == a->rangehigh) in snd_tea575x_s_hw_freq_seek()
[all …]
Dradio-raremono.c85 static const struct v4l2_frequency_band bands[] = { variable
210 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
213 *band = bands[band->index]; in vidioc_enum_freq_bands()
270 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); in vidioc_s_frequency()
DKconfig138 to receive the AM/FM/SW bands.
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dregd.c153 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags()
156 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags()
201 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags()
203 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags()
253 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags()
256 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags()
298 if (!wiphy->bands[band]) in _rtl_dump_channel_map()
300 sband = wiphy->bands[band]; in _rtl_dump_channel_map()
Dbase.c331 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()
346 sband = &(rtlmac->bands[IEEE80211_BAND_5GHZ]); in _rtl_init_mac80211()
350 memcpy(&(rtlmac->bands[IEEE80211_BAND_5GHZ]), &rtl_band_5ghz, in _rtl_init_mac80211()
358 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = 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()
377 sband = &(rtlmac->bands[IEEE80211_BAND_5GHZ]); in _rtl_init_mac80211()
[all …]
Dwifi.h1349 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
/linux-4.1.27/drivers/net/wireless/mwifiex/
D11ac.c56 u8 bands, u16 mcs_map) in mwifiex_convert_mcsmap_to_maxrate() argument
63 if (bands & BAND_AAC) in mwifiex_convert_mcsmap_to_maxrate()
99 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument
103 if (bands & BAND_A) in mwifiex_fill_vht_cap_info()
112 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
141 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
163 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
Dcfp.c325 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_cfp()
327 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_cfp()
400 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211()
405 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
D11ac.h44 struct ieee80211_vht_cap *vht_cap, u8 bands);
Dcfg80211.c444 if (!wiphy->bands[band]) { in mwifiex_send_domain_info_cmd_fw()
449 sband = wiphy->bands[band]; in mwifiex_send_domain_info_cmd_fw()
1662 if (!adapter->wiphy->bands[band]) in mwifiex_cfg80211_set_antenna()
1665 ht_info = &adapter->wiphy->bands[band]->ht_cap; in mwifiex_cfg80211_set_antenna()
2571 mwifiex_setup_ht_caps(&wiphy->bands[IEEE80211_BAND_2GHZ]->ht_cap, priv); in mwifiex_add_virtual_intf()
2574 &wiphy->bands[IEEE80211_BAND_2GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
2578 &wiphy->bands[IEEE80211_BAND_5GHZ]->ht_cap, priv); in mwifiex_add_virtual_intf()
2582 &wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
3508 wiphy->bands[IEEE80211_BAND_2GHZ] = &mwifiex_band_2ghz; in mwifiex_register_cfg80211()
3510 wiphy->bands[IEEE80211_BAND_5GHZ] = &mwifiex_band_5ghz; in mwifiex_register_cfg80211()
[all …]
D11h.c52 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_11h_process_infra_join()
D11n.c42 priv->wdev.wiphy->bands[radio_type]; in mwifiex_fill_cap_info()
328 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_cmd_append_11n_tlv()
Dscan.c499 if (!priv->wdev.wiphy->bands[band]) in mwifiex_scan_create_channel_list()
502 sband = priv->wdev.wiphy->bands[band]; in mwifiex_scan_create_channel_list()
/linux-4.1.27/drivers/media/tuners/
Dmsi001.c23 static const struct v4l2_frequency_band bands[] = { variable
341 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency()
346 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency()
359 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands()
362 band->capability = bands[band->index].capability; in msi001_enum_freq_bands()
363 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands()
364 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands()
437 s->f_tuner = bands[0].rangelow; in msi001_probe()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00dev.c656 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal()
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()
994 rt2x00dev->bands[IEEE80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes()
996 rt2x00dev->bands[IEEE80211_BAND_5GHZ].n_bitrates = in rt2x00lib_probe_hw_modes()
[all …]
Drt2x00.h752 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
/linux-4.1.27/Documentation/networking/
Dmultiqueue.txt36 bands and queues based on the value in skb->queue_mapping. Use this field in
40 blocking. It will cycle though the bands and verify that the hardware queue
43 On qdisc load, the number of bands is based on the number of queues on the
57 The qdisc will allocate the number of bands to equal the number of queues that
/linux-4.1.27/drivers/net/wireless/ath/
Dregd.c345 if (!wiphy->bands[band]) in ath_reg_apply_beaconing_flags()
347 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags()
377 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in ath_reg_apply_ir_flags()
405 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in ath_reg_apply_radar_flags()
408 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in ath_reg_apply_radar_flags()
/linux-4.1.27/drivers/staging/vt6656/
Dchannel.c160 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in vnt_init_bands()
174 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
Ddpc.c100 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dfw.c418 mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; in iwl_run_init_mvm_ucode()
419 mvm->nvm_data->bands[0].n_channels = 1; in iwl_run_init_mvm_ucode()
420 mvm->nvm_data->bands[0].n_bitrates = 1; in iwl_run_init_mvm_ucode()
421 mvm->nvm_data->bands[0].bitrates = in iwl_run_init_mvm_ucode()
423 mvm->nvm_data->bands[0].bitrates->hw_value = 10; in iwl_run_init_mvm_ucode()
724 chan = &mvm->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels[0]; in iwl_mvm_up()
Dscan.c1072 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_scan_config_rates()
1075 band = &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_scan_config_rates()
1091 mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels + in iwl_mvm_config_scan()
1092 mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels; in iwl_mvm_config_scan()
1135 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_config_scan()
1138 band = &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_config_scan()
Dmac80211.c513 if (mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) in iwl_mvm_mac_setup_register()
514 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in iwl_mvm_mac_setup_register()
515 &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_mac_setup_register()
516 if (mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) { in iwl_mvm_mac_setup_register()
517 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in iwl_mvm_mac_setup_register()
518 &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_mac_setup_register()
524 hw->wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap.cap |= in iwl_mvm_mac_setup_register()
Dtx.c210 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate()
Dmac-ctxt.c536 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_ack_rates()
Drs.c2819 sband = hw->wiphy->bands[band]; in iwl_mvm_rs_rate_init()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dphy_shim.c111 u16 val, int bands) in wlapi_bmac_mhf() argument
113 brcms_b_mhf(physhim->wlc_hw, idx, mask, val, bands); in wlapi_bmac_mhf()
Dchannel.c639 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags()
670 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags()
714 sband = wiphy->bands[band]; in brcms_reg_notifier()
758 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcms_c_regd_init()
760 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_c_regd_init()
Dphy_shim.h146 int bands);
Dmac80211_if.c636 bi = hw->wiphy->bands[brcms_c_get_curband(wl->wlc)]; in brcms_ops_bss_info_changed()
1030 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in ieee_hw_rate_init()
1031 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in ieee_hw_rate_init()
1042 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = band; in ieee_hw_rate_init()
1053 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = band; in ieee_hw_rate_init()
Dmain.h643 int bands);
Dmain.c1329 int bands) in brcms_b_mhf() argument
1341 switch (bands) { in brcms_b_mhf()
1372 if (bands == BRCM_BAND_ALL) { in brcms_b_mhf()
6318 hw->wiphy->bands[tx_info->band]->n_bitrates)) { in brcms_c_d11hdrs_mac80211()
6320 hw->wiphy->bands[tx_info->band]-> in brcms_c_d11hdrs_mac80211()
/linux-4.1.27/drivers/media/dvb-frontends/
Dcx24110.c245 static const u32 bands[]={5000000UL,15000000UL,90999000UL/2}; in cx24110_set_symbolrate() local
254 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) in cx24110_set_symbolrate()
299 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]); in cx24110_set_symbolrate()
/linux-4.1.27/drivers/media/usb/airspy/
Dairspy.c58 static const struct v4l2_frequency_band bands[] = { variable
724 v->rangelow = bands[0].rangelow; in airspy_g_tuner()
725 v->rangehigh = bands[0].rangehigh; in airspy_g_tuner()
773 bands[0].rangelow, in airspy_s_frequency()
774 bands[0].rangehigh); in airspy_s_frequency()
800 if (band->index >= ARRAY_SIZE(bands)) { in airspy_enum_freq_bands()
803 *band = bands[band->index]; in airspy_enum_freq_bands()
997 s->f_adc = bands[0].rangelow; in airspy_probe()
/linux-4.1.27/net/wireless/
Dsme.c86 wdev->wiphy->bands[band]; in cfg80211_conn_scan()
97 struct ieee80211_supported_band *bands; in cfg80211_conn_scan() local
101 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan()
102 if (!bands) in cfg80211_conn_scan()
104 for (j = 0; j < bands->n_channels; j++) { in cfg80211_conn_scan()
105 channel = &bands->channels[j]; in cfg80211_conn_scan()
110 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
Dmesh.c138 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh()
171 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
Dreg.c1377 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1416 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1419 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1435 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1437 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1470 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; in reg_process_ht_flags_channel()
1528 reg_process_ht_flags_band(wiphy, wiphy->bands[band]); in reg_process_ht_flags()
1667 handle_band(wiphy, initiator, wiphy->bands[band]); in wiphy_update_regulatory()
1781 if (!wiphy->bands[band]) in wiphy_apply_custom_regulatory()
1783 handle_band_custom(wiphy, wiphy->bands[band], regd); in wiphy_apply_custom_regulatory()
[all …]
Ddebugfs.c82 sband = wiphy->bands[band]; in ht40allow_map_read()
Dscan.c1234 if (!wiphy->bands[band]) in cfg80211_wext_siwscan()
1237 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in cfg80211_wext_siwscan()
1239 if (wiphy->bands[band]->channels[j].flags & in cfg80211_wext_siwscan()
1249 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
1263 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
1292 if (wiphy->bands[i]) in cfg80211_wext_siwscan()
1293 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
Dutil.c124 sband = wiphy->bands[band]; in __ieee80211_get_channel()
204 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
205 set_mandatory_flags_band(wiphy->bands[band], band); in ieee80211_set_bitrate_flags()
1780 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
1781 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
Dibss.c105 rdev->wiphy.bands[params->chandef.chan->band]; in __cfg80211_join_ibss()
255 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join()
Dchan.c611 ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap; in cfg80211_chandef_usable()
612 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
Dwext-compat.c35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; in cfg80211_wext_giwname()
41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname()
221 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
1249 sband = wdev->wiphy->bands[band]; in cfg80211_wext_siwrate()
Dnl80211.c1391 sband = rdev->wiphy.bands[band]; in nl80211_send_wiphy()
5836 if (!wiphy->bands[band]) in nl80211_trigger_scan()
5838 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_trigger_scan()
5841 chan = &wiphy->bands[band]->channels[j]; in nl80211_trigger_scan()
5880 if (wiphy->bands[i]) in nl80211_trigger_scan()
5882 (1 << wiphy->bands[i]->n_bitrates) - 1; in nl80211_trigger_scan()
5895 if (!wiphy->bands[band]) in nl80211_trigger_scan()
5898 err = ieee80211_get_ratemask(wiphy->bands[band], in nl80211_trigger_scan()
6102 if (!wiphy->bands[band]) in nl80211_parse_sched_scan()
6104 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_parse_sched_scan()
[all …]
Dmlme.c686 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work()
Dcore.c627 sband = wiphy->bands[band]; in wiphy_register()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.h101 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
Diwl-nvm-parse.c424 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands()
433 sband = &data->bands[IEEE80211_BAND_5GHZ]; in iwl_init_sbands()
Diwl-eeprom-parse.c816 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands()
825 sband = &data->bands[IEEE80211_BAND_5GHZ]; in iwl_init_sbands()
/linux-4.1.27/drivers/staging/vt6655/
Dchannel.c147 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in vnt_init_bands()
162 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
Ddpc.c68 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dmain.c314 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &cw1200_band_2ghz; in cw1200_init_common()
316 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &cw1200_band_5ghz; in cw1200_init_common()
320 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in cw1200_init_common()
Dwsm.c852 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in wsm_startup_indication()
854 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in wsm_startup_indication()
Dtxrx.c435 return &priv->hw->wiphy->bands[priv->channel->band]-> in cw1200_get_tx_rate()
/linux-4.1.27/drivers/media/usb/msi2500/
Dmsi2500.c67 static const struct v4l2_frequency_band bands[] = { variable
1046 bands[0].rangelow, in msi2500_s_frequency()
1047 bands[0].rangehigh); in msi2500_s_frequency()
1069 if (band->index >= ARRAY_SIZE(bands)) { in msi2500_enum_freq_bands()
1072 *band = bands[band->index]; in msi2500_enum_freq_bands()
1190 s->f_adc = bands[0].rangelow; in msi2500_probe()
/linux-4.1.27/net/mac80211/
Dscan.c154 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update()
960 if (!local->hw.wiphy->bands[band]) in ieee80211_request_ibss_scan()
963 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
966 &local->hw.wiphy->bands[band]->channels[i]; in ieee80211_request_ibss_scan()
1092 if (local->hw.wiphy->bands[i]) { in __ieee80211_request_sched_scan_start()
Dvht.c370 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode()
417 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode()
Drate.h92 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
Docb.c81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
Dibss.c92 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
441 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss()
652 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta()
992 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_update_sta_info()
1237 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_rx_no_sta()
1782 sband = local->hw.wiphy->bands[params->chandef.chan->band]; in ieee80211_ibss_join()
Drc80211_minstrel.c583 sband = hw->wiphy->bands[i]; in minstrel_alloc_sta()
624 sband = mp->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in minstrel_init_cck_rates()
Dutil.c217 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
261 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
1369 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band()
1638 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates()
2487 sband = local->hw.wiphy->bands[band]; in ieee80211_add_srates_ie()
2533 sband = local->hw.wiphy->bands[band]; in ieee80211_add_ext_srates_ie()
2661 sband = local->hw.wiphy->bands[status->band]; in ieee80211_calculate_rx_timestamp()
Dstatus.c603 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_noskb()
673 sband = local->hw.wiphy->bands[info->band]; in ieee80211_tx_status()
Dmesh_plink.c98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time()
387 sband = local->hw.wiphy->bands[band]; in mesh_sta_info_init()
Dmain.c867 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
927 if (!local->hw.wiphy->bands[band]) in ieee80211_register_hw()
Dmesh.c421 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie()
458 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
Dcfg.c457 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_tx()
490 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_rx()
1034 sband = local->hw.wiphy->bands[band]; in sta_apply_parameters()
1875 wiphy->bands[band], in ieee80211_change_bss()
2473 struct ieee80211_supported_band *sband = wiphy->bands[i]; in ieee80211_set_bitrate_mask()
Drate.c648 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
Dmlme.c381 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
623 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc()
2964 sband = local->hw.wiphy->bands[ieee80211_get_sdata_band(sdata)]; in ieee80211_assoc_success()
4221 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4319 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4738 sband = local->hw.wiphy->bands[req->bss->channel->band]; in ieee80211_mgd_assoc()
Drx.c2657 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
2686 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
3128 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_handlers_result()
3581 sband = local->hw.wiphy->bands[status->band]; in ieee80211_rx()
Dtx.c69 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration()
657 sband = tx->local->hw.wiphy->bands[info->band]; in ieee80211_tx_h_rate_ctrl()
2966 txrc.sband = local->hw.wiphy->bands[band]; in __ieee80211_beacon_get()
Drc80211_minstrel_ht.c1269 sband = hw->wiphy->bands[i]; in minstrel_ht_alloc_sta()
Diface.c1762 sband = local->hw.wiphy->bands[i]; in ieee80211_if_add()
Dtdls.c378 sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_setup_start_ies()
Dsta_info.c376 hw->wiphy->bands[ieee80211_get_sdata_band(sdata)]; in sta_info_alloc()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c3178 struct ieee80211_supported_band *bands; in rtw_cfg80211_init_wiphy() local
3188 bands = wiphy->bands[IEEE80211_BAND_2GHZ]; in rtw_cfg80211_init_wiphy()
3189 if (bands) in rtw_cfg80211_init_wiphy()
3190 rtw_cfg80211_init_ht_capab(&bands->ht_cap, in rtw_cfg80211_init_wiphy()
3197 bands = wiphy->bands[IEEE80211_BAND_5GHZ]; in rtw_cfg80211_init_wiphy()
3198 if (bands) in rtw_cfg80211_init_wiphy()
3199 rtw_cfg80211_init_ht_capab(&bands->ht_cap, in rtw_cfg80211_init_wiphy()
3239 wiphy->bands[IEEE80211_BAND_2GHZ] = in rtw_cfg80211_preinit_wiphy()
3242 wiphy->bands[IEEE80211_BAND_5GHZ] = in rtw_cfg80211_preinit_wiphy()
3329 kfree(wdev->wiphy->bands[IEEE80211_BAND_2GHZ]); in rtw_wdev_free()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dmac80211.c201 if (priv->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) in iwlagn_mac_setup_register()
202 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in iwlagn_mac_setup_register()
203 &priv->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwlagn_mac_setup_register()
204 if (priv->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) in iwlagn_mac_setup_register()
205 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in iwlagn_mac_setup_register()
206 &priv->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwlagn_mac_setup_register()
Dagn.h192 return priv->hw->wiphy->bands[band]; in iwl_get_hw_mode()
Dscan.c456 struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band]; in iwl_get_single_channel_number()
Dtx.c178 &priv->nvm_data->bands[info->band], sta); in iwlagn_tx_cmd_build_rate()
Drxon.c951 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in iwl_calc_basic_rates()
Drs.c2816 sband = hw->wiphy->bands[conf->chandef.chan->band]; in iwl_rs_rate_init()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c2541 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_inform_single_bss()
2543 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_inform_single_bss()
2650 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in wl_inform_ibss()
2652 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in wl_inform_ibss()
4814 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_bss_roaming_done()
4816 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_bss_roaming_done()
5359 wiphy->bands[IEEE80211_BAND_2GHZ] = band; in brcmf_construct_chaninfo()
5376 wiphy->bands[IEEE80211_BAND_5GHZ] = band; in brcmf_construct_chaninfo()
5385 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_construct_chaninfo()
5387 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_construct_chaninfo()
[all …]
/linux-4.1.27/include/uapi/linux/
Dpkt_sched.h127 int bands; /* Number of bands */ member
134 __u16 bands; /* Number of bands */ member
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dmain.c1669 band = ar->hw->wiphy->bands[b]; in carl9170_op_get_survey()
1920 int bands = 0; in carl9170_parse_eeprom() local
1943 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in carl9170_parse_eeprom()
1946 bands++; in carl9170_parse_eeprom()
1949 ar->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in carl9170_parse_eeprom()
1952 bands++; in carl9170_parse_eeprom()
1955 if (!bands) in carl9170_parse_eeprom()
/linux-4.1.27/drivers/net/wireless/libertas/
Dcmd.c742 struct ieee80211_supported_band **bands = wiphy->bands; in lbs_set_11d_domain_info() local
783 if (!bands[band]) in lbs_set_11d_domain_info()
787 (i < bands[band]->n_channels) && (num_triplet < MAX_11D_TRIPLETS); in lbs_set_11d_domain_info()
789 ch = &bands[band]->channels[i]; in lbs_set_11d_domain_info()
Dcfg.c1287 if (!wiphy->bands[band]) in _new_connect_scan_req()
1290 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in _new_connect_scan_req()
1292 if (wiphy->bands[band]->channels[j].flags & in _new_connect_scan_req()
1296 creq->channels[i] = &wiphy->bands[band]->channels[j]; in _new_connect_scan_req()
2165 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &lbs_band_2ghz; in lbs_cfg_register()
DREADME216 3) Scan all available channels (B/G, A bands) for a specific BSSID, keep
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dnetdev.c158 ch = wdev->wiphy->bands[IEEE80211_BAND_60GHZ]->channels; in wil_if_alloc()
Dcfg80211.c989 wiphy->bands[IEEE80211_BAND_60GHZ] = &wil_band_60ghz; in wil_wiphy_init()
/linux-4.1.27/drivers/net/wireless/orinoco/
Dcfg.c70 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in orinoco_wiphy_register()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dmac.c1457 sband = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ath10k_peer_assoc_h_rates()
2103 struct ieee80211_supported_band **bands; in ath10k_update_channel_list() local
2115 bands = hw->wiphy->bands; in ath10k_update_channel_list()
2117 if (!bands[band]) in ath10k_update_channel_list()
2120 for (i = 0; i < bands[band]->n_channels; i++) { in ath10k_update_channel_list()
2121 if (bands[band]->channels[i].flags & in ath10k_update_channel_list()
2136 if (!bands[band]) in ath10k_update_channel_list()
2139 for (i = 0; i < bands[band]->n_channels; i++) { in ath10k_update_channel_list()
2140 channel = &bands[band]->channels[i]; in ath10k_update_channel_list()
4628 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey()
[all …]
Dwmi.c1608 sband = ar->hw->wiphy->bands[band]; in freq_to_idx()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dcommon.c181 sband = hw->wiphy->bands[band]; in ath9k_cmn_process_rate()
Dhtc_drv_init.c762 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
765 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in ath9k_set_hw_capab()
Dinit.c897 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
900 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in ath9k_set_hw_capab()
Dmain.c1922 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath9k_get_survey()
1929 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in ath9k_get_survey()
Dhtc_drv_main.c605 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in ath9k_htc_setup_rate()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D3945-mac.c3583 if (il->bands[IEEE80211_BAND_2GHZ].n_channels) in il3945_setup_mac()
3584 il->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in il3945_setup_mac()
3585 &il->bands[IEEE80211_BAND_2GHZ]; in il3945_setup_mac()
3587 if (il->bands[IEEE80211_BAND_5GHZ].n_channels) in il3945_setup_mac()
3588 il->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in il3945_setup_mac()
3589 &il->bands[IEEE80211_BAND_5GHZ]; in il3945_setup_mac()
3762 il_set_rxon_channel(il, &il->bands[IEEE80211_BAND_2GHZ].channels[5]); in il3945_pci_probe()
Dcommon.c3442 if (il->bands[IEEE80211_BAND_2GHZ].n_bitrates || in il_init_geos()
3443 il->bands[IEEE80211_BAND_5GHZ].n_bitrates) { in il_init_geos()
3464 sband = &il->bands[IEEE80211_BAND_5GHZ]; in il_init_geos()
3473 sband = &il->bands[IEEE80211_BAND_2GHZ]; in il_init_geos()
3491 sband = &il->bands[ch->band]; in il_init_geos()
3531 if (il->bands[IEEE80211_BAND_5GHZ].n_channels == 0 && in il_init_geos()
3540 il->bands[IEEE80211_BAND_2GHZ].n_channels, in il_init_geos()
3541 il->bands[IEEE80211_BAND_5GHZ].n_channels); in il_init_geos()
D3945-rs.c349 sband = hw->wiphy->bands[conf->chandef.chan->band]; in il3945_rs_rate_init()
D4965-mac.c1591 rate_idx = rate_lowest_index(&il->bands[info->band], sta); in il4965_tx_cmd_build_rate()
5788 if (il->bands[IEEE80211_BAND_2GHZ].n_channels) in il4965_mac_setup_register()
5789 il->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in il4965_mac_setup_register()
5790 &il->bands[IEEE80211_BAND_2GHZ]; in il4965_mac_setup_register()
5791 if (il->bands[IEEE80211_BAND_5GHZ].n_channels) in il4965_mac_setup_register()
5792 il->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in il4965_mac_setup_register()
5793 &il->bands[IEEE80211_BAND_5GHZ]; in il4965_mac_setup_register()
Dcommon.h1150 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
1960 return il->hw->wiphy->bands[band]; in il_get_hw_mode()
D4965-rs.c2302 sband = hw->wiphy->bands[conf->chandef.chan->band]; in il4965_rs_rate_init()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dmain.c959 wcn->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wcn_band_2ghz; in wcn36xx_init_ieee80211()
960 wcn->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wcn_band_5ghz; in wcn36xx_init_ieee80211()
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1094 wiphy->bands[IEEE80211_BAND_2GHZ] = in rsi_mac80211_attach()
1096 wiphy->bands[IEEE80211_BAND_5GHZ] = in rsi_mac80211_attach()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dwlcore.h379 struct ieee80211_supported_band bands[WLCORE_NUM_BANDS]; member
Dmain.c2400 wiphy->bands[IEEE80211_BAND_5GHZ]->n_channels = 0; in wl12xx_init_fw()
6133 memcpy(&wl->bands[IEEE80211_BAND_2GHZ], &wl1271_band_2ghz, in wl1271_init_ieee80211()
6135 memcpy(&wl->bands[IEEE80211_BAND_2GHZ].ht_cap, in wl1271_init_ieee80211()
6138 memcpy(&wl->bands[IEEE80211_BAND_5GHZ], &wl1271_band_5ghz, in wl1271_init_ieee80211()
6140 memcpy(&wl->bands[IEEE80211_BAND_5GHZ].ht_cap, in wl1271_init_ieee80211()
6144 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in wl1271_init_ieee80211()
6145 &wl->bands[IEEE80211_BAND_2GHZ]; in wl1271_init_ieee80211()
6146 wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in wl1271_init_ieee80211()
6147 &wl->bands[IEEE80211_BAND_5GHZ]; in wl1271_init_ieee80211()
Dtx.c462 band = wl->hw->wiphy->bands[rate_band]; in wl1271_tx_enabled_rates_get()
Dcmd.c1703 band = wiphy->bands[b]; in wlcore_cmd_regdomain_config_locked()
/linux-4.1.27/include/net/
Dmac80211.h2076 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate()
2085 return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; in ieee80211_get_rts_cts_rate()
2094 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; in ieee80211_get_alt_retry_rate()
Dcfg80211.h3197 struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS]; member
/linux-4.1.27/drivers/net/wireless/p54/
Deeprom.c905 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = in p54_parse_eeprom()
908 dev->wiphy->bands[IEEE80211_BAND_5GHZ] = in p54_parse_eeprom()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2613 if (!wiphy->bands[band]) in ath6kl_restore_htcap()
2617 wiphy->bands[band]->ht_cap.ht_supported); in ath6kl_restore_htcap()
3549 if (wiphy->bands[i]) in ath6kl_cfg80211_reg_notify()
3550 rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in ath6kl_cfg80211_reg_notify()
3803 wiphy->bands[IEEE80211_BAND_2GHZ] = &ath6kl_band_2ghz; in ath6kl_cfg80211_init()
3805 wiphy->bands[IEEE80211_BAND_5GHZ] = &ath6kl_band_5ghz; in ath6kl_cfg80211_init()
Dwmi.c2047 sband = ar->wiphy->bands[band]; in ath6kl_wmi_beginscan_cmd()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dbase.c384 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
410 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
430 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in ath5k_setup_bands()
708 return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ]; in ath5k_get_rate()
/linux-4.1.27/drivers/net/wireless/ath/ar5523/
Dar5523.c1157 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_get_wlan_mode()
1205 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_create_rateset()
1480 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &ar->band; in ar5523_init_modes()
/linux-4.1.27/drivers/staging/wlan-ng/
Dcfg80211.c774 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in wlan_create_wiphy()
/linux-4.1.27/drivers/net/wireless/libertas_tf/
Dmain.c648 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in lbtf_add_card()
/linux-4.1.27/drivers/net/wireless/
Dmac80211_hwsim.c482 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
2428 struct ieee80211_supported_band *sband = &data->bands[band]; in mac80211_hwsim_new_radio()
2460 hw->wiphy->bands[band] = sband; in mac80211_hwsim_new_radio()
Dmwl8k.c2309 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band_24; in mwl8k_setup_2ghz_band()
2328 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &priv->band_50; in mwl8k_setup_5ghz_band()
3071 sband = priv->hw->wiphy->bands[band]; in freq_to_idx()
5390 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in mwl8k_get_survey()
5398 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in mwl8k_get_survey()
Dadm8211.c1898 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in adm8211_probe()
Dat76c50x-usb.c2362 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &at76_supported_band; in at76_init_new_device()
Drndis_wlan.c3479 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rndis_wlan_bind()
/linux-4.1.27/drivers/net/wireless/b43legacy/
Dmain.c2797 dev->wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in b43legacy_update_basic_rates()
3637 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in b43legacy_setup_modes()
3643 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in b43legacy_setup_modes()
/linux-4.1.27/drivers/net/wireless/b43/
Dmain.c4073 dev->wl->hw->wiphy->bands[b43_current_band(dev->wl)]; in b43_update_basic_rates()
5303 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = limited_2g ? in b43_setup_bands()
5307 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = limited_5g ? in b43_setup_bands()
5312 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &b43_band_5GHz_aphy; in b43_setup_bands()
/linux-4.1.27/drivers/net/wireless/zd1211rw/
Dzd_mac.c1398 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band; in zd_mac_alloc_hw()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dmain.c1489 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz; in wl1251_init_ieee80211()
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c1478 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8187_probe()
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/
Ddev.c1803 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8180_probe()
/linux-4.1.27/Documentation/video4linux/
Dvivid.txt501 The SDR receiver has three frequency bands for the ADC tuner:
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c11395 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; in ipw_wdev_init()
11434 wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = a_band; in ipw_wdev_init()
Dipw2100.c1948 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; in ipw2100_wdev_init()