/linux-4.1.27/net/sched/ |
D | sch_multiq.c | 43 u32 band; in multiq_classify() local 59 band = skb_get_queue_mapping(skb); in multiq_classify() 61 if (band >= q->bands) in multiq_classify() 64 return q->queues[band]; in multiq_classify() 99 int band; in multiq_dequeue() local 101 for (band = 0; band < q->bands; band++) { in multiq_dequeue() 131 int band; in multiq_peek() local 133 for (band = 0; band < q->bands; band++) { in multiq_peek() 157 int band; in multiq_drop() local 161 for (band = q->bands - 1; band >= 0; band--) { in multiq_drop() [all …]
|
D | sch_prio.c | 37 u32 band = skb->priority; in prio_classify() local 56 if (TC_H_MAJ(band)) in prio_classify() 57 band = 0; in prio_classify() 58 return q->queues[q->prio2band[band & TC_PRIO_MAX]]; in prio_classify() 60 band = res.classid; in prio_classify() 62 band = TC_H_MIN(band) - 1; in prio_classify() 63 if (band >= q->bands) in prio_classify() 66 return q->queues[band]; in prio_classify() 266 unsigned long band = arg - 1; in prio_graft() local 272 *old = q->queues[band]; in prio_graft() [all …]
|
D | sch_generic.c | 475 int band) in band2list() argument 477 return priv->q + band; in band2list() 483 int band = prio2band[skb->priority & TC_PRIO_MAX]; in pfifo_fast_enqueue() local 485 struct sk_buff_head *list = band2list(priv, band); in pfifo_fast_enqueue() 487 priv->bitmap |= (1 << band); in pfifo_fast_enqueue() 498 int band = bitmap2band[priv->bitmap]; in pfifo_fast_dequeue() local 500 if (likely(band >= 0)) { in pfifo_fast_dequeue() 501 struct sk_buff_head *list = band2list(priv, band); in pfifo_fast_dequeue() 506 priv->bitmap &= ~(1 << band); in pfifo_fast_dequeue() 517 int band = bitmap2band[priv->bitmap]; in pfifo_fast_peek() local [all …]
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 23 { .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 …]
|
D | rsi_91x_mgmt.c | 213 common->band = IEEE80211_BAND_2GHZ; in rsi_set_default_parameters() 658 if (common->band == IEEE80211_BAND_5GHZ) { in rsi_set_vap_capabilities() 864 if (common->band != curchan->band) { in rsi_band_check() 866 common->band = curchan->band; in rsi_band_check() 875 if (common->band == IEEE80211_BAND_2GHZ) { in rsi_band_check() 1012 u8 band = hw->conf.chandef.chan->band; in rsi_send_auto_rate_request() local 1015 u32 rate_bitmap = common->bitrate_mask[band]; in rsi_send_auto_rate_request() 1050 if (band == IEEE80211_BAND_2GHZ) { in rsi_send_auto_rate_request()
|
D | rsi_main.h | 170 u8 band; member
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-radio-rx.c | 147 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vivid_radio_rx_enum_freq_bands() argument 149 if (band->tuner != 0) in vivid_radio_rx_enum_freq_bands() 152 if (band->index >= TOT_BANDS) in vivid_radio_rx_enum_freq_bands() 155 *band = vivid_radio_bands[band->index]; in vivid_radio_rx_enum_freq_bands() 165 unsigned band; in vivid_radio_rx_s_hw_freq_seek() local 181 for (band = 0; band < TOT_BANDS; band++) in vivid_radio_rx_s_hw_freq_seek() 182 if (a->rangelow >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek() 183 a->rangehigh <= vivid_radio_bands[band].rangehigh) in vivid_radio_rx_s_hw_freq_seek() 185 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek() 188 (a->rangelow != vivid_radio_bands[band].rangelow || in vivid_radio_rx_s_hw_freq_seek() [all …]
|
D | vivid-sdr-cap.c | 305 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vivid_sdr_enum_freq_bands() argument 307 switch (band->tuner) { in vivid_sdr_enum_freq_bands() 309 if (band->index >= ARRAY_SIZE(bands_adc)) in vivid_sdr_enum_freq_bands() 311 *band = bands_adc[band->index]; in vivid_sdr_enum_freq_bands() 314 if (band->index >= ARRAY_SIZE(bands_fm)) in vivid_sdr_enum_freq_bands() 316 *band = bands_fm[band->index]; in vivid_sdr_enum_freq_bands() 345 unsigned band; in vivid_sdr_s_frequency() local 352 band = 0; in vivid_sdr_s_frequency() 354 band = 1; in vivid_sdr_s_frequency() 356 band = 2; in vivid_sdr_s_frequency() [all …]
|
D | vivid-radio-common.c | 165 unsigned band; in vivid_radio_s_frequency() local 171 band = BAND_FM; in vivid_radio_s_frequency() 173 band = BAND_AM; in vivid_radio_s_frequency() 175 band = BAND_SW; in vivid_radio_s_frequency() 177 freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow, in vivid_radio_s_frequency() 178 vivid_radio_bands[band].rangehigh); in vivid_radio_s_frequency()
|
D | vivid-radio-rx.h | 26 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
|
D | vivid-sdr-cap.h | 23 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 30 enum ieee80211_band band, bool passive) in wl1271_get_scan_channels() argument 43 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 52 req->channels[i]->band, in wl1271_get_scan_channels() 95 enum ieee80211_band band, in wl1271_scan_send() argument 132 band, passive); in wl1271_scan_send() 143 if (band == IEEE80211_BAND_2GHZ) in wl1271_scan_send() 144 cmd->params.band = WL1271_SCAN_BAND_2_4_GHZ; in wl1271_scan_send() 146 cmd->params.band = WL1271_SCAN_BAND_5_GHZ; in wl1271_scan_send() 156 cmd->params.role_id, band, in wl1271_scan_send() 217 enum ieee80211_band band; in wl1271_scan_stm() local [all …]
|
D | scan.h | 49 u8 band; member
|
/linux-4.1.27/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 194 static int si470x_set_band(struct si470x_device *radio, int band) in si470x_set_band() argument 196 if (radio->band == band) in si470x_set_band() 199 radio->band = band; in si470x_set_band() 201 radio->registers[SYSCONFIG2] |= radio->band << 6; in si470x_set_band() 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() 302 int band, retval; in si470x_set_seek() local 309 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek() [all …]
|
D | radio-si470x.h | 150 int band; member
|
/linux-4.1.27/drivers/media/tuners/ |
D | mt2266.c | 42 u8 band; member 135 u8 band; in mt2266_set_params() local 145 band = (freq < 300000) ? MT2266_VHF : MT2266_UHF; in mt2266_set_params() 146 if (band == MT2266_VHF) in mt2266_set_params() 166 if (band == MT2266_VHF && priv->band == MT2266_UHF) { in mt2266_set_params() 171 } else if (band == MT2266_UHF && priv->band == MT2266_VHF) { in mt2266_set_params() 216 (band == MT2266_UHF) ? "UHF" : "VHF"); in mt2266_set_params() 220 if (band == MT2266_UHF) { in mt2266_set_params() 222 b[1] = (priv->band == MT2266_VHF) ? 0x52 : 0x62; in mt2266_set_params() 238 if (band == MT2266_UHF && priv->band == MT2266_VHF) in mt2266_set_params() [all …]
|
D | msi001.c | 336 unsigned int band; in msi001_s_frequency() local 342 band = 0; in msi001_s_frequency() 344 band = 1; in msi001_s_frequency() 346 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency() 352 struct v4l2_frequency_band *band) in msi001_enum_freq_bands() argument 357 band->tuner, band->type, band->index); in msi001_enum_freq_bands() 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()
|
D | fc2580_priv.h | 54 u8 band; member
|
D | fc2580.c | 177 tmp_val = 0x0e | fc2580_pll_lut[i].band; in fc2580_set_params() 179 tmp_val = 0x06 | fc2580_pll_lut[i].band; in fc2580_set_params() 222 if (fc2580_pll_lut[i].band == 0x00) { in fc2580_set_params()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | stf.c | 31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ 32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) 67 struct brcms_phy_pub *pi = wlc->band->pi; in brcms_c_tempsense_upd() 101 wlc_phy_txpower_get_current(wlc->band->pi, &power, in brcms_c_stf_ss_algo_channel_get() 231 if (BRCMS_PHY_11N_CAP(wlc->band)) { in _brcms_c_stf_phy_txant_upd() 237 if (BRCMS_ISNPHY(wlc->band) && in _brcms_c_stf_phy_txant_upd() 238 NREV_GE(wlc->band->phyrev, 3) in _brcms_c_stf_phy_txant_upd() 239 && NREV_LT(wlc->band->phyrev, 7)) in _brcms_c_stf_phy_txant_upd() 242 if (BRCMS_ISLCNPHY(wlc->band) || in _brcms_c_stf_phy_txant_upd() 243 BRCMS_ISSSLPNPHY(wlc->band)) in _brcms_c_stf_phy_txant_upd() [all …]
|
D | main.c | 361 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 363 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() 374 static u16 get_sifs(struct brcms_band *band) in get_sifs() argument 376 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs() 649 if (wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_calc_frame_time() 661 if (wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_calc_frame_time() 720 brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); in brcms_c_ucode_bsinit() 724 if (BRCMS_ISNPHY(wlc_hw->band)) in brcms_c_ucode_bsinit() 733 if (BRCMS_ISLCNPHY(wlc_hw->band)) in brcms_c_ucode_bsinit() 787 wlc_hw->band = wlc_hw->bandstate[bandunit]; in brcms_c_setxband() [all …]
|
D | channel.c | 408 struct brcms_band *band; in brcms_c_channel_reg_limits() local 423 band = wlc->bandstate[chspec_bandunit(chanspec)]; in brcms_c_channel_reg_limits() 424 li_mimo = (band->bandtype == BRCM_BAND_5G) ? in brcms_c_channel_reg_limits() 428 delta = band->antgain; in brcms_c_channel_reg_limits() 430 if (band->bandtype == BRCM_BAND_2G) in brcms_c_channel_reg_limits() 438 if (band->bandtype == BRCM_BAND_2G) { in brcms_c_channel_reg_limits() 461 if (band->antgain > QDB(6)) in brcms_c_channel_reg_limits() 462 delta = band->antgain - QDB(6); /* Excess over 6 dB */ in brcms_c_channel_reg_limits() 464 if (band->bandtype == BRCM_BAND_2G) in brcms_c_channel_reg_limits() 667 int band, i; in brcms_reg_apply_beaconing_flags() local [all …]
|
D | types.h | 236 #define BRCMS_ISNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_N) argument 237 #define BRCMS_ISLCNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_LCN) argument 238 #define BRCMS_ISSSLPNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_SSN) argument 240 #define BRCMS_PHY_11N_CAP(band) PHYTYPE_11N_CAP((band)->phytype) argument
|
D | main.h | 145 ((uint)((wlc)->band->bandunit ? BAND_2G_INDEX : BAND_5G_INDEX)) 217 (((wlc)->stf->txstreams > 1) && (((wlc)->band->band_stf_stbc_tx == ON) \ 219 (wlc)->band->band_stf_stbc_tx == AUTO && \ 222 #define BRCMS_STBC_CAP_PHY(wlc) (BRCMS_ISNPHY(wlc->band) && \ 223 NREV_GE(wlc->band->phyrev, 3)) 225 #define BRCMS_SGI_CAP_PHY(wlc) ((BRCMS_ISNPHY(wlc->band) && \ 226 NREV_GE(wlc->band->phyrev, 3)) || \ 227 BRCMS_ISLCNPHY(wlc->band)) 277 struct ieee80211_supported_band band; member 336 struct brcms_hw_band *band;/* pointer to active per-band state */ member [all …]
|
D | debug.c | 102 drvr->wlc->ucode_rev, hw->band->radiorev, in brcms_debugfs_hardware_read() 103 hw->band->phytype, hw->band->phyrev, hw->band->pi->ana_rev, in brcms_debugfs_hardware_read()
|
D | mac80211_if.c | 53 .band = IEEE80211_BAND_2GHZ, \ 62 .band = IEEE80211_BAND_5GHZ, \ 221 .band = IEEE80211_BAND_2GHZ, 242 .band = IEEE80211_BAND_5GHZ, 1026 struct ieee80211_supported_band *band; in ieee_hw_rate_init() local 1035 band = &wlc->bandstate[BAND_2G_INDEX]->band; in ieee_hw_rate_init() 1036 *band = brcms_band_2GHz_nphy_template; in ieee_hw_rate_init() 1039 band->ht_cap.mcs.rx_mask[1] = 0; in ieee_hw_rate_init() 1040 band->ht_cap.mcs.rx_highest = cpu_to_le16(72); in ieee_hw_rate_init() 1042 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = band; in ieee_hw_rate_init() [all …]
|
D | stf.h | 28 int brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band);
|
/linux-4.1.27/drivers/media/radio/ |
D | tea575x.c | 164 switch (tea->band) { in snd_tea575x_val_to_freq() 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() 197 u32 band = 0; in snd_tea575x_set_freq() local 199 switch (tea->band) { in snd_tea575x_set_freq() 201 band = TEA575X_BIT_BAND_FM; in snd_tea575x_set_freq() 209 band = TEA575X_BIT_BAND_FM; in snd_tea575x_set_freq() 217 band = TEA575X_BIT_BAND_MW; in snd_tea575x_set_freq() 224 tea->val |= band; in snd_tea575x_set_freq() 251 struct v4l2_frequency_band *band) in snd_tea575x_enum_freq_bands() argument [all …]
|
D | radio-raremono.c | 124 u32 band; member 134 static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) in raremono_cmd_main() argument 139 switch (band) { in raremono_cmd_main() 165 radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; in raremono_cmd_main() 205 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 207 if (band->tuner != 0) in vidioc_enum_freq_bands() 210 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() 213 *band = bands[band->index]; in vidioc_enum_freq_bands() 258 unsigned band; in vidioc_s_frequency() local 264 band = BAND_FM; in vidioc_s_frequency() [all …]
|
D | radio-tea5777.c | 178 switch (tea->band) { in tea5777_freq_to_v4l2_freq() 192 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq() 193 bands[tea->band].rangehigh); in radio_tea5777_set_freq() 196 switch (tea->band) { in radio_tea5777_set_freq() 284 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 288 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands() 289 (!tea->has_am && band->index == BAND_AM)) in vidioc_enum_freq_bands() 292 *band = bands[band->index]; in vidioc_enum_freq_bands() 322 if (tea->band == BAND_FM && in vidioc_g_tuner() 351 if (tea->audmode != orig_audmode && tea->band == BAND_FM) in vidioc_s_tuner() [all …]
|
D | radio-si476x.c | 81 static inline bool si476x_radio_freq_is_inside_of_the_band(u32 freq, int band) in si476x_radio_freq_is_inside_of_the_band() argument 83 return freq >= si476x_bands[band].rangelow && in si476x_radio_freq_is_inside_of_the_band() 84 freq <= si476x_bands[band].rangehigh; in si476x_radio_freq_is_inside_of_the_band() 88 int band) in si476x_radio_range_is_inside_of_the_band() argument 90 return low >= si476x_bands[band].rangelow && in si476x_radio_range_is_inside_of_the_band() 91 high <= si476x_bands[band].rangehigh; in si476x_radio_range_is_inside_of_the_band() 361 struct v4l2_frequency_band *band) in si476x_radio_enum_freq_bands() argument 366 if (band->tuner != 0) in si476x_radio_enum_freq_bands() 373 if (band->index < ARRAY_SIZE(si476x_bands)) { in si476x_radio_enum_freq_bands() 374 *band = si476x_bands[band->index]; in si476x_radio_enum_freq_bands() [all …]
|
D | radio-cadet.c | 407 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 409 if (band->tuner) in vidioc_enum_freq_bands() 411 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() 413 *band = bands[band->index]; in vidioc_enum_freq_bands()
|
D | radio-tea5777.h | 71 u32 band; /* current band */ member
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-eeprom-parse.c | 393 enum ieee80211_band band; in iwl_eeprom_enh_txp_read_element() local 395 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ? in iwl_eeprom_enh_txp_read_element() 406 if (band != chan->band) in iwl_eeprom_enh_txp_read_element() 529 enum ieee80211_band band, u16 channel, in iwl_mod_ht40_chan_info() argument 537 if (data->channels[i].band != band) in iwl_mod_ht40_chan_info() 551 band == IEEE80211_BAND_5GHZ ? "5.2" : "2.4", in iwl_mod_ht40_chan_info() 574 int band, ch_idx; in iwl_init_channel_map() local 583 for (band = 1; band <= 5; band++) { in iwl_init_channel_map() 586 iwl_init_band_reference(cfg, eeprom, eeprom_size, band, in iwl_init_channel_map() 601 (band != 1) ? "5.2" : "2.4"); in iwl_init_channel_map() [all …]
|
D | iwl-eeprom-parse.h | 136 int n_channels, enum ieee80211_band band); 141 enum ieee80211_band band,
|
D | iwl-nvm-parse.c | 306 channel->band = (ch_idx < num_2ghz_channels) ? in iwl_init_channel_map() 310 channel->hw_value, channel->band); in iwl_init_channel_map() 319 is_5ghz = channel->band == IEEE80211_BAND_5GHZ; in iwl_init_channel_map() 425 sband->band = IEEE80211_BAND_2GHZ; in iwl_init_sbands() 434 sband->band = IEEE80211_BAND_5GHZ; in iwl_init_sbands() 731 enum ieee80211_band band; in iwl_parse_nvm_mcc_info() local 758 band = (ch_idx < NUM_2GHZ_CHANNELS) ? in iwl_parse_nvm_mcc_info() 761 band); in iwl_parse_nvm_mcc_info() 807 band == IEEE80211_BAND_5GHZ ? "5.2" : "2.4", in iwl_parse_nvm_mcc_info()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | scan.c | 139 priv->scan_request->channels[0]->band); in iwl_process_scan_complete() 276 notif->band ? "bg" : "a", in iwl_rx_scan_start_notif() 299 notif->band ? "bg" : "a", in iwl_rx_scan_results_notif() 374 enum ieee80211_band band, u8 n_probes) in iwl_get_active_dwell_time() argument 376 if (band == IEEE80211_BAND_5GHZ) in iwl_get_active_dwell_time() 443 enum ieee80211_band band) in iwl_get_passive_dwell_time() argument 445 u16 passive = (band == IEEE80211_BAND_2GHZ) ? in iwl_get_passive_dwell_time() 454 enum ieee80211_band band) in iwl_get_single_channel_number() argument 456 struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band]; in iwl_get_single_channel_number() 482 enum ieee80211_band band, in iwl_get_channel_for_reset_scan() argument [all …]
|
D | rxon.c | 83 priv->band = priv->hw->conf.chandef.chan->band; in iwl_connection_init_rx_config() 85 iwl_set_flags_for_band(priv, ctx, priv->band, ctx->vif); in iwl_connection_init_rx_config() 721 enum ieee80211_band band = ch->band; in iwl_set_rxon_channel() local 725 (priv->band == band)) in iwl_set_rxon_channel() 729 if (band == IEEE80211_BAND_5GHZ) in iwl_set_rxon_channel() 734 priv->band = band; in iwl_set_rxon_channel() 736 IWL_DEBUG_INFO(priv, "Staging channel set to %d [%d]\n", channel, band); in iwl_set_rxon_channel() 742 enum ieee80211_band band, in iwl_set_flags_for_band() argument 745 if (band == IEEE80211_BAND_5GHZ) { in iwl_set_flags_for_band() 951 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in iwl_calc_basic_rates() [all …]
|
D | agn.h | 162 enum ieee80211_band band, 190 struct iwl_priv *priv, enum ieee80211_band band) in iwl_get_hw_mode() argument 192 return priv->hw->wiphy->bands[band]; in iwl_get_hw_mode() 202 int iwlagn_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band); 264 enum ieee80211_band band);
|
D | rs.c | 602 enum ieee80211_band band, in rs_get_tbl_info_from_mcs() argument 627 if (band == IEEE80211_BAND_5GHZ) in rs_get_tbl_info_from_mcs() 805 if (lq_sta->band == IEEE80211_BAND_5GHZ) in rs_get_lower_rate() 824 if (lq_sta->band == IEEE80211_BAND_5GHZ) in rs_get_lower_rate() 941 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status() 942 if (priv->band == IEEE80211_BAND_5GHZ) in rs_tx_status() 955 if (priv->band == IEEE80211_BAND_2GHZ) in rs_tx_status() 1020 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status() 1045 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status() 1071 if (sta && sta->supp_rates[sband->band]) in rs_tx_status() [all …]
|
D | devices.c | 423 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()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | regd.c | 145 enum ieee80211_band band; in _rtl_reg_apply_beaconing_flags() local 151 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in _rtl_reg_apply_beaconing_flags() 153 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 156 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 292 enum ieee80211_band band; in _rtl_dump_channel_map() local 297 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in _rtl_dump_channel_map() 298 if (!wiphy->bands[band]) in _rtl_dump_channel_map() 300 sband = wiphy->bands[band]; in _rtl_dump_channel_map()
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | scan.c | 109 u8 band = IEEE80211_BAND_2GHZ; in wl18xx_scan_send() local 111 cmd->role_id, band, in wl18xx_scan_send() 126 u8 band = IEEE80211_BAND_5GHZ; in wl18xx_scan_send() local 128 cmd->role_id, band, in wl18xx_scan_send() 239 u8 band = IEEE80211_BAND_2GHZ; in wl18xx_scan_sched_scan_config() local 241 cmd->role_id, band, in wl18xx_scan_sched_scan_config() 244 ies->ies[band], in wl18xx_scan_sched_scan_config() 245 ies->len[band], in wl18xx_scan_sched_scan_config() 256 u8 band = IEEE80211_BAND_5GHZ; in wl18xx_scan_sched_scan_config() local 258 cmd->role_id, band, in wl18xx_scan_sched_scan_config() [all …]
|
D | cmd.c | 50 switch (ch_switch->chandef.chan->band) { in wl18xx_cmd_channel_switch() 52 cmd->band = WLCORE_BAND_2_4GHZ; in wl18xx_cmd_channel_switch() 55 cmd->band = WLCORE_BAND_5GHZ; in wl18xx_cmd_channel_switch() 59 ch_switch->chandef.chan->band); in wl18xx_cmd_channel_switch() 190 if (wlvif->band == IEEE80211_BAND_5GHZ) in wl18xx_cmd_set_cac() 191 cmd->band = WLCORE_BAND_5GHZ; in wl18xx_cmd_set_cac()
|
D | event.c | 67 enum ieee80211_band band; in wlcore_smart_config_sync_event() local 71 band = IEEE80211_BAND_5GHZ; in wlcore_smart_config_sync_event() 73 band = IEEE80211_BAND_2GHZ; in wlcore_smart_config_sync_event() 75 freq = ieee80211_channel_to_frequency(sync_channel, band); in wlcore_smart_config_sync_event()
|
D | tx.c | 33 u8 band, struct ieee80211_tx_rate *rate) in wl18xx_get_last_tx_rate() argument 46 if (band == IEEE80211_BAND_5GHZ) in wl18xx_get_last_tx_rate() 108 info->band, &info->status.rates[0]); in wl18xx_tx_complete_packet()
|
D | cmd.h | 43 u8 band; member 82 u8 band; member
|
/linux-4.1.27/init/ |
D | calibrate.c | 190 int trials = 0, band = 0, trial_in_band = 0; in calibrate_delay_converge() local 201 if (++trial_in_band == (1<<band)) { in calibrate_delay_converge() 202 ++band; in calibrate_delay_converge() 205 __delay(lpj * band); in calibrate_delay_converge() 206 trials += band; in calibrate_delay_converge() 212 trials -= band; in calibrate_delay_converge() 213 loopadd_base = lpj * band; in calibrate_delay_converge()
|
/linux-4.1.27/net/wireless/ |
D | debugfs.c | 72 enum ieee80211_band band; in ht40allow_map_read() local 81 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ht40allow_map_read() 82 sband = wiphy->bands[band]; in ht40allow_map_read()
|
D | mesh.c | 131 enum ieee80211_band band; in __cfg80211_join_mesh() local 133 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in __cfg80211_join_mesh() 138 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh() 171 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
|
D | util.c | 50 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_mandatory_rates() 68 int ieee80211_channel_to_frequency(int chan, enum ieee80211_band band) in ieee80211_channel_to_frequency() argument 74 switch (band) { in ieee80211_channel_to_frequency() 119 enum ieee80211_band band; in __ieee80211_get_channel() local 123 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in __ieee80211_get_channel() 124 sband = wiphy->bands[band]; in __ieee80211_get_channel() 140 enum ieee80211_band band) in set_mandatory_flags_band() argument 144 switch (band) { in set_mandatory_flags_band() 201 enum ieee80211_band band; in ieee80211_set_bitrate_flags() local 203 for (band = 0; band < IEEE80211_NUM_BANDS; band++) in ieee80211_set_bitrate_flags() [all …]
|
D | reg.c | 1377 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() 1522 enum ieee80211_band band; in reg_process_ht_flags() local 1527 for (band = 0; band < IEEE80211_NUM_BANDS; band++) in reg_process_ht_flags() 1528 reg_process_ht_flags_band(wiphy, wiphy->bands[band]); in reg_process_ht_flags() 1649 enum ieee80211_band band; in wiphy_update_regulatory() local [all …]
|
D | ibss.c | 105 rdev->wiphy.bands[params->chandef.chan->band]; in __cfg80211_join_ibss() 107 u32 flag = params->chandef.chan->band == IEEE80211_BAND_5GHZ ? in __cfg80211_join_ibss() 239 enum ieee80211_band band; in cfg80211_ibss_wext_join() local 251 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in cfg80211_ibss_wext_join() 255 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join()
|
D | core.c | 543 enum ieee80211_band band; in wiphy_register() local 626 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in wiphy_register() 627 sband = wiphy->bands[band]; in wiphy_register() 631 sband->band = band; in wiphy_register() 638 if (WARN_ON(band != IEEE80211_BAND_60GHZ && in wiphy_register() 648 band == IEEE80211_BAND_2GHZ && in wiphy_register() 668 sband->channels[i].band = band; in wiphy_register()
|
D | wext-compat.c | 146 enum ieee80211_band band; in cfg80211_wext_giwrange() local 218 for (band = 0; band < IEEE80211_NUM_BANDS; band ++) { in cfg80211_wext_giwrange() 221 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange() 268 enum ieee80211_band band = IEEE80211_BAND_2GHZ; in cfg80211_wext_freq() local 272 band = IEEE80211_BAND_5GHZ; in cfg80211_wext_freq() 273 return ieee80211_channel_to_frequency(freq->m, band); in cfg80211_wext_freq() 1230 int band, ridx; in cfg80211_wext_siwrate() local 1248 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in cfg80211_wext_siwrate() 1249 sband = wdev->wiphy->bands[band]; in cfg80211_wext_siwrate() 1255 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate() [all …]
|
D | sme.c | 84 enum ieee80211_band band = wdev->conn->params.channel->band; in cfg80211_conn_scan() local 86 wdev->wiphy->bands[band]; in cfg80211_conn_scan() 93 request->rates[band] = (1 << sband->n_bitrates) - 1; in cfg80211_conn_scan() 96 enum ieee80211_band band; in cfg80211_conn_scan() local 100 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in cfg80211_conn_scan() 101 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan() 110 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan() 739 regulatory_hint_country_ie(wdev->wiphy, bss->channel->band, in __cfg80211_connect_result()
|
D | scan.c | 535 enum ieee80211_band band, in cfg80211_bss_type_match() argument 544 if (band == IEEE80211_BAND_60GHZ) { in cfg80211_bss_type_match() 600 bss->pub.channel->band, bss_type)) in cfg80211_get_bss() 931 freq = ieee80211_channel_to_frequency(channel_number, channel->band); in cfg80211_get_bss_channel() 1008 if (channel->band == IEEE80211_BAND_60GHZ) { in cfg80211_inform_bss_width() 1091 if (channel->band == IEEE80211_BAND_60GHZ) { in cfg80211_inform_bss_width_frame() 1187 enum ieee80211_band band; in cfg80211_wext_siwscan() local 1231 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in cfg80211_wext_siwscan() 1234 if (!wiphy->bands[band]) in cfg80211_wext_siwscan() 1237 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in cfg80211_wext_siwscan() [all …]
|
D | reg.h | 107 enum ieee80211_band band,
|
D | chan.c | 611 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() 754 if (chan->band != IEEE80211_BAND_5GHZ) in cfg80211_go_permissive_chan()
|
D | nl80211.c | 1261 enum ieee80211_band band; in nl80211_send_wiphy() local 1387 for (band = state->band_start; in nl80211_send_wiphy() 1388 band < IEEE80211_NUM_BANDS; band++) { in nl80211_send_wiphy() 1391 sband = rdev->wiphy.bands[band]; in nl80211_send_wiphy() 1396 nl_band = nla_nest_start(msg, band); in nl80211_send_wiphy() 1444 band--; in nl80211_send_wiphy() 1450 if (band < IEEE80211_NUM_BANDS) in nl80211_send_wiphy() 1451 state->band_start = band + 1; in nl80211_send_wiphy() 5831 enum ieee80211_band band; in nl80211_trigger_scan() local 5834 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in nl80211_trigger_scan() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | scan.c | 119 static __le32 iwl_mvm_scan_rxon_flags(enum ieee80211_band band) in iwl_mvm_scan_rxon_flags() argument 121 if (band == IEEE80211_BAND_2GHZ) in iwl_mvm_scan_rxon_flags() 128 iwl_mvm_scan_rate_n_flags(struct iwl_mvm *mvm, enum ieee80211_band band, in iwl_mvm_scan_rate_n_flags() argument 138 if (band == IEEE80211_BAND_2GHZ && !no_cck) in iwl_mvm_scan_rate_n_flags() 178 enum ieee80211_band band, int n_ssids) in iwl_mvm_get_active_dwell() argument 182 if (band == IEEE80211_BAND_2GHZ) in iwl_mvm_get_active_dwell() 188 enum ieee80211_band band) in iwl_mvm_get_passive_dwell() argument 192 return band == IEEE80211_BAND_2GHZ ? 100 + 20 : 100 + 10; in iwl_mvm_get_passive_dwell() 212 enum ieee80211_band band; in iwl_mvm_scan_calc_params() local 265 for (band = IEEE80211_BAND_2GHZ; band < IEEE80211_NUM_BANDS; band++) { in iwl_mvm_scan_calc_params() [all …]
|
D | rs.c | 786 enum ieee80211_band band, in rs_rate_from_ucode_rate() argument 805 if (band == IEEE80211_BAND_5GHZ) in rs_rate_from_ucode_rate() 1000 if (lq_sta->band == IEEE80211_BAND_5GHZ) in rs_get_lower_rate_down_column() 1148 rs_rate_from_ucode_rate(tx_resp_hwrate, info->band, &tx_resp_rate); in iwl_mvm_rs_tx_status() 1190 iwl_mvm_rs_rate_init(mvm, sta, info->band, false); in iwl_mvm_rs_tx_status() 1204 rs_rate_from_ucode_rate(lq_hwrate, info->band, &lq_rate); in iwl_mvm_rs_tx_status() 1293 rs_rate_from_ucode_rate(lq_hwrate, info->band, in iwl_mvm_rs_tx_status() 1323 if (sta->supp_rates[info->band]) in iwl_mvm_rs_tx_status() 1730 if (lq_sta->band == IEEE80211_BAND_5GHZ) in rs_switch_to_column() 1900 struct rs_rate *rate, enum ieee80211_band band) in rs_tpc_allowed() argument [all …]
|
D | tx.c | 210 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate() 213 if (info->band == IEEE80211_BAND_5GHZ) in iwl_mvm_set_tx_cmd_rate() 226 if (info->band == IEEE80211_BAND_2GHZ && in iwl_mvm_set_tx_cmd_rate() 577 enum ieee80211_band band, in iwl_mvm_hwrate_to_tx_rate() argument 608 band); in iwl_mvm_hwrate_to_tx_rate() 622 iwl_mvm_hwrate_to_tx_rate(rate_n_flags, info->band, r); in iwl_mvm_hwrate_to_tx_status() 1043 ba_info.band = chanctx_conf->def.chan->band; in iwl_mvm_rx_ba_notif()
|
D | coex.c | 381 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_get_coex_type() 560 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator() 789 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_mvm_bt_rssi_iterator() 950 enum ieee80211_band band) in iwl_mvm_bt_coex_is_tpc_allowed() argument 955 return iwl_mvm_bt_coex_is_tpc_allowed_old(mvm, band); in iwl_mvm_bt_coex_is_tpc_allowed() 957 if (band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed() 968 if (info->band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_tx_prio()
|
D | phy-ctxt.c | 150 cmd->ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ? in iwl_mvm_phy_ctxt_cmd_data()
|
D | rs.h | 307 enum ieee80211_band band; member 353 enum ieee80211_band band, bool init);
|
D | rx.c | 313 rx_status->band = in iwl_mvm_rx_rx_mpdu() 318 rx_status->band); in iwl_mvm_rx_rx_mpdu() 425 rx_status->band); in iwl_mvm_rx_rx_mpdu()
|
D | coex_legacy.c | 579 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() 1110 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_mvm_bt_rssi_iterator() 1237 enum ieee80211_band band) in iwl_mvm_bt_coex_is_tpc_allowed_old() argument 1242 if (band != IEEE80211_BAND_2GHZ) in iwl_mvm_bt_coex_is_tpc_allowed_old()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | s921.c | 269 int band, rc, i; in s921_pll_tune() local 276 for (band = 0; band < ARRAY_SIZE(s921_bandselect); band++) in s921_pll_tune() 277 if (p->frequency < s921_bandselect[band].freq_low) in s921_pll_tune() 279 band--; in s921_pll_tune() 281 if (band < 0) { in s921_pll_tune() 286 f_switch = s921_bandselect[band].band_reg; in s921_pll_tune()
|
D | rtl2832_sdr.c | 1007 struct v4l2_frequency_band *band) in rtl2832_sdr_enum_freq_bands() argument 1013 band->tuner, band->type, band->index); in rtl2832_sdr_enum_freq_bands() 1015 if (band->tuner == 0) { in rtl2832_sdr_enum_freq_bands() 1016 if (band->index >= ARRAY_SIZE(bands_adc)) in rtl2832_sdr_enum_freq_bands() 1019 *band = bands_adc[band->index]; in rtl2832_sdr_enum_freq_bands() 1020 } else if (band->tuner == 1) { in rtl2832_sdr_enum_freq_bands() 1021 if (band->index >= ARRAY_SIZE(bands_fm)) in rtl2832_sdr_enum_freq_bands() 1024 *band = bands_fm[band->index]; in rtl2832_sdr_enum_freq_bands() 1059 int ret, band; in rtl2832_sdr_s_frequency() local 1070 band = 0; in rtl2832_sdr_s_frequency() [all …]
|
D | cx24123.c | 522 int band = 0; in cx24123_pll_calculate() local 551 band = i; in cx24123_pll_calculate() 554 band = force_band - 1; in cx24123_pll_calculate() 556 state->bandselectarg = cx24123_bandselect_vals[band].progdata; in cx24123_pll_calculate() 557 vco_div = cx24123_bandselect_vals[band].VCOdivider; in cx24123_pll_calculate() 560 if (p->frequency < (cx24123_bandselect_vals[band].freq_low + in cx24123_pll_calculate() 561 cx24123_bandselect_vals[band].freq_high) / 2) in cx24123_pll_calculate()
|
D | dib0070.c | 348 u8 band = (u8)BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency/1000); in dib0070_tune_digital() local 349 …u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz… in dib0070_tune_digital() 386 dprintk("Tuning for Band: %hd (%d kHz)", band, freq); in dib0070_tune_digital() 401 switch (band) { in dib0070_tune_digital() 454 if (band == BAND_SBAND) { in dib0070_tune_digital()
|
D | dib7000m.c | 675 static int dib7000m_set_agc_config(struct dib7000m_state *state, u8 band) in dib7000m_set_agc_config() argument 679 if (state->current_band == band && state->current_agc != NULL) in dib7000m_set_agc_config() 681 state->current_band = band; in dib7000m_set_agc_config() 684 if (state->cfg.agc[i].band_caps & band) { in dib7000m_set_agc_config() 690 dprintk( "no valid AGC configuration found for band 0x%02x",band); in dib7000m_set_agc_config()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | cmd.c | 426 enum ieee80211_band band, in wl12xx_cmd_role_start_dev() argument 441 if (band == IEEE80211_BAND_5GHZ) in wl12xx_cmd_role_start_dev() 442 cmd->band = WLCORE_BAND_5GHZ; in wl12xx_cmd_role_start_dev() 527 if (wlvif->band == IEEE80211_BAND_5GHZ) in wl12xx_cmd_role_start_sta() 528 cmd->band = WLCORE_BAND_5GHZ; in wl12xx_cmd_role_start_sta() 695 switch (wlvif->band) { in wl12xx_cmd_role_start_ap() 697 cmd->band = WLCORE_BAND_2_4GHZ; in wl12xx_cmd_role_start_ap() 700 cmd->band = WLCORE_BAND_5GHZ; in wl12xx_cmd_role_start_ap() 703 wl1271_warning("ap start - unknown band: %d", (int)wlvif->band); in wl12xx_cmd_role_start_ap() 704 cmd->band = WLCORE_BAND_2_4GHZ; in wl12xx_cmd_role_start_ap() [all …]
|
D | rx.c | 67 status->band = IEEE80211_BAND_2GHZ; in wl1271_rx_status() 69 status->band = IEEE80211_BAND_5GHZ; in wl1271_rx_status() 71 status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); in wl1271_rx_status() 87 status->band); in wl1271_rx_status() 104 status->band); in wl1271_rx_status()
|
D | cmd.h | 43 enum ieee80211_band band, int channel); 63 u8 role_id, u8 band, 86 enum ieee80211_band band, u8 channel); 93 enum ieee80211_band band); 304 u8 band; member 570 u8 band; member
|
D | scan.c | 139 u32 band, bool radar, bool passive, in wlcore_scan_get_channels() argument 167 if (band == IEEE80211_BAND_5GHZ) in wlcore_scan_get_channels() 193 if ((req_channels[i]->band == band) && in wlcore_scan_get_channels() 218 (band == IEEE80211_BAND_2GHZ) && in wlcore_scan_get_channels()
|
D | wlcore.h | 348 enum ieee80211_band band; member 519 wlcore_set_ht_cap(struct wl1271 *wl, enum ieee80211_band band, in wlcore_set_ht_cap() argument 522 memcpy(&wl->ht_cap[band], ht_cap, sizeof(*ht_cap)); in wlcore_set_ht_cap()
|
D | rx.h | 146 u8 wl1271_rate_to_idx(int rate, enum ieee80211_band band);
|
D | ps.c | 205 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode() 216 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode()
|
D | scan.h | 34 const u8 *ie, size_t ie_len, u8 band);
|
D | tx.c | 458 struct ieee80211_supported_band *band; in wl1271_tx_enabled_rates_get() local 462 band = wl->hw->wiphy->bands[rate_band]; in wl1271_tx_enabled_rates_get() 463 for (bit = 0; bit < band->n_bitrates; bit++) { in wl1271_tx_enabled_rates_get() 465 enabled_rates |= band->bitrates[bit].hw_value; in wl1271_tx_enabled_rates_get() 470 rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; in wl1271_tx_enabled_rates_get() 945 wlvif->band); in wl1271_tx_complete_packet()
|
D | main.c | 2001 wl->band = IEEE80211_BAND_2GHZ; in wlcore_op_stop_locked() 2318 wlvif->band = wl->band; in wl12xx_init_vif_data() 2997 wlvif->band); in wlcore_set_assoc() 3063 wlvif->basic_rate_set = wlvif->bitrate_masks[wlvif->band]; in wl1271_set_band_rate() 4150 wlvif->band); in wl1271_bss_info_changed_ap() 4248 wlvif->band); in wlcore_set_bssid() 4257 wlvif->band); in wlcore_set_bssid() 4374 sta_rate_set = sta->supp_rates[wlvif->band]; in wl1271_bss_info_changed_sta() 4410 wlvif->band); in wl1271_bss_info_changed_sta() 4701 wlvif->band = ctx->def.chan->band; in wlcore_op_assign_vif_chanctx() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 3945-rs.c | 100 il3945_get_rate_idx_by_rssi(s32 rssi, enum ieee80211_band band) in il3945_get_rate_idx_by_rssi() argument 109 switch (band) { in il3945_get_rate_idx_by_rssi() 349 sband = hw->wiphy->bands[conf->chandef.chan->band]; in il3945_rs_rate_init() 375 if (sta->supp_rates[sband->band] & (1 << i)) { in il3945_rs_rate_init() 381 il->_3945.sta_supp_rates = sta->supp_rates[sband->band]; in il3945_rs_rate_init() 383 if (sband->band == IEEE80211_BAND_5GHZ) { in il3945_rs_rate_init() 544 enum ieee80211_band band) in il3945_get_adjacent_rate() argument 552 if (unlikely(band == IEEE80211_BAND_5GHZ)) { in il3945_get_adjacent_rate() 656 rate_mask = sta->supp_rates[sband->band]; in il3945_rs_get_rate() 660 if (sband->band == IEEE80211_BAND_5GHZ && max_rate_idx != -1) in il3945_rs_get_rate() [all …]
|
D | 4965.c | 779 get_min_power_idx(s32 rate_power_idx, u32 band) in get_min_power_idx() argument 781 if (!band) { in get_min_power_idx() 1019 il4965_fill_txpower_tbl(struct il_priv *il, u8 band, u16 channel, u8 is_ht40, in il4965_fill_txpower_tbl() argument 1052 D_TXPOWER("chan %d band %d is_ht40 %d\n", channel, band, is_ht40); in il4965_fill_txpower_tbl() 1054 ch_info = il_get_channel_info(il, il->band, channel); in il4965_fill_txpower_tbl() 1079 if (band) in il4965_fill_txpower_tbl() 1086 if (band) in il4965_fill_txpower_tbl() 1101 if (band) in il4965_fill_txpower_tbl() 1209 if (power_idx < get_min_power_idx(i, band)) in il4965_fill_txpower_tbl() 1210 power_idx = get_min_power_idx(i, band); in il4965_fill_txpower_tbl() [all …]
|
D | common.c | 865 il_mod_ht40_chan_info(struct il_priv *il, enum ieee80211_band band, u16 channel, in il_mod_ht40_chan_info() argument 872 (struct il_channel_info *)il_get_channel_info(il, band, channel); in il_mod_ht40_chan_info() 909 int band, ch; in il_init_channel_map() local 940 for (band = 1; band <= 5; band++) { in il_init_channel_map() 942 il_init_band_reference(il, band, &eeprom_ch_count, in il_init_channel_map() 948 ch_info->band = in il_init_channel_map() 949 (band == in il_init_channel_map() 1007 for (band = 6; band <= 7; band++) { in il_init_channel_map() 1010 il_init_band_reference(il, band, &eeprom_ch_count, in il_init_channel_map() 1015 (band == 6) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in il_init_channel_map() [all …]
|
D | 4965-rs.c | 552 enum ieee80211_band band, in il4965_rs_get_tbl_info_from_mcs() argument 577 if (band == IEEE80211_BAND_5GHZ) in il4965_rs_get_tbl_info_from_mcs() 746 if (lq_sta->band == IEEE80211_BAND_5GHZ) in il4965_rs_get_lower_rate() 765 if (lq_sta->band == IEEE80211_BAND_5GHZ) in il4965_rs_get_lower_rate() 853 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, &rs_idx); in il4965_rs_tx_status() 854 if (il->band == IEEE80211_BAND_5GHZ) in il4965_rs_tx_status() 867 if (il->band == IEEE80211_BAND_2GHZ) in il4965_rs_tx_status() 934 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, in il4965_rs_tx_status() 960 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, in il4965_rs_tx_status() 988 if (sta->supp_rates[sband->band]) in il4965_rs_tx_status() [all …]
|
D | 3945.c | 257 switch (il->band) { in il3945_rs_next_rate() 352 if (info->band == IEEE80211_BAND_5GHZ) in il3945_hdl_tx() 555 rx_status.band = in il3945_hdl_rx() 561 rx_status.band); in il3945_hdl_rx() 564 if (rx_status.band == IEEE80211_BAND_5GHZ) in il3945_hdl_rx() 1412 txpower.band = (il->band == IEEE80211_BAND_5GHZ) ? 0 : 1; in il3945_send_tx_power() 1413 ch_info = il_get_channel_info(il, il->band, chan); in il3945_send_tx_power() 1416 il->band); in il3945_send_tx_power() 1434 le16_to_cpu(txpower.channel), txpower.band, in il3945_send_tx_power() 1445 le16_to_cpu(txpower.channel), txpower.band, in il3945_send_tx_power() [all …]
|
D | commands.h | 759 u8 band; member 769 u8 band; member 782 __le16 band; member 1741 u8 band; /* 0: 5 GHz, 1: 2.4 GHz */ member 1748 u8 band; /* 0: 5 GHz, 1: 2.4 GHz */ member 2213 u8 band; /* 0 - 5.2GHz, 1 - 2.4GHz */ member 2590 u8 band; member 2610 u8 band; member
|
D | common.h | 435 enum ieee80211_band band, 500 enum ieee80211_band band; member 1144 enum ieee80211_band band; member 1482 return ch_info->band == IEEE80211_BAND_5GHZ; in il_is_channel_a_band() 1710 void il_set_flags_for_band(struct il_priv *il, enum ieee80211_band band, 1712 u8 il_get_single_channel_number(struct il_priv *il, enum ieee80211_band band); 1796 u16 il_get_active_dwell_time(struct il_priv *il, enum ieee80211_band band, 1798 u16 il_get_passive_dwell_time(struct il_priv *il, enum ieee80211_band band, 1958 il_get_hw_mode(struct il_priv *il, enum ieee80211_band band) in il_get_hw_mode() argument 1960 return il->hw->wiphy->bands[band]; in il_get_hw_mode() [all …]
|
D | 4965-mac.c | 460 il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band) in il4965_hwrate_to_mac80211_idx() argument 471 if (band == IEEE80211_BAND_5GHZ) in il4965_hwrate_to_mac80211_idx() 689 rx_status.band = in il4965_hdl_rx() 695 rx_status.band); in il4965_hdl_rx() 697 il4965_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); in il4965_hdl_rx() 769 enum ieee80211_band band, u8 is_active, in il4965_get_channels_for_scan() argument 780 sband = il_get_hw_mode(il, band); in il4965_get_channels_for_scan() 784 active_dwell = il_get_active_dwell_time(il, band, n_probes); in il4965_get_channels_for_scan() 785 passive_dwell = il_get_passive_dwell_time(il, band, vif); in il4965_get_channels_for_scan() 793 if (chan->band != band) in il4965_get_channels_for_scan() [all …]
|
D | 3945-mac.c | 1550 il3945_get_channels_for_scan(struct il_priv *il, enum ieee80211_band band, in il3945_get_channels_for_scan() argument 1562 sband = il_get_hw_mode(il, band); in il3945_get_channels_for_scan() 1566 active_dwell = il_get_active_dwell_time(il, band, n_probes); in il3945_get_channels_for_scan() 1567 passive_dwell = il_get_passive_dwell_time(il, band, vif); in il3945_get_channels_for_scan() 1575 if (chan->band != band) in il3945_get_channels_for_scan() 1580 ch_info = il_get_channel_info(il, band, scan_ch->channel); in il3945_get_channels_for_scan() 1621 if (band == IEEE80211_BAND_5GHZ) in il3945_get_channels_for_scan() 2537 enum ieee80211_band band; in il3945_request_scan() local 2621 band = IEEE80211_BAND_2GHZ; in il3945_request_scan() 2625 band = IEEE80211_BAND_5GHZ; in il3945_request_scan() [all …]
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | eeprom.c | 79 enum ieee80211_band band; member 127 enum ieee80211_band band) in p54_fill_band_bitrates() argument 131 switch (band) { in p54_fill_band_bitrates() 150 enum ieee80211_band band) in p54_generate_band() argument 157 if ((!list->entries) || (!list->band_channel_num[band])) in p54_generate_band() 165 list->band_channel_num[band], GFP_KERNEL); in p54_generate_band() 169 ret = p54_fill_band_bitrates(dev, tmp, band); in p54_generate_band() 173 for (i = 0, j = 0; (j < list->band_channel_num[band]) && in p54_generate_band() 178 if (chan->band != band) in p54_generate_band() 194 dest->band = chan->band; in p54_generate_band() [all …]
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | cfg.c | 55 priv->band.bitrates = orinoco_rates; in orinoco_wiphy_register() 56 priv->band.n_bitrates = ARRAY_SIZE(orinoco_rates); in orinoco_wiphy_register() 67 priv->band.channels = priv->channels; in orinoco_wiphy_register() 68 priv->band.n_channels = channels; 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()
|
/linux-4.1.27/Documentation/networking/ |
D | multiqueue.txt | 41 associated with the band is not stopped prior to dequeuing a packet. 45 will be queued to the band associated with the hardware queue. 59 queues, the band mapping would look like: 61 band 0 => queue 0 62 band 1 => queue 1 63 band 2 => queue 2 64 band 3 => queue 3
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 141 .band = IEEE80211_BAND_2GHZ, 147 .band = IEEE80211_BAND_5GHZ, 335 switch (ch->chan->band) { in chandef_to_chanspec() 337 ch_inf.band = BRCMU_CHAN_BAND_2G; in chandef_to_chanspec() 340 ch_inf.band = BRCMU_CHAN_BAND_5G; in chandef_to_chanspec() 2518 struct ieee80211_supported_band *band; in brcmf_inform_single_bss() local 2541 band = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcmf_inform_single_bss() 2543 band = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcmf_inform_single_bss() 2545 freq = ieee80211_channel_to_frequency(channel, band->band); in brcmf_inform_single_bss() 2615 struct ieee80211_supported_band *band; in wl_inform_ibss() local [all …]
|
D | common.c | 134 join_pref_params[0].band = WLC_BAND_5G; in brcmf_c_preinit_dcmds() 138 join_pref_params[1].band = 0; in brcmf_c_preinit_dcmds()
|
D | fwil_types.h | 171 __le32 band; member 373 u8 band; member
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | pcu.c | 113 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum ieee80211_band band, in ath5k_hw_get_frame_duration() argument 123 NULL, band, len, rate); in ath5k_hw_get_frame_duration() 224 if (channel->band == IEEE80211_BAND_5GHZ) in ath5k_hw_get_default_sifs() 282 u8 band = IEEE80211_BAND_2GHZ; in ath5k_hw_write_rate_duration() local 285 for (i = 0; i < ah->sbands[band].n_bitrates; i++) { in ath5k_hw_write_rate_duration() 290 rate = &ah->sbands[band].bitrates[ack_rates_high[i]]; in ath5k_hw_write_rate_duration() 293 rate = &ah->sbands[band].bitrates[0]; in ath5k_hw_write_rate_duration() 296 rate = &ah->sbands[band].bitrates[4]; in ath5k_hw_write_rate_duration() 307 tx_time = ath5k_hw_get_frame_duration(ah, band, 10, in ath5k_hw_write_rate_duration() 315 tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, true); in ath5k_hw_write_rate_duration()
|
D | debug.c | 1047 struct ieee80211_supported_band *band = &ah->sbands[b]; in ath5k_debug_dump_bands() local 1049 switch (band->band) { in ath5k_debug_dump_bands() 1058 band->band); in ath5k_debug_dump_bands() 1062 band->n_channels, band->n_bitrates); in ath5k_debug_dump_bands() 1064 for (i = 0; i < band->n_channels; i++) in ath5k_debug_dump_bands() 1067 band->channels[i].center_freq), in ath5k_debug_dump_bands() 1068 band->channels[i].center_freq, in ath5k_debug_dump_bands() 1069 band->channels[i].hw_value, in ath5k_debug_dump_bands() 1070 band->channels[i].flags); in ath5k_debug_dump_bands() 1072 for (i = 0; i < band->n_bitrates; i++) in ath5k_debug_dump_bands() [all …]
|
D | qcu.c | 562 enum ieee80211_band band; in ath5k_hw_set_ifs_intervals() local 599 if (channel->band == IEEE80211_BAND_5GHZ) in ath5k_hw_set_ifs_intervals() 600 band = IEEE80211_BAND_5GHZ; in ath5k_hw_set_ifs_intervals() 602 band = IEEE80211_BAND_2GHZ; in ath5k_hw_set_ifs_intervals() 615 sband = &ah->sbands[band]; in ath5k_hw_set_ifs_intervals() 626 ack_tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, false); in ath5k_hw_set_ifs_intervals()
|
D | base.c | 271 static bool ath5k_is_standard_channel(short chan, enum ieee80211_band band) in ath5k_is_standard_channel() argument 277 static bool ath5k_is_standard_channel(short chan, enum ieee80211_band band) in ath5k_is_standard_channel() argument 279 if (band == IEEE80211_BAND_2GHZ && chan <= 14) in ath5k_is_standard_channel() 300 enum ieee80211_band band; in ath5k_setup_channels() local 306 band = IEEE80211_BAND_5GHZ; in ath5k_setup_channels() 311 band = IEEE80211_BAND_2GHZ; in ath5k_setup_channels() 320 freq = ieee80211_channel_to_frequency(ch, band); in ath5k_setup_channels() 327 channels[count].band = band; in ath5k_setup_channels() 334 if (!ath5k_is_standard_channel(ch, band)) in ath5k_setup_channels() 349 ah->rate_idx[b->band][i] = -1; in ath5k_setup_rate_idx() [all …]
|
D | phy.c | 84 ath5k_hw_radio_revision(struct ath5k_hw *ah, enum ieee80211_band band) in ath5k_hw_radio_revision() argument 93 switch (band) { in ath5k_hw_radio_revision() 141 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_channel_ok() 145 } else if (channel->band == IEEE80211_BAND_5GHZ) in ath5k_channel_ok() 754 ath5k_hw_rfgain_init(struct ath5k_hw *ah, enum ieee80211_band band) in ath5k_hw_rfgain_init() argument 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() 947 } else if ((channel->band == IEEE80211_BAND_5GHZ) || 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() [all …]
|
/linux-4.1.27/net/mac80211/ |
D | ocb.c | 51 int band; in ieee80211_ocb_rx_no_sta() local 70 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta() 81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta() 82 sta->sta.supp_rates[band] = in ieee80211_ocb_rx_no_sta()
|
D | tx.c | 69 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration() 142 switch (sband->band) { in ieee80211_duration() 178 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, in ieee80211_duration() 187 dur += ieee80211_frame_duration(sband->band, next_frag_len, in ieee80211_duration() 657 sband = tx->local->hw.wiphy->bands[info->band]; in ieee80211_tx_h_rate_ctrl() 668 txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; in ieee80211_tx_h_rate_ctrl() 674 if (tx->sdata->rc_has_mcs_mask[info->band]) in ieee80211_tx_h_rate_ctrl() 676 tx->sdata->rc_rateidx_mcs_mask[info->band]; in ieee80211_tx_h_rate_ctrl() 716 info->band ? 5 : 2)) in ieee80211_tx_h_rate_ctrl() 1503 int band, struct ieee80211_sta **sta) in ieee80211_tx_prepare_skb() argument [all …]
|
D | scan.c | 154 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update() 263 bands_used |= BIT(req->channels[i]->band); in ieee80211_prep_hw_scan() 275 if (req->channels[i]->band != in ieee80211_prep_hw_scan() 281 bands_used |= BIT(req->channels[i]->band); in ieee80211_prep_hw_scan() 481 enum ieee80211_band band = local->hw.conf.chandef.chan->band; in ieee80211_scan_state_send_probe() local 499 scan_req->rates[band], false, in ieee80211_scan_state_send_probe() 538 if (bands_counted & BIT(req->channels[i]->band)) in __ieee80211_start_scan() 540 bands_counted |= BIT(req->channels[i]->band); in __ieee80211_start_scan() 947 enum ieee80211_band band; in ieee80211_request_ibss_scan() local 959 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ieee80211_request_ibss_scan() [all …]
|
D | ibss.c | 92 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp() 128 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_ibss_build_presp() 350 sdata->vif.bss_conf.use_short_slot = chan->band == IEEE80211_BAND_5GHZ; in __ieee80211_sta_join_ibss() 354 if (chan->band == IEEE80211_BAND_2GHZ && have_higher_than_11mbit) in __ieee80211_sta_join_ibss() 441 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss() 612 int band; in ieee80211_ibss_add_sta() local 639 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta() 652 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta() 653 sta->sta.supp_rates[band] = supp_rates | in ieee80211_ibss_add_sta() 808 ifibss->chandef.chan->band, in ieee80211_ibss_process_chanswitch() [all …]
|
D | mesh_plink.c | 97 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in mesh_set_short_slot_time() local 98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time() 104 if (band == IEEE80211_BAND_5GHZ) { in mesh_set_short_slot_time() 108 } else if (band != IEEE80211_BAND_2GHZ || in mesh_set_short_slot_time() 109 (band == IEEE80211_BAND_2GHZ && in mesh_set_short_slot_time() 127 if (erp_rates & sta->sta.supp_rates[band]) in mesh_set_short_slot_time() 300 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in mesh_plink_frame_tx() local 310 if (ieee80211_add_srates_ie(sdata, skb, true, band) || in mesh_plink_frame_tx() 311 ieee80211_add_ext_srates_ie(sdata, skb, true, band) || in mesh_plink_frame_tx() 382 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in mesh_sta_info_init() local [all …]
|
D | rate.c | 231 if ((sband->band == IEEE80211_BAND_2GHZ) && in __rate_control_send_low() 243 if (!rate_supported(sta, sband->band, i)) in __rate_control_send_low() 274 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; in rate_control_send_low() 591 mask = sdata->rc_rateidx_mask[info->band]; in rate_control_apply_mask() 592 has_mcs_mask = sdata->rc_has_mcs_mask[info->band]; in rate_control_apply_mask() 603 memcpy(mcs_mask, sdata->rc_rateidx_mcs_mask[info->band], in rate_control_apply_mask() 610 mask &= sta->supp_rates[info->band]; in rate_control_apply_mask() 648 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates() 655 sdata->rc_rateidx_mask[info->band]); in ieee80211_get_tx_rates()
|
D | vht.c | 362 enum ieee80211_band band, bool nss_only) in __ieee80211_vht_handle_opmode() argument 370 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode() 414 enum ieee80211_band band, bool nss_only) in ieee80211_vht_handle_opmode() argument 417 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode() 420 band, nss_only); in ieee80211_vht_handle_opmode()
|
D | mesh.c | 417 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in mesh_add_ht_cap_ie() local 421 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() 618 enum ieee80211_band band; in ieee80211_mesh_build_beacon() local 627 band = chanctx_conf->def.chan->band; in ieee80211_mesh_build_beacon() 707 if (ieee80211_add_srates_ie(sdata, skb, true, band) || in ieee80211_mesh_build_beacon() 718 if (ieee80211_add_ext_srates_ie(sdata, skb, true, band) || in ieee80211_mesh_build_beacon() 864 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in ieee80211_mesh_process_chnswitch() local 883 err = ieee80211_parse_ch_switch_ie(sdata, elems, band, in ieee80211_mesh_process_chnswitch() 1018 enum ieee80211_band band = rx_status->band; in ieee80211_mesh_rx_bcn_presp() local [all …]
|
D | util.c | 110 int ieee80211_frame_duration(enum ieee80211_band band, size_t len, in ieee80211_frame_duration() argument 128 if (band == IEEE80211_BAND_5GHZ || erp) { in ieee80211_frame_duration() 180 enum ieee80211_band band, in ieee80211_generic_frame_duration() argument 198 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration() 217 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 235 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 238 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration() 241 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 261 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 278 dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_ctstoself_duration() [all …]
|
D | ieee80211_i.h | 967 enum ieee80211_band band = IEEE80211_BAND_2GHZ; in ieee80211_get_sdata_band() local 973 band = chanctx_conf->def.chan->band; in ieee80211_get_sdata_band() 976 return band; in ieee80211_get_sdata_band() 1714 enum ieee80211_band band, bool nss_only); 1717 enum ieee80211_band band, bool nss_only); 1770 int ieee80211_frame_duration(enum ieee80211_band band, size_t len, 1783 enum ieee80211_band band); 1788 enum ieee80211_band band) in ieee80211_tx_skb_tid_band() argument 1791 __ieee80211_tx_skb_tid_band(sdata, skb, tid, band); in ieee80211_tx_skb_tid_band() 1809 chanctx_conf->def.chan->band); in ieee80211_tx_skb_tid() [all …]
|
D | main.c | 792 enum ieee80211_band band; in ieee80211_register_hw() local 864 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ieee80211_register_hw() 867 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw() 926 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ieee80211_register_hw() 927 if (!local->hw.wiphy->bands[band]) in ieee80211_register_hw() 929 local->int_scan_req->rates[band] = (u32) -1; in ieee80211_register_hw()
|
D | rc80211_minstrel.c | 439 calc_rate_durations(enum ieee80211_band band, in calc_rate_durations() argument 447 d->perfect_tx_time = ieee80211_frame_duration(band, 1200, in calc_rate_durations() 450 d->ack_time = ieee80211_frame_duration(band, 10, in calc_rate_durations() 492 mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10, in minstrel_rate_init() 509 if (!rate_supported(sta, sband->band, i)) in minstrel_rate_init() 522 calc_rate_durations(sband->band, mr, &sband->bitrates[i], in minstrel_rate_init()
|
D | tdls.c | 299 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in ieee80211_tdls_add_setup_start_ies() local 308 ieee80211_add_srates_ie(sdata, skb, false, band); in ieee80211_tdls_add_setup_start_ies() 309 ieee80211_add_ext_srates_ie(sdata, skb, false, band); in ieee80211_tdls_add_setup_start_ies() 378 sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_setup_start_ies() 481 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in ieee80211_tdls_add_setup_cfm_ies() local 544 if (band != IEEE80211_BAND_2GHZ && !ap_sta->sta.vht_cap.vht_supported && in ieee80211_tdls_add_setup_cfm_ies() 1578 enum ieee80211_band band; in ieee80211_process_tdls_channel_switch_req() local 1610 band = IEEE80211_BAND_5GHZ; in ieee80211_process_tdls_channel_switch_req() 1612 band = target_channel < 14 ? IEEE80211_BAND_2GHZ : in ieee80211_process_tdls_channel_switch_req() 1615 freq = ieee80211_channel_to_frequency(target_channel, band); in ieee80211_process_tdls_channel_switch_req()
|
D | cfg.c | 1031 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in sta_apply_parameters() local 1034 sband = local->hw.wiphy->bands[band]; in sta_apply_parameters() 1129 &sta->sta.supp_rates[band]); in sta_apply_parameters() 1146 band, false); in sta_apply_parameters() 1843 enum ieee80211_band band; in ieee80211_change_bss() local 1849 band = ieee80211_get_sdata_band(sdata); in ieee80211_change_bss() 1862 band == IEEE80211_BAND_5GHZ) { in ieee80211_change_bss() 1875 wiphy->bands[band], in ieee80211_change_bss() 3079 if (sdata->u.ibss.chandef.chan->band != in ieee80211_set_csa_beacon() 3080 params->chandef.chan->band) in ieee80211_set_csa_beacon() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/net/wireless/ |
D | brcm,bcm43xx-fmac.txt | 16 - interrupts : specifies attributes for the out-of-band interrupt (host-wake). 17 When not specified the device will use in-band SDIO interrupts. 18 - interrupt-names : name of the out-of-band interrupt, which must be set
|
D | ti,wlcore.txt | 19 - interrupts : specifies attributes for the out-of-band interrupt.
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmutil/ |
D | d11.c | 134 ch->band = BRCMU_CHAN_BAND_5G; in brcmu_d11n_decchspec() 137 ch->band = BRCMU_CHAN_BAND_2G; in brcmu_d11n_decchspec() 200 ch->band = BRCMU_CHAN_BAND_5G; in brcmu_d11ac_decchspec() 203 ch->band = BRCMU_CHAN_BAND_2G; in brcmu_d11ac_decchspec()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 278 switch (chandef->chan->band) { in chan_to_phymode() 1457 sband = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ath10k_peer_assoc_h_rates() 1458 ratemask = sta->supp_rates[ar->hw->conf.chandef.chan->band]; in ath10k_peer_assoc_h_rates() 1634 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) in ath10k_peer_assoc_h_vht() 1713 switch (ar->hw->conf.chandef.chan->band) { in ath10k_peer_assoc_h_phymode() 2104 enum ieee80211_band band; in ath10k_update_channel_list() local 2116 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 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() [all …]
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-wusb_cbaf | 16 3. The CM writes the host name, supported band groups, 22 4. The CM can verify that the device's supported band 60 Writes fetches device's supported band groups and the 75 The band groups supported by the host, in the format 83 The band groups supported by the device, in the format
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | regd.c | 339 enum ieee80211_band band; in ath_reg_apply_beaconing_flags() local 344 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ath_reg_apply_beaconing_flags() 345 if (!wiphy->bands[band]) in ath_reg_apply_beaconing_flags() 347 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags() 775 enum ieee80211_band band) in ath_regd_get_band_ctl() argument 796 switch (band) { in ath_regd_get_band_ctl()
|
D | regd.h | 258 enum ieee80211_band band);
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | phy.c | 362 u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, in phy_get_tx_swing_8812A() argument 382 if (band == BAND_ON_2_4G) { in phy_get_tx_swing_8812A() 396 } else if (band == BAND_ON_5G) { in phy_get_tx_swing_8812A() 423 if (band == BAND_ON_2_4G) { in phy_get_tx_swing_8812A() 463 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 469 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 475 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 481 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 489 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 495 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() [all …]
|
D | phy.h | 222 u8 band); 257 u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, u8 rf_path);
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | debug_sta.c | 156 if (ah->curchan->chan->band == IEEE80211_BAND_2GHZ) in ath_debug_rate_stats() 190 enum ieee80211_band band; in read_file_node_recv() local 200 band = ah->curchan->chan->band; in read_file_node_recv() 223 if (band == IEEE80211_BAND_2GHZ) { in read_file_node_recv()
|
D | common-init.c | 22 .band = IEEE80211_BAND_2GHZ, \ 29 .band = IEEE80211_BAND_5GHZ, \ 143 common->sbands[IEEE80211_BAND_2GHZ].band = IEEE80211_BAND_2GHZ; in ath9k_cmn_init_channels_rates() 160 common->sbands[IEEE80211_BAND_5GHZ].band = IEEE80211_BAND_5GHZ; in ath9k_cmn_init_channels_rates()
|
D | common.c | 176 enum ieee80211_band band; in ath9k_cmn_process_rate() local 180 band = ah->curchan->chan->band; in ath9k_cmn_process_rate() 181 sband = hw->wiphy->bands[band]; in ath9k_cmn_process_rate() 308 if (chan->band == IEEE80211_BAND_5GHZ) in ath9k_cmn_update_ichannel()
|
D | calib.c | 148 enum ieee80211_band band, in ath9k_hw_get_nf_thresh() argument 151 switch (band) { in ath9k_hw_get_nf_thresh() 378 if (ath9k_hw_get_nf_thresh(ah, c->band, &nfThresh) in ath9k_hw_getnf()
|
D | tx99.c | 85 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb()
|
D | dynack.c | 214 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts() 215 if (info->band == IEEE80211_BAND_2GHZ && in ath_dynack_sample_tx_ts()
|
D | channel.c | 964 int band = sc->offchannel.chan.chandef.chan->band; in ath_scan_send_probe() local 980 if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, NULL)) in ath_scan_send_probe() 1077 int band = sc->cur_chan->chandef.chan->band; in ath_chanctx_send_vif_ps_frame() local 1094 if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { in ath_chanctx_send_vif_ps_frame()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
D | budget-ci.c | 751 u8 band, cp, filter; in philips_tdm1316l_tuner_set_params() local 782 band = 1; in philips_tdm1316l_tuner_set_params() 784 band = 2; in philips_tdm1316l_tuner_set_params() 786 band = 4; in philips_tdm1316l_tuner_set_params() 819 tuner_buf[3] = (cp << 5) | (filter << 3) | band; in philips_tdm1316l_tuner_set_params() 870 u8 band, cp, filter; in dvbc_philips_tdm1316l_tuner_set_params() local 878 band = 1; in dvbc_philips_tdm1316l_tuner_set_params() 881 band = 1; in dvbc_philips_tdm1316l_tuner_set_params() 884 band = 1; in dvbc_philips_tdm1316l_tuner_set_params() 887 band = 2; in dvbc_philips_tdm1316l_tuner_set_params() [all …]
|
D | budget-av.c | 709 u8 band, cp, filter; in philips_tu1216_tuner_set_params() local 740 band = 1; in philips_tu1216_tuner_set_params() 742 band = 2; in philips_tu1216_tuner_set_params() 744 band = 4; in philips_tu1216_tuner_set_params() 774 tuner_buf[3] = (cp << 5) | (filter << 3) | band; in philips_tu1216_tuner_set_params()
|
/linux-4.1.27/drivers/staging/vt6655/ |
D | dpc.c | 68 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data() 106 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
|
/linux-4.1.27/include/media/ |
D | tea575x.h | 63 u32 band; /* 0: FM, 1: FM-Japan, 2: AM */ member 75 struct v4l2_frequency_band *band);
|
/linux-4.1.27/drivers/staging/vt6656/ |
D | dpc.c | 100 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data() 156 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
|
/linux-4.1.27/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 596 rx_status->band = hw->conf.chandef.chan->band; in ar5523_data_rx_cb() 1152 struct ieee80211_supported_band *band; in ar5523_get_wlan_mode() local 1157 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_get_wlan_mode() 1163 sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; in ar5523_get_wlan_mode() 1165 for (bit = 0; bit < band->n_bitrates; bit++) { in ar5523_get_wlan_mode() 1167 int rate = band->bitrates[bit].bitrate; in ar5523_get_wlan_mode() 1190 struct ieee80211_supported_band *band; in ar5523_create_rateset() local 1201 sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; in ar5523_create_rateset() 1205 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_create_rateset() 1206 for (bit = 0; bit < band->n_bitrates; bit++) { in ar5523_create_rateset() [all …]
|
D | ar5523.h | 129 struct ieee80211_supported_band band; member
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | main.c | 105 .band = IEEE80211_BAND_2GHZ, \ 114 .band = IEEE80211_BAND_5GHZ, \ 258 int i, band; in cw1200_init_common() local 319 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in cw1200_init_common() 320 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in cw1200_init_common()
|
D | scan.c | 199 if ((*it)->band != first->band) in cw1200_scan_work() 208 scan.band = first->band; in cw1200_scan_work() 405 scan.band = (priv->channel->band == IEEE80211_BAND_5GHZ) ? in cw1200_probe_work()
|
D | sta.c | 1291 join.band = (priv->channel->band == IEEE80211_BAND_5GHZ) ? in cw1200_do_join() 1467 .band = WSM_PHY_BAND_2_4G, in cw1200_enable_listening() 1475 start.band = priv->channel->band == IEEE80211_BAND_5GHZ ? in cw1200_enable_listening() 1479 start.band = WSM_PHY_BAND_2_4G; in cw1200_enable_listening() 1926 sta->supp_rates[priv->channel->band]); in cw1200_bss_info_changed() 2330 .band = (priv->channel->band == IEEE80211_BAND_5GHZ) ? in cw1200_start_ap() 2359 start.channel_number, start.band, in cw1200_start_ap()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mwl8k.c | 349 { .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 …]
|
D | mac80211_hwsim.c | 258 .band = IEEE80211_BAND_2GHZ, \ 265 .band = IEEE80211_BAND_5GHZ, \ 1132 rx_status.band = chan->band; in mac80211_hwsim_tx_frame_no_nl() 2302 enum ieee80211_band band; in mac80211_hwsim_new_radio() local 2427 for (band = IEEE80211_BAND_2GHZ; band < IEEE80211_NUM_BANDS; band++) { in mac80211_hwsim_new_radio() 2428 struct ieee80211_supported_band *sband = &data->bands[band]; in mac80211_hwsim_new_radio() 2429 switch (band) { in mac80211_hwsim_new_radio() 2460 hw->wiphy->bands[band] = sband; in mac80211_hwsim_new_radio() 2836 rx_status.band = data2->channel->band; in hwsim_cloned_frame_received_nl()
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
D | cfg80211.c | 42 struct ieee80211_supported_band band; member 768 priv->band.channels = priv->channels; in wlan_create_wiphy() 769 priv->band.n_channels = ARRAY_SIZE(prism2_channels); in wlan_create_wiphy() 770 priv->band.bitrates = priv->rates; in wlan_create_wiphy() 771 priv->band.n_bitrates = ARRAY_SIZE(prism2_rates); in wlan_create_wiphy() 772 priv->band.band = IEEE80211_BAND_2GHZ; in wlan_create_wiphy() 773 priv->band.ht_cap.ht_supported = false; in wlan_create_wiphy() 774 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in wlan_create_wiphy()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 2008 int i, band, ret; in ath6kl_wmi_beginscan_cmd() local 2046 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ath6kl_wmi_beginscan_cmd() 2047 sband = ar->wiphy->bands[band]; in ath6kl_wmi_beginscan_cmd() 2052 if (WARN_ON(band >= ATH6KL_NUM_BANDS)) in ath6kl_wmi_beginscan_cmd() 2055 ratemask = rates[band]; in ath6kl_wmi_beginscan_cmd() 2056 supp_rates = sc->supp_rates[band].rates; in ath6kl_wmi_beginscan_cmd() 2065 sc->supp_rates[band].nrates = num_rates; in ath6kl_wmi_beginscan_cmd() 2761 int ret, mode, band; in ath6kl_set_bitrate_mask64() local 2768 for (band = 0; band <= IEEE80211_BAND_5GHZ; band++) { in ath6kl_set_bitrate_mask64() 2770 ratemask[band] = mask->control[band].legacy; in ath6kl_set_bitrate_mask64() [all …]
|
D | cfg80211.c | 37 .band = IEEE80211_BAND_2GHZ, \ 46 .band = IEEE80211_BAND_5GHZ, \ 2586 static int ath6kl_set_htcap(struct ath6kl_vif *vif, enum ieee80211_band band, in ath6kl_set_htcap() argument 2589 struct ath6kl_htcap *htcap = &vif->htcap[band]; in ath6kl_set_htcap() 2597 htcap->cap_info = (band == IEEE80211_BAND_2GHZ) ? in ath6kl_set_htcap() 2604 band, htcap); in ath6kl_set_htcap() 2610 int band, ret = 0; in ath6kl_restore_htcap() local 2612 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in ath6kl_restore_htcap() 2613 if (!wiphy->bands[band]) in ath6kl_restore_htcap() 2616 ret = ath6kl_set_htcap(vif, band, in ath6kl_restore_htcap() [all …]
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 431 enum ieee80211_band band; in mwifiex_send_domain_info_cmd_fw() local 443 band = mwifiex_band_to_radio_type(adapter->config_bands); in mwifiex_send_domain_info_cmd_fw() 444 if (!wiphy->bands[band]) { in mwifiex_send_domain_info_cmd_fw() 449 sband = wiphy->bands[band]; in mwifiex_send_domain_info_cmd_fw() 1296 enum ieee80211_band band; in mwifiex_cfg80211_dump_survey() local 1304 u8 curr_bss_band = priv->curr_bss_params.band; in mwifiex_cfg80211_dump_survey() 1307 band = mwifiex_band_to_radio_type(curr_bss_band); in mwifiex_cfg80211_dump_survey() 1309 ieee80211_channel_to_frequency(chan, band)); in mwifiex_cfg80211_dump_survey() 1324 band = pchan_stats[idx].bandcfg; in mwifiex_cfg80211_dump_survey() 1326 ieee80211_channel_to_frequency(pchan_stats[idx].chan_num, band)); in mwifiex_cfg80211_dump_survey() [all …]
|
D | cfp.c | 314 mwifiex_get_cfp(struct mwifiex_private *priv, u8 band, u16 channel, u32 freq) in mwifiex_get_cfp() argument 324 if (mwifiex_band_to_radio_type(band) == HostCmd_SCAN_RADIO_TYPE_BG) in mwifiex_get_cfp() 331 __func__, band); in mwifiex_get_cfp() 353 " & channel=%d freq=%d\n", __func__, band, channel, in mwifiex_get_cfp()
|
D | scan.c | 491 enum ieee80211_band band; in mwifiex_scan_create_channel_list() local 497 for (band = 0; (band < IEEE80211_NUM_BANDS) ; band++) { in mwifiex_scan_create_channel_list() 499 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() 508 scan_chan_list[chan_idx].radio_type = band; in mwifiex_scan_create_channel_list() 1718 u8 band; in mwifiex_parse_single_response_buf() local 1727 band = BAND_G; in mwifiex_parse_single_response_buf() 1729 band = mwifiex_radio_type_to_band(*radio_type & in mwifiex_parse_single_response_buf() 1732 cfp = mwifiex_get_cfp(priv, band, channel, 0); in mwifiex_parse_single_response_buf() 1745 bss_priv->band = band; in mwifiex_parse_single_response_buf()
|
D | join.c | 675 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_ret_802_11_associate() 859 priv->curr_bss_params.band = adapter->adhoc_start_band; in mwifiex_cmd_802_11_ad_hoc_start() 942 = mwifiex_band_to_radio_type(priv->curr_bss_params.band); in mwifiex_cmd_802_11_ad_hoc_start() 1136 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_cmd_802_11_ad_hoc_join() 1325 priv->curr_bss_params.band); in mwifiex_adhoc_start() 1376 priv->curr_bss_params.band); in mwifiex_adhoc_join() 1457 mwifiex_band_to_radio_type(u8 band) in mwifiex_band_to_radio_type() argument 1459 switch (band) { in mwifiex_band_to_radio_type()
|
D | 11ac.c | 323 u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, in mwifiex_get_center_freq_index() argument 328 if (band & BAND_AAC) { in mwifiex_get_center_freq_index()
|
/linux-4.1.27/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 1083 u8 band, cp, filter; in philips_tdm1316l_tuner_set_params() local 1103 band = 1; in philips_tdm1316l_tuner_set_params() 1105 band = 2; in philips_tdm1316l_tuner_set_params() 1107 band = 4; in philips_tdm1316l_tuner_set_params() 1139 tuner_buf[3] = (cp << 5) | (filter << 3) | band; in philips_tdm1316l_tuner_set_params() 1410 u8 band, cp, filter; in dvbc_philips_tdm1316l_tuner_set_params() local 1415 else if (tuner_frequency < 130000000) {cp = 3; band = 1;} in dvbc_philips_tdm1316l_tuner_set_params() 1416 else if (tuner_frequency < 160000000) {cp = 5; band = 1;} in dvbc_philips_tdm1316l_tuner_set_params() 1417 else if (tuner_frequency < 200000000) {cp = 6; band = 1;} in dvbc_philips_tdm1316l_tuner_set_params() 1418 else if (tuner_frequency < 290000000) {cp = 3; band = 2;} in dvbc_philips_tdm1316l_tuner_set_params() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | phy.c | 409 u8 band = BAND_ON_2_4G, rf = 0, txnum = 0, sec = 0; in _rtl92ee_phy_init_tx_power_by_rate() local 411 for (; band <= BAND_ON_5G; ++band) in _rtl92ee_phy_init_tx_power_by_rate() 416 [band][rf][txnum][sec] = 0; in _rtl92ee_phy_init_tx_power_by_rate() 420 u8 band, u8 path, in _rtl92ee_phy_set_txpower_by_rate_base() argument 433 if (band == BAND_ON_2_4G) { in _rtl92ee_phy_set_txpower_by_rate_base() 455 "Invalid Band %d\n", band); in _rtl92ee_phy_set_txpower_by_rate_base() 460 u8 band, u8 path, u8 txnum, in _rtl92ee_phy_get_txpower_by_rate_base() argument 473 if (band == BAND_ON_2_4G) { in _rtl92ee_phy_get_txpower_by_rate_base() 495 "Invalid Band %d()\n", band); in _rtl92ee_phy_get_txpower_by_rate_base() 575 u8 base = 0, rf = 0, band = BAND_ON_2_4G; in phy_convert_txpwr_dbm_to_rel_val() local [all …]
|
/linux-4.1.27/Documentation/video4linux/bttv/ |
D | ICs | 24 TDA5737: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners 28 TDA5731: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners
|
D | Tuners | 38 3-wire/I2C tuning, 2-band/3-band
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | mac.c | 51 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() 96 if ((ar->hw->conf.chandef.chan->band == IEEE80211_BAND_5GHZ) || in carl9170_set_slot_time() 123 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_5GHZ) in carl9170_set_mac_rates() 514 switch (channel->band) { in carl9170_set_mac_tpc()
|
D | phy.c | 543 static int carl9170_init_phy(struct ar9170 *ar, enum ieee80211_band band) in carl9170_init_phy() argument 547 bool is_2ghz = band == IEEE80211_BAND_2GHZ; in carl9170_init_phy() 1127 switch (channel->band) { in carl9170_set_freq_cal_data() 1160 switch (channel->band) { in carl9170_set_freq_cal_data() 1333 ar->hw->conf.chandef.chan->band); in carl9170_calc_ctl() 1343 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) { in carl9170_calc_ctl() 1605 err = carl9170_init_phy(ar, channel->band); in carl9170_set_channel() 1610 channel->band == IEEE80211_BAND_5GHZ); in carl9170_set_channel() 1624 channel->band == IEEE80211_BAND_5GHZ, in carl9170_set_channel()
|
D | rx.c | 354 status->band = chan->band; in carl9170_rx_mac_status() 420 if (status->band == IEEE80211_BAND_2GHZ) in carl9170_rx_mac_status()
|
/linux-4.1.27/drivers/media/usb/hackrf/ |
D | hackrf.c | 803 struct v4l2_frequency_band *band) in hackrf_enum_freq_bands() argument 809 band->tuner, band->type, band->index); in hackrf_enum_freq_bands() 811 if (band->tuner == 0) { in hackrf_enum_freq_bands() 812 if (band->index >= ARRAY_SIZE(bands_adc)) { in hackrf_enum_freq_bands() 815 *band = bands_adc[band->index]; in hackrf_enum_freq_bands() 818 } else if (band->tuner == 1) { in hackrf_enum_freq_bands() 819 if (band->index >= ARRAY_SIZE(bands_rf)) { in hackrf_enum_freq_bands() 822 *band = bands_rf[band->index]; in hackrf_enum_freq_bands()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | xmit.c | 294 dev->wl->hw, info->control.vif, info->band, in b43_generate_txhdr() 806 status.band = IEEE80211_BAND_5GHZ; in b43_rx() 811 ieee80211_channel_to_frequency(chanid, status.band); in b43_rx() 814 status.band = IEEE80211_BAND_2GHZ; in b43_rx() 819 status.freq = ieee80211_channel_to_frequency(chanid, status.band); in b43_rx() 829 status.band = IEEE80211_BAND_5GHZ; in b43_rx() 831 status.band = IEEE80211_BAND_2GHZ; in b43_rx() 833 ieee80211_channel_to_frequency(chanid, status.band); in b43_rx()
|
D | ppr.c | 78 enum b43_band band) in b43_ppr_load_max_from_sprom() argument 89 switch (band) { in b43_ppr_load_max_from_sprom() 127 if (band == B43_BAND_2G) { in b43_ppr_load_max_from_sprom()
|
D | ppr.h | 43 enum b43_band band);
|
D | tables_nphy.c | 3701 enum ieee80211_band band = b43_current_band(dev->wl); in b43_nphy_get_tx_gain_table() local 3708 if ((dev->phy.n->ipa2g_on && band == IEEE80211_BAND_2GHZ) || in b43_nphy_get_tx_gain_table() 3709 (dev->phy.n->ipa5g_on && band == IEEE80211_BAND_5GHZ)) { in b43_nphy_get_tx_gain_table()
|
/linux-4.1.27/drivers/media/usb/ttusb-dec/ |
D | ttusbdecfe.c | 134 __be32 band; in ttusbdecfe_dvbs_set_frontend() local 142 band = htonl(state->hi_band ? LOF_HI : LOF_LO); in ttusbdecfe_dvbs_set_frontend() 143 memcpy(&b[24], &band, sizeof(u32)); in ttusbdecfe_dvbs_set_frontend()
|
/linux-4.1.27/fs/ |
D | fcntl.c | 490 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument 511 send_sigio_to_task(p, fown, fd, band, group); in send_sigio() 698 static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) in kill_fasync_rcu() argument 716 send_sigio(fown, fa->fa_fd, band); in kill_fasync_rcu() 723 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument 730 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
D | msi2500.c | 1060 struct v4l2_frequency_band *band) in msi2500_enum_freq_bands() argument 1066 band->tuner, band->type, band->index); in msi2500_enum_freq_bands() 1068 if (band->tuner == 0) { in msi2500_enum_freq_bands() 1069 if (band->index >= ARRAY_SIZE(bands)) { in msi2500_enum_freq_bands() 1072 *band = bands[band->index]; in msi2500_enum_freq_bands() 1075 } else if (band->tuner == 1) { in msi2500_enum_freq_bands() 1077 enum_freq_bands, band); in msi2500_enum_freq_bands()
|
/linux-4.1.27/Documentation/input/ |
D | interactive.fig | 37 4 1 0 50 0 0 12 0.0000 4 135 810 2775 7725 Dead band\001
|
/linux-4.1.27/Documentation/devicetree/bindings/thermal/ |
D | ti_soc_thermal.txt | 4 and a temperature sensor feature that are gathered in the band 5 gap voltage and temperature sensor (VBGAPTS) module. The band
|
/linux-4.1.27/drivers/media/usb/airspy/ |
D | airspy.c | 795 struct v4l2_frequency_band *band) in airspy_enum_freq_bands() argument 799 if (band->tuner == 0) { in airspy_enum_freq_bands() 800 if (band->index >= ARRAY_SIZE(bands)) { in airspy_enum_freq_bands() 803 *band = bands[band->index]; in airspy_enum_freq_bands() 806 } else if (band->tuner == 1) { in airspy_enum_freq_bands() 807 if (band->index >= ARRAY_SIZE(bands_rf)) { in airspy_enum_freq_bands() 810 *band = bands_rf[band->index]; in airspy_enum_freq_bands()
|
/linux-4.1.27/drivers/net/wireless/libertas_tf/ |
D | main.c | 576 stats.band = IEEE80211_BAND_2GHZ; in lbtf_rx() 644 priv->band.n_bitrates = ARRAY_SIZE(lbtf_rates); in lbtf_add_card() 645 priv->band.bitrates = priv->rates; in lbtf_add_card() 646 priv->band.n_channels = ARRAY_SIZE(lbtf_channels); in lbtf_add_card() 647 priv->band.channels = priv->channels; in lbtf_add_card() 648 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in lbtf_add_card()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 223 void wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band, 225 u16 wlc_phy_chanspec_band_firstch(struct brcms_phy_pub *ppi, uint band); 231 void wlc_phy_txpower_boardlimit_band(struct brcms_phy_pub *ppi, uint band,
|
D | phy_cmn.c | 1246 wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band, in wlc_phy_chanspec_band_validch() argument 1262 if ((band == BRCM_BAND_2G && channel <= CH_MAX_2G_CHANNEL) || in wlc_phy_chanspec_band_validch() 1263 (band == BRCM_BAND_5G && channel > CH_MAX_2G_CHANNEL)) in wlc_phy_chanspec_band_validch() 1268 u16 wlc_phy_chanspec_band_firstch(struct brcms_phy_pub *ppi, uint band) in wlc_phy_chanspec_band_firstch() argument 1293 if (band == BRCM_BAND_2G) in wlc_phy_chanspec_band_firstch() 1304 if ((band == BRCM_BAND_2G && channel <= CH_MAX_2G_CHANNEL) || in wlc_phy_chanspec_band_firstch() 1305 (band == BRCM_BAND_5G && channel > CH_MAX_2G_CHANNEL)) in wlc_phy_chanspec_band_firstch() 1524 static void wlc_phy_upd_env_txpwr_rate_limits(struct brcms_phy *pi, u32 band) in wlc_phy_upd_env_txpwr_rate_limits() argument 1538 wlc_user_txpwr_antport_to_rfport(struct brcms_phy *pi, uint chan, u32 band, in wlc_user_txpwr_antport_to_rfport() argument 1555 u32 band = CHSPEC2BAND(pi->radio_chanspec); in wlc_phy_txpower_recalc_target() local [all …]
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
D | rx.c | 56 status->band = IEEE80211_BAND_2GHZ; in wl1251_rx_status() 82 status->band); in wl1251_rx_status()
|
D | rx.h | 113 u8 band; member
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | phy.c | 214 u8 band, path, txnum, section; in _rtl8723be_phy_init_tx_power_by_rate() local 216 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) in _rtl8723be_phy_init_tx_power_by_rate() 223 [band][path][txnum][section] = 0; in _rtl8723be_phy_init_tx_power_by_rate() 248 u8 band, in _rtl8723be_phy_set_txpower_by_rate_base() argument 262 if (band == BAND_ON_2_4G) { in _rtl8723be_phy_set_txpower_by_rate_base() 285 band); in _rtl8723be_phy_set_txpower_by_rate_base() 291 u8 band, u8 path, u8 txnum, in _rtl8723be_phy_get_txpower_by_rate_base() argument 304 if (band == BAND_ON_2_4G) { in _rtl8723be_phy_get_txpower_by_rate_base() 327 band); in _rtl8723be_phy_get_txpower_by_rate_base() 696 u32 band, u32 rfpath, in _rtl8723be_store_tx_power_by_rate() argument [all …]
|
/linux-4.1.27/include/net/ |
D | mac80211.h | 828 u8 band; member 1097 u8 band; member 2076 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() 4155 enum ieee80211_band band, 5110 enum ieee80211_band band, in rate_supported() argument 5113 return (sta == NULL || sta->supp_rates[band] & BIT(index)); in rate_supported() 5146 if (rate_supported(sta, sband->band, i)) in rate_lowest_index() 5163 if (rate_supported(sta, sband->band, i)) in rate_usable_index_exists() [all …]
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2800lib.c | 3572 enum ieee80211_band band) in rt2800_get_txpower_bw_comp() argument 3588 if (band == IEEE80211_BAND_2GHZ) { in rt2800_get_txpower_bw_comp() 3637 enum ieee80211_band band, int power_level, in rt2800_compensate_txpower() argument 3665 if (band == IEEE80211_BAND_2GHZ) in rt2800_compensate_txpower() 3712 enum ieee80211_band band = chan->band; in rt2800_config_txpower_rt3593() local 3723 if (band == IEEE80211_BAND_5GHZ) in rt2800_config_txpower_rt3593() 3737 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593() 3748 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593() 3759 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593() 3770 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593() [all …]
|
/linux-4.1.27/drivers/staging/ft1000/ |
D | Kconfig | 12 Qleadtek Express Card or Leadtek Multi-band modem HSDPA.
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/frequency/ |
D | adf4350.txt | 46 - adi,band-select-clock-mode-high-enable: Enables faster band
|
/linux-4.1.27/Documentation/video4linux/ |
D | si470x.txt | 30 - Si4707: Dedicated weather band radio receiver with SAME decoder, RDS Support 98 (0444) are not updated, even if space, band and de are changed using private 106 When timed out or band limit is reached, hw_freq_seek returns -EAGAIN.
|
D | radiotrack.txt | 26 broadcast band, so I could pick up the audio carriers from North American 40 band). Although the registers can be programmed to request frequencies beyond
|
/linux-4.1.27/drivers/net/wireless/brcm80211/include/ |
D | brcmu_d11.h | 131 u8 band; member
|
/linux-4.1.27/drivers/devfreq/ |
D | tegra-devfreq.c | 222 u32 band = avg_band_freq * ACTMON_SAMPLING_PERIOD; in tegra_devfreq_update_avg_wmark() local 224 device_writel(dev, avg + band, ACTMON_DEV_AVG_UPPER_WMARK); in tegra_devfreq_update_avg_wmark() 226 avg = max(dev->avg_count, band); in tegra_devfreq_update_avg_wmark() 227 device_writel(dev, avg - band, ACTMON_DEV_AVG_LOWER_WMARK); in tegra_devfreq_update_avg_wmark()
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 1071 stats.band = IEEE80211_BAND_2GHZ; in zd_mac_rx() 1077 for (i = 0; i < mac->band.n_bitrates; i++) in zd_mac_rx() 1078 if (rate == mac->band.bitrates[i].hw_value) in zd_mac_rx() 1393 mac->band.n_bitrates = ARRAY_SIZE(zd_rates); in zd_mac_alloc_hw() 1394 mac->band.bitrates = mac->rates; in zd_mac_alloc_hw() 1395 mac->band.n_channels = ARRAY_SIZE(zd_channels); in zd_mac_alloc_hw() 1396 mac->band.channels = mac->channels; in zd_mac_alloc_hw() 1398 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band; in zd_mac_alloc_hw()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/ |
D | dev.c | 305 info->band, in rtl8187_tx() 389 rx_status.band = dev->conf.chandef.chan->band; in rtl8187_rx_cb() 1473 priv->band.band = IEEE80211_BAND_2GHZ; in rtl8187_probe() 1474 priv->band.channels = priv->channels; in rtl8187_probe() 1475 priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); in rtl8187_probe() 1476 priv->band.bitrates = priv->rates; in rtl8187_probe() 1477 priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); in rtl8187_probe() 1478 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8187_probe()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | cfg.c | 26 .band = IEEE80211_BAND_2GHZ, \ 1269 enum ieee80211_band band; in _new_connect_scan_req() local 1284 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { in _new_connect_scan_req() 1287 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()
|
D | cmd.c | 746 enum ieee80211_band band; in lbs_set_11d_domain_info() local 779 for (band = 0; in lbs_set_11d_domain_info() 780 (band < IEEE80211_NUM_BANDS) && (num_triplet < MAX_11D_TRIPLETS); in lbs_set_11d_domain_info() 781 band++) { in lbs_set_11d_domain_info() 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()
|
/linux-4.1.27/Documentation/devicetree/bindings/video/ |
D | ssd1307fb.txt | 13 - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is
|
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 29 .band = IEEE80211_BAND_2GHZ, \ 36 .band = IEEE80211_BAND_5GHZ, \ 519 enum ieee80211_band band) in wcn36xx_update_allowed_rates() argument 524 u32 rates = sta->supp_rates[band]; in wcn36xx_update_allowed_rates() 532 if (band == IEEE80211_BAND_2GHZ) { in wcn36xx_update_allowed_rates()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/ |
D | dev.c | 314 rx_status.band = dev->conf.chandef.chan->band; in rtl8180_handle_rx() 1798 priv->band.band = IEEE80211_BAND_2GHZ; in rtl8180_probe() 1799 priv->band.channels = priv->channels; in rtl8180_probe() 1800 priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); in rtl8180_probe() 1801 priv->band.bitrates = priv->rates; in rtl8180_probe() 1802 priv->band.n_bitrates = 4; in rtl8180_probe() 1803 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8180_probe() 1866 priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); in rtl8180_probe()
|
D | rtl8180.h | 120 struct ieee80211_supported_band band; member
|
/linux-4.1.27/Documentation/devicetree/bindings/ata/ |
D | qcom-sata.txt | 20 "rxoob" - RX out-of-band clock
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | trx.c | 330 rx_status->band = hw->conf.chandef.chan->band; in rtl92cu_rx_query_desc() 399 rx_status->band = hw->conf.chandef.chan->band; in _rtl_rx_process()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 463 int band; in exynos_dsi_set_pll() local 465 for (band = 0; band < ARRAY_SIZE(freq_bands); ++band) in exynos_dsi_set_pll() 466 if (fout < freq_bands[band]) in exynos_dsi_set_pll() 469 dev_dbg(dsi->dev, "band %d\n", band); in exynos_dsi_set_pll() 471 reg |= DSIM_FREQ_BAND(band); in exynos_dsi_set_pll()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | Kconfig | 9 60 GHz band, covered by the IEEE802.11ad standard.
|
/linux-4.1.27/Documentation/filesystems/ |
D | inotify.txt | 38 fd returns all watch events and also any potential out-of-band data. If 55 - No way to get out of band data.
|
/linux-4.1.27/Documentation/hwmon/ |
D | lm77 | 17 sensor incorporates a band-gap type temperature sensor,
|
/linux-4.1.27/sound/soc/codecs/ |
D | max98095.c | 518 unsigned int band, u16 *coefs) in m98095_eq_band() argument 523 if (WARN_ON(band > 4) || in m98095_eq_band() 531 eq_reg += band * (M98095_COEFS_PER_BAND << 1); in m98095_eq_band() 544 unsigned int band, u16 *coefs) in m98095_biquad_band() argument 549 if (WARN_ON(band > 1) || in m98095_biquad_band() 557 bq_reg += band * (M98095_COEFS_PER_BAND << 1); in m98095_biquad_band()
|