Home
last modified time | relevance | path

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

/linux-4.4.14/net/sched/
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_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_generic.c538 struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS }; in pfifo_fast_dump()
/linux-4.4.14/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.4.14/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.4.14/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()
402 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211()
407 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
D11ac.h44 struct ieee80211_vht_cap *vht_cap, u8 bands);
Dcfg80211.c491 if (!wiphy->bands[band]) { in mwifiex_send_domain_info_cmd_fw()
497 sband = wiphy->bands[band]; in mwifiex_send_domain_info_cmd_fw()
1776 if (!adapter->wiphy->bands[band]) in mwifiex_cfg80211_set_antenna()
1779 ht_info = &adapter->wiphy->bands[band]->ht_cap; in mwifiex_cfg80211_set_antenna()
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()
2728 &wiphy->bands[IEEE80211_BAND_5GHZ]->ht_cap, priv); in mwifiex_add_virtual_intf()
2732 &wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
3787 wiphy->bands[IEEE80211_BAND_2GHZ] = &mwifiex_band_2ghz; in mwifiex_register_cfg80211()
3789 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()
331 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_cmd_append_11n_tlv()
Dscan.c505 if (!priv->wdev.wiphy->bands[band]) in mwifiex_scan_create_channel_list()
508 sband = priv->wdev.wiphy->bands[band]; in mwifiex_scan_create_channel_list()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dregd.c165 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags()
168 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags()
213 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()
265 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags()
268 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags()
310 if (!wiphy->bands[band]) in _rtl_dump_channel_map()
312 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.h1368 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
/linux-4.4.14/drivers/media/tuners/
Dmsi001.c23 static const struct v4l2_frequency_band bands[] = { variable
359 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency()
364 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency()
378 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands()
381 band->capability = bands[band->index].capability; in msi001_enum_freq_bands()
382 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands()
383 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands()
458 dev->f_tuner = bands[0].rangelow; in msi001_probe()
Dfc2580.c374 static const struct v4l2_frequency_band bands[] = { variable
421 v->rangelow = bands[0].rangelow; in fc2580_g_tuner()
422 v->rangehigh = bands[0].rangehigh; in fc2580_g_tuner()
455 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency()
468 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands()
471 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands()
472 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands()
473 band->rangehigh = bands[band->index].rangehigh; in fc2580_enum_freq_bands()
595 dev->f_frequency = bands[0].rangelow; in fc2580_probe()
De4000.c274 static const struct v4l2_frequency_band bands[] = { variable
328 v->rangelow = bands[0].rangelow; in e4000_g_tuner()
329 v->rangehigh = bands[1].rangehigh; in e4000_g_tuner()
362 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency()
375 if (band->index >= ARRAY_SIZE(bands)) in e4000_enum_freq_bands()
378 band->capability = bands[band->index].capability; in e4000_enum_freq_bands()
379 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands()
380 band->rangehigh = bands[band->index].rangehigh; in e4000_enum_freq_bands()
713 dev->f_frequency = bands[0].rangelow; in e4000_probe()
/linux-4.4.14/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.h754 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.c635 bi = hw->wiphy->bands[brcms_c_get_curband(wl->wlc)]; in brcms_ops_bss_info_changed()
1027 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in ieee_hw_rate_init()
1028 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in ieee_hw_rate_init()
1039 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = band; in ieee_hw_rate_init()
1050 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.4.14/drivers/media/dvb-frontends/
Dcx24110.c246 static const u32 bands[]={5000000UL,15000000UL,90999000UL/2}; in cx24110_set_symbolrate() local
255 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) in cx24110_set_symbolrate()
300 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]); in cx24110_set_symbolrate()
/linux-4.4.14/drivers/media/usb/airspy/
Dairspy.c59 static const struct v4l2_frequency_band bands[] = { variable
728 v->rangelow = bands[0].rangelow; in airspy_g_tuner()
729 v->rangehigh = bands[0].rangehigh; in airspy_g_tuner()
777 bands[0].rangelow, in airspy_s_frequency()
778 bands[0].rangehigh); in airspy_s_frequency()
804 if (band->index >= ARRAY_SIZE(bands)) { in airspy_enum_freq_bands()
807 *band = bands[band->index]; in airspy_enum_freq_bands()
998 s->f_adc = bands[0].rangelow; in airspy_probe()
/linux-4.4.14/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.c1444 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1483 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1486 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1502 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1504 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1537 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; in reg_process_ht_flags_channel()
1595 reg_process_ht_flags_band(wiphy, wiphy->bands[band]); in reg_process_ht_flags()
1734 handle_band(wiphy, initiator, wiphy->bands[band]); in wiphy_update_regulatory()
1866 if (!wiphy->bands[band]) in wiphy_apply_custom_regulatory()
1868 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.c1235 if (!wiphy->bands[band]) in cfg80211_wext_siwscan()
1238 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in cfg80211_wext_siwscan()
1240 if (wiphy->bands[band]->channels[j].flags & in cfg80211_wext_siwscan()
1250 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
1264 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
1293 if (wiphy->bands[i]) in cfg80211_wext_siwscan()
1294 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()
1781 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
1782 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.c1404 sband = rdev->wiphy.bands[band]; in nl80211_send_wiphy()
5876 if (!wiphy->bands[band]) in nl80211_trigger_scan()
5878 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_trigger_scan()
5881 chan = &wiphy->bands[band]->channels[j]; in nl80211_trigger_scan()
5920 if (wiphy->bands[i]) in nl80211_trigger_scan()
5922 (1 << wiphy->bands[i]->n_bitrates) - 1; in nl80211_trigger_scan()
5935 if (!wiphy->bands[band]) in nl80211_trigger_scan()
5938 err = ieee80211_get_ratemask(wiphy->bands[band], in nl80211_trigger_scan()
6261 if (!wiphy->bands[band]) in nl80211_parse_sched_scan()
6263 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_parse_sched_scan()
[all …]
Dmlme.c731 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work()
Dcore.c634 sband = wiphy->bands[band]; in wiphy_register()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/iwlwifi/mvm/
Dfw.c755 mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; in iwl_run_init_mvm_ucode()
756 mvm->nvm_data->bands[0].n_channels = 1; in iwl_run_init_mvm_ucode()
757 mvm->nvm_data->bands[0].n_bitrates = 1; in iwl_run_init_mvm_ucode()
758 mvm->nvm_data->bands[0].bitrates = in iwl_run_init_mvm_ucode()
760 mvm->nvm_data->bands[0].bitrates->hw_value = 10; in iwl_run_init_mvm_ucode()
1044 chan = &mvm->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels[0]; in iwl_mvm_up()
Dscan.c889 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_scan_config_rates()
892 band = &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_scan_config_rates()
907 mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels + in iwl_mvm_config_scan()
908 mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels; in iwl_mvm_config_scan()
949 band = &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; in iwl_mvm_config_scan()
952 band = &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_config_scan()
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()
550 if (mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) { in iwl_mvm_mac_setup_register()
551 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in iwl_mvm_mac_setup_register()
552 &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwl_mvm_mac_setup_register()
558 hw->wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap.cap |= in iwl_mvm_mac_setup_register()
Dtx.c239 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate()
Dmac-ctxt.c545 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_ack_rates()
Drs.c3037 sband = hw->wiphy->bands[band]; in iwl_mvm_rs_rate_init()
/linux-4.4.14/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.4.14/drivers/media/usb/msi2500/
Dmsi2500.c65 static const struct v4l2_frequency_band bands[] = { variable
1071 bands[0].rangelow, in msi2500_s_frequency()
1072 bands[0].rangehigh); in msi2500_s_frequency()
1094 if (band->index >= ARRAY_SIZE(bands)) { in msi2500_enum_freq_bands()
1097 *band = bands[band->index]; in msi2500_enum_freq_bands()
1214 dev->f_adc = bands[0].rangelow; in msi2500_probe()
/linux-4.4.14/net/mac80211/
Dscan.c158 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update()
965 if (!local->hw.wiphy->bands[band]) in ieee80211_request_ibss_scan()
968 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
971 &local->hw.wiphy->bands[band]->channels[i]; in ieee80211_request_ibss_scan()
1097 if (local->hw.wiphy->bands[i]) { in __ieee80211_request_sched_scan_start()
Dvht.c389 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode()
433 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode()
Drate.c54 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
816 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
878 sband = hw->wiphy->bands[ieee80211_get_sdata_band(sta->sdata)]; in rate_control_set_rates()
Docb.c81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
Dibss.c93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
443 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss()
654 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta()
995 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_update_sta_info()
1243 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_rx_no_sta()
1795 sband = local->hw.wiphy->bands[params->chandef.chan->band]; in ieee80211_ibss_join()
Dmesh.c420 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie()
455 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
483 sband = local->hw.wiphy->bands[band]; in mesh_add_vht_cap_ie()
518 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_vht_oper_ie()
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.c169 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
213 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
1319 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band()
1588 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates()
2485 sband = local->hw.wiphy->bands[band]; in ieee80211_add_srates_ie()
2531 sband = local->hw.wiphy->bands[band]; in ieee80211_add_ext_srates_ie()
2659 sband = local->hw.wiphy->bands[status->band]; in ieee80211_calculate_rx_timestamp()
Dstatus.c630 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_noskb()
753 sband = local->hw.wiphy->bands[info->band]; in ieee80211_tx_status()
Dmesh_plink.c97 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time()
391 sband = local->hw.wiphy->bands[band]; in mesh_sta_info_init()
Dmain.c871 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
931 if (!local->hw.wiphy->bands[band]) in ieee80211_register_hw()
Dmlme.c374 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
648 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc()
3000 sband = local->hw.wiphy->bands[ieee80211_get_sdata_band(sdata)]; in ieee80211_assoc_success()
4209 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4321 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4658 sband = local->hw.wiphy->bands[req->bss->channel->band]; in ieee80211_mgd_assoc()
Drx.c2679 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
2708 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
3147 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_handlers_result()
3582 sband = local->hw.wiphy->bands[status->band]; in ieee80211_rx_napi()
Dtx.c79 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration()
666 sband = tx->local->hw.wiphy->bands[info->band]; in ieee80211_tx_h_rate_ctrl()
3481 txrc.sband = local->hw.wiphy->bands[band]; in __ieee80211_beacon_get()
3542 sband = hw->wiphy->bands[ieee80211_get_sdata_band(vif_to_sdata(vif))]; in ieee80211_beacon_get_tim()
Dtdls.c50 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_ext_capab()
439 sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_setup_start_ies()
Dcfg.c454 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_tx()
1051 sband = local->hw.wiphy->bands[band]; in sta_apply_parameters()
1856 wiphy->bands[band], in ieee80211_change_bss()
2478 struct ieee80211_supported_band *sband = wiphy->bands[i]; in ieee80211_set_bitrate_mask()
Dsta_info.c385 hw->wiphy->bands[ieee80211_get_sdata_band(sdata)]; in sta_info_alloc()
1836 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_rx()
Drc80211_minstrel_ht.c1275 sband = hw->wiphy->bands[i]; in minstrel_ht_alloc_sta()
Diface.c1794 sband = local->hw.wiphy->bands[i]; in ieee80211_if_add()
/linux-4.4.14/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.4.14/drivers/net/wireless/iwlwifi/dvm/
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()
205 if (priv->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) in iwlagn_mac_setup_register()
206 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in iwlagn_mac_setup_register()
207 &priv->nvm_data->bands[IEEE80211_BAND_5GHZ]; in iwlagn_mac_setup_register()
Dagn.h191 return priv->hw->wiphy->bands[band]; in iwl_get_hw_mode()
Dscan.c447 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.c952 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in iwl_calc_basic_rates()
Drs.c2807 sband = hw->wiphy->bands[conf->chandef.chan->band]; in iwl_rs_rate_init()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c2626 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_inform_single_bss()
2628 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_inform_single_bss()
2735 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in wl_inform_ibss()
2737 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in wl_inform_ibss()
4901 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_bss_roaming_done()
4903 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_bss_roaming_done()
5397 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_construct_chaninfo()
5401 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_construct_chaninfo()
5412 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_construct_chaninfo()
5414 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_construct_chaninfo()
[all …]
/linux-4.4.14/include/uapi/linux/
Dpkt_sched.h127 int bands; /* Number of bands */ member
134 __u16 bands; /* Number of bands */ member
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dmain.c1668 band = ar->hw->wiphy->bands[b]; in carl9170_op_get_survey()
1919 int bands = 0; in carl9170_parse_eeprom() local
1942 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in carl9170_parse_eeprom()
1945 bands++; in carl9170_parse_eeprom()
1948 ar->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in carl9170_parse_eeprom()
1951 bands++; in carl9170_parse_eeprom()
1954 if (!bands) in carl9170_parse_eeprom()
/linux-4.4.14/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.c1286 if (!wiphy->bands[band]) in _new_connect_scan_req()
1289 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in _new_connect_scan_req()
1291 if (wiphy->bands[band]->channels[j].flags & in _new_connect_scan_req()
1295 creq->channels[i] = &wiphy->bands[band]->channels[j]; in _new_connect_scan_req()
2164 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.4.14/drivers/net/wireless/ath/wil6210/
Dnetdev.c162 ch = wdev->wiphy->bands[IEEE80211_BAND_60GHZ]->channels; in wil_if_alloc()
Dcfg80211.c1101 wiphy->bands[IEEE80211_BAND_60GHZ] = &wil_band_60ghz; in wil_wiphy_init()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dcfg.c70 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in orinoco_wiphy_register()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon.c181 sband = hw->wiphy->bands[band]; in ath9k_cmn_process_rate()
Dhtc_drv_init.c768 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
771 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in ath9k_set_hw_capab()
Dinit.c904 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in ath9k_set_hw_capab()
907 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in ath9k_set_hw_capab()
Dmain.c1932 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath9k_get_survey()
1939 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.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c2035 sband = ar->hw->wiphy->bands[band]; in ath10k_peer_assoc_h_rates()
2815 struct ieee80211_supported_band **bands; in ath10k_update_channel_list() local
2827 bands = hw->wiphy->bands; in ath10k_update_channel_list()
2829 if (!bands[band]) in ath10k_update_channel_list()
2832 for (i = 0; i < bands[band]->n_channels; i++) { in ath10k_update_channel_list()
2833 if (bands[band]->channels[i].flags & in ath10k_update_channel_list()
2848 if (!bands[band]) in ath10k_update_channel_list()
2851 for (i = 0; i < bands[band]->n_channels; i++) { in ath10k_update_channel_list()
2852 channel = &bands[band]->channels[i]; in ath10k_update_channel_list()
5950 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey()
[all …]
Dwmi.c2301 sband = ar->hw->wiphy->bands[band]; in freq_to_idx()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-mac.c3585 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()
3589 if (il->bands[IEEE80211_BAND_5GHZ].n_channels) in il3945_setup_mac()
3590 il->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in il3945_setup_mac()
3591 &il->bands[IEEE80211_BAND_5GHZ]; in il3945_setup_mac()
3764 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()
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()
5793 if (il->bands[IEEE80211_BAND_5GHZ].n_channels) in il4965_mac_setup_register()
5794 il->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in il4965_mac_setup_register()
5795 &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.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1095 wiphy->bands[IEEE80211_BAND_2GHZ] = in rsi_mac80211_attach()
1097 wiphy->bands[IEEE80211_BAND_5GHZ] = in rsi_mac80211_attach()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dwlcore.h379 struct ieee80211_supported_band bands[WLCORE_NUM_BANDS]; member
Dmain.c2407 wiphy->bands[IEEE80211_BAND_5GHZ]->n_channels = 0; in wl12xx_init_fw()
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()
6176 memcpy(&wl->bands[IEEE80211_BAND_5GHZ], &wl1271_band_5ghz, in wl1271_init_ieee80211()
6178 memcpy(&wl->bands[IEEE80211_BAND_5GHZ].ht_cap, 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()
6184 wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in wl1271_init_ieee80211()
6185 &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.4.14/include/net/
Dmac80211.h2171 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate()
2180 return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; in ieee80211_get_rts_cts_rate()
2189 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; in ieee80211_get_alt_retry_rate()
Dcfg80211.h3259 struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS]; member
/linux-4.4.14/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.4.14/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.4.14/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()
3559 if (wiphy->bands[i]) in ath6kl_cfg80211_reg_notify()
3560 rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in ath6kl_cfg80211_reg_notify()
3946 wiphy->bands[IEEE80211_BAND_2GHZ] = &ath6kl_band_2ghz; in ath6kl_cfg80211_init()
3948 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.4.14/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()
1479 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &ar->band; in ar5523_init_modes()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dinit.c566 dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = dev->sband_2g; in mt76_init_sband_2g()
Dmac.c117 r = &dev->hw->wiphy->bands[band]->bitrates[rate->idx]; in mt76_mac_tx_rate_val()
/linux-4.4.14/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.4.14/drivers/staging/wlan-ng/
Dcfg80211.c760 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in wlan_create_wiphy()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c645 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in lbtf_add_card()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c482 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member
2427 struct ieee80211_supported_band *sband = &data->bands[band]; in mac80211_hwsim_new_radio()
2484 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()
5391 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in mwl8k_get_survey()
5399 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in mwl8k_get_survey()
Dadm8211.c1897 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.4.14/drivers/net/wireless/b43legacy/
Dmain.c2795 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()
/linux-4.4.14/drivers/net/wireless/b43/
Dmain.c4071 dev->wl->hw->wiphy->bands[b43_current_band(dev->wl)]; in b43_update_basic_rates()
5299 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = limited_2g ? in b43_setup_bands()
5303 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = limited_5g ? in b43_setup_bands()
5308 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &b43_band_5GHz_aphy; in b43_setup_bands()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c1485 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz; in wl1251_init_ieee80211()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_mac.c1398 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band; in zd_mac_alloc_hw()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1478 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8187_probe()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1803 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8180_probe()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c3334 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &WILC_WFI_band_2ghz; in WILC_WFI_CfgAlloc()
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt501 The SDR receiver has three frequency bands for the ADC tuner:
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c5740 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in rtl8xxxu_probe()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.c11394 wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = bg_band; in ipw_wdev_init()
11433 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()