band 1609 arch/x86/kernel/apic/io_apic.c int band = 1; band 1619 arch/x86/kernel/apic/io_apic.c __delay(((1U << band++) * 10000000UL) / HZ); band 1620 arch/x86/kernel/apic/io_apic.c } while (band < 12 && time_before_eq(jiffies, end)); band 55 drivers/clk/clk-hsdk-pll.c u32 band; band 141 drivers/clk/clk-hsdk-pll.c val |= cfg->band << CGU_PLL_CTRL_BAND_SHIFT; band 212 drivers/devfreq/tegra30-devfreq.c u32 band = avg_band_freq * ACTMON_SAMPLING_PERIOD; band 214 drivers/devfreq/tegra30-devfreq.c device_writel(dev, avg + band, ACTMON_DEV_AVG_UPPER_WMARK); band 216 drivers/devfreq/tegra30-devfreq.c avg = max(dev->avg_count, band); band 217 drivers/devfreq/tegra30-devfreq.c device_writel(dev, avg - band, ACTMON_DEV_AVG_LOWER_WMARK); band 625 drivers/gpu/drm/exynos/exynos_drm_dsi.c int band; band 627 drivers/gpu/drm/exynos/exynos_drm_dsi.c for (band = 0; band < ARRAY_SIZE(freq_bands); ++band) band 628 drivers/gpu/drm/exynos/exynos_drm_dsi.c if (fout < freq_bands[band]) band 631 drivers/gpu/drm/exynos/exynos_drm_dsi.c dev_dbg(dsi->dev, "band %d\n", band); band 633 drivers/gpu/drm/exynos/exynos_drm_dsi.c reg |= DSIM_FREQ_BAND(band); band 164 drivers/input/misc/pmic8xxx-pwrkey.c u8 vref_sel, vlow_sel, band, vprog, bank; band 184 drivers/input/misc/pmic8xxx-pwrkey.c band = reg & PM8058_SMPS_ADVANCED_BAND_MASK; band 185 drivers/input/misc/pmic8xxx-pwrkey.c band >>= PM8058_SMPS_ADVANCED_BAND_SHIFT; band 186 drivers/input/misc/pmic8xxx-pwrkey.c switch (band) { band 509 drivers/media/dvb-frontends/cx24123.c int band = 0; band 538 drivers/media/dvb-frontends/cx24123.c band = i; band 541 drivers/media/dvb-frontends/cx24123.c band = force_band - 1; band 543 drivers/media/dvb-frontends/cx24123.c state->bandselectarg = cx24123_bandselect_vals[band].progdata; band 544 drivers/media/dvb-frontends/cx24123.c vco_div = cx24123_bandselect_vals[band].VCOdivider; band 547 drivers/media/dvb-frontends/cx24123.c if (p->frequency < (cx24123_bandselect_vals[band].freq_low + band 548 drivers/media/dvb-frontends/cx24123.c cx24123_bandselect_vals[band].freq_high) / 2) band 329 drivers/media/dvb-frontends/dib0070.c u8 band = (u8)BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency/1000); band 330 drivers/media/dvb-frontends/dib0070.c u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz_vhf : state->cfg->freq_offset_khz_uhf); band 367 drivers/media/dvb-frontends/dib0070.c dprintk("Tuning for Band: %hd (%d kHz)\n", band, freq); band 382 drivers/media/dvb-frontends/dib0070.c switch (band) { band 435 drivers/media/dvb-frontends/dib0070.c if (band == BAND_SBAND) { band 679 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_set_agc_config(struct dib7000m_state *state, u8 band) band 683 drivers/media/dvb-frontends/dib7000m.c if (state->current_band == band && state->current_agc != NULL) band 685 drivers/media/dvb-frontends/dib7000m.c state->current_band = band; band 688 drivers/media/dvb-frontends/dib7000m.c if (state->cfg.agc[i].band_caps & band) { band 694 drivers/media/dvb-frontends/dib7000m.c dprintk("no valid AGC configuration found for band 0x%02x\n", band); band 751 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_agc_config(struct dib7000p_state *state, u8 band) band 755 drivers/media/dvb-frontends/dib7000p.c if (state->current_band == band && state->current_agc != NULL) band 757 drivers/media/dvb-frontends/dib7000p.c state->current_band = band; band 760 drivers/media/dvb-frontends/dib7000p.c if (state->cfg.agc[i].band_caps & band) { band 766 drivers/media/dvb-frontends/dib7000p.c dprintk("no valid AGC configuration found for band 0x%02x\n", band); band 1166 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_agc_config(struct dib8000_state *state, u8 band) band 1172 drivers/media/dvb-frontends/dib8000.c if (state->current_band == band && state->current_agc != NULL) band 1174 drivers/media/dvb-frontends/dib8000.c state->current_band = band; band 1177 drivers/media/dvb-frontends/dib8000.c if (state->cfg.agc[i].band_caps & band) { band 1183 drivers/media/dvb-frontends/dib8000.c dprintk("no valid AGC configuration found for band 0x%02x\n", band); band 1005 drivers/media/dvb-frontends/rtl2832_sdr.c struct v4l2_frequency_band *band) band 1012 drivers/media/dvb-frontends/rtl2832_sdr.c band->tuner, band->type, band->index); band 1014 drivers/media/dvb-frontends/rtl2832_sdr.c if (band->tuner == 0) { band 1015 drivers/media/dvb-frontends/rtl2832_sdr.c if (band->index >= ARRAY_SIZE(bands_adc)) band 1018 drivers/media/dvb-frontends/rtl2832_sdr.c *band = bands_adc[band->index]; band 1020 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (band->tuner == 1 && band 1022 drivers/media/dvb-frontends/rtl2832_sdr.c ret = v4l2_subdev_call(dev->v4l2_subdev, tuner, enum_freq_bands, band); band 1023 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (band->tuner == 1) { band 1024 drivers/media/dvb-frontends/rtl2832_sdr.c if (band->index >= ARRAY_SIZE(bands_fm)) band 1027 drivers/media/dvb-frontends/rtl2832_sdr.c *band = bands_fm[band->index]; band 1067 drivers/media/dvb-frontends/rtl2832_sdr.c int ret, band; band 1078 drivers/media/dvb-frontends/rtl2832_sdr.c band = 0; band 1080 drivers/media/dvb-frontends/rtl2832_sdr.c band = 1; band 1082 drivers/media/dvb-frontends/rtl2832_sdr.c band = 2; band 1085 drivers/media/dvb-frontends/rtl2832_sdr.c bands_adc[band].rangelow, band 1086 drivers/media/dvb-frontends/rtl2832_sdr.c bands_adc[band].rangehigh); band 261 drivers/media/dvb-frontends/s921.c int band, rc, i; band 268 drivers/media/dvb-frontends/s921.c for (band = 0; band < ARRAY_SIZE(s921_bandselect); band++) band 269 drivers/media/dvb-frontends/s921.c if (p->frequency < s921_bandselect[band].freq_low) band 271 drivers/media/dvb-frontends/s921.c band--; band 273 drivers/media/dvb-frontends/s921.c if (band < 0) { band 278 drivers/media/dvb-frontends/s921.c f_switch = s921_bandselect[band].band_reg; band 35 drivers/media/i2c/max2175.c enum max2175_band band; /* Associated band */ band 552 drivers/media/i2c/max2175.c enum max2175_band band; band 555 drivers/media/i2c/max2175.c band = max2175_read_bits(ctx, 5, 1, 0); band 556 drivers/media/i2c/max2175.c switch (band) { band 588 drivers/media/i2c/max2175.c if (band == MAX2175_BAND_L) band 804 drivers/media/i2c/max2175.c int band = max2175_band_from_freq(freq); band 808 drivers/media/i2c/max2175.c if (ctx->rx_modes[i].band == band) { band 822 drivers/media/i2c/max2175.c int band = max2175_band_from_freq(freq); band 824 drivers/media/i2c/max2175.c return (ctx->rx_modes[mode].band == band); band 1041 drivers/media/i2c/max2175.c enum max2175_band band = max2175_read_bits(ctx, 5, 1, 0); band 1043 drivers/media/i2c/max2175.c switch (band) { band 1141 drivers/media/i2c/max2175.c struct v4l2_frequency_band *band) band 1145 drivers/media/i2c/max2175.c if (band->tuner != 0 || band->index != 0) band 1148 drivers/media/i2c/max2175.c *band = *ctx->bands_rf; band 3246 drivers/media/pci/bt8xx/bttv-driver.c struct v4l2_frequency_band *band) band 3252 drivers/media/pci/bt8xx/bttv-driver.c return snd_tea575x_enum_freq_bands(&btv->tea, band); band 191 drivers/media/pci/bt8xx/dvb-bt8xx.c u32 band, pll; band 211 drivers/media/pci/bt8xx/dvb-bt8xx.c band=bandsel[i]; band 227 drivers/media/pci/bt8xx/dvb-bt8xx.c cx24110_pll_write(fe,band); band 114 drivers/media/pci/ddbridge/ddbridge-max.c static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band, band 121 drivers/media/pci/ddbridge/ddbridge-max.c cmd.msg[3] = 0xf0 | (((sat << 2) & 0x0c) | (band ? 1 : 0) | band 277 drivers/media/pci/saa7134/saa7134-dvb.c u8 band, cp, filter; band 308 drivers/media/pci/saa7134/saa7134-dvb.c band = 1; band 310 drivers/media/pci/saa7134/saa7134-dvb.c band = 2; band 312 drivers/media/pci/saa7134/saa7134-dvb.c band = 4; band 343 drivers/media/pci/saa7134/saa7134-dvb.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 692 drivers/media/pci/ttpci/budget-av.c u8 band, cp, filter; band 723 drivers/media/pci/ttpci/budget-av.c band = 1; band 725 drivers/media/pci/ttpci/budget-av.c band = 2; band 727 drivers/media/pci/ttpci/budget-av.c band = 4; band 757 drivers/media/pci/ttpci/budget-av.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 735 drivers/media/pci/ttpci/budget-ci.c u8 band, cp, filter; band 766 drivers/media/pci/ttpci/budget-ci.c band = 1; band 768 drivers/media/pci/ttpci/budget-ci.c band = 2; band 770 drivers/media/pci/ttpci/budget-ci.c band = 4; band 803 drivers/media/pci/ttpci/budget-ci.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 854 drivers/media/pci/ttpci/budget-ci.c u8 band, cp, filter; band 862 drivers/media/pci/ttpci/budget-ci.c band = 1; band 865 drivers/media/pci/ttpci/budget-ci.c band = 1; band 868 drivers/media/pci/ttpci/budget-ci.c band = 1; band 871 drivers/media/pci/ttpci/budget-ci.c band = 2; band 874 drivers/media/pci/ttpci/budget-ci.c band = 2; band 877 drivers/media/pci/ttpci/budget-ci.c band = 2; band 880 drivers/media/pci/ttpci/budget-ci.c band = 4; band 883 drivers/media/pci/ttpci/budget-ci.c band = 4; band 886 drivers/media/pci/ttpci/budget-ci.c band = 4; band 900 drivers/media/pci/ttpci/budget-ci.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 984 drivers/media/platform/rcar_drif.c struct v4l2_frequency_band *band) band 988 drivers/media/platform/rcar_drif.c return v4l2_subdev_call(sdr->ep.subdev, tuner, enum_freq_bands, band); band 221 drivers/media/platform/vivid/vivid-core.c static int vidioc_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) band 226 drivers/media/platform/vivid/vivid-core.c return vivid_radio_rx_enum_freq_bands(file, fh, band); band 228 drivers/media/platform/vivid/vivid-core.c return vivid_sdr_enum_freq_bands(file, fh, band); band 153 drivers/media/platform/vivid/vivid-radio-common.c unsigned band; band 159 drivers/media/platform/vivid/vivid-radio-common.c band = BAND_FM; band 161 drivers/media/platform/vivid/vivid-radio-common.c band = BAND_AM; band 163 drivers/media/platform/vivid/vivid-radio-common.c band = BAND_SW; band 165 drivers/media/platform/vivid/vivid-radio-common.c freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow, band 166 drivers/media/platform/vivid/vivid-radio-common.c vivid_radio_bands[band].rangehigh); band 136 drivers/media/platform/vivid/vivid-radio-rx.c int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) band 138 drivers/media/platform/vivid/vivid-radio-rx.c if (band->tuner != 0) band 141 drivers/media/platform/vivid/vivid-radio-rx.c if (band->index >= TOT_BANDS) band 144 drivers/media/platform/vivid/vivid-radio-rx.c *band = vivid_radio_bands[band->index]; band 154 drivers/media/platform/vivid/vivid-radio-rx.c unsigned band; band 170 drivers/media/platform/vivid/vivid-radio-rx.c for (band = 0; band < TOT_BANDS; band++) band 171 drivers/media/platform/vivid/vivid-radio-rx.c if (a->rangelow >= vivid_radio_bands[band].rangelow && band 172 drivers/media/platform/vivid/vivid-radio-rx.c a->rangehigh <= vivid_radio_bands[band].rangehigh) band 174 drivers/media/platform/vivid/vivid-radio-rx.c if (band == TOT_BANDS) band 177 drivers/media/platform/vivid/vivid-radio-rx.c (a->rangelow != vivid_radio_bands[band].rangelow || band 178 drivers/media/platform/vivid/vivid-radio-rx.c a->rangehigh != vivid_radio_bands[band].rangehigh)) band 183 drivers/media/platform/vivid/vivid-radio-rx.c for (band = 0; band < TOT_BANDS; band++) band 184 drivers/media/platform/vivid/vivid-radio-rx.c if (dev->radio_rx_freq >= vivid_radio_bands[band].rangelow && band 185 drivers/media/platform/vivid/vivid-radio-rx.c dev->radio_rx_freq <= vivid_radio_bands[band].rangehigh) band 187 drivers/media/platform/vivid/vivid-radio-rx.c if (band == TOT_BANDS) band 189 drivers/media/platform/vivid/vivid-radio-rx.c low = vivid_radio_bands[band].rangelow; band 190 drivers/media/platform/vivid/vivid-radio-rx.c high = vivid_radio_bands[band].rangehigh; band 192 drivers/media/platform/vivid/vivid-radio-rx.c spacing = band == BAND_AM ? 1600 : 16000; band 14 drivers/media/platform/vivid/vivid-radio-rx.h int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band); band 333 drivers/media/platform/vivid/vivid-sdr-cap.c struct v4l2_frequency_band *band) band 335 drivers/media/platform/vivid/vivid-sdr-cap.c switch (band->tuner) { band 337 drivers/media/platform/vivid/vivid-sdr-cap.c if (band->index >= ARRAY_SIZE(bands_adc)) band 339 drivers/media/platform/vivid/vivid-sdr-cap.c *band = bands_adc[band->index]; band 342 drivers/media/platform/vivid/vivid-sdr-cap.c if (band->index >= ARRAY_SIZE(bands_fm)) band 344 drivers/media/platform/vivid/vivid-sdr-cap.c *band = bands_fm[band->index]; band 375 drivers/media/platform/vivid/vivid-sdr-cap.c unsigned band; band 382 drivers/media/platform/vivid/vivid-sdr-cap.c band = 0; band 384 drivers/media/platform/vivid/vivid-sdr-cap.c band = 1; band 386 drivers/media/platform/vivid/vivid-sdr-cap.c band = 2; band 389 drivers/media/platform/vivid/vivid-sdr-cap.c bands_adc[band].rangelow, band 390 drivers/media/platform/vivid/vivid-sdr-cap.c bands_adc[band].rangehigh); band 11 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band); band 400 drivers/media/radio/radio-cadet.c struct v4l2_frequency_band *band) band 402 drivers/media/radio/radio-cadet.c if (band->tuner) band 404 drivers/media/radio/radio-cadet.c if (band->index >= ARRAY_SIZE(bands)) band 406 drivers/media/radio/radio-cadet.c *band = bands[band->index]; band 112 drivers/media/radio/radio-raremono.c u32 band; band 122 drivers/media/radio/radio-raremono.c static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) band 127 drivers/media/radio/radio-raremono.c switch (band) { band 153 drivers/media/radio/radio-raremono.c radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; band 191 drivers/media/radio/radio-raremono.c struct v4l2_frequency_band *band) band 193 drivers/media/radio/radio-raremono.c if (band->tuner != 0) band 196 drivers/media/radio/radio-raremono.c if (band->index >= ARRAY_SIZE(bands)) band 199 drivers/media/radio/radio-raremono.c *band = bands[band->index]; band 244 drivers/media/radio/radio-raremono.c unsigned band; band 250 drivers/media/radio/radio-raremono.c band = BAND_FM; band 252 drivers/media/radio/radio-raremono.c band = BAND_AM; band 254 drivers/media/radio/radio-raremono.c band = BAND_SW; band 256 drivers/media/radio/radio-raremono.c freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); band 257 drivers/media/radio/radio-raremono.c return raremono_cmd_main(radio, band, freq / 16); band 72 drivers/media/radio/radio-si476x.c static inline bool si476x_radio_freq_is_inside_of_the_band(u32 freq, int band) band 74 drivers/media/radio/radio-si476x.c return freq >= si476x_bands[band].rangelow && band 75 drivers/media/radio/radio-si476x.c freq <= si476x_bands[band].rangehigh; band 79 drivers/media/radio/radio-si476x.c int band) band 81 drivers/media/radio/radio-si476x.c return low >= si476x_bands[band].rangelow && band 82 drivers/media/radio/radio-si476x.c high <= si476x_bands[band].rangehigh; band 343 drivers/media/radio/radio-si476x.c struct v4l2_frequency_band *band) band 348 drivers/media/radio/radio-si476x.c if (band->tuner != 0) band 355 drivers/media/radio/radio-si476x.c if (band->index < ARRAY_SIZE(si476x_bands)) { band 356 drivers/media/radio/radio-si476x.c *band = si476x_bands[band->index]; band 365 drivers/media/radio/radio-si476x.c if (band->index == SI476X_BAND_FM) { band 366 drivers/media/radio/radio-si476x.c *band = si476x_bands[band->index]; band 693 drivers/media/radio/radio-si476x.c const int band = (freq > midrange) ? band 695 drivers/media/radio/radio-si476x.c const enum si476x_func func = (band == SI476X_BAND_AM) ? band 705 drivers/media/radio/radio-si476x.c si476x_bands[band].rangelow, band 706 drivers/media/radio/radio-si476x.c si476x_bands[band].rangehigh); band 164 drivers/media/radio/radio-tea5777.c switch (tea->band) { band 178 drivers/media/radio/radio-tea5777.c freq = clamp(tea->freq, bands[tea->band].rangelow, band 179 drivers/media/radio/radio-tea5777.c bands[tea->band].rangehigh); band 182 drivers/media/radio/radio-tea5777.c switch (tea->band) { band 267 drivers/media/radio/radio-tea5777.c struct v4l2_frequency_band *band) band 271 drivers/media/radio/radio-tea5777.c if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || band 272 drivers/media/radio/radio-tea5777.c (!tea->has_am && band->index == BAND_AM)) band 275 drivers/media/radio/radio-tea5777.c *band = bands[band->index]; band 305 drivers/media/radio/radio-tea5777.c if (tea->band == BAND_FM && band 334 drivers/media/radio/radio-tea5777.c if (tea->audmode != orig_audmode && tea->band == BAND_FM) band 361 drivers/media/radio/radio-tea5777.c tea->band = BAND_AM; band 363 drivers/media/radio/radio-tea5777.c tea->band = BAND_FM; band 396 drivers/media/radio/radio-tea5777.c tea->band = i; band 405 drivers/media/radio/radio-tea5777.c rangelow = bands[tea->band].rangelow; band 406 drivers/media/radio/radio-tea5777.c rangehigh = bands[tea->band].rangehigh; band 409 drivers/media/radio/radio-tea5777.c spacing = (tea->band == BAND_AM) ? (5 * 16) : (200 * 16); /* kHz */ band 57 drivers/media/radio/radio-tea5777.h u32 band; /* current band */ band 54 drivers/media/radio/radio-wl1273.c unsigned int band; band 303 drivers/media/radio/radio-wl1273.c if (radio->band == WL1273_BAND_JAPAN) band 420 drivers/media/radio/radio-wl1273.c if (radio->band == WL1273_BAND_JAPAN) band 466 drivers/media/radio/radio-wl1273.c if (radio->band == WL1273_BAND_JAPAN) band 2034 drivers/media/radio/radio-wl1273.c radio->band = WL1273_BAND_OTHER; band 179 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_set_band(struct si470x_device *radio, int band) band 181 drivers/media/radio/si470x/radio-si470x-common.c if (radio->band == band) band 184 drivers/media/radio/si470x/radio-si470x-common.c radio->band = band; band 186 drivers/media/radio/si470x/radio-si470x-common.c radio->registers[SYSCONFIG2] |= radio->band << 6; band 268 drivers/media/radio/si470x/radio-si470x-common.c *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; band 281 drivers/media/radio/si470x/radio-si470x-common.c freq = clamp(freq, bands[radio->band].rangelow, band 282 drivers/media/radio/si470x/radio-si470x-common.c bands[radio->band].rangehigh); band 284 drivers/media/radio/si470x/radio-si470x-common.c chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); band 297 drivers/media/radio/si470x/radio-si470x-common.c int band, retval; band 304 drivers/media/radio/si470x/radio-si470x-common.c for (band = 0; band < ARRAY_SIZE(bands); band++) { band 305 drivers/media/radio/si470x/radio-si470x-common.c if (bands[band].rangelow == seek->rangelow && band 306 drivers/media/radio/si470x/radio-si470x-common.c bands[band].rangehigh == seek->rangehigh) band 309 drivers/media/radio/si470x/radio-si470x-common.c if (band == ARRAY_SIZE(bands)) band 312 drivers/media/radio/si470x/radio-si470x-common.c band = 1; /* If nothing is specified seek 76 - 108 Mhz */ band 314 drivers/media/radio/si470x/radio-si470x-common.c if (radio->band != band) { band 318 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_set_band(radio, band); band 392 drivers/media/radio/si470x/radio-si470x-common.c ((radio->band << 6) & SYSCONFIG2_BAND) |/* BAND */ band 711 drivers/media/radio/si470x/radio-si470x-common.c if (freq->frequency < bands[radio->band].rangelow || band 712 drivers/media/radio/si470x/radio-si470x-common.c freq->frequency > bands[radio->band].rangehigh) { band 743 drivers/media/radio/si470x/radio-si470x-common.c struct v4l2_frequency_band *band) band 745 drivers/media/radio/si470x/radio-si470x-common.c if (band->tuner != 0) band 747 drivers/media/radio/si470x/radio-si470x-common.c if (band->index >= ARRAY_SIZE(bands)) band 749 drivers/media/radio/si470x/radio-si470x-common.c *band = bands[band->index]; band 347 drivers/media/radio/si470x/radio-si470x-i2c.c radio->band = 1; /* Default to 76 - 108 MHz */ band 585 drivers/media/radio/si470x/radio-si470x-usb.c radio->band = 1; /* Default to 76 - 108 MHz */ band 139 drivers/media/radio/si470x/radio-si470x.h int band; band 149 drivers/media/radio/tea575x.c switch (tea->band) { band 170 drivers/media/radio/tea575x.c return clamp(freq * 16, bands[tea->band].rangelow, band 171 drivers/media/radio/tea575x.c bands[tea->band].rangehigh); /* from kHz */ band 182 drivers/media/radio/tea575x.c u32 band = 0; band 184 drivers/media/radio/tea575x.c switch (tea->band) { band 186 drivers/media/radio/tea575x.c band = TEA575X_BIT_BAND_FM; band 194 drivers/media/radio/tea575x.c band = TEA575X_BIT_BAND_FM; band 202 drivers/media/radio/tea575x.c band = TEA575X_BIT_BAND_MW; band 209 drivers/media/radio/tea575x.c tea->val |= band; band 233 drivers/media/radio/tea575x.c struct v4l2_frequency_band *band) band 237 drivers/media/radio/tea575x.c if (band->tuner != 0) band 240 drivers/media/radio/tea575x.c switch (band->index) { band 257 drivers/media/radio/tea575x.c *band = bands[index]; band 259 drivers/media/radio/tea575x.c band->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; band 266 drivers/media/radio/tea575x.c struct v4l2_frequency_band *band) band 270 drivers/media/radio/tea575x.c return snd_tea575x_enum_freq_bands(tea, band); band 317 drivers/media/radio/tea575x.c if (tea->band != BAND_AM && tea->val != orig_val) band 344 drivers/media/radio/tea575x.c tea->band = BAND_AM; band 346 drivers/media/radio/tea575x.c tea->band = BAND_FM_JAPAN; band 348 drivers/media/radio/tea575x.c tea->band = BAND_FM; band 350 drivers/media/radio/tea575x.c tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, band 351 drivers/media/radio/tea575x.c bands[tea->band].rangehigh); band 382 drivers/media/radio/tea575x.c if (i != tea->band) { band 383 drivers/media/radio/tea575x.c tea->band = i; band 390 drivers/media/radio/tea575x.c spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */ band 344 drivers/media/tuners/e4000.c struct v4l2_frequency_band *band) band 350 drivers/media/tuners/e4000.c band->tuner, band->type, band->index); band 352 drivers/media/tuners/e4000.c if (band->index >= ARRAY_SIZE(bands)) band 355 drivers/media/tuners/e4000.c band->capability = bands[band->index].capability; band 356 drivers/media/tuners/e4000.c band->rangelow = bands[band->index].rangelow; band 357 drivers/media/tuners/e4000.c band->rangehigh = bands[band->index].rangehigh; band 70 drivers/media/tuners/fc2580.c synth_config = fc2580_pll_lut[i].band; band 437 drivers/media/tuners/fc2580.c struct v4l2_frequency_band *band) band 443 drivers/media/tuners/fc2580.c band->tuner, band->type, band->index); band 445 drivers/media/tuners/fc2580.c if (band->index >= ARRAY_SIZE(bands)) band 448 drivers/media/tuners/fc2580.c band->capability = bands[band->index].capability; band 449 drivers/media/tuners/fc2580.c band->rangelow = bands[band->index].rangelow; band 450 drivers/media/tuners/fc2580.c band->rangehigh = bands[band->index].rangehigh; band 44 drivers/media/tuners/fc2580_priv.h u8 band; band 332 drivers/media/tuners/msi001.c unsigned int band; band 338 drivers/media/tuners/msi001.c band = 0; band 340 drivers/media/tuners/msi001.c band = 1; band 342 drivers/media/tuners/msi001.c bands[band].rangelow, bands[band].rangehigh); band 348 drivers/media/tuners/msi001.c struct v4l2_frequency_band *band) band 354 drivers/media/tuners/msi001.c band->tuner, band->type, band->index); band 356 drivers/media/tuners/msi001.c if (band->index >= ARRAY_SIZE(bands)) band 359 drivers/media/tuners/msi001.c band->capability = bands[band->index].capability; band 360 drivers/media/tuners/msi001.c band->rangelow = bands[band->index].rangelow; band 361 drivers/media/tuners/msi001.c band->rangehigh = bands[band->index].rangehigh; band 33 drivers/media/tuners/mt2266.c u8 band; band 126 drivers/media/tuners/mt2266.c u8 band; band 136 drivers/media/tuners/mt2266.c band = (freq < 300000) ? MT2266_VHF : MT2266_UHF; band 137 drivers/media/tuners/mt2266.c if (band == MT2266_VHF) band 157 drivers/media/tuners/mt2266.c if (band == MT2266_VHF && priv->band == MT2266_UHF) { band 162 drivers/media/tuners/mt2266.c } else if (band == MT2266_UHF && priv->band == MT2266_VHF) { band 207 drivers/media/tuners/mt2266.c (band == MT2266_UHF) ? "UHF" : "VHF"); band 211 drivers/media/tuners/mt2266.c if (band == MT2266_UHF) { band 213 drivers/media/tuners/mt2266.c b[1] = (priv->band == MT2266_VHF) ? 0x52 : 0x62; band 229 drivers/media/tuners/mt2266.c if (band == MT2266_UHF && priv->band == MT2266_VHF) band 232 drivers/media/tuners/mt2266.c priv->band = band; band 322 drivers/media/tuners/mt2266.c priv->band = MT2266_UHF; band 781 drivers/media/usb/airspy/airspy.c struct v4l2_frequency_band *band) band 785 drivers/media/usb/airspy/airspy.c if (band->tuner == 0) { band 786 drivers/media/usb/airspy/airspy.c if (band->index >= ARRAY_SIZE(bands)) { band 789 drivers/media/usb/airspy/airspy.c *band = bands[band->index]; band 792 drivers/media/usb/airspy/airspy.c } else if (band->tuner == 1) { band 793 drivers/media/usb/airspy/airspy.c if (band->index >= ARRAY_SIZE(bands_rf)) { band 796 drivers/media/usb/airspy/airspy.c *band = bands_rf[band->index]; band 1174 drivers/media/usb/dvb-usb/cxusb.c u8 band = BAND_OF_FREQUENCY(p->frequency / 1000); band 1176 drivers/media/usb/dvb-usb/cxusb.c switch (band) { band 848 drivers/media/usb/dvb-usb/dib0700_devices.c u8 band = BAND_OF_FREQUENCY(p->frequency/1000); band 849 drivers/media/usb/dvb-usb/dib0700_devices.c switch (band) { band 866 drivers/media/usb/dvb-usb/dib0700_devices.c u8 band = BAND_OF_FREQUENCY(p->frequency/1000); band 867 drivers/media/usb/dvb-usb/dib0700_devices.c switch (band) { band 1290 drivers/media/usb/dvb-usb/dib0700_devices.c u8 band = BAND_OF_FREQUENCY(p->frequency/1000); band 1291 drivers/media/usb/dvb-usb/dib0700_devices.c switch (band) { band 1654 drivers/media/usb/dvb-usb/dib0700_devices.c u8 pll_ratio, band = BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency / 1000); band 1660 drivers/media/usb/dvb-usb/dib0700_devices.c switch (band) { band 1700 drivers/media/usb/dvb-usb/dib0700_devices.c if (band != BAND_CBAND) { band 1706 drivers/media/usb/dvb-usb/dib0700_devices.c if (band == BAND_CBAND) { band 1169 drivers/media/usb/hackrf/hackrf.c struct v4l2_frequency_band *band) band 1175 drivers/media/usb/hackrf/hackrf.c band->tuner, band->type, band->index); band 1177 drivers/media/usb/hackrf/hackrf.c if (band->tuner == 0) { band 1178 drivers/media/usb/hackrf/hackrf.c if (band->index >= ARRAY_SIZE(bands_adc_dac)) { band 1181 drivers/media/usb/hackrf/hackrf.c *band = bands_adc_dac[band->index]; band 1184 drivers/media/usb/hackrf/hackrf.c } else if (band->tuner == 1) { band 1185 drivers/media/usb/hackrf/hackrf.c if (band->index >= ARRAY_SIZE(bands_rx_tx)) { band 1188 drivers/media/usb/hackrf/hackrf.c *band = bands_rx_tx[band->index]; band 1061 drivers/media/usb/msi2500/msi2500.c struct v4l2_frequency_band *band) band 1067 drivers/media/usb/msi2500/msi2500.c band->tuner, band->type, band->index); band 1069 drivers/media/usb/msi2500/msi2500.c if (band->tuner == 0) { band 1070 drivers/media/usb/msi2500/msi2500.c if (band->index >= ARRAY_SIZE(bands)) { band 1073 drivers/media/usb/msi2500/msi2500.c *band = bands[band->index]; band 1076 drivers/media/usb/msi2500/msi2500.c } else if (band->tuner == 1) { band 1078 drivers/media/usb/msi2500/msi2500.c enum_freq_bands, band); band 1069 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c u8 band, cp, filter; band 1089 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c band = 1; band 1091 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c band = 2; band 1093 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c band = 4; band 1125 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 1396 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c u8 band, cp, filter; band 1401 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 130000000) {cp = 3; band = 1;} band 1402 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 160000000) {cp = 5; band = 1;} band 1403 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 200000000) {cp = 6; band = 1;} band 1404 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 290000000) {cp = 3; band = 2;} band 1405 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 420000000) {cp = 5; band = 2;} band 1406 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 480000000) {cp = 6; band = 2;} band 1407 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 620000000) {cp = 3; band = 4;} band 1408 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 830000000) {cp = 5; band = 4;} band 1409 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c else if (tuner_frequency < 895000000) {cp = 7; band = 4;} band 1423 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; band 120 drivers/media/usb/ttusb-dec/ttusbdecfe.c __be32 band; band 128 drivers/media/usb/ttusb-dec/ttusbdecfe.c band = htonl(state->hi_band ? LOF_HI : LOF_LO); band 129 drivers/media/usb/ttusb-dec/ttusbdecfe.c memcpy(&b[24], &band, sizeof(u32)); band 692 drivers/misc/mei/main.c static int mei_fasync(int fd, struct file *file, int band) band 700 drivers/misc/mei/main.c return fasync_helper(fd, file, band, &cl->ev_async); band 13 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c #define MLXSW_SP_PRIO_BAND_TO_TCLASS(band) (IEEE_8021QAZ_MAX_TCS - band - 1) band 525 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c int tclass, i, band, backlog; band 529 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c for (band = 0; band < p->bands; band++) { band 530 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c tclass = MLXSW_SP_PRIO_BAND_TO_TCLASS(band); band 535 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c if (p->priomap[i] == band) { band 553 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c for (; band < IEEE_8021QAZ_MAX_TCS; band++) { band 554 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c tclass = MLXSW_SP_PRIO_BAND_TO_TCLASS(band); band 659 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c int tclass_num = MLXSW_SP_PRIO_BAND_TO_TCLASS(p->band); band 665 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c if (p->band < IEEE_8021QAZ_MAX_TCS && band 14 drivers/net/ethernet/netronome/nfp/abm/cls.c u32 band; band 114 drivers/net/ethernet/netronome/nfp/abm/cls.c return iter->band; band 137 drivers/net/ethernet/netronome/nfp/abm/cls.c u8 band; band 142 drivers/net/ethernet/netronome/nfp/abm/cls.c band = nfp_abm_find_band_for_prio(alink, i << base_shift); band 145 drivers/net/ethernet/netronome/nfp/abm/cls.c *word |= band << offset; band 199 drivers/net/ethernet/netronome/nfp/abm/cls.c iter->band != knode->res->classid) { band 212 drivers/net/ethernet/netronome/nfp/abm/cls.c match->band = knode->res->classid; band 49 drivers/net/ethernet/netronome/nfp/abm/ctrl.c unsigned int stride, unsigned int offset, unsigned int band, band 58 drivers/net/ethernet/netronome/nfp/abm/ctrl.c qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; band 67 drivers/net/ethernet/netronome/nfp/abm/ctrl.c alink->id, band, queue, alink->queue_base); band 98 drivers/net/ethernet/netronome/nfp/abm/ctrl.c int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, band 103 drivers/net/ethernet/netronome/nfp/abm/ctrl.c threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; band 131 drivers/net/ethernet/netronome/nfp/abm/ctrl.c int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, band 136 drivers/net/ethernet/netronome/nfp/abm/ctrl.c qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; band 143 drivers/net/ethernet/netronome/nfp/abm/ctrl.c unsigned int band; band 146 drivers/net/ethernet/netronome/nfp/abm/ctrl.c for (band = 0; band < alink->abm->num_bands; band++) { band 149 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &val)) band 159 drivers/net/ethernet/netronome/nfp/abm/ctrl.c unsigned int band; band 162 drivers/net/ethernet/netronome/nfp/abm/ctrl.c for (band = 0; band < alink->abm->num_bands; band++) { band 165 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &val)) band 174 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_abm_ctrl_stat_basic(struct nfp_abm_link *alink, unsigned int band, band 178 drivers/net/ethernet/netronome/nfp/abm/ctrl.c if (!band) { band 190 drivers/net/ethernet/netronome/nfp/abm/ctrl.c NFP_Q_STAT_STRIDE, off, band, queue, band 195 drivers/net/ethernet/netronome/nfp/abm/ctrl.c int nfp_abm_ctrl_read_q_stats(struct nfp_abm_link *alink, unsigned int band, band 200 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = nfp_abm_ctrl_stat_basic(alink, band, queue, NFP_Q_STAT_PKTS, band 205 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = nfp_abm_ctrl_stat_basic(alink, band, queue, NFP_Q_STAT_BYTES, band 211 drivers/net/ethernet/netronome/nfp/abm/ctrl.c NFP_QLVL_BLOG_BYTES, band, queue, false, band 218 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, false, &stats->backlog_pkts); band 224 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &stats->drops); band 230 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &stats->overlimits); band 234 drivers/net/ethernet/netronome/nfp/abm/ctrl.c unsigned int band, unsigned int queue, band 241 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &xstats->pdrop); band 247 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &xstats->ecn_marked); band 182 drivers/net/ethernet/netronome/nfp/abm/main.h } band[MAX_DPs]; band 255 drivers/net/ethernet/netronome/nfp/abm/main.h int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, band 259 drivers/net/ethernet/netronome/nfp/abm/main.h int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, band 262 drivers/net/ethernet/netronome/nfp/abm/main.h unsigned int band, unsigned int queue, band 265 drivers/net/ethernet/netronome/nfp/abm/main.h unsigned int band, unsigned int queue, band 57 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].stats); band 63 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].xstats); band 132 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].stats.backlog_pkts = 0; band 133 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].stats.backlog_bytes = 0; band 138 drivers/net/ethernet/netronome/nfp/abm/qdisc.c __nfp_abm_stats_init(struct nfp_abm_link *alink, unsigned int band, band 151 drivers/net/ethernet/netronome/nfp/abm/qdisc.c err = nfp_abm_ctrl_read_q_stats(alink, band, queue, prev_stats); band 155 drivers/net/ethernet/netronome/nfp/abm/qdisc.c band, queue, err); band 159 drivers/net/ethernet/netronome/nfp/abm/qdisc.c err = nfp_abm_ctrl_read_q_xstats(alink, band, queue, prev_xstats); band 163 drivers/net/ethernet/netronome/nfp/abm/qdisc.c band, queue, err); band 181 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].prev_stats, band 182 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].prev_xstats); band 219 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].threshold); band 220 drivers/net/ethernet/netronome/nfp/abm/qdisc.c act = qdisc->red.band[i].ecn ? band 501 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_calculate(&qdisc->red.band[i].stats, band 502 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].prev_stats, band 504 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].prev_stats = qdisc->red.band[i].stats; band 506 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_red_calculate(&qdisc->red.band[i].xstats, band 507 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].prev_xstats, band 509 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].prev_xstats = qdisc->red.band[i].xstats; band 540 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_gred_vq_qopt_offload_params *band = &opt->set.tab[i]; band 542 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (!band->present) band 544 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (!band->is_ecn && !nfp_abm_has_drop(abm)) { band 549 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->is_ecn && !nfp_abm_has_mark(abm)) { band 554 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->is_harddrop) { band 559 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->min != band->max) { band 564 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->min > S32_MAX) { band 566 drivers/net/ethernet/netronome/nfp/abm/qdisc.c band->min, S32_MAX, opt->parent, opt->handle, band 592 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].ecn = opt->set.tab[i].is_ecn; band 593 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].threshold = opt->set.tab[i].min; band 630 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_red_calculate(&qdisc->red.band[0].xstats, band 631 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[0].prev_xstats, band 633 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].prev_xstats = qdisc->red.band[0].xstats; band 652 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_calculate(&qdisc->red.band[0].stats, band 653 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[0].prev_stats, band 655 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].prev_stats = qdisc->red.band[0].stats; band 725 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].ecn = opt->set.is_ecn; band 726 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].threshold = opt->set.min; band 804 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &red->red.band[j].stats); band 806 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &red->red.band[j].prev_stats); band 185 drivers/net/wireless/admtek/adm8211.c priv->band.channels = priv->channels; band 186 drivers/net/wireless/admtek/adm8211.c priv->band.n_channels = ARRAY_SIZE(adm8211_channels); band 187 drivers/net/wireless/admtek/adm8211.c priv->band.bitrates = adm8211_rates; band 188 drivers/net/wireless/admtek/adm8211.c priv->band.n_bitrates = ARRAY_SIZE(adm8211_rates); band 446 drivers/net/wireless/admtek/adm8211.c rx_status.band = NL80211_BAND_2GHZ; band 1914 drivers/net/wireless/admtek/adm8211.c dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 551 drivers/net/wireless/admtek/adm8211.h struct ieee80211_supported_band band; band 597 drivers/net/wireless/ath/ar5523/ar5523.c rx_status->band = hw->conf.chandef.chan->band; band 1148 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_supported_band *band; band 1153 drivers/net/wireless/ath/ar5523/ar5523.c band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; band 1159 drivers/net/wireless/ath/ar5523/ar5523.c sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; band 1161 drivers/net/wireless/ath/ar5523/ar5523.c for (bit = 0; bit < band->n_bitrates; bit++) { band 1163 drivers/net/wireless/ath/ar5523/ar5523.c int rate = band->bitrates[bit].bitrate; band 1186 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_supported_band *band; band 1197 drivers/net/wireless/ath/ar5523/ar5523.c sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; band 1201 drivers/net/wireless/ath/ar5523/ar5523.c band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; band 1202 drivers/net/wireless/ath/ar5523/ar5523.c for (bit = 0; bit < band->n_bitrates; bit++) { band 1205 drivers/net/wireless/ath/ar5523/ar5523.c band->bitrates[bit].hw_value, sta_rate_set & 1); band 1207 drivers/net/wireless/ath/ar5523/ar5523.c rs->set[i] = band->bitrates[bit].hw_value; band 1470 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.band = NL80211_BAND_2GHZ; band 1471 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.channels = ar->channels; band 1472 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.n_channels = ARRAY_SIZE(ar5523_channels); band 1473 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.bitrates = ar->rates; band 1474 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.n_bitrates = ARRAY_SIZE(ar5523_rates); band 1475 drivers/net/wireless/ath/ar5523/ar5523.c ar->hw->wiphy->bands[NL80211_BAND_2GHZ] = &ar->band; band 129 drivers/net/wireless/ath/ar5523/ar5523.h struct ieee80211_supported_band band; band 963 drivers/net/wireless/ath/ath10k/htt_rx.c sband = &ar->mac.sbands[status->band]; band 1146 drivers/net/wireless/ath/ath10k/htt_rx.c status->band = ch->band; band 1307 drivers/net/wireless/ath/ath10k/htt_rx.c status->band, status->flag, band 2261 drivers/net/wireless/ath/ath10k/htt_rx.c rx_status->band = ch->band; band 3513 drivers/net/wireless/ath/ath10k/htt_rx.c if (conf && conf->def.chan->band == NL80211_BAND_5GHZ) band 554 drivers/net/wireless/ath/ath10k/mac.c switch (chandef->chan->band) { band 2229 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 2239 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 2240 drivers/net/wireless/ath/ath10k/mac.c sband = ar->hw->wiphy->bands[band]; band 2241 drivers/net/wireless/ath/ath10k/mac.c ratemask = sta->supp_rates[band]; band 2242 drivers/net/wireless/ath/ath10k/mac.c ratemask &= arvif->bitrate_mask.control[band].legacy; band 2289 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 2304 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 2305 drivers/net/wireless/ath/ath10k/mac.c ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; band 2306 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; band 2330 drivers/net/wireless/ath/ath10k/mac.c if (arvif->bitrate_mask.control[band].gi != NL80211_TXRATE_FORCE_LGI) { band 2514 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 2526 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 2527 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; band 2534 drivers/net/wireless/ath/ath10k/mac.c if (def.chan->band == NL80211_BAND_2GHZ) band 2671 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 2679 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 2680 drivers/net/wireless/ath/ath10k/mac.c ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; band 2681 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; band 2683 drivers/net/wireless/ath/ath10k/mac.c switch (band) { band 3078 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 3090 drivers/net/wireless/ath/ath10k/mac.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 3091 drivers/net/wireless/ath/ath10k/mac.c if (!bands[band]) band 3094 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < bands[band]->n_channels; i++) { band 3095 drivers/net/wireless/ath/ath10k/mac.c if (bands[band]->channels[i].flags & band 3109 drivers/net/wireless/ath/ath10k/mac.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 3110 drivers/net/wireless/ath/ath10k/mac.c if (!bands[band]) band 3113 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < bands[band]->n_channels; i++) { band 3114 drivers/net/wireless/ath/ath10k/mac.c channel = &bands[band]->channels[i]; band 3155 drivers/net/wireless/ath/ath10k/mac.c if (channel->band == NL80211_BAND_2GHZ) band 3232 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_supported_band *band) band 3237 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < band->n_channels; i++) { band 3238 drivers/net/wireless/ath/ath10k/mac.c if (band->channels[i].center_freq < ar->low_5ghz_chan || band 3239 drivers/net/wireless/ath/ath10k/mac.c band->channels[i].center_freq > ar->high_5ghz_chan) band 3240 drivers/net/wireless/ath/ath10k/mac.c band->channels[i].flags |= band 4660 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_supported_band *band; band 4668 drivers/net/wireless/ath/ath10k/mac.c band = &ar->mac.sbands[NL80211_BAND_2GHZ]; band 4669 drivers/net/wireless/ath/ath10k/mac.c band->ht_cap = ht_cap; band 4672 drivers/net/wireless/ath/ath10k/mac.c band = &ar->mac.sbands[NL80211_BAND_5GHZ]; band 4673 drivers/net/wireless/ath/ath10k/mac.c band->ht_cap = ht_cap; band 4674 drivers/net/wireless/ath/ath10k/mac.c band->vht_cap = vht_cap; band 5652 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 5837 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 5838 drivers/net/wireless/ath/ath10k/mac.c mcast_rate = vif->bss_conf.mcast_rate[band]; band 5883 drivers/net/wireless/ath/ath10k/mac.c sband = ar->hw->wiphy->bands[def.chan->band]; band 6292 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 6306 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 6307 drivers/net/wireless/ath/ath10k/mac.c ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; band 6308 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; band 7200 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band, band 7207 drivers/net/wireless/ath/ath10k/mac.c num_rates += hweight32(mask->control[band].legacy); band 7209 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].ht_mcs); i++) band 7210 drivers/net/wireless/ath/ath10k/mac.c num_rates += hweight8(mask->control[band].ht_mcs[i]); band 7213 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].vht_mcs); i++) { band 7214 drivers/net/wireless/ath/ath10k/mac.c tmp = hweight16(mask->control[band].vht_mcs[i]); band 7224 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band, band 7228 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; band 7234 drivers/net/wireless/ath/ath10k/mac.c if (mask->control[band].legacy) band 7237 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].ht_mcs); i++) { band 7238 drivers/net/wireless/ath/ath10k/mac.c if (mask->control[band].ht_mcs[i] == 0) band 7240 drivers/net/wireless/ath/ath10k/mac.c else if (mask->control[band].ht_mcs[i] == band 7247 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].vht_mcs); i++) { band 7248 drivers/net/wireless/ath/ath10k/mac.c if (mask->control[band].vht_mcs[i] == 0) band 7250 drivers/net/wireless/ath/ath10k/mac.c else if (mask->control[band].vht_mcs[i] == band 7273 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band, band 7286 drivers/net/wireless/ath/ath10k/mac.c if (hweight32(mask->control[band].legacy) == 1) { band 7287 drivers/net/wireless/ath/ath10k/mac.c rate_idx = ffs(mask->control[band].legacy) - 1; band 7308 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].ht_mcs); i++) { band 7309 drivers/net/wireless/ath/ath10k/mac.c if (hweight8(mask->control[band].ht_mcs[i]) == 1) { band 7313 drivers/net/wireless/ath/ath10k/mac.c (ffs(mask->control[band].ht_mcs[i]) - 1); band 7320 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(mask->control[band].vht_mcs); i++) { band 7321 drivers/net/wireless/ath/ath10k/mac.c if (hweight16(mask->control[band].vht_mcs[i]) == 1) { band 7325 drivers/net/wireless/ath/ath10k/mac.c (ffs(mask->control[band].vht_mcs[i]) - 1); band 7380 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band, band 7392 drivers/net/wireless/ath/ath10k/mac.c vht_mcs = mask->control[band].vht_mcs[i]; band 7477 drivers/net/wireless/ath/ath10k/mac.c enum nl80211_band band; band 7493 drivers/net/wireless/ath/ath10k/mac.c band = def.chan->band; band 7494 drivers/net/wireless/ath/ath10k/mac.c ht_mcs_mask = mask->control[band].ht_mcs; band 7495 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_mask = mask->control[band].vht_mcs; band 7498 drivers/net/wireless/ath/ath10k/mac.c sgi = mask->control[band].gi; band 7512 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_bitrate_mask_has_single_rate(ar, band, mask, band 7514 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_bitrate_mask_get_single_rate(ar, band, mask, band 7522 drivers/net/wireless/ath/ath10k/mac.c } else if (ath10k_mac_bitrate_mask_get_single_nss(ar, band, mask, band 7532 drivers/net/wireless/ath/ath10k/mac.c if (!ath10k_mac_can_set_bitrate_mask(ar, band, mask, band 7543 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_bitrate_mask_get_single_rate(ar, band, mask, band 8240 drivers/net/wireless/ath/ath10k/mac.c .band = NL80211_BAND_2GHZ, \ band 8249 drivers/net/wireless/ath/ath10k/mac.c .band = NL80211_BAND_5GHZ, \ band 8700 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_supported_band *band; band 8725 drivers/net/wireless/ath/ath10k/mac.c band = &ar->mac.sbands[NL80211_BAND_2GHZ]; band 8726 drivers/net/wireless/ath/ath10k/mac.c band->n_channels = ARRAY_SIZE(ath10k_2ghz_channels); band 8727 drivers/net/wireless/ath/ath10k/mac.c band->channels = channels; band 8730 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_g_rates_rev2_size; band 8731 drivers/net/wireless/ath/ath10k/mac.c band->bitrates = ath10k_g_rates_rev2; band 8733 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_g_rates_size; band 8734 drivers/net/wireless/ath/ath10k/mac.c band->bitrates = ath10k_g_rates; band 8737 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->bands[NL80211_BAND_2GHZ] = band; band 8749 drivers/net/wireless/ath/ath10k/mac.c band = &ar->mac.sbands[NL80211_BAND_5GHZ]; band 8750 drivers/net/wireless/ath/ath10k/mac.c band->n_channels = ARRAY_SIZE(ath10k_5ghz_channels); band 8751 drivers/net/wireless/ath/ath10k/mac.c band->channels = channels; band 8752 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_a_rates_size; band 8753 drivers/net/wireless/ath/ath10k/mac.c band->bitrates = ath10k_a_rates; band 8754 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->bands[NL80211_BAND_5GHZ] = band; band 2418 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 band; band 2496 drivers/net/wireless/ath/ath10k/wmi.c status->band = NL80211_BAND_2GHZ; band 2498 drivers/net/wireless/ath/ath10k/wmi.c status->band = NL80211_BAND_5GHZ; band 2508 drivers/net/wireless/ath/ath10k/wmi.c if (phy_mode == MODE_11B && status->band == NL80211_BAND_5GHZ) band 2511 drivers/net/wireless/ath/ath10k/wmi.c sband = &ar->mac.sbands[status->band]; band 2513 drivers/net/wireless/ath/ath10k/wmi.c status->freq = ieee80211_channel_to_frequency(channel, status->band); band 2551 drivers/net/wireless/ath/ath10k/wmi.c status->freq, status->band, status->signal, band 2562 drivers/net/wireless/ath/ath10k/wmi.c int band, ch, idx = 0; band 2564 drivers/net/wireless/ath/ath10k/wmi.c for (band = NL80211_BAND_2GHZ; band < NUM_NL80211_BANDS; band++) { band 2565 drivers/net/wireless/ath/ath10k/wmi.c sband = ar->hw->wiphy->bands[band]; band 282 drivers/net/wireless/ath/ath5k/ani.c } else if (ah->ah_current_channel->band == NL80211_BAND_2GHZ) { band 1535 drivers/net/wireless/ath/ath5k/ath5k.h int ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, band 1614 drivers/net/wireless/ath/ath5k/ath5k.h u16 ath5k_hw_radio_revision(struct ath5k_hw *ah, enum nl80211_band band); band 271 drivers/net/wireless/ath/ath5k/base.c static bool ath5k_is_standard_channel(short chan, enum nl80211_band band) band 277 drivers/net/wireless/ath/ath5k/base.c static bool ath5k_is_standard_channel(short chan, enum nl80211_band band) band 279 drivers/net/wireless/ath/ath5k/base.c if (band == NL80211_BAND_2GHZ && chan <= 14) band 300 drivers/net/wireless/ath/ath5k/base.c enum nl80211_band band; band 306 drivers/net/wireless/ath/ath5k/base.c band = NL80211_BAND_5GHZ; band 311 drivers/net/wireless/ath/ath5k/base.c band = NL80211_BAND_2GHZ; band 320 drivers/net/wireless/ath/ath5k/base.c freq = ieee80211_channel_to_frequency(ch, band); band 327 drivers/net/wireless/ath/ath5k/base.c channels[count].band = band; band 334 drivers/net/wireless/ath/ath5k/base.c if (!ath5k_is_standard_channel(ch, band)) band 349 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][i] = -1; band 352 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][b->bitrates[i].hw_value] = i; band 354 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][b->bitrates[i].hw_value_short] = i; band 371 drivers/net/wireless/ath/ath5k/base.c sband->band = NL80211_BAND_2GHZ; band 419 drivers/net/wireless/ath/ath5k/base.c sband->band = NL80211_BAND_5GHZ; band 585 drivers/net/wireless/ath/ath5k/base.c rix = ah->rate_idx[ah->curchan->band][hw_rix]; band 708 drivers/net/wireless/ath/ath5k/base.c return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ]; band 1401 drivers/net/wireless/ath/ath5k/base.c rxs->band = ah->curchan->band; band 1426 drivers/net/wireless/ath/ath5k/base.c ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) band 1032 drivers/net/wireless/ath/ath5k/debug.c struct ieee80211_supported_band *band = &ah->sbands[b]; band 1034 drivers/net/wireless/ath/ath5k/debug.c switch (band->band) { band 1043 drivers/net/wireless/ath/ath5k/debug.c band->band); band 1047 drivers/net/wireless/ath/ath5k/debug.c band->n_channels, band->n_bitrates); band 1049 drivers/net/wireless/ath/ath5k/debug.c for (i = 0; i < band->n_channels; i++) band 1052 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].center_freq), band 1053 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].center_freq, band 1054 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].hw_value, band 1055 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].flags); band 1057 drivers/net/wireless/ath/ath5k/debug.c for (i = 0; i < band->n_bitrates; i++) band 1059 drivers/net/wireless/ath/ath5k/debug.c band->bitrates[i].bitrate, band 1060 drivers/net/wireless/ath/ath5k/debug.c band->bitrates[i].hw_value, band 1061 drivers/net/wireless/ath/ath5k/debug.c band->bitrates[i].flags, band 1062 drivers/net/wireless/ath/ath5k/debug.c band->bitrates[i].hw_value_short); band 113 drivers/net/wireless/ath/ath5k/pcu.c ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, band 123 drivers/net/wireless/ath/ath5k/pcu.c NULL, band, len, rate); band 224 drivers/net/wireless/ath/ath5k/pcu.c if (channel->band == NL80211_BAND_5GHZ) band 282 drivers/net/wireless/ath/ath5k/pcu.c u8 band = NL80211_BAND_2GHZ; band 285 drivers/net/wireless/ath/ath5k/pcu.c for (i = 0; i < ah->sbands[band].n_bitrates; i++) { band 290 drivers/net/wireless/ath/ath5k/pcu.c rate = &ah->sbands[band].bitrates[ack_rates_high[i]]; band 293 drivers/net/wireless/ath/ath5k/pcu.c rate = &ah->sbands[band].bitrates[0]; band 296 drivers/net/wireless/ath/ath5k/pcu.c rate = &ah->sbands[band].bitrates[4]; band 307 drivers/net/wireless/ath/ath5k/pcu.c tx_time = ath5k_hw_get_frame_duration(ah, band, 10, band 315 drivers/net/wireless/ath/ath5k/pcu.c tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, true); band 84 drivers/net/wireless/ath/ath5k/phy.c ath5k_hw_radio_revision(struct ath5k_hw *ah, enum nl80211_band band) band 93 drivers/net/wireless/ath/ath5k/phy.c switch (band) { band 141 drivers/net/wireless/ath/ath5k/phy.c if (channel->band == NL80211_BAND_2GHZ) { band 145 drivers/net/wireless/ath/ath5k/phy.c } else if (channel->band == NL80211_BAND_5GHZ) band 749 drivers/net/wireless/ath/ath5k/phy.c ath5k_hw_rfgain_init(struct ath5k_hw *ah, enum nl80211_band band) band 784 drivers/net/wireless/ath/ath5k/phy.c index = (band == NL80211_BAND_2GHZ) ? 1 : 0; band 916 drivers/net/wireless/ath/ath5k/phy.c if (channel->band == NL80211_BAND_2GHZ) { band 943 drivers/net/wireless/ath/ath5k/phy.c } else if ((channel->band == NL80211_BAND_5GHZ) || band 1144 drivers/net/wireless/ath/ath5k/phy.c channel->band == NL80211_BAND_2GHZ) { band 1269 drivers/net/wireless/ath/ath5k/phy.c if (channel->band == NL80211_BAND_2GHZ) { band 1918 drivers/net/wireless/ath/ath5k/phy.c if (channel->band == NL80211_BAND_2GHZ) { band 1982 drivers/net/wireless/ath/ath5k/phy.c if (channel->band == NL80211_BAND_5GHZ) { band 2778 drivers/net/wireless/ath/ath5k/phy.c ctl_mode = ath_regd_get_band_ctl(regulatory, channel->band); band 3858 drivers/net/wireless/ath/ath5k/phy.c ret = ath5k_hw_rfgain_init(ah, channel->band); band 560 drivers/net/wireless/ath/ath5k/qcu.c enum nl80211_band band; band 597 drivers/net/wireless/ath/ath5k/qcu.c if (channel->band == NL80211_BAND_5GHZ) band 598 drivers/net/wireless/ath/ath5k/qcu.c band = NL80211_BAND_5GHZ; band 600 drivers/net/wireless/ath/ath5k/qcu.c band = NL80211_BAND_2GHZ; band 613 drivers/net/wireless/ath/ath5k/qcu.c sband = &ah->sbands[band]; band 624 drivers/net/wireless/ath/ath5k/qcu.c ack_tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, false); band 755 drivers/net/wireless/ath/ath5k/reset.c if (channel->band == NL80211_BAND_2GHZ) { band 774 drivers/net/wireless/ath/ath5k/reset.c } else if (channel->band == NL80211_BAND_5GHZ) { band 909 drivers/net/wireless/ath/ath5k/reset.c if (channel->band == NL80211_BAND_5GHZ) band 38 drivers/net/wireless/ath/ath6kl/cfg80211.c .band = NL80211_BAND_2GHZ, \ band 47 drivers/net/wireless/ath/ath6kl/cfg80211.c .band = NL80211_BAND_5GHZ, \ band 2596 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_htcap(struct ath6kl_vif *vif, enum nl80211_band band, band 2599 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_htcap *htcap = &vif->htcap[band]; band 2607 drivers/net/wireless/ath/ath6kl/cfg80211.c htcap->cap_info = (band == NL80211_BAND_2GHZ) ? band 2614 drivers/net/wireless/ath/ath6kl/cfg80211.c band, htcap); band 2620 drivers/net/wireless/ath/ath6kl/cfg80211.c int band, ret = 0; band 2622 drivers/net/wireless/ath/ath6kl/cfg80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2623 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!wiphy->bands[band]) band 2626 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_set_htcap(vif, band, band 2627 drivers/net/wireless/ath/ath6kl/cfg80211.c wiphy->bands[band]->ht_cap.ht_supported); band 2925 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_set_htcap(vif, info->chandef.chan->band, band 2018 drivers/net/wireless/ath/ath6kl/wmi.c int i, band, ret; band 2056 drivers/net/wireless/ath/ath6kl/wmi.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2057 drivers/net/wireless/ath/ath6kl/wmi.c sband = ar->wiphy->bands[band]; band 2062 drivers/net/wireless/ath/ath6kl/wmi.c if (WARN_ON(band >= ATH6KL_NUM_BANDS)) band 2065 drivers/net/wireless/ath/ath6kl/wmi.c ratemask = rates[band]; band 2066 drivers/net/wireless/ath/ath6kl/wmi.c supp_rates = sc->supp_rates[band].rates; band 2075 drivers/net/wireless/ath/ath6kl/wmi.c sc->supp_rates[band].nrates = num_rates; band 2770 drivers/net/wireless/ath/ath6kl/wmi.c int ret, mode, band; band 2777 drivers/net/wireless/ath/ath6kl/wmi.c for (band = 0; band <= NL80211_BAND_5GHZ; band++) { band 2779 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] = mask->control[band].legacy; band 2780 drivers/net/wireless/ath/ath6kl/wmi.c if (band == NL80211_BAND_5GHZ) band 2781 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] = band 2782 drivers/net/wireless/ath/ath6kl/wmi.c mask->control[band].legacy << 4; band 2785 drivers/net/wireless/ath/ath6kl/wmi.c mcsrate = mask->control[band].ht_mcs[1]; band 2787 drivers/net/wireless/ath/ath6kl/wmi.c mcsrate |= mask->control[band].ht_mcs[0]; band 2788 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] |= mcsrate << 12; band 2789 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] |= mcsrate << 28; band 2806 drivers/net/wireless/ath/ath6kl/wmi.c band = NL80211_BAND_5GHZ; band 2808 drivers/net/wireless/ath/ath6kl/wmi.c band = NL80211_BAND_2GHZ; band 2809 drivers/net/wireless/ath/ath6kl/wmi.c cmd->ratemask[mode] = cpu_to_le64(ratemask[band]); band 2822 drivers/net/wireless/ath/ath6kl/wmi.c int ret, mode, band; band 2829 drivers/net/wireless/ath/ath6kl/wmi.c for (band = 0; band <= NL80211_BAND_5GHZ; band++) { band 2831 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] = mask->control[band].legacy; band 2832 drivers/net/wireless/ath/ath6kl/wmi.c if (band == NL80211_BAND_5GHZ) band 2833 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] = band 2834 drivers/net/wireless/ath/ath6kl/wmi.c mask->control[band].legacy << 4; band 2837 drivers/net/wireless/ath/ath6kl/wmi.c mcsrate = mask->control[band].ht_mcs[0]; band 2838 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] |= mcsrate << 12; band 2839 drivers/net/wireless/ath/ath6kl/wmi.c ratemask[band] |= mcsrate << 20; band 2856 drivers/net/wireless/ath/ath6kl/wmi.c band = NL80211_BAND_5GHZ; band 2858 drivers/net/wireless/ath/ath6kl/wmi.c band = NL80211_BAND_2GHZ; band 2859 drivers/net/wireless/ath/ath6kl/wmi.c cmd->ratemask[mode] = cpu_to_le32(ratemask[band]); band 3181 drivers/net/wireless/ath/ath6kl/wmi.c enum nl80211_band band, band 3198 drivers/net/wireless/ath/ath6kl/wmi.c cmd->band = band; band 3210 drivers/net/wireless/ath/ath6kl/wmi.c cmd->band, cmd->ht_enable, cmd->ht40_supported, band 1357 drivers/net/wireless/ath/ath6kl/wmi.h u8 band; band 2631 drivers/net/wireless/ath/ath6kl/wmi.h enum nl80211_band band, band 83 drivers/net/wireless/ath/ath9k/beacon.c sband = &common->sbands[sc->cur_chandef.chan->band]; band 154 drivers/net/wireless/ath/ath9k/calib.c enum nl80211_band band, band 157 drivers/net/wireless/ath/ath9k/calib.c switch (band) { band 418 drivers/net/wireless/ath/ath9k/calib.c if (ath9k_hw_get_nf_thresh(ah, c->band, &nfThresh) band 997 drivers/net/wireless/ath/ath9k/channel.c int band = sc->offchannel.chan.chandef.chan->band; band 1013 drivers/net/wireless/ath/ath9k/channel.c if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, NULL)) band 1109 drivers/net/wireless/ath/ath9k/channel.c int band = sc->cur_chan->chandef.chan->band; band 1127 drivers/net/wireless/ath/ath9k/channel.c if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { band 22 drivers/net/wireless/ath/ath9k/common-init.c .band = NL80211_BAND_2GHZ, \ band 29 drivers/net/wireless/ath/ath9k/common-init.c .band = NL80211_BAND_5GHZ, \ band 143 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_2GHZ].band = NL80211_BAND_2GHZ; band 160 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_5GHZ].band = NL80211_BAND_5GHZ; band 176 drivers/net/wireless/ath/ath9k/common.c enum nl80211_band band; band 180 drivers/net/wireless/ath/ath9k/common.c band = ah->curchan->chan->band; band 181 drivers/net/wireless/ath/ath9k/common.c sband = hw->wiphy->bands[band]; band 309 drivers/net/wireless/ath/ath9k/common.c if (chan->band == NL80211_BAND_5GHZ) band 142 drivers/net/wireless/ath/ath9k/debug_sta.c if (ah->curchan->chan->band == NL80211_BAND_2GHZ) band 176 drivers/net/wireless/ath/ath9k/debug_sta.c enum nl80211_band band; band 186 drivers/net/wireless/ath/ath9k/debug_sta.c band = ah->curchan->chan->band; band 209 drivers/net/wireless/ath/ath9k/debug_sta.c if (band == NL80211_BAND_2GHZ) { band 258 drivers/net/wireless/ath/ath9k/dynack.c rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; band 259 drivers/net/wireless/ath/ath9k/dynack.c if (info->band == NL80211_BAND_2GHZ && band 339 drivers/net/wireless/ath/ath9k/eeprom_def.c int band = 0; band 404 drivers/net/wireless/ath/ath9k/eeprom_def.c band = 1; band 408 drivers/net/wireless/ath/ath9k/eeprom_def.c pModal[band].antennaGainCh[0], band 409 drivers/net/wireless/ath/ath9k/eeprom_def.c pModal[band].antennaGainCh[1]), band 410 drivers/net/wireless/ath/ath9k/eeprom_def.c pModal[band].antennaGainCh[2]); band 168 drivers/net/wireless/ath/ath9k/htc.h u8 band; band 602 drivers/net/wireless/ath/ath9k/htc_drv_main.c sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; band 605 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (sta->supp_rates[sband->band] & BIT(i)) { band 1774 drivers/net/wireless/ath/ath9k/htc_drv_main.c tmask.band = NL80211_BAND_2GHZ; band 1785 drivers/net/wireless/ath/ath9k/htc_drv_main.c tmask.band = NL80211_BAND_5GHZ; band 497 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c if (cur_conf->chandef.chan->band == NL80211_BAND_5GHZ) band 1051 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c rx_status->band = ah->curchan->chan->band; band 1179 drivers/net/wireless/ath/ath9k/hw.c u32 ctl = ath_regd_get_band_ctl(reg, chan->chan->band); band 793 drivers/net/wireless/ath/ath9k/init.c static void ath9k_init_band_txpower(struct ath_softc *sc, int band) band 802 drivers/net/wireless/ath/ath9k/init.c sband = &common->sbands[band]; band 185 drivers/net/wireless/ath/ath9k/link.c tx_info->band = sc->cur_chandef.chan->band; band 934 drivers/net/wireless/ath/ath9k/recv.c rx_status->band = ah->curchan->chan->band; band 1049 drivers/net/wireless/ath/ath9k/recv.c rate = &common->sbands[rxs->band].bitrates[rxs->rate_idx]; band 83 drivers/net/wireless/ath/ath9k/tx99.c tx_info->band = sc->cur_chan->chandef.chan->band; band 1158 drivers/net/wireless/ath/ath9k/xmit.c is_2ghz = info->band == NL80211_BAND_2GHZ; band 1281 drivers/net/wireless/ath/ath9k/xmit.c rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; band 1282 drivers/net/wireless/ath/ath9k/xmit.c if ((tx_info->band == NL80211_BAND_2GHZ) && band 51 drivers/net/wireless/ath/carl9170/mac.c if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) band 69 drivers/net/wireless/ath/carl9170/mac.c if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { band 96 drivers/net/wireless/ath/carl9170/mac.c if ((ar->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) || band 123 drivers/net/wireless/ath/carl9170/mac.c if (ar->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) band 514 drivers/net/wireless/ath/carl9170/mac.c switch (channel->band) { band 1649 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_supported_band *band; band 1665 drivers/net/wireless/ath/carl9170/main.c band = ar->hw->wiphy->bands[b]; band 1667 drivers/net/wireless/ath/carl9170/main.c if (!band) band 1670 drivers/net/wireless/ath/carl9170/main.c for (i = 0; i < band->n_channels; i++) { band 1671 drivers/net/wireless/ath/carl9170/main.c if (band->channels[i].hw_value == idx) { band 1672 drivers/net/wireless/ath/carl9170/main.c chan = &band->channels[i]; band 543 drivers/net/wireless/ath/carl9170/phy.c static int carl9170_init_phy(struct ar9170 *ar, enum nl80211_band band) band 547 drivers/net/wireless/ath/carl9170/phy.c bool is_2ghz = band == NL80211_BAND_2GHZ; band 1127 drivers/net/wireless/ath/carl9170/phy.c switch (channel->band) { band 1160 drivers/net/wireless/ath/carl9170/phy.c switch (channel->band) { band 1333 drivers/net/wireless/ath/carl9170/phy.c ar->hw->conf.chandef.chan->band); band 1343 drivers/net/wireless/ath/carl9170/phy.c if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { band 1605 drivers/net/wireless/ath/carl9170/phy.c err = carl9170_init_phy(ar, channel->band); band 1610 drivers/net/wireless/ath/carl9170/phy.c channel->band == NL80211_BAND_5GHZ); band 1624 drivers/net/wireless/ath/carl9170/phy.c channel->band == NL80211_BAND_5GHZ, band 354 drivers/net/wireless/ath/carl9170/rx.c status->band = chan->band; band 420 drivers/net/wireless/ath/carl9170/rx.c if (status->band == NL80211_BAND_2GHZ) band 723 drivers/net/wireless/ath/carl9170/tx.c if (info->band == NL80211_BAND_2GHZ) band 728 drivers/net/wireless/ath/carl9170/tx.c if (info->band == NL80211_BAND_2GHZ) band 737 drivers/net/wireless/ath/carl9170/tx.c if (info->band == NL80211_BAND_2GHZ) { band 800 drivers/net/wireless/ath/carl9170/tx.c if (info->band == NL80211_BAND_2GHZ) { band 343 drivers/net/wireless/ath/regd.c enum nl80211_band band; band 348 drivers/net/wireless/ath/regd.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 349 drivers/net/wireless/ath/regd.c if (!wiphy->bands[band]) band 351 drivers/net/wireless/ath/regd.c sband = wiphy->bands[band]; band 781 drivers/net/wireless/ath/regd.c enum nl80211_band band) band 802 drivers/net/wireless/ath/regd.c switch (band) { band 267 drivers/net/wireless/ath/regd.h enum nl80211_band band); band 36 drivers/net/wireless/ath/wcn36xx/main.c .band = NL80211_BAND_2GHZ, \ band 43 drivers/net/wireless/ath/wcn36xx/main.c .band = NL80211_BAND_5GHZ, \ band 643 drivers/net/wireless/ath/wcn36xx/main.c wcn->scan_band = req->channels[i]->band; band 710 drivers/net/wireless/ath/wcn36xx/main.c enum nl80211_band band) band 715 drivers/net/wireless/ath/wcn36xx/main.c u32 rates = sta->supp_rates[band]; band 723 drivers/net/wireless/ath/wcn36xx/main.c if (band == NL80211_BAND_2GHZ) { band 55 drivers/net/wireless/ath/wcn36xx/txrx.c status.band = wcn->scan_band; band 58 drivers/net/wireless/ath/wcn36xx/txrx.c status.band = WCN36XX_BAND(wcn); band 87 drivers/net/wireless/ath/wcn36xx/wcn36xx.h #define WCN36XX_BAND(__wcn) (__wcn->hw->conf.chandef.chan->band) band 55 drivers/net/wireless/ath/wil6210/cfg80211.c .band = NL80211_BAND_60GHZ, \ band 1588 drivers/net/wireless/atmel/at76c50x-usb.c rx_status.band = NL80211_BAND_2GHZ; band 1000 drivers/net/wireless/broadcom/b43/b43.h return wl->hw->conf.chandef.chan->band; band 187 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_2GHZ, \ band 216 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_5GHZ, \ band 224 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_5GHZ, \ band 323 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_5GHZ, band 331 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_5GHZ, band 339 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_5GHZ, band 347 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_2GHZ, band 355 drivers/net/wireless/broadcom/b43/main.c .band = NL80211_BAND_2GHZ, band 3865 drivers/net/wireless/broadcom/b43/main.c static const char *band_to_string(enum nl80211_band band) band 3867 drivers/net/wireless/broadcom/b43/main.c switch (band) { band 3887 drivers/net/wireless/broadcom/b43/main.c switch (chan->band) { band 3902 drivers/net/wireless/broadcom/b43/main.c band_to_string(chan->band)); band 3912 drivers/net/wireless/broadcom/b43/main.c band_to_string(chan->band)); band 767 drivers/net/wireless/broadcom/b43/phy_ht.c if (new_channel->band == NL80211_BAND_5GHZ) { band 795 drivers/net/wireless/broadcom/b43/phy_ht.c if (new_channel->band == NL80211_BAND_2GHZ) band 96 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band = b43_current_band(dev->wl); band 97 drivers/net/wireless/broadcom/b43/phy_n.c return ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || band 98 drivers/net/wireless/broadcom/b43/phy_n.c (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)); band 1126 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band = b43_current_band(dev->wl); band 1143 drivers/net/wireless/broadcom/b43/phy_n.c b2056_upload_syn_pll_cp2(dev, band == NL80211_BAND_5GHZ); band 1173 drivers/net/wireless/broadcom/b43/phy_n.c if (dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) { band 1235 drivers/net/wireless/broadcom/b43/phy_n.c } else if (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ) { band 1804 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band = band 1809 drivers/net/wireless/broadcom/b43/phy_n.c val = (band == NL80211_BAND_5GHZ) ? 0xC : 0xE; band 3605 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band = b43_current_band(dev->wl); band 3670 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) { band 4279 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band; band 4287 drivers/net/wireless/broadcom/b43/phy_n.c band = b43_current_band(dev->wl); band 4291 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) band 4296 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) band 5648 drivers/net/wireless/broadcom/b43/phy_n.c enum nl80211_band band; band 5700 drivers/net/wireless/broadcom/b43/phy_n.c band = b43_current_band(dev->wl); band 5703 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) band 5708 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) band 5714 drivers/net/wireless/broadcom/b43/phy_n.c if (band == NL80211_BAND_5GHZ) band 6278 drivers/net/wireless/broadcom/b43/phy_n.c if (new_channel->band == NL80211_BAND_5GHZ) { band 6289 drivers/net/wireless/broadcom/b43/phy_n.c } else if (new_channel->band == NL80211_BAND_2GHZ) { band 6306 drivers/net/wireless/broadcom/b43/phy_n.c if (new_channel->band == NL80211_BAND_2GHZ) band 6436 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 2 : 0; band 6444 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 4 : 0; band 6449 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 0x0020 : 0x0050; band 69 drivers/net/wireless/broadcom/b43/ppr.c enum b43_band band) band 80 drivers/net/wireless/broadcom/b43/ppr.c switch (band) { band 118 drivers/net/wireless/broadcom/b43/ppr.c if (band == B43_BAND_2G) { band 44 drivers/net/wireless/broadcom/b43/ppr.h enum b43_band band); band 3688 drivers/net/wireless/broadcom/b43/tables_nphy.c enum nl80211_band band = b43_current_band(dev->wl); band 3695 drivers/net/wireless/broadcom/b43/tables_nphy.c if ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || band 3696 drivers/net/wireless/broadcom/b43/tables_nphy.c (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)) { band 288 drivers/net/wireless/broadcom/b43/xmit.c dev->wl->hw, info->control.vif, info->band, band 793 drivers/net/wireless/broadcom/b43/xmit.c status.band = NL80211_BAND_2GHZ; band 798 drivers/net/wireless/broadcom/b43/xmit.c status.freq = ieee80211_channel_to_frequency(chanid, status.band); band 808 drivers/net/wireless/broadcom/b43/xmit.c status.band = NL80211_BAND_5GHZ; band 810 drivers/net/wireless/broadcom/b43/xmit.c status.band = NL80211_BAND_2GHZ; band 812 drivers/net/wireless/broadcom/b43/xmit.c ieee80211_channel_to_frequency(chanid, status.band); band 2690 drivers/net/wireless/broadcom/b43legacy/main.c switch (conf->chandef.chan->band) { band 218 drivers/net/wireless/broadcom/b43legacy/xmit.c info->band, band 555 drivers/net/wireless/broadcom/b43legacy/xmit.c status.band = NL80211_BAND_2GHZ; band 127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .band = NL80211_BAND_2GHZ, \ band 135 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .band = NL80211_BAND_5GHZ, \ band 162 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .band = NL80211_BAND_2GHZ, band 168 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .band = NL80211_BAND_5GHZ, band 231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static u8 nl80211_band_to_fwil(enum nl80211_band band) band 233 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (band) { band 304 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (ch->chan->band) { band 306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch_inf.band = BRCMU_CHAN_BAND_2G; band 309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch_inf.band = BRCMU_CHAN_BAND_5G; band 1839 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c enum nl80211_band band; band 1854 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = bss_select->param.band_pref; band 1855 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c join_pref_params[i].band = nl80211_band_to_fwil(band); band 1860 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = bss_select->param.adjust.band; band 1861 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c join_pref_params[i].band = nl80211_band_to_fwil(band); band 1872 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c join_pref_params[i].band = 0; band 2803 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c enum nl80211_band band; band 2826 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_2GHZ; band 2828 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_5GHZ; band 2830 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c freq = ieee80211_channel_to_frequency(channel, band); band 2903 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 2937 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ch.band == BRCMU_CHAN_BAND_2G) band 2938 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_2GHZ]; band 2940 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_5GHZ]; band 2942 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c freq = ieee80211_channel_to_frequency(ch.control_ch_num, band->band); band 3077 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch_bss.band == ch_bss_info_le.band && band 3249 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c enum nl80211_band band; band 3253 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_2GHZ; band 3255 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_5GHZ; band 3257 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c freq = ieee80211_channel_to_frequency(channel, band); band 4999 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c enum nl80211_band band = 0; band 5016 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (ch.band) { band 5018 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_2GHZ; band 5021 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = NL80211_BAND_5GHZ; band 5043 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c freq = ieee80211_channel_to_frequency(ch.control_ch_num, band); band 5046 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c chandef->center_freq1 = ieee80211_channel_to_frequency(ch.chnum, band); band 5504 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 5536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ch.band == BRCMU_CHAN_BAND_2G) band 5537 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_2GHZ]; band 5539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_5GHZ]; band 5541 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c freq = ieee80211_channel_to_frequency(ch.control_ch_num, band->band); band 6022 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 6046 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_2GHZ]; band 6047 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band) band 6048 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < band->n_channels; i++) band 6049 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels[i].flags = IEEE80211_CHAN_DISABLED; band 6050 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_5GHZ]; band 6051 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band) band 6052 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < band->n_channels; i++) band 6053 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels[i].flags = IEEE80211_CHAN_DISABLED; band 6060 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ch.band == BRCMU_CHAN_BAND_2G) { band 6061 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_2GHZ]; band 6062 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c } else if (ch.band == BRCMU_CHAN_BAND_5G) { band 6063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[NL80211_BAND_5GHZ]; band 6069 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band) band 6071 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!(bw_cap[band->band] & WLC_BW_40MHZ_BIT) && band 6074 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!(bw_cap[band->band] & WLC_BW_80MHZ_BIT) && band 6079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (j = 0; j < band->n_channels; j++) { band 6080 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band->channels[j].hw_value == ch.control_ch_num) { band 6081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c channel = &band->channels[j]; band 6148 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 6164 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band_bwcap.band = cpu_to_le32(WLC_BAND_2G); band 6181 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch.band = BRCMU_CHAN_BAND_2G; band 6198 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = cfg_to_wiphy(cfg)->bands[NL80211_BAND_2GHZ]; band 6204 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(ch.band != BRCMU_CHAN_BAND_2G)) band 6208 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (j = 0; j < band->n_channels; j++) { band 6209 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band->channels[j].hw_value == ch.control_ch_num) band 6212 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(j == band->n_channels)) band 6215 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_update_bw40_channel_flag(&band->channels[j], &ch); band 6225 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u32 band, mimo_bwcap; band 6228 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = WLC_BAND_2G; band 6229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_iovar_int_get(ifp, "bw_cap", &band); band 6231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bw_cap[NL80211_BAND_2GHZ] = band; band 6232 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = WLC_BAND_5G; band 6233 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_iovar_int_get(ifp, "bw_cap", &band); band 6235 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bw_cap[NL80211_BAND_5GHZ] = band; band 6264 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static void brcmf_update_ht_cap(struct ieee80211_supported_band *band, band 6267 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.ht_supported = true; band 6268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (bw_cap[band->band] & WLC_BW_40MHZ_BIT) { band 6269 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; band 6270 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; band 6272 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; band 6273 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; band 6274 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; band 6275 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16; band 6276 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memset(band->ht_cap.mcs.rx_mask, 0xff, nchain); band 6277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; band 6291 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static void brcmf_update_vht_cap(struct ieee80211_supported_band *band, band 6298 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band->band == NL80211_BAND_2GHZ) band 6301 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.vht_supported = true; band 6303 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_80; band 6304 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (bw_cap[band->band] & WLC_BW_160MHZ_BIT) { band 6305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; band 6306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_160; band 6310 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; band 6311 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; band 6315 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE; band 6317 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; band 6319 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE; band 6321 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE; band 6324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= band 6326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= ((txstreams - 1) << band 6328 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->vht_cap.cap |= band 6345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 6386 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = wiphy->bands[i]; band 6387 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band == NULL) band 6391 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_update_ht_cap(band, bw_cap, nchain); band 6393 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_update_vht_cap(band, bw_cap, nchain, txstreams, band 6611 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct ieee80211_supported_band *band; band 6690 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = kmemdup(&__wl_band_2ghz, sizeof(__wl_band_2ghz), band 6692 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band) band 6695 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels = kmemdup(&__wl_2ghz_channels, band 6698 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band->channels) { band 6699 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c kfree(band); band 6703 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->n_channels = ARRAY_SIZE(__wl_2ghz_channels); band 6704 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wiphy->bands[NL80211_BAND_2GHZ] = band; band 6707 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = kmemdup(&__wl_band_5ghz, sizeof(__wl_band_5ghz), band 6709 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band) band 6712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels = kmemdup(&__wl_5ghz_channels, band 6715 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band->channels) { band 6716 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c kfree(band); band 6720 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->n_channels = ARRAY_SIZE(__wl_5ghz_channels); band 6721 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wiphy->bands[NL80211_BAND_5GHZ] = band; band 90 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c join_pref_params[0].band = WLC_BAND_5G; band 95 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c join_pref_params[1].band = 0; band 239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le32 band; band 436 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 band; band 1421 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ch.band == BRCMU_CHAN_BAND_2G ? band 1907 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ch.band == BRCMU_CHAN_BAND_2G ? band 175 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (BRCMS_PHY_11N_CAP(ampdu->wlc->band)) band 255 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (BRCMS_ISNPHY(wlc->band) && NREV_LT(wlc->band->phyrev, 2)) band 719 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (CHSPEC_SB_UPPER(wlc_phy_chanspec_get(wlc->band->pi))) band 408 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c struct brcms_band *band; band 423 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c band = wlc->bandstate[chspec_bandunit(chanspec)]; band 424 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c li_mimo = (band->bandtype == BRCM_BAND_5G) ? band 428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c delta = band->antgain; band 430 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (band->bandtype == BRCM_BAND_2G) band 438 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (band->bandtype == BRCM_BAND_2G) { band 461 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (band->antgain > QDB(6)) band 462 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c delta = band->antgain - QDB(6); /* Excess over 6 dB */ band 464 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (band->bandtype == BRCM_BAND_2G) band 666 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c int band, i; band 668 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 669 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c sband = wiphy->bands[band]; band 703 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c int band, i; band 712 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (band = 0; !ch_found && band < NUM_NL80211_BANDS; band++) { band 713 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c sband = wiphy->bands[band]; band 734 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (wlc->pub->_nbands > 1 || wlc->band->bandtype == BRCM_BAND_2G) band 735 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c wlc_phy_chanspec_ch14_widefilter_set(wlc->band->pi, band 746 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c struct brcms_band *band; band 751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c band = wlc->bandstate[band_idx]; band 753 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c wlc_phy_chanspec_band_validch(band->pi, band->bandtype, band 92 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c drvr->wlc->ucode_rev, hw->band->radiorev, band 93 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c hw->band->phytype, hw->band->phyrev, hw->band->pi->ana_rev, band 52 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .band = NL80211_BAND_2GHZ, \ band 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .band = NL80211_BAND_5GHZ, \ band 220 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .band = NL80211_BAND_2GHZ, band 241 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .band = NL80211_BAND_5GHZ, band 1051 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_supported_band *band; band 1060 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band = &wlc->bandstate[BAND_2G_INDEX]->band; band 1061 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c *band = brcms_band_2GHz_nphy_template; band 1064 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band->ht_cap.mcs.rx_mask[1] = 0; band 1065 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band->ht_cap.mcs.rx_highest = cpu_to_le16(72); band 1067 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c hw->wiphy->bands[NL80211_BAND_2GHZ] = band; band 1076 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band = &wlc->bandstate[BAND_5G_INDEX]->band; band 1077 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c *band = brcms_band_5GHz_nphy_template; band 1078 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c hw->wiphy->bands[NL80211_BAND_5GHZ] = band; band 361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] band 363 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; band 374 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static u16 get_sifs(struct brcms_band *band) band 376 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : band 650 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_2G) band 662 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_2G) band 721 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); band 725 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band)) band 734 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISLCNPHY(wlc_hw->band)) band 788 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band = wlc_hw->bandstate[bandunit]; band 794 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->wlc->band = wlc_hw->wlc->bandstate[bandunit]; band 823 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_switch_radio(wlc_hw->band->pi, OFF); band 1099 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band) && NREV_LT(wlc_hw->band->phyrev, 2)) { band 1191 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_mhfdef(wlc, wlc_hw->band->mhfs, pio_mhf2); band 1337 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_hw_band *band; band 1348 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc_hw->band; band 1351 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc_hw->bandstate[BAND_5G_INDEX]; band 1354 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc_hw->bandstate[BAND_2G_INDEX]; band 1357 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = NULL; /* error condition */ band 1360 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (band) { band 1361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c save = band->mhfs[idx]; band 1362 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->mhfs[idx] = (band->mhfs[idx] & ~mask) | val; band 1367 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->clk && (band->mhfs[idx] != save) band 1368 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c && (band == wlc_hw->band)) band 1370 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c (u16) band->mhfs[idx]); band 1565 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->CWmin = newmin; band 1575 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->CWmax = newmax; band 1592 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_bw_state_set(wlc_hw->band->pi, bw); band 1595 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_init(wlc_hw->band->pi, wlc_phy_chanspec_get(wlc_hw->band->pi)); band 1608 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISLCNPHY(wlc->band)) band 1610 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c else if (BRCMS_ISNPHY(wlc->band) && (NREV_GE(wlc->band->phyrev, 3))) band 1680 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!BRCMS_PHY_11N_CAP(wlc_hw->band)) band 1709 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandunit); band 1713 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_init(wlc_hw->band->pi, chanspec); band 1721 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_set_cwmin(wlc_hw, wlc_hw->band->CWmin); band 1722 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_set_cwmax(wlc_hw, wlc_hw->band->CWmax); band 1725 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandtype == BRCM_BAND_5G ? band 1729 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_write_shm(wlc_hw, M_PHYTYPE, (u16) wlc_hw->band->phytype); band 1730 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_write_shm(wlc_hw, M_PHYVER, (u16) wlc_hw->band->phyrev); band 1764 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!BRCMS_ISNPHY(wlc_hw->band)) band 1784 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_phy_pub *pih = wlc_hw->band->pi; band 1793 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c phy_bw_clkbits = wlc_phy_clk_bwbits(wlc_hw->band->pi); band 1796 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band) && NREV_GE(wlc_hw->band->phyrev, 3) && band 1797 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c NREV_LE(wlc_hw->band->phyrev, 4)) { band 1934 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->band && wlc_hw->band->pi) band 1935 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_clk_state_upd(wlc_hw->band->pi, false); band 2009 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c flags = (wlc_hw->band->pi ? wlc_hw->band->core_flags : 0); band 2060 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->band && wlc_hw->band->pi) band 2061 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_clk_state_upd(wlc_hw->band->pi, true); band 2160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c } else if (BRCMS_ISLCNPHY(wlc_hw->band)) { band 2225 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_antsel_init(wlc_hw->band->pi, false); band 2290 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band)) { band 2299 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISLCNPHY(wlc_hw->band)) { band 2333 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_antsel_type_set(wlc_hw->band->pi, antsel_type); band 2462 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc_hw->band)) band 2467 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc_hw->band)) band 2520 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_mute_upd(wlc_hw->band->pi, mute_tx, 0); band 2652 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandunit); band 2720 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->bandunit); band 2886 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_switch_radio(wlc_hw->band->pi, OFF); band 2889 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_anacore(wlc_hw->band->pi, OFF); band 2896 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_clk_state_upd(wlc_hw->band->pi, false); band 3220 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band)) band 3227 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISLCNPHY(wlc_hw->band)) band 3369 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_chanspec_radio_set(wlc_hw->band->pi, chanspec); band 3372 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_cal_init(wlc_hw->band->pi); band 3412 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_stf_ss_update(wlc, wlc->band); band 3418 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_default(rs, NULL, wlc->band->phytype, band 3419 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->bandtype, false, BRCMS_RATE_MASK_FULL, band 3433 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u8 *br = wlc->band->basic_rate; band 3474 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c for (i = 0; i < wlc->band->hw_rateset.count; i++) { band 3475 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = wlc->band->hw_rateset.rates[i]; band 3533 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c parkband = wlc->band->bandunit; band 3548 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band = wlc->bandstate[j]; band 3553 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_filter(&default_rateset, &wlc->band->hw_rateset, band 3602 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->home_chanspec == wlc_phy_chanspec_get(wlc->band->pi)) { band 3613 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) band 3661 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) { band 3662 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_5G) band 3666 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c } else if (wlc->band->gmode) band 3708 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->pub->unit, wlc->band->bandunit); band 3814 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->band->bandtype == BRCM_BAND_2G && wlc_hw->up) { band 3863 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->band->bandunit != bandunit) { band 3878 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_initcal_enable(wlc_hw->band->pi, !mute_tx); band 3882 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_txpower_limit_set(wlc_hw->band->pi, txpwr, band 3884 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_chanspec_radio_set(wlc_hw->band->pi, chanspec); band 3886 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_chanspec_set(wlc_hw->band->pi, chanspec); band 3887 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_txpower_limit_set(wlc_hw->band->pi, txpwr, chanspec); band 3898 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band = wlc->bandstate[bandunit]; band 3925 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandunit != bandunit || wlc->bandinit_pending) { band 3956 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_bw_mcs_filter(&wlc->band->hw_rateset, band 3957 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->mimo_cap_40 ? brcms_chspec_bw(chanspec) : 0); band 3978 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) band 4055 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_ldpc_override_set(wlc->band->pi, (val ? true : false)); band 4233 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_watchdog(wlc_hw->band->pi); band 4268 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc->band) && band 4430 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band = wlc_hw->bandstate[0]; band 4579 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandunit = j; band 4580 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandtype = j ? BRCM_BAND_5G : BRCM_BAND_2G; band 4581 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->bandunit = j; band 4582 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->bandtype = j ? BRCM_BAND_5G : BRCM_BAND_2G; band 4597 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->pi = band 4599 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->bandtype, band 4601 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc_hw->band->pi == NULL) { band 4608 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_machwcap_set(wlc_hw->band->pi, wlc_hw->machwcap); band 4610 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_get_phyversion(wlc_hw->band->pi, &wlc_hw->band->phytype, band 4611 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c &wlc_hw->band->phyrev, band 4612 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c &wlc_hw->band->radioid, band 4613 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c &wlc_hw->band->radiorev); band 4614 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->abgphy_encore = band 4615 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_get_encore(wlc_hw->band->pi); band 4616 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->abgphy_encore = wlc_phy_get_encore(wlc_hw->band->pi); band 4617 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->core_flags = band 4618 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_get_coreflags(wlc_hw->band->pi); band 4621 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc_hw->band)) { band 4622 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (NCONF_HAS(wlc_hw->band->phyrev)) band 4626 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c } else if (BRCMS_ISLCNPHY(wlc_hw->band)) { band 4627 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (LCNCONF_HAS(wlc_hw->band->phyrev)) band 4635 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->phytype, wlc_hw->band->phyrev); band 4650 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->pi = wlc_hw->band->pi; band 4651 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->phytype = wlc_hw->band->phytype; band 4652 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->phyrev = wlc_hw->band->phyrev; band 4653 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->radioid = wlc_hw->band->radioid; band 4654 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->radiorev = wlc_hw->band->radiorev; band 4656 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->phytype, wlc->band->phyrev, band 4657 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->radioid, wlc->band->radiorev); band 4659 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->CWmin = APHY_CWMIN; band 4660 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->band->CWmax = PHY_CWMAX; band 4718 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bandtype = wlc->band->bandtype; band 4744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->antgain = sprom->antenna_gain.a1; band 4746 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->antgain = sprom->antenna_gain.a0; band 4754 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_band *band; band 4768 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc->band; band 4770 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->bandunit != chspec_bandunit(chanspec)) band 4771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc->bandstate[OTHERBANDUNIT(wlc)]; band 4774 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_default(&bi->rateset, NULL, band->phytype, band 4775 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->bandtype, false, BRCMS_RATE_MASK_FULL, band 4786 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_band *band; band 4789 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc->bandstate[i]; band 4790 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (band->bandtype == BRCM_BAND_5G) { band 4793 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->mimo_cap_40 = true; band 4795 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->mimo_cap_40 = false; band 4798 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->mimo_cap_40 = true; band 4800 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->mimo_cap_40 = false; band 4839 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_hw_band *band; band 4844 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc_hw->band; band 4846 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (band->pi) { band 4848 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_detach(band->pi); band 4849 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->pi = NULL; band 4851 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc_hw->bandstate[OTHERBANDUNIT(wlc)]; band 4933 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_por_inform(wlc_hw->band->pi); band 4989 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_state_upd(wlc_hw->band->pi, true); band 5137 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c callbacks += wlc_phy_down(wlc_hw->band->pi); band 5151 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_state_upd(wlc_hw->band->pi, false); band 5158 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hw_clk_state_upd(wlc_hw->band->pi, false); band 5231 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_mute_upd(wlc->band->pi, false, PHY_MUTE_ALL); band 5252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_band *band; band 5261 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_2G) band 5262 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc->band; band 5265 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band = wlc->bandstate[OTHERBANDUNIT(wlc)]; band 5306 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c band->gmode = gmode; band 5372 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bandunit = wlc->band->bandunit; band 5412 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_ofdm_rateset_war(wlc->band->pi, war); band 5427 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandunit != chspec_bandunit(chspec)) band 5436 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->pub->up && (wlc_phy_chanspec_get(wlc->band->pi) != chspec)) { band 5551 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return wlc->band->phytype; band 5562 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_5G) band 5778 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c sifs = get_sifs(wlc->band); band 5808 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_2G) band 5842 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static bool brcms_c_valid_rate(struct brcms_c_info *wlc, u32 rspec, int band, band 5848 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if ((band == BRCM_BAND_AUTO) || (band == wlc->band->bandtype)) band 5849 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c hw_rateset = &wlc->band->hw_rateset; band 6122 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c sifs = get_sifs(wlc->band); band 6154 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISLCNPHY(wlc->band)) { band 6173 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c } else if (is_cck_rate(rspec) && !BRCMS_ISLCNPHY(wlc->band) band 6174 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c && !BRCMS_ISSSLPNPHY(wlc->band)) { band 6306 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c hw->wiphy->bands[tx_info->band]->n_bitrates)) { band 6308 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c hw->wiphy->bands[tx_info->band]-> band 6318 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rspec[k] = mac80211_wlc_set_nrate(wlc, wlc->band, band 6389 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->pi)) band 6470 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc->band) && is_ofdm_rate(rspec[k])) { band 6540 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_5G) band 6543 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (CHSPEC_IS40(wlc_phy_chanspec_get(wlc->band->pi))) band 6704 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c xfts |= CHSPEC_CHANNEL(wlc_phy_chanspec_get(wlc->band->pi)) << band 6721 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) { band 6953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c else if (wlc->band->gmode && wlc->protection->_g && !is_cck_rate(rspec)) band 6969 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) { band 7066 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->band = band 7069 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c ieee80211_channel_to_frequency(channel, rx_status->band); band 7071 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->signal = wlc_phy_rssi_compute(wlc->hw->band->pi, rxh); band 7134 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (rx_status->band == NL80211_BAND_5GHZ) band 7250 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c sifs = get_sifs(wlc->band); band 7543 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hold_upd(wlc->band->pi, PHY_HOLD_FOR_SCAN, true); band 7548 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_hold_upd(wlc->band->pi, PHY_HOLD_FOR_SCAN, false); band 7576 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return wlc->band->bandunit; band 7634 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return wlc_phy_txpower_set(wlc->band->pi, qdbm, false); band 7642 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_txpower_get(wlc->band->pi, &qdbm, &override); band 7817 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_noise_sample_intr(wlc_hw->band->pi); band 7973 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band = wlc->bandstate[0]; band 7997 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c pub->phy_11ncapable = BRCMS_PHY_11N_CAP(wlc->band); band 8006 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_ISNPHY(wlc->band) && (wlc->stf->txstreams == 1)) band 8010 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_phy_stf_chain_init(wlc->band->pi, wlc->stf->hw_txchain, band 8021 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band = wlc->bandstate[j]; band 8029 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->CWmin = APHY_CWMIN; band 8030 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->CWmax = PHY_CWMAX; band 8033 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (wlc->band->bandtype == BRCM_BAND_2G) { band 8034 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->gmode = GMODE_AUTO; band 8036 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->band->gmode); band 8040 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (BRCMS_PHY_11N_CAP(wlc->band)) { band 8049 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_default_rateset(wlc, &wlc->band->defrateset); band 8052 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_filter(&wlc->band->defrateset, band 8053 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c &wlc->band->hw_rateset, false, band 8104 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c } else if (BRCMS_ISSSLPNPHY(wlc->band)) { band 145 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h ((uint)((wlc)->band->bandunit ? BAND_2G_INDEX : BAND_5G_INDEX)) band 217 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h (((wlc)->stf->txstreams > 1) && (((wlc)->band->band_stf_stbc_tx == ON) \ band 219 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h (wlc)->band->band_stf_stbc_tx == AUTO && \ band 222 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define BRCMS_STBC_CAP_PHY(wlc) (BRCMS_ISNPHY(wlc->band) && \ band 223 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h NREV_GE(wlc->band->phyrev, 3)) band 225 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define BRCMS_SGI_CAP_PHY(wlc) ((BRCMS_ISNPHY(wlc->band) && \ band 226 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h NREV_GE(wlc->band->phyrev, 3)) || \ band 227 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h BRCMS_ISLCNPHY(wlc->band)) band 277 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h struct ieee80211_supported_band band; band 336 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h struct brcms_hw_band *band;/* pointer to active per-band state */ band 472 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h struct brcms_band *band; band 1235 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band, band 1251 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if ((band == BRCM_BAND_2G && channel <= CH_MAX_2G_CHANNEL) || band 1252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c (band == BRCM_BAND_5G && channel > CH_MAX_2G_CHANNEL)) band 1257 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c u16 wlc_phy_chanspec_band_firstch(struct brcms_phy_pub *ppi, uint band) band 1282 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (band == BRCM_BAND_2G) band 1293 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if ((band == BRCM_BAND_2G && channel <= CH_MAX_2G_CHANNEL) || band 1294 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c (band == BRCM_BAND_5G && channel > CH_MAX_2G_CHANNEL)) band 1513 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c static void wlc_phy_upd_env_txpwr_rate_limits(struct brcms_phy *pi, u32 band) band 1527 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_user_txpwr_antport_to_rfport(struct brcms_phy *pi, uint chan, u32 band, band 1544 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c u32 band = CHSPEC2BAND(pi->radio_chanspec); band 1584 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_phy_upd_env_txpwr_rate_limits(pi, band); band 1594 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c band, band 212 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h void wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band, band 214 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h u16 wlc_phy_chanspec_band_firstch(struct brcms_phy_pub *ppi, uint band); band 220 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h void wlc_phy_txpower_boardlimit_band(struct brcms_phy_pub *ppi, uint band, band 31 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ band 32 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) band 67 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c struct brcms_phy_pub *pi = wlc->band->pi; band 101 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c wlc_phy_txpower_get_current(wlc->band->pi, &power, band 231 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_PHY_11N_CAP(wlc->band)) { band 237 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISNPHY(wlc->band) && band 238 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c NREV_GE(wlc->band->phyrev, 3) band 239 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c && NREV_LT(wlc->band->phyrev, 7)) band 242 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISLCNPHY(wlc->band) || band 243 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c BRCMS_ISSSLPNPHY(wlc->band)) band 287 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c brcms_c_stf_stbc_tx_set(wlc, wlc->band->band_stf_stbc_tx); band 294 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c wlc_phy_stf_chain_set(wlc->band->pi, wlc->stf->txchain, band 307 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c int brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band) band 327 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (wlc->band != band) band 330 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c PHY_TXC1_MODE_SISO : band->band_stf_ss_mode; band 345 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISNPHY(wlc->band) && band 346 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c (wlc_phy_txpower_hw_ctrl_get(wlc->band->pi) != PHY_TPC_HW_ON)) band 383 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISNPHY(wlc->band)) band 393 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISNPHY(wlc->band)) band 434 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (BRCMS_ISNPHY(wlc->band)) { band 28 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h int brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); band 236 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h #define BRCMS_ISNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_N) band 237 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h #define BRCMS_ISLCNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_LCN) band 238 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h #define BRCMS_ISSSLPNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_SSN) band 240 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h #define BRCMS_PHY_11N_CAP(band) PHYTYPE_11N_CAP((band)->phytype) band 126 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c ch->band = BRCMU_CHAN_BAND_5G; band 129 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c ch->band = BRCMU_CHAN_BAND_2G; band 226 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c ch->band = BRCMU_CHAN_BAND_5G; band 229 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c ch->band = BRCMU_CHAN_BAND_2G; band 134 drivers/net/wireless/broadcom/brcm80211/include/brcmu_d11.h u8 band; band 1902 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->band = NL80211_BAND_2GHZ; band 1913 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].band = NL80211_BAND_2GHZ; band 6337 drivers/net/wireless/intel/ipw2x00/ipw2200.c u8 band = 0; band 6341 drivers/net/wireless/intel/ipw2x00/ipw2200.c band = (u8) (IPW_A_MODE << 6) | 1; band 6346 drivers/net/wireless/intel/ipw2x00/ipw2200.c band = (u8) (IPW_B_MODE << 6) | 1; band 6351 drivers/net/wireless/intel/ipw2x00/ipw2200.c band = (u8) (IPW_B_MODE << 6) | 1; band 6356 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.channels_list[0] = band; band 8463 drivers/net/wireless/intel/ipw2x00/ipw2200.c int band, modulation; band 8545 drivers/net/wireless/intel/ipw2x00/ipw2200.c band = LIBIPW_52GHZ_BAND | LIBIPW_24GHZ_BAND; band 8557 drivers/net/wireless/intel/ipw2x00/ipw2200.c band = LIBIPW_24GHZ_BAND; band 8564 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->freq_band = band; band 8654 drivers/net/wireless/intel/ipw2x00/ipw2200.c int band; band 8671 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(band = libipw_is_valid_channel(priv->ieee, channel))) band 8679 drivers/net/wireless/intel/ipw2x00/ipw2200.c flags = (band == LIBIPW_24GHZ_BAND) ? band 9644 drivers/net/wireless/intel/ipw2x00/ipw2200.c u8 band = 0, modulation = 0; band 9654 drivers/net/wireless/intel/ipw2x00/ipw2200.c band |= LIBIPW_52GHZ_BAND; band 9670 drivers/net/wireless/intel/ipw2x00/ipw2200.c band |= LIBIPW_24GHZ_BAND; band 9676 drivers/net/wireless/intel/ipw2x00/ipw2200.c band |= LIBIPW_24GHZ_BAND; band 9682 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->freq_band = band; band 11335 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->band = NL80211_BAND_2GHZ; band 11346 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].band = NL80211_BAND_2GHZ; band 11374 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->band = NL80211_BAND_5GHZ; band 11385 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].band = NL80211_BAND_5GHZ; band 1528 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_get_channels_for_scan(struct il_priv *il, enum nl80211_band band, band 1540 drivers/net/wireless/intel/iwlegacy/3945-mac.c sband = il_get_hw_mode(il, band); band 1544 drivers/net/wireless/intel/iwlegacy/3945-mac.c active_dwell = il_get_active_dwell_time(il, band, n_probes); band 1545 drivers/net/wireless/intel/iwlegacy/3945-mac.c passive_dwell = il_get_passive_dwell_time(il, band, vif); band 1553 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (chan->band != band) band 1558 drivers/net/wireless/intel/iwlegacy/3945-mac.c ch_info = il_get_channel_info(il, band, scan_ch->channel); band 1599 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (band == NL80211_BAND_5GHZ) band 2515 drivers/net/wireless/intel/iwlegacy/3945-mac.c enum nl80211_band band; band 2599 drivers/net/wireless/intel/iwlegacy/3945-mac.c band = NL80211_BAND_2GHZ; band 2603 drivers/net/wireless/intel/iwlegacy/3945-mac.c band = NL80211_BAND_5GHZ; band 2629 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_get_channels_for_scan(il, band, is_active, n_probes, band 3482 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->band = NL80211_BAND_2GHZ; band 85 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_get_rate_idx_by_rssi(s32 rssi, enum nl80211_band band) band 94 drivers/net/wireless/intel/iwlegacy/3945-rs.c switch (band) { band 334 drivers/net/wireless/intel/iwlegacy/3945-rs.c sband = hw->wiphy->bands[conf->chandef.chan->band]; band 357 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (sta->supp_rates[sband->band] & (1 << i)) { band 363 drivers/net/wireless/intel/iwlegacy/3945-rs.c il->_3945.sta_supp_rates = sta->supp_rates[sband->band]; band 365 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (sband->band == NL80211_BAND_5GHZ) { band 525 drivers/net/wireless/intel/iwlegacy/3945-rs.c enum nl80211_band band) band 533 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (unlikely(band == NL80211_BAND_5GHZ)) { band 634 drivers/net/wireless/intel/iwlegacy/3945-rs.c rate_mask = sta->supp_rates[sband->band]; band 638 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (sband->band == NL80211_BAND_5GHZ && max_rate_idx != -1) band 645 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (sband->band == NL80211_BAND_5GHZ) band 689 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_get_adjacent_rate(rs_sta, idx, rate_mask, sband->band); band 787 drivers/net/wireless/intel/iwlegacy/3945-rs.c if (sband->band == NL80211_BAND_5GHZ) { band 905 drivers/net/wireless/intel/iwlegacy/3945-rs.c switch (il->band) { band 930 drivers/net/wireless/intel/iwlegacy/3945-rs.c rs_sta->start_rate = il3945_get_rate_idx_by_rssi(rssi, il->band); band 242 drivers/net/wireless/intel/iwlegacy/3945.c switch (il->band) { band 337 drivers/net/wireless/intel/iwlegacy/3945.c if (info->band == NL80211_BAND_5GHZ) band 540 drivers/net/wireless/intel/iwlegacy/3945.c rx_status.band = band 546 drivers/net/wireless/intel/iwlegacy/3945.c rx_status.band); band 549 drivers/net/wireless/intel/iwlegacy/3945.c if (rx_status.band == NL80211_BAND_5GHZ) band 1398 drivers/net/wireless/intel/iwlegacy/3945.c txpower.band = (il->band == NL80211_BAND_5GHZ) ? 0 : 1; band 1399 drivers/net/wireless/intel/iwlegacy/3945.c ch_info = il_get_channel_info(il, il->band, chan); band 1402 drivers/net/wireless/intel/iwlegacy/3945.c il->band); band 1420 drivers/net/wireless/intel/iwlegacy/3945.c le16_to_cpu(txpower.channel), txpower.band, band 1431 drivers/net/wireless/intel/iwlegacy/3945.c le16_to_cpu(txpower.channel), txpower.band, band 2296 drivers/net/wireless/intel/iwlegacy/3945.c (il->band == band 2329 drivers/net/wireless/intel/iwlegacy/3945.c switch (il->band) { band 444 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band) band 455 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (band == NL80211_BAND_5GHZ) band 673 drivers/net/wireless/intel/iwlegacy/4965-mac.c rx_status.band = band 679 drivers/net/wireless/intel/iwlegacy/4965-mac.c rx_status.band); band 681 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); band 755 drivers/net/wireless/intel/iwlegacy/4965-mac.c enum nl80211_band band, u8 is_active, band 766 drivers/net/wireless/intel/iwlegacy/4965-mac.c sband = il_get_hw_mode(il, band); band 770 drivers/net/wireless/intel/iwlegacy/4965-mac.c active_dwell = il_get_active_dwell_time(il, band, n_probes); band 771 drivers/net/wireless/intel/iwlegacy/4965-mac.c passive_dwell = il_get_passive_dwell_time(il, band, vif); band 779 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (chan->band != band) band 785 drivers/net/wireless/intel/iwlegacy/4965-mac.c ch_info = il_get_channel_info(il, band, channel); band 811 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (band == NL80211_BAND_5GHZ) band 859 drivers/net/wireless/intel/iwlegacy/4965-mac.c enum nl80211_band band; band 973 drivers/net/wireless/intel/iwlegacy/4965-mac.c band = il->scan_band; band 975 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->cfg->scan_rx_antennas[band]) band 976 drivers/net/wireless/intel/iwlegacy/4965-mac.c rx_ant = il->cfg->scan_rx_antennas[band]; band 978 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_toggle_tx_ant(il, &il->scan_tx_ant[band], scan_tx_antennas); band 979 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_flags |= BIT(il->scan_tx_ant[band]) << RATE_MCS_ANT_POS; band 1014 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_get_channels_for_scan(il, vif, band, is_active, n_probes, band 1574 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_idx = rate_lowest_index(&il->bands[info->band], sta); band 1576 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (info->band == NL80211_BAND_5GHZ) band 2896 drivers/net/wireless/intel/iwlegacy/4965-mac.c r->idx = il4965_hwrate_to_mac80211_idx(rate_n_flags, info->band); band 3037 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->band == NL80211_BAND_5GHZ) band 6085 drivers/net/wireless/intel/iwlegacy/4965-mac.c ch_info = il_get_channel_info(il, channel->band, ch); band 6117 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_set_flags_for_band(il, channel->band, il->vif); band 6350 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->band = NL80211_BAND_2GHZ; band 537 drivers/net/wireless/intel/iwlegacy/4965-rs.c enum nl80211_band band, band 562 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (band == NL80211_BAND_5GHZ) band 731 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 750 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 838 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, &rs_idx); band 839 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (il->band == NL80211_BAND_5GHZ) band 852 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (il->band == NL80211_BAND_2GHZ) band 919 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, band 945 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, band 973 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (sta->supp_rates[sband->band]) band 1763 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->supp_rates = sta->supp_rates[lq_sta->band]; band 1804 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 2169 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(rate, il->band, tbl, &rate_idx); band 2198 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (sband->band == NL80211_BAND_5GHZ && band 2240 drivers/net/wireless/intel/iwlegacy/4965-rs.c (sband->band == NL80211_BAND_5GHZ && band 2244 drivers/net/wireless/intel/iwlegacy/4965-rs.c else if (sband->band == NL80211_BAND_5GHZ) band 2281 drivers/net/wireless/intel/iwlegacy/4965-rs.c sband = hw->wiphy->bands[conf->chandef.chan->band]; band 2291 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->supp_rates = sta->supp_rates[sband->band]; band 2309 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->band = il->band; band 2344 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (sband->band == NL80211_BAND_5GHZ) band 2372 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(new_rate, lq_sta->band, &tbl_type, band 2427 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(new_rate, lq_sta->band, band 763 drivers/net/wireless/intel/iwlegacy/4965.c get_min_power_idx(s32 rate_power_idx, u32 band) band 765 drivers/net/wireless/intel/iwlegacy/4965.c if (!band) { band 1003 drivers/net/wireless/intel/iwlegacy/4965.c il4965_fill_txpower_tbl(struct il_priv *il, u8 band, u16 channel, u8 is_ht40, band 1036 drivers/net/wireless/intel/iwlegacy/4965.c D_TXPOWER("chan %d band %d is_ht40 %d\n", channel, band, is_ht40); band 1038 drivers/net/wireless/intel/iwlegacy/4965.c ch_info = il_get_channel_info(il, il->band, channel); band 1063 drivers/net/wireless/intel/iwlegacy/4965.c if (band) band 1070 drivers/net/wireless/intel/iwlegacy/4965.c if (band) band 1085 drivers/net/wireless/intel/iwlegacy/4965.c if (band) band 1193 drivers/net/wireless/intel/iwlegacy/4965.c if (power_idx < get_min_power_idx(i, band)) band 1194 drivers/net/wireless/intel/iwlegacy/4965.c power_idx = get_min_power_idx(i, band); band 1197 drivers/net/wireless/intel/iwlegacy/4965.c if (!band) band 1217 drivers/net/wireless/intel/iwlegacy/4965.c gain_table[band][power_idx].radio; band 1219 drivers/net/wireless/intel/iwlegacy/4965.c gain_table[band][power_idx].dsp; band 1245 drivers/net/wireless/intel/iwlegacy/4965.c u8 band = 0; band 1254 drivers/net/wireless/intel/iwlegacy/4965.c band = il->band == NL80211_BAND_2GHZ; band 1261 drivers/net/wireless/intel/iwlegacy/4965.c cmd.band = band; band 1265 drivers/net/wireless/intel/iwlegacy/4965.c il4965_fill_txpower_tbl(il, band, le16_to_cpu(il->active.channel), band 1458 drivers/net/wireless/intel/iwlegacy/4965.c u8 band = 0; band 1469 drivers/net/wireless/intel/iwlegacy/4965.c band = (il->band == NL80211_BAND_2GHZ); band 1479 drivers/net/wireless/intel/iwlegacy/4965.c cmd.band = band; band 1512 drivers/net/wireless/intel/iwlegacy/4965.c ch_info = il_get_channel_info(il, il->band, ch); band 1521 drivers/net/wireless/intel/iwlegacy/4965.c rc = il4965_fill_txpower_tbl(il, band, ch, is_ht40, ctrl_chan_high, band 53 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band); band 759 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; band 769 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; band 782 drivers/net/wireless/intel/iwlegacy/commands.h __le16 band; band 1741 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; /* 0: 5 GHz, 1: 2.4 GHz */ band 1748 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; /* 0: 5 GHz, 1: 2.4 GHz */ band 2213 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; /* 0 - 5.2GHz, 1 - 2.4GHz */ band 2590 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; band 2610 drivers/net/wireless/intel/iwlegacy/commands.h u8 band; band 845 drivers/net/wireless/intel/iwlegacy/common.c il_mod_ht40_chan_info(struct il_priv *il, enum nl80211_band band, u16 channel, band 852 drivers/net/wireless/intel/iwlegacy/common.c (struct il_channel_info *)il_get_channel_info(il, band, channel); band 889 drivers/net/wireless/intel/iwlegacy/common.c int band, ch; band 920 drivers/net/wireless/intel/iwlegacy/common.c for (band = 1; band <= 5; band++) { band 922 drivers/net/wireless/intel/iwlegacy/common.c il_init_band_reference(il, band, &eeprom_ch_count, band 928 drivers/net/wireless/intel/iwlegacy/common.c ch_info->band = band 929 drivers/net/wireless/intel/iwlegacy/common.c (band == band 987 drivers/net/wireless/intel/iwlegacy/common.c for (band = 6; band <= 7; band++) { band 990 drivers/net/wireless/intel/iwlegacy/common.c il_init_band_reference(il, band, &eeprom_ch_count, band 995 drivers/net/wireless/intel/iwlegacy/common.c (band == 6) ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; band 1033 drivers/net/wireless/intel/iwlegacy/common.c il_get_channel_info(const struct il_priv *il, enum nl80211_band band, band 1038 drivers/net/wireless/intel/iwlegacy/common.c switch (band) { band 1407 drivers/net/wireless/intel/iwlegacy/common.c notif->band ? "bg" : "a", le32_to_cpu(notif->tsf_high), band 1421 drivers/net/wireless/intel/iwlegacy/common.c "elapsed=%lu usec\n", notif->channel, notif->band ? "bg" : "a", band 1464 drivers/net/wireless/intel/iwlegacy/common.c il_get_active_dwell_time(struct il_priv *il, enum nl80211_band band, band 1467 drivers/net/wireless/intel/iwlegacy/common.c if (band == NL80211_BAND_5GHZ) band 1477 drivers/net/wireless/intel/iwlegacy/common.c il_get_passive_dwell_time(struct il_priv *il, enum nl80211_band band, band 1483 drivers/net/wireless/intel/iwlegacy/common.c (band == band 1582 drivers/net/wireless/intel/iwlegacy/common.c il->scan_band = req->channels[0]->band; band 1992 drivers/net/wireless/intel/iwlegacy/common.c rate = (il->band == NL80211_BAND_5GHZ) ? RATE_6M_PLCP : RATE_1M_PLCP; band 3373 drivers/net/wireless/intel/iwlegacy/common.c enum nl80211_band band) band 3386 drivers/net/wireless/intel/iwlegacy/common.c if (il->hw_params.ht40_channel & BIT(band)) { band 3483 drivers/net/wireless/intel/iwlegacy/common.c sband = &il->bands[ch->band]; band 3488 drivers/net/wireless/intel/iwlegacy/common.c ieee80211_channel_to_frequency(ch->channel, ch->band); band 3554 drivers/net/wireless/intel/iwlegacy/common.c il_is_channel_extension(struct il_priv *il, enum nl80211_band band, band 3559 drivers/net/wireless/intel/iwlegacy/common.c ch_info = il_get_channel_info(il, band, channel); band 3591 drivers/net/wireless/intel/iwlegacy/common.c return il_is_channel_extension(il, il->band, band 3917 drivers/net/wireless/intel/iwlegacy/common.c il_get_single_channel_number(struct il_priv *il, enum nl80211_band band) band 3924 drivers/net/wireless/intel/iwlegacy/common.c if (band == NL80211_BAND_5GHZ) { band 3937 drivers/net/wireless/intel/iwlegacy/common.c ch_info = il_get_channel_info(il, band, channel); band 3956 drivers/net/wireless/intel/iwlegacy/common.c enum nl80211_band band = ch->band; band 3959 drivers/net/wireless/intel/iwlegacy/common.c if (le16_to_cpu(il->staging.channel) == channel && il->band == band) band 3963 drivers/net/wireless/intel/iwlegacy/common.c if (band == NL80211_BAND_5GHZ) band 3968 drivers/net/wireless/intel/iwlegacy/common.c il->band = band; band 3970 drivers/net/wireless/intel/iwlegacy/common.c D_INFO("Staging channel set to %d [%d]\n", channel, band); band 3977 drivers/net/wireless/intel/iwlegacy/common.c il_set_flags_for_band(struct il_priv *il, enum nl80211_band band, band 3980 drivers/net/wireless/intel/iwlegacy/common.c if (band == NL80211_BAND_5GHZ) { band 4038 drivers/net/wireless/intel/iwlegacy/common.c il_get_channel_info(il, il->band, le16_to_cpu(il->active.channel)); band 4044 drivers/net/wireless/intel/iwlegacy/common.c il->band = ch_info->band; band 4046 drivers/net/wireless/intel/iwlegacy/common.c il_set_flags_for_band(il, il->band, il->vif); band 4071 drivers/net/wireless/intel/iwlegacy/common.c hw = il_get_hw_mode(il, il->band); band 5065 drivers/net/wireless/intel/iwlegacy/common.c ch_info = il_get_channel_info(il, channel->band, ch); band 5118 drivers/net/wireless/intel/iwlegacy/common.c il_set_flags_for_band(il, channel->band, il->vif); band 5408 drivers/net/wireless/intel/iwlegacy/common.c if (bss_conf->use_cts_prot && il->band != NL80211_BAND_5GHZ) band 421 drivers/net/wireless/intel/iwlegacy/common.h enum nl80211_band band, band 486 drivers/net/wireless/intel/iwlegacy/common.h enum nl80211_band band; band 1130 drivers/net/wireless/intel/iwlegacy/common.h enum nl80211_band band; band 1468 drivers/net/wireless/intel/iwlegacy/common.h return ch_info->band == NL80211_BAND_5GHZ; band 1696 drivers/net/wireless/intel/iwlegacy/common.h void il_set_flags_for_band(struct il_priv *il, enum nl80211_band band, band 1698 drivers/net/wireless/intel/iwlegacy/common.h u8 il_get_single_channel_number(struct il_priv *il, enum nl80211_band band); band 1782 drivers/net/wireless/intel/iwlegacy/common.h u16 il_get_active_dwell_time(struct il_priv *il, enum nl80211_band band, band 1784 drivers/net/wireless/intel/iwlegacy/common.h u16 il_get_passive_dwell_time(struct il_priv *il, enum nl80211_band band, band 1944 drivers/net/wireless/intel/iwlegacy/common.h il_get_hw_mode(struct il_priv *il, enum nl80211_band band) band 1946 drivers/net/wireless/intel/iwlegacy/common.h return il->hw->wiphy->bands[band]; band 2795 drivers/net/wireless/intel/iwlegacy/common.h enum nl80211_band band; band 156 drivers/net/wireless/intel/iwlwifi/dvm/agn.h enum nl80211_band band, band 184 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct iwl_priv *priv, enum nl80211_band band) band 186 drivers/net/wireless/intel/iwlwifi/dvm/agn.h return priv->hw->wiphy->bands[band]; band 196 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwlagn_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band); band 256 drivers/net/wireless/intel/iwlwifi/dvm/agn.h enum nl80211_band band); band 681 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 band; band 702 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 band; band 715 drivers/net/wireless/intel/iwlwifi/dvm/commands.h __le16 band; band 2071 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 band; /* 0 - 5.2GHz, 1 - 2.4GHz */ band 2406 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 band; band 2426 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 band; band 665 drivers/net/wireless/intel/iwlwifi/dvm/dev.h enum nl80211_band band; band 409 drivers/net/wireless/intel/iwlwifi/dvm/devices.c cmd.band = priv->band == NL80211_BAND_2GHZ; band 577 drivers/net/wireless/intel/iwlwifi/dvm/devices.c cmd->band = priv->band == NL80211_BAND_2GHZ; band 79 drivers/net/wireless/intel/iwlwifi/dvm/lib.c int iwlagn_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band) band 90 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (band == NL80211_BAND_5GHZ) band 846 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (priv->band == NL80211_BAND_2GHZ && band 997 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_set_flags_for_band(priv, ctx, channel->band, ctx->vif); band 1517 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c req->channels[0]->band); band 251 drivers/net/wireless/intel/iwlwifi/dvm/main.c if (info->band == NL80211_BAND_5GHZ) band 1104 drivers/net/wireless/intel/iwlwifi/dvm/main.c priv->band = NL80211_BAND_2GHZ; band 584 drivers/net/wireless/intel/iwlwifi/dvm/rs.c enum nl80211_band band, band 609 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (band == NL80211_BAND_5GHZ) band 790 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 809 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 926 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); band 927 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (priv->band == NL80211_BAND_5GHZ) band 940 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (priv->band == NL80211_BAND_2GHZ) band 1005 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, band 1030 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(tx_rate, priv->band, band 1056 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (sta && sta->supp_rates[sband->band]) band 2229 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->supp_rates = sta->supp_rates[lq_sta->band]; band 2272 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 2679 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(rate, priv->band, tbl, &rate_idx); band 2709 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if ((sband->band == NL80211_BAND_5GHZ) && band 2747 drivers/net/wireless/intel/iwlwifi/dvm/rs.c ((sband->band == NL80211_BAND_5GHZ) && band 2751 drivers/net/wireless/intel/iwlwifi/dvm/rs.c else if (sband->band == NL80211_BAND_5GHZ) band 2788 drivers/net/wireless/intel/iwlwifi/dvm/rs.c sband = hw->wiphy->bands[conf->chandef.chan->band]; band 2798 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->supp_rates = sta->supp_rates[sband->band]; band 2811 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->band = sband->band; band 2815 drivers/net/wireless/intel/iwlwifi/dvm/rs.c supp = sta->supp_rates[sband->band]; band 2864 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (sband->band == NL80211_BAND_5GHZ) band 2892 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(new_rate, lq_sta->band, band 2958 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(new_rate, lq_sta->band, &tbl_type, band 343 drivers/net/wireless/intel/iwlwifi/dvm/rs.h enum nl80211_band band; band 823 drivers/net/wireless/intel/iwlwifi/dvm/rx.c rx_status.band = (phy_res->phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? band 827 drivers/net/wireless/intel/iwlwifi/dvm/rx.c rx_status.band); band 829 drivers/net/wireless/intel/iwlwifi/dvm/rx.c iwlagn_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); band 69 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->band = priv->hw->conf.chandef.chan->band; band 71 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c iwl_set_flags_for_band(priv, ctx, priv->band, ctx->vif); band 702 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c enum nl80211_band band = ch->band; band 706 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c (priv->band == band)) band 710 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (band == NL80211_BAND_5GHZ) band 715 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->band = band; band 717 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c IWL_DEBUG_INFO(priv, "Staging channel set to %d [%d]\n", channel, band); band 723 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c enum nl80211_band band, band 726 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (band == NL80211_BAND_5GHZ) { band 932 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; band 1226 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c iwl_set_flags_for_band(priv, ctx, channel->band, band 1459 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (bss_conf->use_cts_prot && (priv->band != NL80211_BAND_5GHZ)) band 126 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_request->channels[0]->band); band 260 drivers/net/wireless/intel/iwlwifi/dvm/scan.c notif->band ? "bg" : "a", band 280 drivers/net/wireless/intel/iwlwifi/dvm/scan.c notif->band ? "bg" : "a", band 352 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band, u8 n_probes) band 354 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (band == NL80211_BAND_5GHZ) band 421 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band) band 423 drivers/net/wireless/intel/iwlwifi/dvm/scan.c u16 passive = (band == NL80211_BAND_2GHZ) ? band 432 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band) band 434 drivers/net/wireless/intel/iwlwifi/dvm/scan.c struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band]; band 460 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band, band 466 drivers/net/wireless/intel/iwlwifi/dvm/scan.c sband = iwl_get_hw_mode(priv, band); band 472 drivers/net/wireless/intel/iwlwifi/dvm/scan.c channel = iwl_get_single_channel_number(priv, band); band 482 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (band == NL80211_BAND_5GHZ) band 495 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band, band 506 drivers/net/wireless/intel/iwlwifi/dvm/scan.c sband = iwl_get_hw_mode(priv, band); band 510 drivers/net/wireless/intel/iwlwifi/dvm/scan.c active_dwell = iwl_get_active_dwell_time(priv, band, n_probes); band 511 drivers/net/wireless/intel/iwlwifi/dvm/scan.c passive_dwell = iwl_get_passive_dwell_time(priv, band); band 519 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (chan->band != band) band 543 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (band == NL80211_BAND_5GHZ) band 626 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band; band 797 drivers/net/wireless/intel/iwlwifi/dvm/scan.c band = priv->scan_band; band 799 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (band == NL80211_BAND_2GHZ && band 806 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_tx_ant[band] = iwl_toggle_tx_ant(priv, band 807 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_tx_ant[band], band 809 drivers/net/wireless/intel/iwlwifi/dvm/scan.c rate_flags |= iwl_ant_idx_to_flags(priv->scan_tx_ant[band]); band 872 drivers/net/wireless/intel/iwlwifi/dvm/scan.c iwl_get_channel_for_reset_scan(priv, vif, band, band 877 drivers/net/wireless/intel/iwlwifi/dvm/scan.c iwl_get_channels_for_scan(priv, vif, band, band 924 drivers/net/wireless/intel/iwlwifi/dvm/scan.c enum nl80211_band band) band 955 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_band = band; band 999 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (iwl_scan_initiate(priv, NULL, IWL_SCAN_RADIO_RESET, priv->band)) band 567 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->band == NL80211_BAND_5GHZ) band 67 drivers/net/wireless/intel/iwlwifi/dvm/tx.c else if (info->band == NL80211_BAND_2GHZ && band 161 drivers/net/wireless/intel/iwlwifi/dvm/tx.c &priv->nvm_data->bands[info->band], sta); band 163 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (info->band == NL80211_BAND_5GHZ) band 826 drivers/net/wireless/intel/iwlwifi/dvm/tx.c r->idx = iwlagn_hwrate_to_mac80211_idx(rate_n_flags, info->band); band 94 drivers/net/wireless/intel/iwlwifi/fw/api/offload.h __le16 band; band 108 drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h u8 band; band 125 drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h u8 band; band 402 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h u8 band; band 661 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h u8 band; band 390 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c enum nl80211_band band; band 392 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ? band 403 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (band != chan->band) band 526 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c enum nl80211_band band, u16 channel, band 534 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (data->channels[i].band != band) band 548 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c band == NL80211_BAND_5GHZ ? "5.2" : "2.4", band 571 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int band, ch_idx; band 580 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (band = 1; band <= 5; band++) { band 583 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_init_band_reference(cfg, eeprom, eeprom_size, band, band 598 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c (band != 1) ? "5.2" : "2.4"); band 606 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c channel->band = (band == 1) ? NL80211_BAND_2GHZ band 610 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c channel->hw_value, channel->band); band 630 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c (band != 1) ? "5.2" : "2.4", band 676 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (band = 6; band <= 7; band++) { band 679 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_init_band_reference(cfg, eeprom, eeprom_size, band, band 684 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ieeeband = (band == 6) ? NL80211_BAND_2GHZ band 708 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels, enum nl80211_band band) band 713 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c while (idx < n_channels && chan->band != band) band 718 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c while (idx < n_channels && chan->band == band) { band 734 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c enum nl80211_band band, band 789 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (cfg->ht_params->ht40_bands & BIT(band)) { band 820 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->band = NL80211_BAND_2GHZ; band 829 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->band = NL80211_BAND_5GHZ; band 124 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h int n_channels, enum nl80211_band band); band 129 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h enum nl80211_band band, band 393 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel->band = is_5ghz ? band 397 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel->hw_value, channel->band); band 713 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c sband->band = NL80211_BAND_2GHZ; band 725 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c sband->band = NL80211_BAND_5GHZ; band 1127 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c enum nl80211_band band; band 1164 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c band = (ch_idx < NUM_2GHZ_CHANNELS) ? band 1167 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c band); band 1213 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c band == NL80211_BAND_2GHZ) band 89 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (phyctxt->channel->band == NL80211_BAND_2GHZ || band 167 drivers/net/wireless/intel/iwlwifi/mvm/coex.c chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { band 346 drivers/net/wireless/intel/iwlwifi/mvm/coex.c chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { band 681 drivers/net/wireless/intel/iwlwifi/mvm/coex.c enum nl80211_band band) band 685 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (band != NL80211_BAND_2GHZ) band 706 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (info->band != NL80211_BAND_2GHZ) band 372 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c enum nl80211_band band, band 383 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c sband = mvm->hw->wiphy->bands[band]; band 542 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band band 859 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (info->band == NL80211_BAND_5GHZ || vif->p2p) band 1481 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c rx_status.band = band 1482 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c (sb->band & cpu_to_le16(RX_RES_PHY_FLAGS_BAND_24)) ? band 1486 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c rx_status.band); band 3119 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, band 3144 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, band 3217 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, band 3619 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c (channel->band == NL80211_BAND_2GHZ) ? band 1488 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h enum nl80211_band band); band 1490 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h enum nl80211_band band, band 1847 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h enum nl80211_band band); band 1881 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h bool iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band); band 2104 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u32 chan, u8 band, u8 width, band 2109 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h ci->band = band; band 2117 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h ci_v1->band = band; band 2129 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h (chandef->chan->band == NL80211_BAND_2GHZ ? band 254 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c ctxt->channel->band != chandef->chan->band) { band 293 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c enum nl80211_band band = NL80211_BAND_2GHZ; band 295 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c while (!sband && band < NUM_NL80211_BANDS) band 296 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c sband = mvm->hw->wiphy->bands[band++]; band 299 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c tmp = sta->supp_rates[sband->band]; band 436 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c enum nl80211_band band, bool update) band 442 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; band 881 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band, band 901 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (band == NL80211_BAND_5GHZ) band 1111 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 1729 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) band 1899 drivers/net/wireless/intel/iwlwifi/mvm/rs.c struct rs_rate *rate, enum nl80211_band band) band 1913 drivers/net/wireless/intel/iwlwifi/mvm/rs.c !iwl_mvm_bt_coex_is_tpc_allowed(mvm, band)) band 2005 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band; band 2027 drivers/net/wireless/intel/iwlwifi/mvm/rs.c band = NUM_NL80211_BANDS; band 2029 drivers/net/wireless/intel/iwlwifi/mvm/rs.c band = chanctx_conf->def.chan->band; band 2032 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!rs_tpc_allowed(mvm, vif, rate, band)) { band 2455 drivers/net/wireless/intel/iwlwifi/mvm/rs.c else if (lq_sta->band == NL80211_BAND_5GHZ) band 2472 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (lq_sta->band == NL80211_BAND_5GHZ) { band 2528 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band, band 2564 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (band == NL80211_BAND_5GHZ) { band 2679 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band) band 2696 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_get_initial_rate(mvm, sta, lq_sta, band, rate); band 2737 drivers/net/wireless/intel/iwlwifi/mvm/rs.c info->band, &info->control.rates[0]); band 2747 drivers/net/wireless/intel/iwlwifi/mvm/rs.c iwl_mvm_hwrate_to_tx_rate(last_ucode_rate, info->band, band 2958 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band) band 2974 drivers/net/wireless/intel/iwlwifi/mvm/rs.c sband = hw->wiphy->bands[band]; band 2995 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->band = sband->band; band 2999 drivers/net/wireless/intel/iwlwifi/mvm/rs.c supp = sta->supp_rates[sband->band]; band 3040 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_initialize_lq(mvm, sta, lq_sta, band); band 3060 drivers/net/wireless/intel/iwlwifi/mvm/rs.c iwl_mvm_rs_rate_init(mvm, sta, sband->band, true); band 3092 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rs_rate_from_ucode_rate(tx_resp_hwrate, info->band, band 3137 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_drv_rate_init(mvm, sta, info->band); band 3151 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rs_rate_from_ucode_rate(lq_hwrate, info->band, &lq_rate)) { band 3255 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rs_rate_from_ucode_rate(lq_hwrate, info->band, band 3292 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (sta->supp_rates[info->band]) band 3314 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band, band 3326 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rs_rate_from_ucode_rate(ucode_rate, band, &rate)) { band 3629 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->band, band 4158 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_band band, bool update) band 4161 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_fw_rate_init(mvm, sta, band, update); band 4166 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_drv_rate_init(mvm, sta, band); band 345 drivers/net/wireless/intel/iwlwifi/mvm/rs.h enum nl80211_band band; band 413 drivers/net/wireless/intel/iwlwifi/mvm/rs.h enum nl80211_band band, bool init); band 454 drivers/net/wireless/intel/iwlwifi/mvm/rs.h enum nl80211_band band, bool update); band 402 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->band = band 407 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->band); band 538 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->band); band 542 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rate_n_flags, rx_status->band)) { band 1684 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band = channel > 14 ? NL80211_BAND_5GHZ : band 1687 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band); band 1840 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band); band 1844 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rate_n_flags, rx_status->band)) { band 1958 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band = channel > 14 ? NL80211_BAND_5GHZ : band 1961 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band); band 2002 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->band); band 2006 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rate_n_flags, rx_status->band)) { band 199 drivers/net/wireless/intel/iwlwifi/mvm/scan.c static __le32 iwl_mvm_scan_rxon_flags(enum nl80211_band band) band 201 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (band == NL80211_BAND_2GHZ) band 208 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_scan_rate_n_flags(struct iwl_mvm *mvm, enum nl80211_band band, band 216 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (band == NL80211_BAND_2GHZ && !no_cck) band 240 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_get_traffic_load_band(struct iwl_mvm *mvm, enum nl80211_band band) band 242 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return mvm->tcm.result.band_load[band]; band 330 drivers/net/wireless/intel/iwlwifi/mvm/scan.c enum nl80211_band band) band 335 drivers/net/wireless/intel/iwlwifi/mvm/scan.c load = iwl_mvm_get_traffic_load_band(mvm, band); band 336 drivers/net/wireless/intel/iwlwifi/mvm/scan.c low_latency = iwl_mvm_low_latency_band(mvm, band); band 1003 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cmd->flags = iwl_mvm_scan_rxon_flags(params->channels[0]->band); band 1076 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_supported_band *band; band 1080 drivers/net/wireless/intel/iwlwifi/mvm/scan.c band = &mvm->nvm_data->bands[NL80211_BAND_2GHZ]; band 1081 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_bitrates; i++) band 1082 drivers/net/wireless/intel/iwlwifi/mvm/scan.c rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); band 1083 drivers/net/wireless/intel/iwlwifi/mvm/scan.c band = &mvm->nvm_data->bands[NL80211_BAND_5GHZ]; band 1084 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_bitrates; i++) band 1085 drivers/net/wireless/intel/iwlwifi/mvm/scan.c rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); band 1105 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_supported_band *band; band 1108 drivers/net/wireless/intel/iwlwifi/mvm/scan.c band = &mvm->nvm_data->bands[NL80211_BAND_2GHZ]; band 1109 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) band 1110 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channels[j] = band->channels[i].hw_value; band 1111 drivers/net/wireless/intel/iwlwifi/mvm/scan.c band = &mvm->nvm_data->bands[NL80211_BAND_5GHZ]; band 1112 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) band 1113 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channels[j] = band->channels[i].hw_value; band 1429 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channel_cfg[i].v2.band = band 311 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (info->band == NL80211_BAND_2GHZ && band 342 drivers/net/wireless/intel/iwlwifi/mvm/tx.c &mvm->nvm_data->bands[info->band], sta); band 345 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (info->band == NL80211_BAND_5GHZ) band 790 drivers/net/wireless/intel/iwlwifi/mvm/tx.c enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; band 796 drivers/net/wireless/intel/iwlwifi/mvm/tx.c band == NL80211_BAND_5GHZ) band 1344 drivers/net/wireless/intel/iwlwifi/mvm/tx.c enum nl80211_band band, band 1375 drivers/net/wireless/intel/iwlwifi/mvm/tx.c band); band 1389 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_hwrate_to_tx_rate(rate_n_flags, info->band, r); band 1875 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ba_info->band = chanctx_conf->def.chan->band; band 213 drivers/net/wireless/intel/iwlwifi/mvm/utils.c enum nl80211_band band) band 220 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (band == NL80211_BAND_5GHZ) band 835 drivers/net/wireless/intel/iwlwifi/mvm/utils.c enum nl80211_band band; band 843 drivers/net/wireless/intel/iwlwifi/mvm/utils.c band = mvmvif->phy_ctxt->channel->band; band 844 drivers/net/wireless/intel/iwlwifi/mvm/utils.c result->result_per_band[band] = true; band 859 drivers/net/wireless/intel/iwlwifi/mvm/utils.c bool iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band) band 867 drivers/net/wireless/intel/iwlwifi/mvm/utils.c return data.result_per_band[band]; band 1210 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u32 *band = _data; band 1215 drivers/net/wireless/intel/iwlwifi/mvm/utils.c band[mvmvif->id] = mvmvif->phy_ctxt->channel->band; band 1227 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u32 band[NUM_MAC_INDEX_DRIVER] = {0}; band 1243 drivers/net/wireless/intel/iwlwifi/mvm/utils.c &band); band 1251 drivers/net/wireless/intel/iwlwifi/mvm/utils.c band_airtime[band[mac]] += airtime; band 55 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.bitrates = orinoco_rates; band 56 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.n_bitrates = ARRAY_SIZE(orinoco_rates); band 67 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.channels = priv->channels; band 68 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.n_channels = channels; band 70 drivers/net/wireless/intersil/orinoco/cfg.c wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 178 drivers/net/wireless/intersil/orinoco/cfg.c if (chandef->chan->band != NL80211_BAND_2GHZ) band 66 drivers/net/wireless/intersil/orinoco/orinoco.h struct ieee80211_supported_band band; band 76 drivers/net/wireless/intersil/p54/eeprom.c enum nl80211_band band; band 124 drivers/net/wireless/intersil/p54/eeprom.c enum nl80211_band band) band 128 drivers/net/wireless/intersil/p54/eeprom.c switch (band) { band 147 drivers/net/wireless/intersil/p54/eeprom.c enum nl80211_band band) band 154 drivers/net/wireless/intersil/p54/eeprom.c if ((!list->entries) || (!list->band_channel_num[band])) band 161 drivers/net/wireless/intersil/p54/eeprom.c tmp->channels = kcalloc(list->band_channel_num[band], band 167 drivers/net/wireless/intersil/p54/eeprom.c ret = p54_fill_band_bitrates(dev, tmp, band); band 171 drivers/net/wireless/intersil/p54/eeprom.c for (i = 0, j = 0; (j < list->band_channel_num[band]) && band 176 drivers/net/wireless/intersil/p54/eeprom.c if (chan->band != band) band 192 drivers/net/wireless/intersil/p54/eeprom.c dest->band = chan->band; band 207 drivers/net/wireless/intersil/p54/eeprom.c (band == NL80211_BAND_2GHZ) ? 2 : 5); band 214 drivers/net/wireless/intersil/p54/eeprom.c old = priv->band_table[band]; band 215 drivers/net/wireless/intersil/p54/eeprom.c priv->band_table[band] = tmp; band 252 drivers/net/wireless/intersil/p54/eeprom.c int band = p54_get_band_from_freq(freq); band 258 drivers/net/wireless/intersil/p54/eeprom.c if (band >= 0) { band 260 drivers/net/wireless/intersil/p54/eeprom.c list->band_channel_num[band]++; band 264 drivers/net/wireless/intersil/p54/eeprom.c entry->band = band; band 474 drivers/net/wireless/intersil/p54/main.c if (dev->conf.chandef.chan->band == NL80211_BAND_5GHZ) band 357 drivers/net/wireless/intersil/p54/txrx.c if (priv->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) band 363 drivers/net/wireless/intersil/p54/txrx.c rx_status->band = priv->hw->conf.chandef.chan->band; band 876 drivers/net/wireless/intersil/p54/txrx.c if (info->band == NL80211_BAND_5GHZ) band 298 drivers/net/wireless/mac80211_hwsim.c .band = NL80211_BAND_2GHZ, \ band 305 drivers/net/wireless/mac80211_hwsim.c .band = NL80211_BAND_5GHZ, \ band 1230 drivers/net/wireless/mac80211_hwsim.c rx_status.band = chan->band; band 2692 drivers/net/wireless/mac80211_hwsim.c if (sband->band == NL80211_BAND_2GHZ) { band 2696 drivers/net/wireless/mac80211_hwsim.c } else if (sband->band == NL80211_BAND_5GHZ) { band 2735 drivers/net/wireless/mac80211_hwsim.c enum nl80211_band band; band 2932 drivers/net/wireless/mac80211_hwsim.c for (band = NL80211_BAND_2GHZ; band < NUM_NL80211_BANDS; band++) { band 2933 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_supported_band *sband = &data->bands[band]; band 2935 drivers/net/wireless/mac80211_hwsim.c sband->band = band; band 2937 drivers/net/wireless/mac80211_hwsim.c switch (band) { band 2992 drivers/net/wireless/mac80211_hwsim.c hw->wiphy->bands[band] = sband; band 3389 drivers/net/wireless/mac80211_hwsim.c rx_status.band = data2->channel->band; band 27 drivers/net/wireless/marvell/libertas/cfg.c .band = NL80211_BAND_2GHZ, \ band 1229 drivers/net/wireless/marvell/libertas/cfg.c enum nl80211_band band; band 1244 drivers/net/wireless/marvell/libertas/cfg.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1247 drivers/net/wireless/marvell/libertas/cfg.c if (!wiphy->bands[band]) band 1250 drivers/net/wireless/marvell/libertas/cfg.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { band 1252 drivers/net/wireless/marvell/libertas/cfg.c if (wiphy->bands[band]->channels[j].flags & band 1256 drivers/net/wireless/marvell/libertas/cfg.c creq->channels[i] = &wiphy->bands[band]->channels[j]; band 704 drivers/net/wireless/marvell/libertas/cmd.c enum nl80211_band band; band 736 drivers/net/wireless/marvell/libertas/cmd.c for (band = 0; band 737 drivers/net/wireless/marvell/libertas/cmd.c (band < NUM_NL80211_BANDS) && (num_triplet < MAX_11D_TRIPLETS); band 738 drivers/net/wireless/marvell/libertas/cmd.c band++) { band 740 drivers/net/wireless/marvell/libertas/cmd.c if (!bands[band]) band 744 drivers/net/wireless/marvell/libertas/cmd.c (i < bands[band]->n_channels) && (num_triplet < MAX_11D_TRIPLETS); band 746 drivers/net/wireless/marvell/libertas/cmd.c ch = &bands[band]->channels[i]; band 250 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct ieee80211_supported_band band; band 508 drivers/net/wireless/marvell/libertas_tf/main.c stats.band = NL80211_BAND_2GHZ; band 580 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.n_bitrates = ARRAY_SIZE(lbtf_rates); band 581 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.bitrates = priv->rates; band 582 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.n_channels = ARRAY_SIZE(lbtf_channels); band 583 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.channels = priv->channels; band 584 drivers/net/wireless/marvell/libertas_tf/main.c hw->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 323 drivers/net/wireless/marvell/mwifiex/11ac.c u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, band 328 drivers/net/wireless/marvell/mwifiex/11ac.c if (band & BAND_AAC) { band 544 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 556 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = mwifiex_band_to_radio_type(adapter->config_bands); band 557 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!wiphy->bands[band]) { band 563 drivers/net/wireless/marvell/mwifiex/cfg80211.c sband = wiphy->bands[band]; band 1530 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 1538 drivers/net/wireless/marvell/mwifiex/cfg80211.c u8 curr_bss_band = priv->curr_bss_params.band; band 1541 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = mwifiex_band_to_radio_type(curr_bss_band); band 1543 drivers/net/wireless/marvell/mwifiex/cfg80211.c ieee80211_channel_to_frequency(chan, band)); band 1558 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = pchan_stats[idx].bandcfg; band 1560 drivers/net/wireless/marvell/mwifiex/cfg80211.c ieee80211_channel_to_frequency(pchan_stats[idx].chan_num, band)); band 1706 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 1715 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 1720 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (band == NL80211_BAND_2GHZ) band 1721 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[0] = mask->control[band].legacy & 0x000f; band 1724 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (band == NL80211_BAND_2GHZ) band 1725 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[1] = (mask->control[band].legacy & 0x0ff0) >> 4; band 1727 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[1] = mask->control[band].legacy; band 1730 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[2] = mask->control[band].ht_mcs[0]; band 1732 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[2] |= mask->control[band].ht_mcs[1] << 8; band 1736 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[10] = mask->control[band].vht_mcs[0]; band 1738 drivers/net/wireless/marvell/mwifiex/cfg80211.c bitmap_rates[11] = mask->control[band].vht_mcs[1]; band 1893 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 1907 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1908 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!adapter->wiphy->bands[band]) band 1911 drivers/net/wireless/marvell/mwifiex/cfg80211.c ht_info = &adapter->wiphy->bands[band]->ht_cap; band 2135 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 2147 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 2150 drivers/net/wireless/marvell/mwifiex/cfg80211.c band)); band 2424 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (params->chandef.chan->band == NL80211_BAND_2GHZ) { band 2622 drivers/net/wireless/marvell/mwifiex/cfg80211.c user_scan_cfg->chan_list[i].radio_type = chan->band; band 2720 drivers/net/wireless/marvell/mwifiex/cfg80211.c bgscan_cfg->chan_list[i].radio_type = chan->band; band 3855 drivers/net/wireless/marvell/mwifiex/cfg80211.c u8 second_chan_offset, band; band 3884 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = chandef->chan->band; band 3885 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_start_tdls_cs(priv, addr, chan, second_chan_offset, band); band 3998 drivers/net/wireless/marvell/mwifiex/cfg80211.c enum nl80211_band band; band 4008 drivers/net/wireless/marvell/mwifiex/cfg80211.c band = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 4009 drivers/net/wireless/marvell/mwifiex/cfg80211.c freq = ieee80211_channel_to_frequency(curr_bss->channel, band); band 312 drivers/net/wireless/marvell/mwifiex/cfp.c mwifiex_get_cfp(struct mwifiex_private *priv, u8 band, u16 channel, u32 freq) band 322 drivers/net/wireless/marvell/mwifiex/cfp.c if (mwifiex_band_to_radio_type(band) == HostCmd_SCAN_RADIO_TYPE_BG) band 330 drivers/net/wireless/marvell/mwifiex/cfp.c __func__, band); band 354 drivers/net/wireless/marvell/mwifiex/cfp.c __func__, band, channel, freq); band 1427 drivers/net/wireless/marvell/mwifiex/fw.h u8 band; band 723 drivers/net/wireless/marvell/mwifiex/join.c priv->curr_bss_params.band = (u8) bss_desc->bss_band; band 925 drivers/net/wireless/marvell/mwifiex/join.c priv->curr_bss_params.band = adapter->adhoc_start_band; band 1009 drivers/net/wireless/marvell/mwifiex/join.c = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 1204 drivers/net/wireless/marvell/mwifiex/join.c priv->curr_bss_params.band = (u8) bss_desc->bss_band; band 1406 drivers/net/wireless/marvell/mwifiex/join.c priv->curr_bss_params.band); band 1462 drivers/net/wireless/marvell/mwifiex/join.c priv->curr_bss_params.band); band 1543 drivers/net/wireless/marvell/mwifiex/join.c mwifiex_band_to_radio_type(u8 band) band 1545 drivers/net/wireless/marvell/mwifiex/join.c switch (band) { band 452 drivers/net/wireless/marvell/mwifiex/main.h u8 band; band 763 drivers/net/wireless/marvell/mwifiex/main.h u8 band; band 1182 drivers/net/wireless/marvell/mwifiex/main.h u8 mwifiex_band_to_radio_type(u8 band); band 1199 drivers/net/wireless/marvell/mwifiex/main.h u8 band, u16 channel, u32 freq); band 1631 drivers/net/wireless/marvell/mwifiex/main.h u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, band 1650 drivers/net/wireless/marvell/mwifiex/main.h u8 primary_chan, u8 second_chan_offset, u8 band); band 462 drivers/net/wireless/marvell/mwifiex/scan.c enum nl80211_band band; band 468 drivers/net/wireless/marvell/mwifiex/scan.c for (band = 0; (band < NUM_NL80211_BANDS) ; band++) { band 470 drivers/net/wireless/marvell/mwifiex/scan.c if (!priv->wdev.wiphy->bands[band]) band 473 drivers/net/wireless/marvell/mwifiex/scan.c sband = priv->wdev.wiphy->bands[band]; band 479 drivers/net/wireless/marvell/mwifiex/scan.c scan_chan_list[chan_idx].radio_type = band; band 530 drivers/net/wireless/marvell/mwifiex/scan.c enum nl80211_band band; band 536 drivers/net/wireless/marvell/mwifiex/scan.c for (band = 0; (band < NUM_NL80211_BANDS); band++) { band 537 drivers/net/wireless/marvell/mwifiex/scan.c if (!priv->wdev.wiphy->bands[band]) band 540 drivers/net/wireless/marvell/mwifiex/scan.c sband = priv->wdev.wiphy->bands[band]; band 546 drivers/net/wireless/marvell/mwifiex/scan.c scan_chan_list[chan_idx].radio_type = band; band 1698 drivers/net/wireless/marvell/mwifiex/scan.c bss->channel->band; band 1869 drivers/net/wireless/marvell/mwifiex/scan.c u8 band; band 1878 drivers/net/wireless/marvell/mwifiex/scan.c band = BAND_G; band 1880 drivers/net/wireless/marvell/mwifiex/scan.c band = mwifiex_radio_type_to_band(*radio_type & band 1883 drivers/net/wireless/marvell/mwifiex/scan.c cfp = mwifiex_get_cfp(priv, band, channel, 0); band 1897 drivers/net/wireless/marvell/mwifiex/scan.c bss_priv->band = band; band 1040 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c enum nl80211_band band; band 1048 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c band = (chan <= 14) ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; band 1049 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c freq = ieee80211_channel_to_frequency(chan, band); band 1055 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if (band == NL80211_BAND_5GHZ) { band 170 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c bss_desc->bss_band = bss_priv->band; band 1174 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c roc_cfg.band_cfg = chan->band; band 179 drivers/net/wireless/marvell/mwifiex/tdls.c mwifiex_fill_vht_cap_tlv(priv, &vht_cap, priv->curr_bss_params.band); band 499 drivers/net/wireless/marvell/mwifiex/tdls.c radio = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 539 drivers/net/wireless/marvell/mwifiex/tdls.c radio = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 779 drivers/net/wireless/marvell/mwifiex/tdls.c radio = mwifiex_band_to_radio_type(priv->curr_bss_params.band); band 1540 drivers/net/wireless/marvell/mwifiex/tdls.c u8 primary_chan, u8 second_chan_offset, u8 band) band 1547 drivers/net/wireless/marvell/mwifiex/tdls.c start_tdls_cs_params.band = band; band 827 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (chandef.chan->band == NL80211_BAND_2GHZ) { band 349 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, }, band 350 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2417, .hw_value = 2, }, band 351 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2422, .hw_value = 3, }, band 352 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2427, .hw_value = 4, }, band 353 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2432, .hw_value = 5, }, band 354 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2437, .hw_value = 6, }, band 355 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2442, .hw_value = 7, }, band 356 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2447, .hw_value = 8, }, band 357 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2452, .hw_value = 9, }, band 358 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2457, .hw_value = 10, }, band 359 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2462, .hw_value = 11, }, band 360 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2467, .hw_value = 12, }, band 361 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2472, .hw_value = 13, }, band 362 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_2GHZ, .center_freq = 2484, .hw_value = 14, }, band 382 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5180, .hw_value = 36, }, band 383 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5200, .hw_value = 40, }, band 384 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5220, .hw_value = 44, }, band 385 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5240, .hw_value = 48, }, band 386 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5745, .hw_value = 149, }, band 387 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5765, .hw_value = 153, }, band 388 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5785, .hw_value = 157, }, band 389 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5805, .hw_value = 161, }, band 390 drivers/net/wireless/marvell/mwl8k.c { .band = NL80211_BAND_5GHZ, .center_freq = 5825, .hw_value = 165, }, band 1021 drivers/net/wireless/marvell/mwl8k.c status->band = NL80211_BAND_5GHZ; band 1026 drivers/net/wireless/marvell/mwl8k.c status->band = NL80211_BAND_2GHZ; band 1029 drivers/net/wireless/marvell/mwl8k.c status->band); band 1130 drivers/net/wireless/marvell/mwl8k.c status->band = NL80211_BAND_5GHZ; band 1135 drivers/net/wireless/marvell/mwl8k.c status->band = NL80211_BAND_2GHZ; band 1138 drivers/net/wireless/marvell/mwl8k.c status->band); band 2316 drivers/net/wireless/marvell/mwl8k.c priv->band_24.band = NL80211_BAND_2GHZ; band 2335 drivers/net/wireless/marvell/mwl8k.c priv->band_50.band = NL80211_BAND_5GHZ; band 2384 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_supported_band *band, u32 cap) band 2389 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.ht_supported = 1; band 2392 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; band 2394 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_GRN_FLD; band 2397 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; band 2398 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; band 2401 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_RX_STBC; band 2403 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; band 2405 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; band 2407 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; band 2409 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_DELAY_BA; band 2411 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; band 2416 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[0] = 0xff; band 2418 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[1] = 0xff; band 2420 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[2] = 0xff; band 2421 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[4] = 0x01; band 2422 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; band 2425 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; band 2426 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params |= (tx_streams - 1) << band 2866 drivers/net/wireless/marvell/mwl8k.c __le16 band; band 2892 drivers/net/wireless/marvell/mwl8k.c if (channel->band == NL80211_BAND_2GHZ) band 2893 drivers/net/wireless/marvell/mwl8k.c cmd->band = cpu_to_le16(0x1); band 2894 drivers/net/wireless/marvell/mwl8k.c else if (channel->band == NL80211_BAND_5GHZ) band 2895 drivers/net/wireless/marvell/mwl8k.c cmd->band = cpu_to_le16(0x4); band 3081 drivers/net/wireless/marvell/mwl8k.c int band, ch, idx = 0; band 3083 drivers/net/wireless/marvell/mwl8k.c for (band = NL80211_BAND_2GHZ; band < NUM_NL80211_BANDS; band++) { band 3084 drivers/net/wireless/marvell/mwl8k.c sband = priv->hw->wiphy->bands[band]; band 3165 drivers/net/wireless/marvell/mwl8k.c if (channel->band == NL80211_BAND_2GHZ) band 3167 drivers/net/wireless/marvell/mwl8k.c else if (channel->band == NL80211_BAND_5GHZ) band 4110 drivers/net/wireless/marvell/mwl8k.c if (hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) band 4545 drivers/net/wireless/marvell/mwl8k.c if (hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) band 5026 drivers/net/wireless/marvell/mwl8k.c if (hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { band 5057 drivers/net/wireless/marvell/mwl8k.c if (hw->conf.chandef.chan->band == band 5132 drivers/net/wireless/marvell/mwl8k.c if (hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) band 9 drivers/net/wireless/mediatek/mt76/mac80211.c .band = NL80211_BAND_2GHZ, \ band 16 drivers/net/wireless/mediatek/mt76/mac80211.c .band = NL80211_BAND_5GHZ, \ band 238 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_check_sband(struct mt76_dev *dev, int band) band 240 drivers/net/wireless/mediatek/mt76/mac80211.c struct ieee80211_supported_band *sband = dev->hw->wiphy->bands[band]; band 259 drivers/net/wireless/mediatek/mt76/mac80211.c dev->hw->wiphy->bands[band] = NULL; band 502 drivers/net/wireless/mediatek/mt76/mac80211.c status->band = mstat.band; band 529 drivers/net/wireless/mediatek/mt76/mt76.h u8 band; band 611 drivers/net/wireless/mediatek/mt76/mt76.h if (c->band == NL80211_BAND_2GHZ) band 46 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (dev->mt76.chandef.chan->band == NL80211_BAND_5GHZ) band 421 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->band = sband->band; band 567 drivers/net/wireless/mediatek/mt76/mt7603/mac.c int band = dev->mt76.chandef.chan->band; band 571 drivers/net/wireless/mediatek/mt76/mt7603/mac.c r = &mt76_hw(dev)->wiphy->bands[band]->bitrates[rate->idx]; band 1055 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (dev->mt76.chandef.chan->band == NL80211_BAND_5GHZ) band 155 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (def->chan->band == NL80211_BAND_5GHZ) { band 166 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_hw(dev)->wiphy->bands[def->chan->band]->channels) << 1; band 123 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c if (mt7615_ext_pa_enabled(dev, chan->band)) { band 124 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c if (chan->band == NL80211_BAND_2GHZ) band 131 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c if (chan->band == NL80211_BAND_2GHZ) { band 69 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h mt7615_ext_pa_enabled(struct mt7615_dev *dev, enum nl80211_band band) band 73 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h if (band == NL80211_BAND_5GHZ) band 186 drivers/net/wireless/mediatek/mt76/mt7615/init.c enum nl80211_band band = sband->band; band 188 drivers/net/wireless/mediatek/mt76/mt7615/init.c target_chains = mt7615_ext_pa_enabled(dev, band) ? 1 : n_chains; band 67 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->band = dev->mt76.chandef.chan->band; band 68 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (status->band == NL80211_BAND_5GHZ) band 279 drivers/net/wireless/mediatek/mt76/mt7615/mac.c int band = dev->mt76.chandef.chan->band; band 283 drivers/net/wireless/mediatek/mt76/mt7615/mac.c r = &mt76_hw(dev)->wiphy->bands[band]->bitrates[rate->idx]; band 937 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (dev->mt76.chandef.chan->band == NL80211_BAND_5GHZ) band 608 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c u8 band; band 612 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band = 0, band 623 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c u8 band; band 629 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band = 0, band 1157 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c enum nl80211_band band = chandef->chan->band; band 1162 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c u8 band; band 1166 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band = band, band 1197 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c target_chains = mt7615_ext_pa_enabled(dev, band) ? 1 : n_chains; band 118 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c mt76x02_get_rx_gain(dev, chan->band, &rssi_offset, &lna_2g, lna_5g); band 141 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c if (chandef->chan->band == NL80211_BAND_5GHZ) band 156 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c bool is_2ghz = chan->band == NL80211_BAND_2GHZ; band 234 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c if (chan->band == NL80211_BAND_5GHZ) band 254 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c if (chan->band == NL80211_BAND_2GHZ) { band 206 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_band(struct mt76x02_dev *dev, enum nl80211_band band) band 208 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c switch (band) { band 239 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c enum nl80211_band band; band 253 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c rf_band = mt76x0_frequency_plan[i].band; band 361 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c band = (rf_band & RF_G_BAND) ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; band 362 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (mt76x02_ext_pa_enabled(dev, band)) { band 508 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_5GHZ) band 520 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c val = (chan->band == NL80211_BAND_5GHZ) ? 0x80055 : 0x80050; band 538 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_5GHZ) band 549 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c val = (chan->band == NL80211_BAND_5GHZ) ? 0x80055 : 0x80050; band 558 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_5GHZ) band 705 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_5GHZ) { band 735 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_2GHZ) band 775 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chan->band == NL80211_BAND_5GHZ) { band 862 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c int is_5ghz = (chan->band == NL80211_BAND_5GHZ) ? 1 : 0; band 981 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x02_phy_set_band(dev, chandef->chan->band, band 992 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_band(dev, chandef->chan->band); band 55 drivers/net/wireless/mediatek/mt76/mt76x0/phy.h u32 band; band 91 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band) band 95 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c if (band == NL80211_BAND_5GHZ) band 102 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band, band 123 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c if (band == NL80211_BAND_2GHZ) band 143 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c if (chan->band == NL80211_BAND_2GHZ) band 174 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band); band 177 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band, band 182 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c int band = dev->mt76.chandef.chan->band; band 185 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c r = &dev->mt76.hw->wiphy->bands[band]->bitrates[rate->idx]; band 258 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c enum nl80211_band band) band 268 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (band == NL80211_BAND_2GHZ) band 469 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c dev->mt76.chandef.chan->band); band 475 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c dev->mt76.chandef.chan->band); band 479 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c dev->mt76.chandef.chan->band); band 604 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (status->band == NL80211_BAND_2GHZ) band 788 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->band = dev->mt76.chandef.chan->band; band 1012 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 ed_th = chan->band == NL80211_BAND_5GHZ ? 0x0e : 0x20; band 150 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_band(struct mt76x02_dev *dev, int band, band 153 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c switch (band) { band 44 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_band(struct mt76x02_dev *dev, int band, band 77 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c enum nl80211_band band = dev->mt76.chandef.chan->band; band 79 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c if (band == NL80211_BAND_2GHZ) { band 84 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c r = &wiphy->bands[band]->bitrates[rate->idx]; band 257 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c if (chan->band == NL80211_BAND_2GHZ) band 264 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x02_get_rx_gain(dev, chan->band, &val, &lna_2g, lna_5g); band 284 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c is_5ghz = chan->band == NL80211_BAND_5GHZ; band 434 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c if (chan->band == NL80211_BAND_5GHZ) { band 458 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c enum nl80211_band band = dev->mt76.chandef.chan->band; band 467 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c if (!mt76x02_ext_pa_enabled(dev, band)) band 472 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c if (band == NL80211_BAND_5GHZ) { band 56 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h if (dev->mt76.chandef.chan->band == NL80211_BAND_2GHZ) band 71 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h enum nl80211_band band); band 73 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h enum nl80211_band band, u8 bw); band 24 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c if (chan->band == NL80211_BAND_5GHZ) band 27 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c if (mt76x02_ext_pa_enabled(dev, chan->band)) band 39 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c bool is_5ghz = chan->band == NL80211_BAND_5GHZ; band 122 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c enum nl80211_band band = chan->band; band 185 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_set_txpower_regs(dev, band); band 186 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_configure_tx_delay(dev, band, bw); band 189 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x02_phy_set_band(dev, chan->band, ch_group_index & 1); band 46 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c enum nl80211_band band) band 51 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (band == NL80211_BAND_2GHZ) { band 58 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, band)) { band 69 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, band)) { band 77 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, band)) band 91 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, band)) { band 94 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (band == NL80211_BAND_2GHZ) band 103 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (band == NL80211_BAND_2GHZ) { band 185 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c enum nl80211_band band, u8 bw) band 189 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, band)) { band 224 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (mt76x02_ext_pa_enabled(dev, chan->band)) band 259 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c dev->mt76.chandef.chan->band == NL80211_BAND_2GHZ && band 318 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (dev->mt76.chandef.chan->band == NL80211_BAND_2GHZ) band 14 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c bool is_5ghz = chan->band == NL80211_BAND_5GHZ; band 122 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2_phy_set_txpower_regs(dev, chan->band); band 123 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2_configure_tx_delay(dev, chan->band, bw); band 126 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x02_phy_set_band(dev, chan->band, ch_group_index & 1); band 189 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c if (chan->band == NL80211_BAND_5GHZ) band 191 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c if (mt76x02_ext_pa_enabled(dev, chan->band)) band 466 drivers/net/wireless/mediatek/mt7601u/init.c .band = NL80211_BAND_2GHZ, \ band 122 drivers/net/wireless/mediatek/mt7601u/mac.c int band = dev->chandef.chan->band; band 125 drivers/net/wireless/mediatek/mt7601u/mac.c r = &dev->hw->wiphy->bands[band]->bitrates[rate->idx]; band 490 drivers/net/wireless/mediatek/mt7601u/mac.c status->band = dev->chandef.chan->band; band 1005 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c enum nl80211_band band; band 1018 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c for (band = 0; band < NUM_NL80211_BANDS; ++band) { band 1019 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!wiphy->bands[band]) band 1022 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]); band 1025 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac->macid, band); band 1227 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c void qtnf_band_init_rates(struct ieee80211_supported_band *band) band 1229 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c switch (band->band) { band 1231 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->bitrates = qtnf_rates_2g; band 1232 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = ARRAY_SIZE(qtnf_rates_2g); band 1235 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->bitrates = qtnf_rates_5g; band 1236 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = ARRAY_SIZE(qtnf_rates_5g); band 1239 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->bitrates = NULL; band 1240 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = 0; band 14 drivers/net/wireless/quantenna/qtnfmac/cfg80211.h void qtnf_band_init_rates(struct ieee80211_supported_band *band); band 16 drivers/net/wireless/quantenna/qtnfmac/cfg80211.h struct ieee80211_supported_band *band); band 797 drivers/net/wireless/quantenna/qtnfmac/commands.c enum nl80211_band band; band 800 drivers/net/wireless/quantenna/qtnfmac/commands.c for (band = 0; band < NUM_NL80211_BANDS; ++band) { band 801 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!wiphy->bands[band]) band 804 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_cmd_band_info_get(vif->mac, wiphy->bands[band]); band 1299 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_cmd_resp_fill_band_info(struct ieee80211_supported_band *band, band 1312 drivers/net/wireless/quantenna/qtnfmac/commands.c memset(&band->ht_cap, 0, sizeof(band->ht_cap)); band 1313 drivers/net/wireless/quantenna/qtnfmac/commands.c memset(&band->vht_cap, 0, sizeof(band->vht_cap)); band 1315 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->channels) { band 1316 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels == resp->num_chans) { band 1317 drivers/net/wireless/quantenna/qtnfmac/commands.c memset(band->channels, 0, band 1318 drivers/net/wireless/quantenna/qtnfmac/commands.c sizeof(*band->channels) * band->n_channels); band 1320 drivers/net/wireless/quantenna/qtnfmac/commands.c kfree(band->channels); band 1321 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; band 1322 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = NULL; band 1326 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = resp->num_chans; band 1327 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels == 0) band 1330 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!band->channels) band 1331 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = kcalloc(band->n_channels, sizeof(*chan), band 1333 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!band->channels) { band 1334 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; band 1359 drivers/net/wireless/quantenna/qtnfmac/commands.c if (chidx == band->n_channels) { band 1365 drivers/net/wireless/quantenna/qtnfmac/commands.c chan = &band->channels[chidx++]; band 1369 drivers/net/wireless/quantenna/qtnfmac/commands.c chan->band = band->band; band 1436 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_cmd_resp_band_fill_htcap(tlv->val, &band->ht_cap); band 1446 drivers/net/wireless/quantenna/qtnfmac/commands.c &band->vht_cap); band 1462 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels != chidx) { band 1464 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels, chidx); band 1471 drivers/net/wireless/quantenna/qtnfmac/commands.c kfree(band->channels); band 1472 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = NULL; band 1473 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; band 1660 drivers/net/wireless/quantenna/qtnfmac/commands.c struct ieee80211_supported_band *band) band 1667 drivers/net/wireless/quantenna/qtnfmac/commands.c u8 qband = qlink_utils_band_cfg2q(band->band); band 1676 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd->band = qband; band 1685 drivers/net/wireless/quantenna/qtnfmac/commands.c if (resp->band != qband) { band 1687 drivers/net/wireless/quantenna/qtnfmac/commands.c resp->band, qband); band 1692 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_resp_fill_band_info(band, resp, info_len); band 2061 drivers/net/wireless/quantenna/qtnfmac/commands.c qch->band = qlink_utils_band_cfg2q(sc->band); band 2379 drivers/net/wireless/quantenna/qtnfmac/commands.c enum nl80211_band band; band 2437 drivers/net/wireless/quantenna/qtnfmac/commands.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2440 drivers/net/wireless/quantenna/qtnfmac/commands.c cfg_band = wiphy->bands[band]; band 24 drivers/net/wireless/quantenna/qtnfmac/commands.h struct ieee80211_supported_band *band); band 212 drivers/net/wireless/quantenna/qtnfmac/core.c enum nl80211_band band) band 216 drivers/net/wireless/quantenna/qtnfmac/core.c wiphy->bands[band] = kzalloc(sizeof(*wiphy->bands[band]), GFP_KERNEL); band 217 drivers/net/wireless/quantenna/qtnfmac/core.c if (!wiphy->bands[band]) band 220 drivers/net/wireless/quantenna/qtnfmac/core.c wiphy->bands[band]->band = band; band 222 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]); band 225 drivers/net/wireless/quantenna/qtnfmac/core.c mac->macid, band, ret); band 229 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_band_init_rates(wiphy->bands[band]); band 492 drivers/net/wireless/quantenna/qtnfmac/core.c enum nl80211_band band; band 517 drivers/net/wireless/quantenna/qtnfmac/core.c for (band = NL80211_BAND_2GHZ; band < NUM_NL80211_BANDS; ++band) { band 518 drivers/net/wireless/quantenna/qtnfmac/core.c if (!wiphy->bands[band]) band 521 drivers/net/wireless/quantenna/qtnfmac/core.c kfree(wiphy->bands[band]->channels); band 522 drivers/net/wireless/quantenna/qtnfmac/core.c wiphy->bands[band]->n_channels = 0; band 524 drivers/net/wireless/quantenna/qtnfmac/core.c kfree(wiphy->bands[band]); band 525 drivers/net/wireless/quantenna/qtnfmac/core.c wiphy->bands[band] = NULL; band 142 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 band; band 546 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 band; band 910 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 band; band 186 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c enum qlink_band qlink_utils_band_cfg2q(enum nl80211_band band) band 188 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c switch (band) { band 82 drivers/net/wireless/quantenna/qtnfmac/qlink_util.h enum qlink_band qlink_utils_band_cfg2q(enum nl80211_band band); band 923 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u32 status, enum nl80211_band band) band 936 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (band == NL80211_BAND_2GHZ) band 4519 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum nl80211_band band) band 4535 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (band == NL80211_BAND_2GHZ) { band 4584 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum nl80211_band band, int power_level, band 4615 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (band == NL80211_BAND_2GHZ) band 4662 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum nl80211_band band = chan->band; band 4673 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (band == NL80211_BAND_5GHZ) band 4687 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, band 4698 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, band 4709 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4720 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4735 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4746 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4757 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4772 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4783 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4794 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4805 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4820 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4831 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4842 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4853 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4868 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4879 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4890 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4901 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4916 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4927 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4938 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4953 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4964 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4975 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4984 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 4997 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, band 5031 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (band == NL80211_BAND_5GHZ) ? '5' : '2', band 5048 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum nl80211_band band = chan->band; band 5052 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = rt2800_get_txpower_bw_comp(rt2x00dev, band); band 5181 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum nl80211_band band = chan->band; band 5187 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = rt2800_get_txpower_bw_comp(rt2x00dev, band); band 5262 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5273 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5284 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5295 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5312 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5323 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5334 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 5345 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, band 251 drivers/net/wireless/ralink/rt2x00/rt2x00config.c rt2x00dev->curr_band = conf->chandef.chan->band; band 849 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rx_status->band = rt2x00dev->curr_band; band 971 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c entry->band = channel <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; band 973 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c entry->band); band 756 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (libconf->conf->chandef.chan->band == NL80211_BAND_2GHZ) { band 731 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (libconf->conf->chandef.chan->band == NL80211_BAND_2GHZ) { band 314 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c rx_status.band = dev->conf.chandef.chan->band; band 1800 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.band = NL80211_BAND_2GHZ; band 1801 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.channels = priv->channels; band 1802 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); band 1803 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.bitrates = priv->rates; band 1804 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_bitrates = 4; band 1805 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 1869 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); band 121 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h struct ieee80211_supported_band band; band 300 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c info->band, band 384 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c rx_status.band = dev->conf.chandef.chan->band; band 1471 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.band = NL80211_BAND_2GHZ; band 1472 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.channels = priv->channels; band 1473 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); band 1474 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.bitrates = priv->rates; band 1475 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); band 1476 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 113 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h struct ieee80211_supported_band band; band 93 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2412, band 95 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2417, band 97 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2422, band 99 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2427, band 101 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2432, band 103 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2437, band 105 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2442, band 107 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2447, band 109 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2452, band 111 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2457, band 113 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2462, band 115 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2467, band 117 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2472, band 119 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c { .band = NL80211_BAND_2GHZ, .center_freq = 2484, band 5277 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->band = hw->conf.chandef.chan->band; band 5347 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->band = hw->conf.chandef.chan->band; band 112 drivers/net/wireless/realtek/rtlwifi/base.c .band = NL80211_BAND_2GHZ, band 124 drivers/net/wireless/realtek/rtlwifi/base.c .band = NL80211_BAND_5GHZ, band 1054 drivers/net/wireless/realtek/rtlwifi/base.c if (NL80211_BAND_2GHZ == hw->conf.chandef.chan->band) { band 1352 drivers/net/wireless/realtek/rtlwifi/base.c rx_status.band = hw->conf.chandef.chan->band; band 2505 drivers/net/wireless/realtek/rtlwifi/base.c info->band = hw->conf.chandef.chan->band; band 134 drivers/net/wireless/realtek/rtlwifi/regd.c enum nl80211_band band; band 140 drivers/net/wireless/realtek/rtlwifi/regd.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 142 drivers/net/wireless/realtek/rtlwifi/regd.c if (!wiphy->bands[band]) band 145 drivers/net/wireless/realtek/rtlwifi/regd.c sband = wiphy->bands[band]; band 417 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c rx_status->band = hw->conf.chandef.chan->band; band 327 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c rx_status->band = hw->conf.chandef.chan->band; band 309 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c rx_status->band = hw->conf.chandef.chan->band; band 378 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c rx_status->band = hw->conf.chandef.chan->band; band 1017 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c static void rtl92d_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band) band 1024 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlhal->bandset = band; band 1025 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlhal->current_bandtype = band; band 464 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rx_status->band = hw->conf.chandef.chan->band; band 387 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 band = BAND_ON_2_4G, rf = 0, txnum = 0, sec = 0; band 389 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c for (; band <= BAND_ON_5G; ++band) band 394 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c [band][rf][txnum][sec] = 0; band 398 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 band, u8 path, band 411 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (band == BAND_ON_2_4G) { band 433 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c "Invalid Band %d\n", band); band 438 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 band, u8 path, u8 txnum, band 451 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (band == BAND_ON_2_4G) { band 473 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c "Invalid Band %d()\n", band); band 553 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 base = 0, rf = 0, band = BAND_ON_2_4G; band 557 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c base = _rtl92ee_phy_get_txpower_by_rate_base(hw, band, band 562 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c [band][rf][RF_1TX][2], band 566 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c [band][rf][RF_1TX][3], band 569 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c base = _rtl92ee_phy_get_txpower_by_rate_base(hw, band, band 574 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c [band][rf][RF_1TX][3], band 578 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c [band][rf][RF_1TX][2], band 581 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c base = _rtl92ee_phy_get_txpower_by_rate_base(hw, band, rf, band 584 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_1TX][0], band 587 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_1TX][1], band 590 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c base = _rtl92ee_phy_get_txpower_by_rate_base(hw, band, rf, band 594 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_1TX][4], band 597 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_1TX][5], band 600 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c base = _rtl92ee_phy_get_txpower_by_rate_base(hw, band, rf, band 604 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_2TX][6], band 608 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c &rtlphy->tx_power_by_rate_offset[band][rf][RF_2TX][7], band 839 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c enum band_type band, band 848 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (band != BAND_ON_2_4G && band != BAND_ON_5G) { band 849 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c RT_TRACE(rtlpriv, FPHY, PHY_TXPWR, "Invalid Band %d\n", band); band 863 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][section] = data; band 1164 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c enum band_type band, band 1224 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rf][tx_num][sec] >> band 370 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c rx_status->band = hw->conf.chandef.chan->band; band 2129 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u32 band = 0; band 2152 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c band |= WIRELESS_11B; band 2160 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c band |= (WIRELESS_11G | WIRELESS_11B); band 2171 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c band |= WIRELESS_11A; band 2177 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c band |= (WIRELESS_11N | WIRELESS_11G | WIRELESS_11B); band 2227 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c band |= (WIRELESS_11N | WIRELESS_11G | WIRELESS_11B); band 2257 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c mask |= (bmulticast ? 1 : 0) << 9 | (macid & 0x1f) << 4 | (band & 0xf); band 264 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c rx_status->band = hw->conf.chandef.chan->band; band 290 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c rx_status->band = hw->conf.chandef.chan->band; band 246 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 band, path, txnum, section; band 248 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) band 255 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c [band][path][txnum][section] = 0; band 280 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 band, band 294 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (band == BAND_ON_2_4G) { band 317 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c band); band 323 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 band, u8 path, u8 txnum, band 336 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (band == BAND_ON_2_4G) { band 359 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c band); band 680 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 band, u32 rfpath, band 688 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (band != BAND_ON_2_4G && band != BAND_ON_5G) { band 689 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c RT_TRACE(rtlpriv, FPHY, PHY_TXPWR, "Invalid Band %d\n", band); band 702 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = band 878 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c enum band_type band, band 938 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tx_pwr_diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rfpath][tx_num] band 347 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c rx_status->band = hw->conf.chandef.chan->band; band 441 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, band 461 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 475 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (band == BAND_ON_5G) { band 502 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 542 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 548 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 554 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 560 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 568 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 574 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 580 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 586 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 599 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c void rtl8821ae_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band) band 610 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtlhal->current_bandtype = (enum band_type) band; band 707 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c phy_get_tx_swing_8812A(hw, band, RF90_PATH_A)); band 710 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c phy_get_tx_swing_8812A(hw, band, RF90_PATH_B)); band 716 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band != current_band) { band 719 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c bb_diff_between_band = (band == BAND_ON_2_4G) ? band 902 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, rfpath, txnum, rate_section; band 904 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) band 910 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtlphy->tx_power_by_rate_offset[band] band 915 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, u8 path, band 928 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 954 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (band == BAND_ON_5G) { band 979 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c "Invalid Band %d in PHY_SetTxPowerByRateBase()\n", band); band 984 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, u8 path, band 998 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 1024 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (band == BAND_ON_5G) { band 1049 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c "Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band); band 1176 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c enum band_type band, u8 rate) band 1180 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 1228 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (band == BAND_ON_5G) { band 1621 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, u8 channel) band 1627 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 1629 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c else if (band == BAND_ON_5G) { band 1636 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c band, __func__); band 1641 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c band, __func__); band 1758 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *regulation, u8 *band, band 1763 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c _rtl8812ae_phy_set_txpower_limit(hw, regulation, band, bandwidth, band 1789 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *band = array[i+1]; band 1796 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c _rtl8812ae_phy_config_bb_txpwr_lmt(hw, regulation, band, band 1974 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u32 band, u32 rfpath, band 1982 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band != BAND_ON_2_4G && band != BAND_ON_5G) { band 1983 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c RT_TRACE(rtlpriv, COMP_INIT, DBG_WARNING, "Invalid Band %d\n", band); band 1984 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c band = BAND_ON_2_4G; band 1994 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = data; band 1997 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c band, rfpath, txnum, rate_section, band 1998 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section]); band 2344 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, band 2362 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 2364 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c else if (band == BAND_ON_5G) band 2453 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if ((rate_section == 2 || rate_section == 3) && band == BAND_ON_5G && band 2457 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) band 2460 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c else if (band == BAND_ON_5G) band 2463 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c else if (band == BAND_ON_BOTH) band 2481 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (band == BAND_ON_2_4G) { band 2493 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (band == BAND_ON_5G) { band 2513 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 band, u8 path, u8 rate) band 2594 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c tx_pwr_diff = (u8)(rtlphy->tx_power_by_rate_offset[band][path] band 2599 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c limit = _rtl8812ae_phy_get_txpower_limit(hw, band, band 200 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.h u8 band); band 235 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.h u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, u8 rf_path); band 490 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c rx_status->band = hw->conf.chandef.chan->band; band 88 drivers/net/wireless/realtek/rtw88/main.c .band = NL80211_BAND_2GHZ, band 101 drivers/net/wireless/realtek/rtw88/main.c .band = NL80211_BAND_5GHZ, band 842 drivers/net/wireless/realtek/rtw88/main.c if (chip->band & RTW_BAND_2G) { band 851 drivers/net/wireless/realtek/rtw88/main.c if (chip->band & RTW_BAND_5G) { band 836 drivers/net/wireless/realtek/rtw88/main.h u8 band; band 24 drivers/net/wireless/realtek/rtw88/phy.c u32 band; band 1180 drivers/net/wireless/realtek/rtw88/phy.c u32 band, u32 rfpath, u32 txnum, band 1195 drivers/net/wireless/realtek/rtw88/phy.c (band != PHY_BAND_2G && band != PHY_BAND_5G) || band 1202 drivers/net/wireless/realtek/rtw88/phy.c if (band == PHY_BAND_2G) band 1204 drivers/net/wireless/realtek/rtw88/phy.c else if (band == PHY_BAND_5G) band 1223 drivers/net/wireless/realtek/rtw88/phy.c rtw_phy_store_tx_power_by_rate(rtwdev, p->band, p->rf_path, band 1238 drivers/net/wireless/realtek/rtw88/phy.c static int rtw_channel_to_idx(u8 band, u8 channel) band 1243 drivers/net/wireless/realtek/rtw88/phy.c if (band == PHY_BAND_2G) { band 1246 drivers/net/wireless/realtek/rtw88/phy.c } else if (band == PHY_BAND_5G) { band 1261 drivers/net/wireless/realtek/rtw88/phy.c static void rtw_phy_set_tx_power_limit(struct rtw_dev *rtwdev, u8 regd, u8 band, band 1271 drivers/net/wireless/realtek/rtw88/phy.c ch_idx = rtw_channel_to_idx(band, ch); band 1277 drivers/net/wireless/realtek/rtw88/phy.c regd, band, bw, rs, ch_idx, pwr_limit); band 1281 drivers/net/wireless/realtek/rtw88/phy.c if (band == PHY_BAND_2G) { band 1286 drivers/net/wireless/realtek/rtw88/phy.c } else if (band == PHY_BAND_5G) { band 1366 drivers/net/wireless/realtek/rtw88/phy.c rtw_phy_set_tx_power_limit(rtwdev, p->regd, p->band, band 1675 drivers/net/wireless/realtek/rtw88/phy.c static s8 rtw_phy_get_tx_power_limit(struct rtw_dev *rtwdev, u8 band, band 1717 drivers/net/wireless/realtek/rtw88/phy.c ch_idx = rtw_channel_to_idx(band, cur_ch); band 1732 drivers/net/wireless/realtek/rtw88/phy.c band, bw, rf_path, rate, channel); band 1741 drivers/net/wireless/realtek/rtw88/phy.c u8 group, band; band 1751 drivers/net/wireless/realtek/rtw88/phy.c band = PHY_BAND_2G; band 1757 drivers/net/wireless/realtek/rtw88/phy.c band = PHY_BAND_5G; band 1764 drivers/net/wireless/realtek/rtw88/phy.c *limit = rtw_phy_get_tx_power_limit(rtwdev, band, bw, path, band 50 drivers/net/wireless/realtek/rtw88/phy.h u8 band; band 265 drivers/net/wireless/realtek/rtw88/regd.c enum nl80211_band band; band 271 drivers/net/wireless/realtek/rtw88/regd.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 272 drivers/net/wireless/realtek/rtw88/regd.c if (!wiphy->bands[band]) band 275 drivers/net/wireless/realtek/rtw88/regd.c sband = wiphy->bands[band]; band 1975 drivers/net/wireless/realtek/rtw88/rtw8822b.c .band = RTW_BAND_2G | RTW_BAND_5G, band 3745 drivers/net/wireless/realtek/rtw88/rtw8822c.c .band = RTW_BAND_2G | RTW_BAND_5G, band 97 drivers/net/wireless/realtek/rtw88/rx.c rx_status->band = hw->conf.chandef.chan->band; band 127 drivers/net/wireless/realtek/rtw88/rx.c } else if (rx_status->band == NL80211_BAND_5GHZ && band 131 drivers/net/wireless/realtek/rtw88/rx.c } else if (rx_status->band == NL80211_BAND_2GHZ && band 430 drivers/net/wireless/rndis_wlan.c struct ieee80211_supported_band band; band 3477 drivers/net/wireless/rndis_wlan.c priv->band.channels = priv->channels; band 3478 drivers/net/wireless/rndis_wlan.c priv->band.n_channels = ARRAY_SIZE(rndis_channels); band 3479 drivers/net/wireless/rndis_wlan.c priv->band.bitrates = priv->rates; band 3480 drivers/net/wireless/rndis_wlan.c priv->band.n_bitrates = ARRAY_SIZE(rndis_rates); band 3481 drivers/net/wireless/rndis_wlan.c wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 116 drivers/net/wireless/rsi/rsi_91x_core.c common->band, band 119 drivers/net/wireless/rsi/rsi_91x_hal.c if ((common->band == NL80211_BAND_2GHZ) && !common->p2p_enabled) band 236 drivers/net/wireless/rsi/rsi_91x_hal.c if (common->band == NL80211_BAND_5GHZ) band 271 drivers/net/wireless/rsi/rsi_91x_hal.c if (common->band == NL80211_BAND_5GHZ) band 471 drivers/net/wireless/rsi/rsi_91x_hal.c if (common->band == NL80211_BAND_2GHZ) band 25 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2412, band 27 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2417, band 29 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2422, band 31 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2427, band 33 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2432, band 35 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2437, band 37 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2442, band 39 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2447, band 41 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2452, band 43 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2457, band 45 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2462, band 47 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2467, band 49 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2472, band 51 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_2GHZ, .center_freq = 2484, band 56 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5180, band 58 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5200, band 60 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5220, band 62 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5240, band 64 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5260, band 66 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5280, band 68 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5300, band 70 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5320, band 72 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5500, band 74 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5520, band 76 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5540, band 78 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5560, band 80 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5580, band 82 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5600, band 84 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5620, band 86 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5640, band 88 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5660, band 90 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5680, band 92 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5700, band 94 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5745, band 96 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5765, band 98 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5785, band 100 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5805, band 102 drivers/net/wireless/rsi/rsi_91x_mac80211.c { .band = NL80211_BAND_5GHZ, .center_freq = 5825, band 193 drivers/net/wireless/rsi/rsi_91x_mac80211.c static int rsi_register_rates_channels(struct rsi_hw *adapter, int band) band 195 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_supported_band *sbands = &adapter->sbands[band]; band 198 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (band == NL80211_BAND_2GHZ) { band 203 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->band = NL80211_BAND_2GHZ; band 212 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->band = NL80211_BAND_5GHZ; band 306 drivers/net/wireless/rsi/rsi_91x_mac80211.c enum nl80211_band band; band 315 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 317 drivers/net/wireless/rsi/rsi_91x_mac80211.c &adapter->sbands[band]; band 1219 drivers/net/wireless/rsi/rsi_91x_mac80211.c enum nl80211_band band = hw->conf.chandef.chan->band; band 1222 drivers/net/wireless/rsi/rsi_91x_mac80211.c common->fixedrate_mask[band] = 0; band 1224 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (mask->control[band].legacy == 0xfff) { band 1225 drivers/net/wireless/rsi/rsi_91x_mac80211.c common->fixedrate_mask[band] = band 1226 drivers/net/wireless/rsi/rsi_91x_mac80211.c (mask->control[band].ht_mcs[0] << 12); band 1228 drivers/net/wireless/rsi/rsi_91x_mac80211.c common->fixedrate_mask[band] = band 1229 drivers/net/wireless/rsi/rsi_91x_mac80211.c mask->control[band].legacy; band 1301 drivers/net/wireless/rsi/rsi_91x_mac80211.c rxs->band = common->band; band 1303 drivers/net/wireless/rsi/rsi_91x_mac80211.c freq = ieee80211_channel_to_frequency(channel, rxs->band); band 1370 drivers/net/wireless/rsi/rsi_91x_mac80211.c u8 band = hw->conf.chandef.chan->band; band 1375 drivers/net/wireless/rsi/rsi_91x_mac80211.c common->bitrate_mask[band] = sta->supp_rates[band]; band 1377 drivers/net/wireless/rsi/rsi_91x_mac80211.c rate_bitmap = (common->fixedrate_mask[band] & sta->supp_rates[band]); band 275 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->band = NL80211_BAND_2GHZ; band 747 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (common->band == NL80211_BAND_5GHZ) { band 1060 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (common->band != curchan->band) { band 1062 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->band = curchan->band; band 1071 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (common->band == NL80211_BAND_2GHZ) { band 1304 drivers/net/wireless/rsi/rsi_91x_mgmt.c u8 band = hw->conf.chandef.chan->band; band 1346 drivers/net/wireless/rsi/rsi_91x_mgmt.c rate_bitmap = common->bitrate_mask[band]; band 1350 drivers/net/wireless/rsi/rsi_91x_mgmt.c rate_bitmap = sta->supp_rates[band]; band 1357 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (band == NL80211_BAND_2GHZ) { band 1879 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (common->band == NL80211_BAND_5GHZ) { band 1931 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->band = NL80211_BAND_5GHZ; band 1990 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->band = NL80211_BAND_5GHZ; band 1995 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->band = NL80211_BAND_2GHZ; band 253 drivers/net/wireless/rsi/rsi_main.h u8 band; band 102 drivers/net/wireless/st/cw1200/main.c .band = NL80211_BAND_2GHZ, \ band 111 drivers/net/wireless/st/cw1200/main.c .band = NL80211_BAND_5GHZ, \ band 255 drivers/net/wireless/st/cw1200/main.c int i, band; band 316 drivers/net/wireless/st/cw1200/main.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 317 drivers/net/wireless/st/cw1200/main.c struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; band 202 drivers/net/wireless/st/cw1200/scan.c if ((*it)->band != first->band) band 211 drivers/net/wireless/st/cw1200/scan.c scan.band = first->band; band 408 drivers/net/wireless/st/cw1200/scan.c scan.band = (priv->channel->band == NL80211_BAND_5GHZ) ? band 1278 drivers/net/wireless/st/cw1200/sta.c join.band = (priv->channel->band == NL80211_BAND_5GHZ) ? band 1454 drivers/net/wireless/st/cw1200/sta.c .band = WSM_PHY_BAND_2_4G, band 1462 drivers/net/wireless/st/cw1200/sta.c start.band = priv->channel->band == NL80211_BAND_5GHZ ? band 1466 drivers/net/wireless/st/cw1200/sta.c start.band = WSM_PHY_BAND_2_4G; band 1913 drivers/net/wireless/st/cw1200/sta.c sta->supp_rates[priv->channel->band]); band 2314 drivers/net/wireless/st/cw1200/sta.c .band = (priv->channel->band == NL80211_BAND_5GHZ) ? band 2343 drivers/net/wireless/st/cw1200/sta.c start.channel_number, start.band, band 432 drivers/net/wireless/st/cw1200/txrx.c return &priv->hw->wiphy->bands[priv->channel->band]-> band 1077 drivers/net/wireless/st/cw1200/txrx.c hdr->band = ((arg->channel_number & 0xff00) || band 1082 drivers/net/wireless/st/cw1200/txrx.c hdr->band); band 299 drivers/net/wireless/st/cw1200/wsm.c if (arg->band > 1) band 304 drivers/net/wireless/st/cw1200/wsm.c WSM_PUT8(buf, arg->band); band 433 drivers/net/wireless/st/cw1200/wsm.c WSM_PUT8(buf, arg->band); band 674 drivers/net/wireless/st/cw1200/wsm.c WSM_PUT8(buf, arg->band); band 694 drivers/net/wireless/st/cw1200/wsm.h u8 band; band 900 drivers/net/wireless/st/cw1200/wsm.h u8 band; band 1193 drivers/net/wireless/st/cw1200/wsm.h /* [in] */ u8 band; band 42 drivers/net/wireless/ti/wl1251/rx.c status->band = NL80211_BAND_2GHZ; band 68 drivers/net/wireless/ti/wl1251/rx.c status->band); band 99 drivers/net/wireless/ti/wl1251/rx.h u8 band; band 16 drivers/net/wireless/ti/wl12xx/scan.c enum nl80211_band band, bool passive) band 29 drivers/net/wireless/ti/wl12xx/scan.c (req->channels[i]->band == band) && band 38 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->band, band 81 drivers/net/wireless/ti/wl12xx/scan.c enum nl80211_band band, band 122 drivers/net/wireless/ti/wl12xx/scan.c band, passive); band 133 drivers/net/wireless/ti/wl12xx/scan.c if (band == NL80211_BAND_2GHZ) band 134 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.band = WL1271_SCAN_BAND_2_4_GHZ; band 136 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.band = WL1271_SCAN_BAND_5_GHZ; band 146 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.role_id, band, band 207 drivers/net/wireless/ti/wl12xx/scan.c enum nl80211_band band; band 215 drivers/net/wireless/ti/wl12xx/scan.c band = NL80211_BAND_2GHZ; band 216 drivers/net/wireless/ti/wl12xx/scan.c mask = wlvif->bitrate_masks[band]; band 223 drivers/net/wireless/ti/wl12xx/scan.c ret = wl1271_scan_send(wl, wlvif, band, false, rate); band 232 drivers/net/wireless/ti/wl12xx/scan.c band = NL80211_BAND_2GHZ; band 233 drivers/net/wireless/ti/wl12xx/scan.c mask = wlvif->bitrate_masks[band]; band 240 drivers/net/wireless/ti/wl12xx/scan.c ret = wl1271_scan_send(wl, wlvif, band, true, rate); band 252 drivers/net/wireless/ti/wl12xx/scan.c band = NL80211_BAND_5GHZ; band 253 drivers/net/wireless/ti/wl12xx/scan.c rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); band 254 drivers/net/wireless/ti/wl12xx/scan.c ret = wl1271_scan_send(wl, wlvif, band, false, rate); band 263 drivers/net/wireless/ti/wl12xx/scan.c band = NL80211_BAND_5GHZ; band 264 drivers/net/wireless/ti/wl12xx/scan.c rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); band 265 drivers/net/wireless/ti/wl12xx/scan.c ret = wl1271_scan_send(wl, wlvif, band, true, rate); band 367 drivers/net/wireless/ti/wl12xx/scan.c u8 band = NL80211_BAND_2GHZ; band 369 drivers/net/wireless/ti/wl12xx/scan.c wlvif->role_id, band, band 372 drivers/net/wireless/ti/wl12xx/scan.c ies->ies[band], band 373 drivers/net/wireless/ti/wl12xx/scan.c ies->len[band], band 384 drivers/net/wireless/ti/wl12xx/scan.c u8 band = NL80211_BAND_5GHZ; band 386 drivers/net/wireless/ti/wl12xx/scan.c wlvif->role_id, band, band 389 drivers/net/wireless/ti/wl12xx/scan.c ies->ies[band], band 390 drivers/net/wireless/ti/wl12xx/scan.c ies->len[band], band 35 drivers/net/wireless/ti/wl12xx/scan.h u8 band; band 36 drivers/net/wireless/ti/wl18xx/cmd.c switch (ch_switch->chandef.chan->band) { band 38 drivers/net/wireless/ti/wl18xx/cmd.c cmd->band = WLCORE_BAND_2_4GHZ; band 41 drivers/net/wireless/ti/wl18xx/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 45 drivers/net/wireless/ti/wl18xx/cmd.c ch_switch->chandef.chan->band); band 176 drivers/net/wireless/ti/wl18xx/cmd.c if (wlvif->band == NL80211_BAND_5GHZ) band 177 drivers/net/wireless/ti/wl18xx/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 29 drivers/net/wireless/ti/wl18xx/cmd.h u8 band; band 68 drivers/net/wireless/ti/wl18xx/cmd.h u8 band; band 54 drivers/net/wireless/ti/wl18xx/event.c enum nl80211_band band; band 58 drivers/net/wireless/ti/wl18xx/event.c band = NL80211_BAND_5GHZ; band 60 drivers/net/wireless/ti/wl18xx/event.c band = NL80211_BAND_2GHZ; band 62 drivers/net/wireless/ti/wl18xx/event.c freq = ieee80211_channel_to_frequency(sync_channel, band); band 1299 drivers/net/wireless/ti/wl18xx/main.c if (WARN_ON(wlvif->band != NL80211_BAND_5GHZ)) band 1304 drivers/net/wireless/ti/wl18xx/main.c wlvif->band == NL80211_BAND_2GHZ) { band 99 drivers/net/wireless/ti/wl18xx/scan.c u8 band = NL80211_BAND_2GHZ; band 101 drivers/net/wireless/ti/wl18xx/scan.c cmd->role_id, band, band 116 drivers/net/wireless/ti/wl18xx/scan.c u8 band = NL80211_BAND_5GHZ; band 118 drivers/net/wireless/ti/wl18xx/scan.c cmd->role_id, band, band 242 drivers/net/wireless/ti/wl18xx/scan.c u8 band = NL80211_BAND_2GHZ; band 244 drivers/net/wireless/ti/wl18xx/scan.c cmd->role_id, band, band 247 drivers/net/wireless/ti/wl18xx/scan.c ies->ies[band], band 248 drivers/net/wireless/ti/wl18xx/scan.c ies->len[band], band 259 drivers/net/wireless/ti/wl18xx/scan.c u8 band = NL80211_BAND_5GHZ; band 261 drivers/net/wireless/ti/wl18xx/scan.c cmd->role_id, band, band 264 drivers/net/wireless/ti/wl18xx/scan.c ies->ies[band], band 265 drivers/net/wireless/ti/wl18xx/scan.c ies->len[band], band 19 drivers/net/wireless/ti/wl18xx/tx.c u8 band, struct ieee80211_tx_rate *rate, u8 hlid) band 32 drivers/net/wireless/ti/wl18xx/tx.c if (band == NL80211_BAND_5GHZ) band 96 drivers/net/wireless/ti/wl18xx/tx.c info->band, band 422 drivers/net/wireless/ti/wlcore/cmd.c enum nl80211_band band, band 437 drivers/net/wireless/ti/wlcore/cmd.c if (band == NL80211_BAND_5GHZ) band 438 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 523 drivers/net/wireless/ti/wlcore/cmd.c if (wlvif->band == NL80211_BAND_5GHZ) band 524 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 694 drivers/net/wireless/ti/wlcore/cmd.c switch (wlvif->band) { band 696 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_2_4GHZ; band 699 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 702 drivers/net/wireless/ti/wlcore/cmd.c wl1271_warning("ap start - unknown band: %d", (int)wlvif->band); band 703 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_2_4GHZ; band 775 drivers/net/wireless/ti/wlcore/cmd.c if (wlvif->band == NL80211_BAND_5GHZ) band 776 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 1135 drivers/net/wireless/ti/wlcore/cmd.c u8 role_id, u8 band, band 1147 drivers/net/wireless/ti/wlcore/cmd.c wl1271_debug(DEBUG_SCAN, "build probe request band %d", band); band 1166 drivers/net/wireless/ti/wlcore/cmd.c rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); band 1167 drivers/net/wireless/ti/wlcore/cmd.c if (band == NL80211_BAND_2GHZ) band 1197 drivers/net/wireless/ti/wlcore/cmd.c rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[wlvif->band]); band 1198 drivers/net/wireless/ti/wlcore/cmd.c if (wlvif->band == NL80211_BAND_2GHZ) band 1558 drivers/net/wireless/ti/wlcore/cmd.c sta_rates = sta->supp_rates[wlvif->band]; band 1566 drivers/net/wireless/ti/wlcore/cmd.c wlvif->band)); band 1637 drivers/net/wireless/ti/wlcore/cmd.c static int wlcore_get_reg_conf_ch_idx(enum nl80211_band band, u16 ch) band 1643 drivers/net/wireless/ti/wlcore/cmd.c switch (band) { band 1674 drivers/net/wireless/ti/wlcore/cmd.c wl1271_error("%s: unknown band/channel: %d/%d", __func__, band, ch); band 1679 drivers/net/wireless/ti/wlcore/cmd.c enum nl80211_band band) band 1686 drivers/net/wireless/ti/wlcore/cmd.c ch_bit_idx = wlcore_get_reg_conf_ch_idx(band, channel); band 1698 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_supported_band *band; band 1709 drivers/net/wireless/ti/wlcore/cmd.c band = wiphy->bands[b]; band 1710 drivers/net/wireless/ti/wlcore/cmd.c for (i = 0; i < band->n_channels; i++) { band 1711 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_channel *channel = &band->channels[i]; band 1857 drivers/net/wireless/ti/wlcore/cmd.c u8 role_id, enum nl80211_band band, u8 channel) band 1875 drivers/net/wireless/ti/wlcore/cmd.c switch (band) { band 1877 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_2_4GHZ; band 1880 drivers/net/wireless/ti/wlcore/cmd.c cmd->band = WLCORE_BAND_5GHZ; band 1883 drivers/net/wireless/ti/wlcore/cmd.c wl1271_error("roc - unknown band: %d", (int)wlvif->band); band 1931 drivers/net/wireless/ti/wlcore/cmd.c enum nl80211_band band, u8 channel) band 1938 drivers/net/wireless/ti/wlcore/cmd.c ret = wl12xx_cmd_roc(wl, wlvif, role_id, band, channel); band 2001 drivers/net/wireless/ti/wlcore/cmd.c enum nl80211_band band, int channel) band 2019 drivers/net/wireless/ti/wlcore/cmd.c ret = wl12xx_cmd_role_start_dev(wl, wlvif, band, channel); band 2023 drivers/net/wireless/ti/wlcore/cmd.c ret = wl12xx_roc(wl, wlvif, wlvif->dev_role_id, band, channel); band 29 drivers/net/wireless/ti/wlcore/cmd.h enum nl80211_band band, int channel); band 49 drivers/net/wireless/ti/wlcore/cmd.h u8 role_id, u8 band, band 72 drivers/net/wireless/ti/wlcore/cmd.h enum nl80211_band band, u8 channel); band 79 drivers/net/wireless/ti/wlcore/cmd.h enum nl80211_band band); band 292 drivers/net/wireless/ti/wlcore/cmd.h u8 band; band 558 drivers/net/wireless/ti/wlcore/cmd.h u8 band; band 494 drivers/net/wireless/ti/wlcore/debugfs.c DRIVER_STATE_PRINT_INT(band); band 601 drivers/net/wireless/ti/wlcore/debugfs.c VIF_STATE_PRINT_INT(band); band 1958 drivers/net/wireless/ti/wlcore/main.c wl->band = NL80211_BAND_2GHZ; band 2287 drivers/net/wireless/ti/wlcore/main.c wlvif->band = wl->band; band 3005 drivers/net/wireless/ti/wlcore/main.c wlvif->band); band 3071 drivers/net/wireless/ti/wlcore/main.c wlvif->basic_rate_set = wlvif->bitrate_masks[wlvif->band]; band 4212 drivers/net/wireless/ti/wlcore/main.c wlvif->band); band 4315 drivers/net/wireless/ti/wlcore/main.c wlvif->band); band 4324 drivers/net/wireless/ti/wlcore/main.c wlvif->band); band 4441 drivers/net/wireless/ti/wlcore/main.c sta_rate_set = sta->supp_rates[wlvif->band]; band 4477 drivers/net/wireless/ti/wlcore/main.c wlvif->band); band 4776 drivers/net/wireless/ti/wlcore/main.c wlvif->band = ctx->def.chan->band; band 4863 drivers/net/wireless/ti/wlcore/main.c wlvif->band = new_ctx->def.chan->band; band 5129 drivers/net/wireless/ti/wlcore/main.c wl12xx_roc(wl, wlvif, wlvif->role_id, wlvif->band, wlvif->channel); band 5278 drivers/net/wireless/ti/wlcore/main.c wlvif->band, wlvif->channel); band 5671 drivers/net/wireless/ti/wlcore/main.c ret = wl12xx_start_dev(wl, wlvif, chan->band, channel); band 6044 drivers/net/wireless/ti/wlcore/main.c u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) band 6048 drivers/net/wireless/ti/wlcore/main.c BUG_ON(band >= 2); band 6055 drivers/net/wireless/ti/wlcore/main.c idx = wl->band_rate_to_idx[band][rate]; band 6407 drivers/net/wireless/ti/wlcore/main.c wl->band = NL80211_BAND_2GHZ; band 45 drivers/net/wireless/ti/wlcore/ps.c if ((wlvif->band == NL80211_BAND_2GHZ) && band 56 drivers/net/wireless/ti/wlcore/ps.c if ((wlvif->band == NL80211_BAND_2GHZ) && band 53 drivers/net/wireless/ti/wlcore/rx.c status->band = NL80211_BAND_2GHZ; band 55 drivers/net/wireless/ti/wlcore/rx.c status->band = NL80211_BAND_5GHZ; band 57 drivers/net/wireless/ti/wlcore/rx.c status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); band 80 drivers/net/wireless/ti/wlcore/rx.c status->band); band 100 drivers/net/wireless/ti/wlcore/rx.c status->band); band 135 drivers/net/wireless/ti/wlcore/rx.h u8 wl1271_rate_to_idx(int rate, enum nl80211_band band); band 131 drivers/net/wireless/ti/wlcore/scan.c u32 band, bool radar, bool passive, band 159 drivers/net/wireless/ti/wlcore/scan.c if (band == NL80211_BAND_5GHZ) band 185 drivers/net/wireless/ti/wlcore/scan.c if ((req_channels[i]->band == band) && band 210 drivers/net/wireless/ti/wlcore/scan.c (band == NL80211_BAND_2GHZ) && band 20 drivers/net/wireless/ti/wlcore/scan.h const u8 *ie, size_t ie_len, u8 band); band 442 drivers/net/wireless/ti/wlcore/tx.c struct ieee80211_supported_band *band; band 446 drivers/net/wireless/ti/wlcore/tx.c band = wl->hw->wiphy->bands[rate_band]; band 447 drivers/net/wireless/ti/wlcore/tx.c for (bit = 0; bit < band->n_bitrates; bit++) { band 449 drivers/net/wireless/ti/wlcore/tx.c enabled_rates |= band->bitrates[bit].hw_value; band 454 drivers/net/wireless/ti/wlcore/tx.c rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; band 932 drivers/net/wireless/ti/wlcore/tx.c wlvif->band); band 235 drivers/net/wireless/ti/wlcore/tx.h u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band); band 336 drivers/net/wireless/ti/wlcore/wlcore.h enum nl80211_band band; band 513 drivers/net/wireless/ti/wlcore/wlcore.h wlcore_set_ht_cap(struct wl1271 *wl, enum nl80211_band band, band 516 drivers/net/wireless/ti/wlcore/wlcore.h memcpy(&wl->ht_cap[band], ht_cap, sizeof(*ht_cap)); band 392 drivers/net/wireless/ti/wlcore/wlcore_i.h enum nl80211_band band; band 26 drivers/net/wireless/virt_wifi.c .band = NL80211_BAND_2GHZ, band 45 drivers/net/wireless/virt_wifi.c .band = NL80211_BAND_2GHZ, band 65 drivers/net/wireless/virt_wifi.c .band = NL80211_BAND_5GHZ, band 98 drivers/net/wireless/virt_wifi.c .band = NL80211_BAND_5GHZ, band 1057 drivers/net/wireless/zydas/zd1211rw/zd_mac.c stats.band = NL80211_BAND_2GHZ; band 1063 drivers/net/wireless/zydas/zd1211rw/zd_mac.c for (i = 0; i < mac->band.n_bitrates; i++) band 1064 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (rate == mac->band.bitrates[i].hw_value) band 1379 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.n_bitrates = ARRAY_SIZE(zd_rates); band 1380 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.bitrates = mac->rates; band 1381 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.n_channels = ARRAY_SIZE(zd_channels); band 1382 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.channels = mac->channels; band 1384 drivers/net/wireless/zydas/zd1211rw/zd_mac.c hw->wiphy->bands[NL80211_BAND_2GHZ] = &mac->band; band 190 drivers/net/wireless/zydas/zd1211rw/zd_mac.h struct ieee80211_supported_band band; band 772 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c u8 *band = Array[i+1]; band 782 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c band, band 778 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 band, rfPath, TxNum, rate; band 780 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) band 784 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->TxPwrByRateOffset[band][rfPath][TxNum][rate] = 0; band 819 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 base = 0, i = 0, value = 0, band = 0, path = 0, txNum = 0; band 850 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) { band 854 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_11M); band 856 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, cckRates[i]); band 857 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, cckRates[i], value - base); band 861 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_54M); band 863 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, ofdmRates[i]); band 864 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, ofdmRates[i], value - base); band 868 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS7); band 870 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs0_7Rates[i]); band 871 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs0_7Rates[i], value - base); band 875 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS15); band 877 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs8_15Rates[i]); band 878 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs8_15Rates[i], value - base); band 882 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS23); band 884 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs16_23Rates[i]); band 885 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs16_23Rates[i], value - base); band 889 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT1SS_MCS7); band 891 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht1ssRates[i]); band 892 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht1ssRates[i], value - base); band 896 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT2SS_MCS7); band 898 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht2ssRates[i]); band 899 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht2ssRates[i], value - base); band 903 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT3SS_MCS7); band 905 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht3ssRates[i]); band 906 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht3ssRates[i], value - base); band 2415 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 band = 0, rf_path = 0; band 2544 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c band = BAND_ON_2_4G; band 2547 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c band = BAND_ON_5G; band 2590 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_StoreTxPowerByRate(Adapter, band, rf_path, tx_num, u4bRegOffset, u4bRegMask, u4bRegValue); band 2644 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_StoreTxPowerByRate(Adapter, band, rf_path, tx_num, u4bRegOffset, u4bRegMask, combineValue); band 2941 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c char band[5] = "", path[5] = "", sign[5] = ""; band 2950 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c strncpy(band, szLine+1, 2); band 2967 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c initDeltaSwingIndexTables(Adapter, band, path, sign, chnl, rate, data); band 2982 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c char band[10], bandwidth[10], rateSection[10], band 3002 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memset((void *) band, 0, 10); band 3019 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (!ParseQualifiedString(szLine, &i, band, ' ', ',')) { band 3198 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerLimit(Adapter, (u8 *)regulation[forCnt], (u8 *)band, band 15 drivers/staging/rtl8723bs/hal/odm_HWConfig.h #define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##ic##_AGC_TAB_DIFF_##band, \ band 16 drivers/staging/rtl8723bs/hal/odm_HWConfig.h sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32))) band 17 drivers/staging/rtl8723bs/hal/odm_HWConfig.h #define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##ic##_AGC_TAB_DIFF_##band, \ band 18 drivers/staging/rtl8723bs/hal/odm_HWConfig.h sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32))) band 20 drivers/staging/rtl8723bs/hal/odm_HWConfig.h #define AGC_DIFF_CONFIG(ic, band)\ band 23 drivers/staging/rtl8723bs/hal/odm_HWConfig.h AGC_DIFF_CONFIG_MP(ic, band);\ band 25 drivers/staging/rtl8723bs/hal/odm_HWConfig.h AGC_DIFF_CONFIG_TC(ic, band);\ band 97 drivers/staging/rtl8723bs/include/rtw_mlme.h #define rtw_band_valid(band) ((band) >= GHZ24_50 && (band) < GHZ_MAX) band 38 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c .band = NL80211_BAND_2GHZ, \ band 114 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c enum nl80211_band band band 120 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (band == NL80211_BAND_2GHZ) band 138 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->band = band; band 142 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (band == NL80211_BAND_2GHZ) band 162 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (spt_band->band == NL80211_BAND_2GHZ) band 220 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_ieee80211_channel_to_frequency(int chan, int band) band 224 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (band == NL80211_BAND_2GHZ) { band 3250 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static void rtw_cfg80211_init_ht_capab(struct ieee80211_sta_ht_cap *ht_cap, enum nl80211_band band, u8 rf_type) band 45 drivers/staging/rtl8723bs/os_dep/wifi_regd.c static int rtw_ieee80211_channel_to_frequency(int chan, int band) band 871 drivers/staging/vt6655/device_main.c if (info->band == NL80211_BAND_5GHZ) band 1366 drivers/staging/vt6655/device_main.c if (conf->chandef.chan->band == NL80211_BAND_5GHZ) band 54 drivers/staging/vt6655/dpc.c sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; band 91 drivers/staging/vt6655/dpc.c rx_status.band = hw->conf.chandef.chan->band; band 1300 drivers/staging/vt6655/rxtx.c if (info->band == NL80211_BAND_5GHZ) { band 86 drivers/staging/vt6656/dpc.c sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; band 140 drivers/staging/vt6656/dpc.c rx_status.band = hw->conf.chandef.chan->band; band 92 drivers/staging/vt6656/int.c if (info->band == NL80211_BAND_5GHZ) band 688 drivers/staging/vt6656/main_usb.c if (conf->chandef.chan->band == NL80211_BAND_5GHZ) band 811 drivers/staging/vt6656/rxtx.c if (info->band == NL80211_BAND_5GHZ) { band 1879 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.bitrates = wl->bitrates; band 1880 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.n_bitrates = ARRAY_SIZE(wl->bitrates); band 1881 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.channels = wl->channels; band 1882 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.n_channels = ARRAY_SIZE(wilc_2ghz_channels); band 1884 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.ht_supported = 1; band 1885 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); band 1886 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.mcs.rx_mask[0] = 0xff; band 1887 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K; band 1888 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; band 1890 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wiphy->bands[NL80211_BAND_2GHZ] = &wl->band; band 85 drivers/staging/wilc1000/wilc_wfi_netdevice.h .band = NL80211_BAND_2GHZ, \ band 277 drivers/staging/wilc1000/wilc_wfi_netdevice.h struct ieee80211_supported_band band; band 41 drivers/staging/wlan-ng/cfg80211.c struct ieee80211_supported_band band; band 686 drivers/staging/wlan-ng/cfg80211.c priv->band.channels = priv->channels; band 687 drivers/staging/wlan-ng/cfg80211.c priv->band.n_channels = ARRAY_SIZE(prism2_channels); band 688 drivers/staging/wlan-ng/cfg80211.c priv->band.bitrates = priv->rates; band 689 drivers/staging/wlan-ng/cfg80211.c priv->band.n_bitrates = ARRAY_SIZE(prism2_rates); band 690 drivers/staging/wlan-ng/cfg80211.c priv->band.band = NL80211_BAND_2GHZ; band 691 drivers/staging/wlan-ng/cfg80211.c priv->band.ht_cap.ht_supported = false; band 692 drivers/staging/wlan-ng/cfg80211.c wiphy->bands[NL80211_BAND_2GHZ] = &priv->band; band 778 fs/fcntl.c void send_sigio(struct fown_struct *fown, int fd, int band) band 795 fs/fcntl.c send_sigio_to_task(p, fown, fd, band, type); band 800 fs/fcntl.c send_sigio_to_task(p, fown, fd, band, type); band 990 fs/fcntl.c static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) band 1007 fs/fcntl.c send_sigio(fown, fa->fa_fd, band); band 1014 fs/fcntl.c void kill_fasync(struct fasync_struct **fp, int sig, int band) band 1021 fs/fcntl.c kill_fasync_rcu(rcu_dereference(*fp), sig, band); band 1132 include/linux/fs.h extern void send_sigio(struct fown_struct *fown, int fd, int band); band 227 include/linux/net.h int sock_wake_async(struct socket_wq *sk_wq, int how, int band); band 49 include/media/drv-intf/tea575x.h u32 band; /* 0: FM, 1: FM-Japan, 2: AM */ band 61 include/media/drv-intf/tea575x.h struct v4l2_frequency_band *band); band 535 include/media/v4l2-ioctl.h struct v4l2_frequency_band *band); band 269 include/media/v4l2-subdev.h int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band); band 148 include/net/cfg80211.h enum nl80211_band band; band 413 include/net/cfg80211.h enum nl80211_band band; band 2015 include/net/cfg80211.h enum nl80211_band band; band 5016 include/net/cfg80211.h int ieee80211_channel_to_frequency(int chan, enum nl80211_band band); band 7044 include/net/cfg80211.h enum nl80211_band *band); band 1006 include/net/mac80211.h u8 band; band 1353 include/net/mac80211.h u8 band; band 2603 include/net/mac80211.h return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; band 2612 include/net/mac80211.h return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; band 2621 include/net/mac80211.h return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; band 4939 include/net/mac80211.h enum nl80211_band band, band 5968 include/net/mac80211.h enum nl80211_band band, band 5971 include/net/mac80211.h return (sta == NULL || sta->supp_rates[band] & BIT(index)); band 5981 include/net/mac80211.h if (rate_supported(sta, sband->band, i)) band 5998 include/net/mac80211.h if (rate_supported(sta, sband->band, i)) band 6135 include/net/mac80211.h int band, struct ieee80211_sta **sta); band 807 include/net/pkt_cls.h u8 band; band 2212 include/net/sock.h static inline void sk_wake_async(const struct sock *sk, int how, int band) band 2216 include/net/sock.h sock_wake_async(rcu_dereference(sk->sk_wq), how, band); band 5861 include/uapi/linux/nl80211.h __u8 band; band 191 init/calibrate.c int trials = 0, band = 0, trial_in_band = 0; band 202 init/calibrate.c if (++trial_in_band == (1<<band)) { band 203 init/calibrate.c ++band; band 206 init/calibrate.c __delay(lpj * band); band 207 init/calibrate.c trials += band; band 213 init/calibrate.c trials -= band; band 214 init/calibrate.c loopadd_base = lpj * band; band 1482 net/mac80211/cfg.c &sta->sta.supp_rates[sband->band]); band 1504 net/mac80211/cfg.c sband->band); band 2175 net/mac80211/cfg.c sband->band == NL80211_BAND_5GHZ) { band 2188 net/mac80211/cfg.c wiphy->bands[sband->band], band 2878 net/mac80211/cfg.c enum nl80211_band band = sdata->vif.bss_conf.chandef.chan->band; band 2880 net/mac80211/cfg.c if (!(mask->control[band].legacy & basic_rates)) band 3263 net/mac80211/cfg.c if (sdata->u.ibss.chandef.chan->band != band 3264 net/mac80211/cfg.c params->chandef.chan->band) band 3286 net/mac80211/cfg.c if (sdata->vif.bss_conf.chandef.chan->band != band 3287 net/mac80211/cfg.c params->chandef.chan->band) band 3551 net/mac80211/cfg.c enum nl80211_band band; band 3563 net/mac80211/cfg.c band = chanctx_conf->def.chan->band; band 3605 net/mac80211/cfg.c info->band = band; band 93 net/mac80211/ibss.c sband = local->hw.wiphy->bands[chandef->chan->band]; band 129 net/mac80211/ibss.c if (sband->band == NL80211_BAND_2GHZ) { band 351 net/mac80211/ibss.c sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; band 355 net/mac80211/ibss.c if (chan->band == NL80211_BAND_2GHZ && have_higher_than_11mbit) band 444 net/mac80211/ibss.c sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; band 615 net/mac80211/ibss.c int band; band 642 net/mac80211/ibss.c band = chanctx_conf->def.chan->band; band 653 net/mac80211/ibss.c sband = local->hw.wiphy->bands[band]; band 654 net/mac80211/ibss.c sta->sta.supp_rates[band] = supp_rates | band 810 net/mac80211/ibss.c ifibss->chandef.chan->band, band 991 net/mac80211/ibss.c enum nl80211_band band = rx_status->band; band 1004 net/mac80211/ibss.c sband = local->hw.wiphy->bands[band]; band 1013 net/mac80211/ibss.c band, NULL); band 1017 net/mac80211/ibss.c prev_rates = sta->sta.supp_rates[band]; band 1025 net/mac80211/ibss.c sta->sta.supp_rates[band] = supp_rates | band 1027 net/mac80211/ibss.c if (sta->sta.supp_rates[band] != prev_rates) { band 1031 net/mac80211/ibss.c sta->sta.supp_rates[band]); band 1117 net/mac80211/ibss.c enum nl80211_band band = rx_status->band; band 1190 net/mac80211/ibss.c supp_rates = ieee80211_sta_get_rates(sdata, elems, band, NULL); band 1210 net/mac80211/ibss.c int band; band 1234 net/mac80211/ibss.c band = chanctx_conf->def.chan->band; band 1243 net/mac80211/ibss.c sband = local->hw.wiphy->bands[band]; band 1244 net/mac80211/ibss.c sta->sta.supp_rates[band] = supp_rates | band 1804 net/mac80211/ibss.c sband = local->hw.wiphy->bands[params->chandef.chan->band]; band 1430 net/mac80211/ieee80211_i.h enum nl80211_band band; band 1440 net/mac80211/ieee80211_i.h band = chanctx_conf->def.chan->band; band 1443 net/mac80211/ieee80211_i.h return local->hw.wiphy->bands[band]; band 1859 net/mac80211/ieee80211_i.h enum nl80211_band band); band 1862 net/mac80211/ieee80211_i.h enum nl80211_band band); band 1931 net/mac80211/ieee80211_i.h int ieee80211_frame_duration(enum nl80211_band band, size_t len, band 1945 net/mac80211/ieee80211_i.h enum nl80211_band band, u32 txdata_flags); band 1950 net/mac80211/ieee80211_i.h enum nl80211_band band, u32 txdata_flags) band 1953 net/mac80211/ieee80211_i.h __ieee80211_tx_skb_tid_band(sdata, skb, tid, band, txdata_flags); band 1971 net/mac80211/ieee80211_i.h chanctx_conf->def.chan->band, 0); band 2128 net/mac80211/ieee80211_i.h enum nl80211_band band, u32 *basic_rates); band 2158 net/mac80211/ieee80211_i.h enum nl80211_band band); band 2161 net/mac80211/ieee80211_i.h enum nl80211_band band); band 1280 net/mac80211/iface.c enum nl80211_band band; band 1284 net/mac80211/iface.c band = status->band; band 1293 net/mac80211/iface.c band); band 866 net/mac80211/main.c enum nl80211_band band; band 949 net/mac80211/main.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 952 net/mac80211/main.c sband = local->hw.wiphy->bands[band]; band 1023 net/mac80211/main.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1024 net/mac80211/main.c if (!local->hw.wiphy->bands[band]) band 1026 net/mac80211/main.c local->int_scan_req->rates[band] = (u32) -1; band 1213 net/mac80211/main.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1219 net/mac80211/main.c sband = local->hw.wiphy->bands[band]; band 1236 net/mac80211/main.c band); band 1241 net/mac80211/main.c local->hw.wiphy->bands[band] = sband; band 1242 net/mac80211/main.c local->sband_allocated |= BIT(band); band 1370 net/mac80211/main.c enum nl80211_band band; band 1386 net/mac80211/main.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1387 net/mac80211/main.c if (!(local->sband_allocated & BIT(band))) band 1389 net/mac80211/main.c kfree(local->hw.wiphy->bands[band]); band 90 net/mac80211/mesh.c ieee80211_sta_get_rates(sdata, ie, sband->band, band 452 net/mac80211/mesh.c sband = local->hw.wiphy->bands[channel->band]; band 516 net/mac80211/mesh.c sband = local->hw.wiphy->bands[channel->band]; band 734 net/mac80211/mesh.c enum nl80211_band band; band 743 net/mac80211/mesh.c band = chanctx_conf->def.chan->band; band 866 net/mac80211/mesh.c if (ieee80211_add_srates_ie(sdata, skb, true, band) || band 877 net/mac80211/mesh.c if (ieee80211_add_ext_srates_ie(sdata, skb, true, band) || band 1071 net/mac80211/mesh.c err = ieee80211_parse_ch_switch_ie(sdata, elems, sband->band, band 1222 net/mac80211/mesh.c enum nl80211_band band = rx_status->band; band 1243 net/mac80211/mesh.c freq = ieee80211_channel_to_frequency(elems.ds_params[0], band); band 106 net/mac80211/mesh_plink.c if (sband->band == NL80211_BAND_5GHZ) { band 110 net/mac80211/mesh_plink.c } else if (sband->band != NL80211_BAND_2GHZ) { band 128 net/mac80211/mesh_plink.c if (erp_rates & sta->sta.supp_rates[sband->band]) band 258 net/mac80211/mesh_plink.c enum nl80211_band band; band 265 net/mac80211/mesh_plink.c band = sband->band; band 274 net/mac80211/mesh_plink.c if (ieee80211_add_srates_ie(sdata, skb, true, band) || band 275 net/mac80211/mesh_plink.c ieee80211_add_ext_srates_ie(sdata, skb, true, band) || band 420 net/mac80211/mesh_plink.c rates = ieee80211_sta_get_rates(sdata, elems, sband->band, band 432 net/mac80211/mesh_plink.c if (sta->sta.supp_rates[sband->band] != rates) band 434 net/mac80211/mesh_plink.c sta->sta.supp_rates[sband->band] = rates; band 174 net/mac80211/mlme.c channel->band); band 187 net/mac80211/mlme.c ht_oper->primary_chan, channel->band); band 331 net/mac80211/mlme.c local->hw.wiphy->bands[chan->band]; band 664 net/mac80211/mlme.c sband = local->hw.wiphy->bands[chan->band]; band 713 net/mac80211/mlme.c if (sband->band == NL80211_BAND_2GHZ) { band 938 net/mac80211/mlme.c (sband->band == NL80211_BAND_5GHZ && band 1150 net/mac80211/mlme.c local->hw.wiphy->bands[sdata->csa_chandef.chan->band]; band 1306 net/mac80211/mlme.c current_band = cbss->channel->band; band 1467 net/mac80211/mlme.c switch (channel->band) { band 2113 net/mac80211/mlme.c if (sband->band == NL80211_BAND_5GHZ) band 4048 net/mac80211/mlme.c rx_status->band); band 4751 net/mac80211/mlme.c sband = local->hw.wiphy->bands[cbss->channel->band]; band 4917 net/mac80211/mlme.c sband = local->hw.wiphy->bands[cbss->channel->band]; band 4980 net/mac80211/mlme.c new_sta->sta.supp_rates[cbss->channel->band] = rates; band 4988 net/mac80211/mlme.c if (cbss->channel->band == NL80211_BAND_2GHZ && band 5302 net/mac80211/mlme.c sband = local->hw.wiphy->bands[req->bss->channel->band]; band 48 net/mac80211/ocb.c int band; band 67 net/mac80211/ocb.c band = chanctx_conf->def.chan->band; band 76 net/mac80211/ocb.c sband = local->hw.wiphy->bands[band]; band 77 net/mac80211/ocb.c sta->sta.supp_rates[band] = band 267 net/mac80211/offchannel.c roc->chan->band, 0); band 52 net/mac80211/rate.c sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; band 264 net/mac80211/rate.c enum nl80211_band band; band 272 net/mac80211/rate.c band = sdata->vif.bss_conf.chandef.chan->band; band 273 net/mac80211/rate.c user_mask = sdata->rc_rateidx_mask[band]; band 274 net/mac80211/rate.c sband = local->hw.wiphy->bands[band]; band 281 net/mac80211/rate.c basic_rates, user_mask, band); band 282 net/mac80211/rate.c sdata->rc_rateidx_mask[band] = (1 << sband->n_bitrates) - 1; band 331 net/mac80211/rate.c if ((sband->band == NL80211_BAND_2GHZ) && band 343 net/mac80211/rate.c if (!rate_supported(sta, sband->band, i)) band 352 net/mac80211/rate.c sta ? sta->supp_rates[sband->band] : -1, band 353 net/mac80211/rate.c sband->band, band 378 net/mac80211/rate.c mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; band 733 net/mac80211/rate.c *mask = sdata->rc_rateidx_mask[sband->band]; band 741 net/mac80211/rate.c !sdata->rc_has_mcs_mask[sband->band] && band 742 net/mac80211/rate.c !sdata->rc_has_vht_mcs_mask[sband->band]) band 745 net/mac80211/rate.c if (sdata->rc_has_mcs_mask[sband->band]) band 746 net/mac80211/rate.c memcpy(mcs_mask, sdata->rc_rateidx_mcs_mask[sband->band], band 751 net/mac80211/rate.c if (sdata->rc_has_vht_mcs_mask[sband->band]) band 752 net/mac80211/rate.c memcpy(vht_mask, sdata->rc_rateidx_vht_mcs_mask[sband->band], band 762 net/mac80211/rate.c *mask &= sta->supp_rates[sband->band]; band 857 net/mac80211/rate.c sband = sdata->local->hw.wiphy->bands[info->band]; band 864 net/mac80211/rate.c sdata->rc_rateidx_mask[info->band]); band 436 net/mac80211/rc80211_minstrel.c calc_rate_durations(enum nl80211_band band, band 444 net/mac80211/rc80211_minstrel.c d->perfect_tx_time = ieee80211_frame_duration(band, 1200, band 447 net/mac80211/rc80211_minstrel.c d->ack_time = ieee80211_frame_duration(band, 10, band 489 net/mac80211/rc80211_minstrel.c mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10, band 506 net/mac80211/rc80211_minstrel.c if (!rate_supported(sta, sband->band, i)) band 519 net/mac80211/rc80211_minstrel.c calc_rate_durations(sband->band, mr, &sband->bitrates[i], band 1361 net/mac80211/rc80211_minstrel_ht.c if (sband->band != NL80211_BAND_2GHZ) band 1370 net/mac80211/rc80211_minstrel_ht.c if (!rate_supported(sta, sband->band, mp->cck_rates[i])) band 1416 net/mac80211/rc80211_minstrel_ht.c ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1, 0); band 1417 net/mac80211/rc80211_minstrel_ht.c mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1, 0); band 422 net/mac80211/rx.c if (status->band == NL80211_BAND_5GHZ) band 3108 net/mac80211/rx.c sband = rx->local->hw.wiphy->bands[status->band]; band 3142 net/mac80211/rx.c sband = rx->local->hw.wiphy->bands[status->band]; band 3244 net/mac80211/rx.c if (status->band != NL80211_BAND_5GHZ) band 3441 net/mac80211/rx.c status->band, 0); band 3594 net/mac80211/rx.c sband = rx->local->hw.wiphy->bands[status->band]; band 4529 net/mac80211/rx.c if (WARN_ON(status->band >= NUM_NL80211_BANDS)) band 4532 net/mac80211/rx.c sband = local->hw.wiphy->bands[status->band]; band 129 net/mac80211/scan.c local->hw.wiphy->bands[rx_status->band]; band 327 net/mac80211/scan.c bands_used |= BIT(req->channels[i]->band); band 339 net/mac80211/scan.c if (req->channels[i]->band != band 345 net/mac80211/scan.c bands_used |= BIT(req->channels[i]->band); band 603 net/mac80211/scan.c ieee80211_tx_skb_tid_band(sdata, skb, 7, channel->band, band 614 net/mac80211/scan.c enum nl80211_band band = local->hw.conf.chandef.chan->band; band 636 net/mac80211/scan.c scan_req->rates[band], flags, band 680 net/mac80211/scan.c if (bands_counted & BIT(req->channels[i]->band)) band 682 net/mac80211/scan.c bands_counted |= BIT(req->channels[i]->band); band 1106 net/mac80211/scan.c enum nl80211_band band; band 1118 net/mac80211/scan.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1119 net/mac80211/scan.c if (!local->hw.wiphy->bands[band]) band 1122 net/mac80211/scan.c max_n = local->hw.wiphy->bands[band]->n_channels; band 1125 net/mac80211/scan.c &local->hw.wiphy->bands[band]->channels[i]; band 1454 net/mac80211/sta_info.c info->band = chanctx_conf->def.chan->band; band 2082 net/mac80211/sta_info.c int band = STA_STATS_GET(LEGACY_BAND, rate); band 2085 net/mac80211/sta_info.c sband = local->hw.wiphy->bands[band]; band 311 net/mac80211/sta_info.h u8 band; band 850 net/mac80211/sta_info.h r |= STA_STATS_FIELD(LEGACY_BAND, s->band); band 882 net/mac80211/status.c sband = local->hw.wiphy->bands[info->band]; band 1113 net/mac80211/status.c sband = hw->wiphy->bands[info->band]; band 1166 net/mac80211/status.c struct ieee80211_supported_band *sband = hw->wiphy->bands[info->band]; band 193 net/mac80211/tdls.c if (sband && sband->band == NL80211_BAND_2GHZ) { band 379 net/mac80211/tdls.c ieee80211_add_srates_ie(sdata, skb, false, sband->band); band 380 net/mac80211/tdls.c ieee80211_add_ext_srates_ie(sdata, skb, false, sband->band); band 621 net/mac80211/tdls.c if (sband->band != NL80211_BAND_2GHZ && band 1262 net/mac80211/tdls.c sband = local->hw.wiphy->bands[conf->def.chan->band]; band 1779 net/mac80211/tdls.c enum nl80211_band band; band 1811 net/mac80211/tdls.c band = NL80211_BAND_5GHZ; band 1813 net/mac80211/tdls.c band = target_channel < 14 ? NL80211_BAND_2GHZ : band 1816 net/mac80211/tdls.c freq = ieee80211_channel_to_frequency(target_channel, band); band 80 net/mac80211/tx.c sband = local->hw.wiphy->bands[info->band]; band 153 net/mac80211/tx.c switch (sband->band) { band 190 net/mac80211/tx.c dur = ieee80211_frame_duration(sband->band, 10, rate, erp, band 199 net/mac80211/tx.c dur += ieee80211_frame_duration(sband->band, next_frag_len, band 681 net/mac80211/tx.c sband = tx->local->hw.wiphy->bands[info->band]; band 692 net/mac80211/tx.c txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; band 694 net/mac80211/tx.c if (tx->sdata->rc_has_mcs_mask[info->band]) band 696 net/mac80211/tx.c tx->sdata->rc_rateidx_mcs_mask[info->band]; band 741 net/mac80211/tx.c info->band ? 5 : 2)) band 1532 net/mac80211/tx.c enum nl80211_band band; band 1545 net/mac80211/tx.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1548 net/mac80211/tx.c sband = local->hw.wiphy->bands[band]; band 1858 net/mac80211/tx.c int band, struct ieee80211_sta **sta) band 1868 net/mac80211/tx.c info->band = band; band 2033 net/mac80211/tx.c local->hw.wiphy->bands[info->band]; band 2346 net/mac80211/tx.c info->band = chandef->chan->band; band 2481 net/mac80211/tx.c enum nl80211_band band; band 2517 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2534 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2548 net/mac80211/tx.c band = local->hw.conf.chandef.chan->band; band 2621 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2664 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2677 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2690 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 2846 net/mac80211/tx.c info->band = band; band 2929 net/mac80211/tx.c build.band = chanctx_conf->def.chan->band; band 3498 net/mac80211/tx.c info->band = fast_tx->band; band 4141 net/mac80211/tx.c info->band = chanctx_conf->def.chan->band; band 4474 net/mac80211/tx.c enum nl80211_band band; band 4615 net/mac80211/tx.c band = chanctx_conf->def.chan->band; band 4621 net/mac80211/tx.c info->band = band; band 4625 net/mac80211/tx.c txrc.sband = local->hw.wiphy->bands[band]; band 4629 net/mac80211/tx.c txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; band 4955 net/mac80211/tx.c info->band = chanctx_conf->def.chan->band; band 5059 net/mac80211/tx.c enum nl80211_band band, u32 txdata_flags) band 5075 net/mac80211/tx.c IEEE80211_SKB_CB(skb)->band = band; band 60 net/mac80211/util.c int ieee80211_frame_duration(enum nl80211_band band, size_t len, band 78 net/mac80211/util.c if (band == NL80211_BAND_5GHZ || erp) { band 130 net/mac80211/util.c enum nl80211_band band, band 148 net/mac80211/util.c dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, band 167 net/mac80211/util.c sband = local->hw.wiphy->bands[frame_txctl->band]; band 185 net/mac80211/util.c dur = ieee80211_frame_duration(sband->band, 10, bitrate, band 188 net/mac80211/util.c dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, band 191 net/mac80211/util.c dur += ieee80211_frame_duration(sband->band, 10, bitrate, band 211 net/mac80211/util.c sband = local->hw.wiphy->bands[frame_txctl->band]; band 228 net/mac80211/util.c dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, band 232 net/mac80211/util.c dur += ieee80211_frame_duration(sband->band, 10, bitrate, band 1463 net/mac80211/util.c chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && band 1636 net/mac80211/util.c enum nl80211_band band, band 1655 net/mac80211/util.c sband = local->hw.wiphy->bands[band]; band 1711 net/mac80211/util.c if (chandef->chan && sband->band == NL80211_BAND_2GHZ) { band 1908 net/mac80211/util.c rate_masks[chan->band] = ratemask; band 1911 net/mac80211/util.c ie, ie_len, BIT(chan->band), band 1928 net/mac80211/util.c enum nl80211_band band, u32 *basic_rates) band 1935 net/mac80211/util.c sband = sdata->local->hw.wiphy->bands[band]; band 3003 net/mac80211/util.c vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; band 3024 net/mac80211/util.c cf0 = ieee80211_channel_to_frequency(ccf0, chandef->chan->band); band 3025 net/mac80211/util.c cf1 = ieee80211_channel_to_frequency(ccf1, chandef->chan->band); band 3102 net/mac80211/util.c enum nl80211_band band) band 3113 net/mac80211/util.c sband = local->hw.wiphy->bands[band]; band 3146 net/mac80211/util.c enum nl80211_band band) band 3158 net/mac80211/util.c sband = local->hw.wiphy->bands[band]; band 3281 net/mac80211/util.c sband = local->hw.wiphy->bands[status->band]; band 3287 net/mac80211/util.c if (status->band == NL80211_BAND_5GHZ) { band 502 net/mac80211/vht.c enum nl80211_band band) band 593 net/mac80211/vht.c enum nl80211_band band) band 596 net/mac80211/vht.c struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; band 598 net/mac80211/vht.c u32 changed = __ieee80211_vht_handle_opmode(sdata, sta, opmode, band); band 112 net/openvswitch/meter.c struct dp_meter_band *band; band 131 net/openvswitch/meter.c band = meter->bands; band 133 net/openvswitch/meter.c for (i = 0; i < meter->n_bands; ++i, ++band) { band 139 net/openvswitch/meter.c &band->stats)) band 194 net/openvswitch/meter.c struct dp_meter_band *band; band 222 net/openvswitch/meter.c band = meter->bands; band 240 net/openvswitch/meter.c band->type = nla_get_u32(attr[OVS_BAND_ATTR_TYPE]); band 241 net/openvswitch/meter.c band->rate = nla_get_u32(attr[OVS_BAND_ATTR_RATE]); band 242 net/openvswitch/meter.c if (band->rate == 0) { band 247 net/openvswitch/meter.c band->burst_size = nla_get_u32(attr[OVS_BAND_ATTR_BURST]); band 254 net/openvswitch/meter.c band->bucket = (band->burst_size + band->rate) * 1000; band 255 net/openvswitch/meter.c band_max_delta_t = band->bucket / band->rate; band 258 net/openvswitch/meter.c band++; band 446 net/openvswitch/meter.c struct dp_meter_band *band; band 492 net/openvswitch/meter.c band = &meter->bands[i]; band 493 net/openvswitch/meter.c max_bucket_size = (band->burst_size + band->rate) * 1000LL; band 495 net/openvswitch/meter.c band->bucket += delta_ms * band->rate; band 496 net/openvswitch/meter.c if (band->bucket > max_bucket_size) band 497 net/openvswitch/meter.c band->bucket = max_bucket_size; band 499 net/openvswitch/meter.c if (band->bucket >= cost) { band 500 net/openvswitch/meter.c band->bucket -= cost; band 501 net/openvswitch/meter.c } else if (band->rate > band_exceeded_rate) { band 502 net/openvswitch/meter.c band_exceeded_rate = band->rate; band 509 net/openvswitch/meter.c band = &meter->bands[band_exceeded_max]; band 510 net/openvswitch/meter.c band->stats.n_packets += 1; band 511 net/openvswitch/meter.c band->stats.n_bytes += skb->len; band 514 net/openvswitch/meter.c if (band->type == OVS_METER_BAND_TYPE_DROP) { band 616 net/sched/sch_generic.c int band) band 618 net/sched/sch_generic.c return &priv->q[band]; band 624 net/sched/sch_generic.c int band = prio2band[skb->priority & TC_PRIO_MAX]; band 626 net/sched/sch_generic.c struct skb_array *q = band2list(priv, band); band 647 net/sched/sch_generic.c int band; band 649 net/sched/sch_generic.c for (band = 0; band < PFIFO_FAST_BANDS && !skb; band++) { band 650 net/sched/sch_generic.c struct skb_array *q = band2list(priv, band); band 670 net/sched/sch_generic.c int band; band 672 net/sched/sch_generic.c for (band = 0; band < PFIFO_FAST_BANDS && !skb; band++) { band 673 net/sched/sch_generic.c struct skb_array *q = band2list(priv, band); band 683 net/sched/sch_generic.c int i, band; band 686 net/sched/sch_generic.c for (band = 0; band < PFIFO_FAST_BANDS; band++) { band 687 net/sched/sch_generic.c struct skb_array *q = band2list(priv, band); band 33 net/sched/sch_multiq.c u32 band; band 51 net/sched/sch_multiq.c band = skb_get_queue_mapping(skb); band 53 net/sched/sch_multiq.c if (band >= q->bands) band 56 net/sched/sch_multiq.c return q->queues[band]; band 92 net/sched/sch_multiq.c int band; band 94 net/sched/sch_multiq.c for (band = 0; band < q->bands; band++) { band 124 net/sched/sch_multiq.c int band; band 126 net/sched/sch_multiq.c for (band = 0; band < q->bands; band++) { band 150 net/sched/sch_multiq.c u16 band; band 153 net/sched/sch_multiq.c for (band = 0; band < q->bands; band++) band 154 net/sched/sch_multiq.c qdisc_reset(q->queues[band]); band 162 net/sched/sch_multiq.c int band; band 166 net/sched/sch_multiq.c for (band = 0; band < q->bands; band++) band 167 net/sched/sch_multiq.c qdisc_put(q->queues[band]); band 285 net/sched/sch_multiq.c unsigned long band = arg - 1; band 290 net/sched/sch_multiq.c *old = qdisc_replace(sch, new, &q->queues[band]); band 298 net/sched/sch_multiq.c unsigned long band = arg - 1; band 300 net/sched/sch_multiq.c return q->queues[band]; band 306 net/sched/sch_multiq.c unsigned long band = TC_H_MIN(classid); band 308 net/sched/sch_multiq.c if (band - 1 >= q->bands) band 310 net/sched/sch_multiq.c return band; band 352 net/sched/sch_multiq.c int band; band 357 net/sched/sch_multiq.c for (band = 0; band < q->bands; band++) { band 362 net/sched/sch_multiq.c if (arg->fn(sch, band + 1, arg) < 0) { band 34 net/sched/sch_prio.c u32 band = skb->priority; band 55 net/sched/sch_prio.c if (TC_H_MAJ(band)) band 56 net/sched/sch_prio.c band = 0; band 57 net/sched/sch_prio.c return q->queues[q->prio2band[band & TC_PRIO_MAX]]; band 59 net/sched/sch_prio.c band = res.classid; band 61 net/sched/sch_prio.c band = TC_H_MIN(band) - 1; band 62 net/sched/sch_prio.c if (band >= q->bands) band 65 net/sched/sch_prio.c return q->queues[band]; band 293 net/sched/sch_prio.c unsigned long band = arg - 1; band 304 net/sched/sch_prio.c *old = qdisc_replace(sch, new, &q->queues[band]); band 308 net/sched/sch_prio.c graft_offload.graft_params.band = band; band 322 net/sched/sch_prio.c unsigned long band = arg - 1; band 324 net/sched/sch_prio.c return q->queues[band]; band 330 net/sched/sch_prio.c unsigned long band = TC_H_MIN(classid); band 332 net/sched/sch_prio.c if (band - 1 >= q->bands) band 334 net/sched/sch_prio.c return band; band 1306 net/socket.c int sock_wake_async(struct socket_wq *wq, int how, int band) band 1322 net/socket.c kill_fasync(&wq->fasync_list, SIGIO, band); band 1325 net/socket.c kill_fasync(&wq->fasync_list, SIGURG, band); band 890 net/wireless/chan.c ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap; band 891 net/wireless/chan.c vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; band 892 net/wireless/chan.c edmg_cap = &wiphy->bands[chandef->chan->band]->edmg_cap; band 1061 net/wireless/chan.c if (chan->band != NL80211_BAND_5GHZ && band 1062 net/wireless/chan.c chan->band != NL80211_BAND_6GHZ) band 650 net/wireless/core.c enum nl80211_band band; band 789 net/wireless/core.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 792 net/wireless/core.c sband = wiphy->bands[band]; band 796 net/wireless/core.c sband->band = band; band 803 net/wireless/core.c if (WARN_ON(band != NL80211_BAND_60GHZ && band 813 net/wireless/core.c band == NL80211_BAND_2GHZ && band 833 net/wireless/core.c sband->channels[i].band = band; band 69 net/wireless/debugfs.c enum nl80211_band band; band 78 net/wireless/debugfs.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 79 net/wireless/debugfs.c sband = wiphy->bands[band]; band 108 net/wireless/ibss.c enum nl80211_band band; band 112 net/wireless/ibss.c band = params->chandef.chan->band; band 113 net/wireless/ibss.c if (band == NL80211_BAND_5GHZ || band 114 net/wireless/ibss.c band == NL80211_BAND_6GHZ) band 119 net/wireless/ibss.c sband = rdev->wiphy.bands[band]; band 241 net/wireless/ibss.c enum nl80211_band band; band 253 net/wireless/ibss.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 257 net/wireless/ibss.c sband = rdev->wiphy.bands[band]; band 132 net/wireless/mesh.c enum nl80211_band band; band 134 net/wireless/mesh.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 139 net/wireless/mesh.c sband = rdev->wiphy.bands[band]; band 172 net/wireless/mesh.c rdev->wiphy.bands[setup->chandef.chan->band]; band 174 net/wireless/mesh.c if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { band 1907 net/wireless/nl80211.c enum nl80211_band band; band 2044 net/wireless/nl80211.c for (band = state->band_start; band 2045 net/wireless/nl80211.c band < NUM_NL80211_BANDS; band++) { band 2048 net/wireless/nl80211.c sband = rdev->wiphy.bands[band]; band 2053 net/wireless/nl80211.c nl_band = nla_nest_start_noflag(msg, band); band 2103 net/wireless/nl80211.c band--; band 2109 net/wireless/nl80211.c if (band < NUM_NL80211_BANDS) band 2110 net/wireless/nl80211.c state->band_start = band + 1; band 4276 net/wireless/nl80211.c enum nl80211_band band = nla_type(tx_rates); band 4279 net/wireless/nl80211.c if (band < 0 || band >= NUM_NL80211_BANDS) band 4281 net/wireless/nl80211.c sband = rdev->wiphy.bands[band]; band 4291 net/wireless/nl80211.c mask->control[band].legacy = rateset_to_mask( band 4295 net/wireless/nl80211.c if ((mask->control[band].legacy == 0) && band 4304 net/wireless/nl80211.c mask->control[band].ht_mcs)) band 4311 net/wireless/nl80211.c mask->control[band].vht_mcs)) band 4315 net/wireless/nl80211.c mask->control[band].gi = band 4317 net/wireless/nl80211.c if (mask->control[band].gi > NL80211_TXRATE_FORCE_LGI) band 4321 net/wireless/nl80211.c if (mask->control[band].legacy == 0) { band 4325 net/wireless/nl80211.c if (!(rdev->wiphy.bands[band]->ht_cap.ht_supported || band 4326 net/wireless/nl80211.c rdev->wiphy.bands[band]->vht_cap.vht_supported)) band 4330 net/wireless/nl80211.c if (mask->control[band].ht_mcs[i]) band 4334 net/wireless/nl80211.c if (mask->control[band].vht_mcs[i]) band 4347 net/wireless/nl80211.c enum nl80211_band band, band 4351 net/wireless/nl80211.c u32 rate = beacon_rate->control[band].legacy; band 4359 net/wireless/nl80211.c if (hweight8(beacon_rate->control[band].ht_mcs[i]) > 1) { band 4361 net/wireless/nl80211.c } else if (beacon_rate->control[band].ht_mcs[i]) { band 4372 net/wireless/nl80211.c if (hweight16(beacon_rate->control[band].vht_mcs[i]) > 1) { band 4374 net/wireless/nl80211.c } else if (beacon_rate->control[band].vht_mcs[i]) { band 4755 net/wireless/nl80211.c err = validate_beacon_tx_rate(rdev, params.chandef.chan->band, band 7347 net/wireless/nl80211.c bss_select->param.adjust.band = adj_param->band; band 7349 net/wireless/nl80211.c if (!is_band_valid(wiphy, bss_select->param.adjust.band)) band 7594 net/wireless/nl80211.c enum nl80211_band band; band 7597 net/wireless/nl80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 7600 net/wireless/nl80211.c if (!wiphy->bands[band]) band 7602 net/wireless/nl80211.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { band 7605 net/wireless/nl80211.c chan = &wiphy->bands[band]->channels[j]; band 7671 net/wireless/nl80211.c enum nl80211_band band = nla_type(attr); band 7673 net/wireless/nl80211.c if (band < 0 || band >= NUM_NL80211_BANDS) { band 7678 net/wireless/nl80211.c if (!wiphy->bands[band]) band 7681 net/wireless/nl80211.c err = ieee80211_get_ratemask(wiphy->bands[band], band 7684 net/wireless/nl80211.c &request->rates[band]); band 7878 net/wireless/nl80211.c enum nl80211_band band = nla_type(attr); band 7880 net/wireless/nl80211.c if (band < 0 || band >= NUM_NL80211_BANDS) band 7883 net/wireless/nl80211.c match_sets->per_band_rssi_thold[band] = nla_get_s32(attr); band 7896 net/wireless/nl80211.c enum nl80211_band band; band 8073 net/wireless/nl80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 8076 net/wireless/nl80211.c if (!wiphy->bands[band]) band 8078 net/wireless/nl80211.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { band 8081 net/wireless/nl80211.c chan = &wiphy->bands[band]->channels[j]; band 8222 net/wireless/nl80211.c request->rssi_adjust.band = rssi_adjust->band; band 8224 net/wireless/nl80211.c if (!is_band_valid(wiphy, request->rssi_adjust.band)) { band 9408 net/wireless/nl80211.c int band, i; band 9410 net/wireless/nl80211.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 9413 net/wireless/nl80211.c sband = wiphy->bands[band]; band 9419 net/wireless/nl80211.c mcast_rate[band] = i + 1; band 9517 net/wireless/nl80211.c wiphy->bands[ibss.chandef.chan->band]; band 11084 net/wireless/nl80211.c sband = rdev->wiphy.bands[setup.chandef.chan->band]; band 11100 net/wireless/nl80211.c err = validate_beacon_tx_rate(rdev, setup.chandef.chan->band, band 11241 net/wireless/nl80211.c rssi_adjust.band = req->rssi_adjust.band; band 13393 net/wireless/nl80211.c if (chandef.chan->band == NL80211_BAND_2GHZ && band 45 net/wireless/of.c enum nl80211_band band; band 51 net/wireless/of.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 52 net/wireless/of.c struct ieee80211_supported_band *sband = wiphy->bands[band]; band 37 net/wireless/pmsr.c switch (out->chandef.chan->band) { band 1934 net/wireless/reg.c sband = wiphy->bands[reg_beacon->chan.band]; band 1972 net/wireless/reg.c if (!wiphy->bands[reg_beacon->chan.band]) band 1975 net/wireless/reg.c sband = wiphy->bands[reg_beacon->chan.band]; band 1991 net/wireless/reg.c if (!wiphy->bands[reg_beacon->chan.band]) band 1993 net/wireless/reg.c sband = wiphy->bands[reg_beacon->chan.band]; band 2026 net/wireless/reg.c struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; band 2093 net/wireless/reg.c enum nl80211_band band; band 2098 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) band 2099 net/wireless/reg.c reg_process_ht_flags_band(wiphy, wiphy->bands[band]); band 2220 net/wireless/reg.c enum nl80211_band band; band 2239 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) band 2240 net/wireless/reg.c handle_band(wiphy, initiator, wiphy->bands[band]); band 2342 net/wireless/reg.c enum nl80211_band band; band 2349 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2350 net/wireless/reg.c if (!wiphy->bands[band]) band 2352 net/wireless/reg.c handle_band_custom(wiphy, wiphy->bands[band], regd); band 2684 net/wireless/reg.c int i, j, band; band 2689 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2690 net/wireless/reg.c dst_sband = dst_wiphy->bands[band]; band 2691 net/wireless/reg.c src_sband = src_wiphy->bands[band]; band 2858 net/wireless/reg.c enum nl80211_band band; band 2876 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) band 2877 net/wireless/reg.c handle_band_custom(wiphy, wiphy->bands[band], regd); band 3035 net/wireless/reg.c void regulatory_hint_country_ie(struct wiphy *wiphy, enum nl80211_band band, band 3135 net/wireless/reg.c enum nl80211_band band; band 3139 net/wireless/reg.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 3140 net/wireless/reg.c sband = wiphy->bands[band]; band 3353 net/wireless/reg.c (beacon_chan->band == NL80211_BAND_2GHZ && band 112 net/wireless/reg.h enum nl80211_band band, band 867 net/wireless/scan.c enum nl80211_band band, band 876 net/wireless/scan.c if (band == NL80211_BAND_60GHZ) { band 932 net/wireless/scan.c bss->pub.channel->band, bss_type)) band 1326 net/wireless/scan.c freq = ieee80211_channel_to_frequency(channel_number, channel->band); band 1329 net/wireless/scan.c if (channel->band == NL80211_BAND_2GHZ) { band 1443 net/wireless/scan.c if (channel->band == NL80211_BAND_60GHZ) { band 1862 net/wireless/scan.c if (channel->band == NL80211_BAND_60GHZ) { band 2042 net/wireless/scan.c bss->pub.channel->band, band 2124 net/wireless/scan.c enum nl80211_band band; band 2168 net/wireless/scan.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 2171 net/wireless/scan.c if (!wiphy->bands[band]) band 2174 net/wireless/scan.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { band 2176 net/wireless/scan.c if (wiphy->bands[band]->channels[j].flags & band 2186 net/wireless/scan.c int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; band 2200 net/wireless/scan.c creq->channels[i] = &wiphy->bands[band]->channels[j]; band 88 net/wireless/sme.c enum nl80211_band band = wdev->conn->params.channel->band; band 90 net/wireless/sme.c wdev->wiphy->bands[band]; band 97 net/wireless/sme.c request->rates[band] = (1 << sband->n_bitrates) - 1; band 100 net/wireless/sme.c enum nl80211_band band; band 104 net/wireless/sme.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 105 net/wireless/sme.c bands = wdev->wiphy->bands[band]; band 114 net/wireless/sme.c request->rates[band] = (1 << bands->n_bitrates) - 1; band 782 net/wireless/sme.c regulatory_hint_country_ie(wdev->wiphy, cr->bss->channel->band, band 114 net/wireless/trace.h #define CHAN_ENTRY __field(enum nl80211_band, band) \ band 119 net/wireless/trace.h __entry->band = chan->band; \ band 122 net/wireless/trace.h __entry->band = 0; \ band 127 net/wireless/trace.h #define CHAN_PR_ARG __entry->band, __entry->center_freq band 129 net/wireless/trace.h #define CHAN_DEF_ENTRY __field(enum nl80211_band, band) \ band 137 net/wireless/trace.h __entry->band = (chandef)->chan->band; \ band 144 net/wireless/trace.h __entry->band = 0; \ band 153 net/wireless/trace.h #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \ band 57 net/wireless/util.c if (sband->band == NL80211_BAND_2GHZ) { band 75 net/wireless/util.c int ieee80211_channel_to_frequency(int chan, enum nl80211_band band) band 81 net/wireless/util.c switch (band) { band 133 net/wireless/util.c enum nl80211_band band; band 137 net/wireless/util.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 138 net/wireless/util.c sband = wiphy->bands[band]; band 157 net/wireless/util.c switch (sband->band) { band 214 net/wireless/util.c enum nl80211_band band; band 216 net/wireless/util.c for (band = 0; band < NUM_NL80211_BANDS; band++) band 217 net/wireless/util.c if (wiphy->bands[band]) band 218 net/wireless/util.c set_mandatory_flags_band(wiphy->bands[band]); band 1512 net/wireless/util.c enum nl80211_band *band) band 1518 net/wireless/util.c *band = NL80211_BAND_5GHZ; band 1521 net/wireless/util.c *band = NL80211_BAND_6GHZ; band 1527 net/wireless/util.c *band = NL80211_BAND_2GHZ; band 1530 net/wireless/util.c *band = NL80211_BAND_60GHZ; band 1890 net/wireless/util.c enum nl80211_band band; band 1893 net/wireless/util.c for (band = 0; band < NUM_NL80211_BANDS; band++) band 1894 net/wireless/util.c if (wiphy->bands[band]) band 1895 net/wireless/util.c n_channels += wiphy->bands[band]->n_channels; band 113 net/wireless/wext-compat.c enum nl80211_band band; band 185 net/wireless/wext-compat.c for (band = 0; band < NUM_NL80211_BANDS; band ++) { band 188 net/wireless/wext-compat.c sband = wdev->wiphy->bands[band]; band 235 net/wireless/wext-compat.c enum nl80211_band band = NL80211_BAND_2GHZ; band 239 net/wireless/wext-compat.c band = NL80211_BAND_5GHZ; band 240 net/wireless/wext-compat.c return ieee80211_channel_to_frequency(freq->m, band); band 1207 net/wireless/wext-compat.c int band, ridx; band 1225 net/wireless/wext-compat.c for (band = 0; band < NUM_NL80211_BANDS; band++) { band 1226 net/wireless/wext-compat.c sband = wdev->wiphy->bands[band]; band 1232 net/wireless/wext-compat.c mask.control[band].legacy = 1 << ridx; band 1237 net/wireless/wext-compat.c mask.control[band].legacy |= 1 << ridx; band 1342 sound/pci/asihpi/asihpi.c u16 band; band 1926 sound/pci/asihpi/asihpi.c u16 band, idx; band 1933 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_tuner_get_band(h_control, &band)); band 1937 sound/pci/asihpi/asihpi.c if (tuner_bands[idx] == band) { band 1953 sound/pci/asihpi/asihpi.c u16 band; band 1963 sound/pci/asihpi/asihpi.c band = tuner_bands[idx]; band 1964 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_tuner_set_band(h_control, band)); band 1418 sound/pci/asihpi/hpi.h u16 hpi_tuner_set_band(u32 h_control, u16 band); band 1423 sound/pci/asihpi/hpi.h const u16 band, u32 *pfreq); band 1448 sound/pci/asihpi/hpi.h const u16 band, u32 *pdeemphasis); band 839 sound/pci/asihpi/hpi_internal.h u32 band; band 865 sound/pci/asihpi/hpi_internal.h u32 band; band 1297 sound/pci/asihpi/hpi_internal.h u16 band; band 387 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.tuner.band; band 2495 sound/pci/asihpi/hpifunc.c u16 hpi_tuner_set_band(u32 h_control, u16 band) band 2497 sound/pci/asihpi/hpifunc.c return hpi_control_param_set(h_control, HPI_TUNER_BAND, band, 0); band 2502 sound/pci/asihpi/hpifunc.c u32 band = 0; band 2505 sound/pci/asihpi/hpifunc.c error = hpi_control_param1_get(h_control, HPI_TUNER_BAND, &band); band 2507 sound/pci/asihpi/hpifunc.c *pw_band = (u16)band; band 2512 sound/pci/asihpi/hpifunc.c const u16 band, u32 *pfreq) band 2514 sound/pci/asihpi/hpifunc.c return hpi_control_query(h_tuner, HPI_TUNER_FREQ, index, band, pfreq); band 2588 sound/pci/asihpi/hpifunc.c const u16 band, u32 *pdeemphasis) band 2590 sound/pci/asihpi/hpifunc.c return hpi_control_query(h_tuner, HPI_TUNER_DEEMPHASIS, index, band, band 68 sound/soc/codecs/cx2072x.c u8 band; band 310 sound/soc/codecs/max98088.c unsigned int band, u16 *coefs) band 315 sound/soc/codecs/max98088.c if (WARN_ON(band > 4) || band 323 sound/soc/codecs/max98088.c eq_reg += band * (M98088_COEFS_PER_BAND << 1); band 252 sound/soc/codecs/max98095.c unsigned int band, u16 *coefs) band 257 sound/soc/codecs/max98095.c if (WARN_ON(band > 4) || band 265 sound/soc/codecs/max98095.c eq_reg += band * (M98095_COEFS_PER_BAND << 1); band 278 sound/soc/codecs/max98095.c unsigned int band, u16 *coefs) band 283 sound/soc/codecs/max98095.c if (WARN_ON(band > 1) || band 291 sound/soc/codecs/max98095.c bq_reg += band * (M98095_COEFS_PER_BAND << 1); band 140 sound/soc/mediatek/common/mtk-btcvsd.c enum BT_SCO_BAND band; band 323 sound/soc/mediatek/common/mtk-btcvsd.c enum BT_SCO_BAND band = bt->band; band 326 sound/soc/mediatek/common/mtk-btcvsd.c if (band == BT_SCO_NB) band 337 sound/soc/mediatek/common/mtk-btcvsd.c __func__, band, num_valid_addr); band 1089 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->band; band 1103 sound/soc/mediatek/common/mtk-btcvsd.c bt->band = ucontrol->value.integer.value[0]; band 1104 sound/soc/mediatek/common/mtk-btcvsd.c dev_dbg(bt->dev, "%s(), band %d\n", __func__, bt->band);