• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/shared/

Lines Matching defs:band

49  * <channel><band><bandwidth><ctl-sideband>
54 * <band>: A for 5GHz, B for 2.4GHz
59 * <band> may be omitted on input, and will be assumed to be
66 * 8a -> 5GHz channel 8 (low 5 GHz band), 20MHz
82 const char *band, *bw, *sb;
85 band = "";
89 /* check for non-default band spec */
92 band = (CHSPEC_IS2G(chspec)) ? "b" : "a";
106 snprintf(buf, 6, "%d%s%s%s", channel, band, bw, sb);
117 uint channel, band, bw, ctl_sb;
129 band = ((channel <= CH_MAX_2G_CHANNEL) ? WL_CHANSPEC_BAND_2G : WL_CHANSPEC_BAND_5G);
139 /* parse the optional ['A' | 'B'] band spec */
141 band = (c == 'a') ? WL_CHANSPEC_BAND_5G : WL_CHANSPEC_BAND_2G;
154 /* adjust channel to center of 40MHz band */
162 /* adjust channel to center of 40MHz band */
172 return (channel | band | bw | ctl_sb);
177 * chanspec specified a band, bw, ctl_sb and channel and that the
184 /* must be 2G or 5G band */
220 * side band information to reconstruct the control channel number
263 * [<band> 'g'] <channel> ['/'<bandwidth> [<ctl-sideband>]['/'<1st80channel>'-'<2nd80channel>]]
265 * <band>:
274 * (only for 2.4GHz band 40MHz) U for upper sideband primary, L for lower.
276 * For 2.4GHz band 40MHz channels, the same primary channel may be the
281 * For 40MHz in the 5GHz band and all channel bandwidths greater than
283 * non-overlapping and the primary sub-band is derived from its
289 * Specifies the center channel of the first and second 80MHz band.
291 * In its simplest form, it is a 20MHz channel number, with the implied band
346 /* 40MHz channels in 5GHz band */
352 /* 80MHz channels in 5GHz band */
358 /* 160MHz channels in 5GHz band */
376 * the channel at the edge of the band
388 /* return channel number of the low edge of the band
397 /* return side band number given center channel and control channel
422 /* return control channel given center channel and side band */
452 const char *band;
458 band = "";
460 /* check for non-default band spec */
463 band = (CHSPEC_IS2G(chspec)) ? "2g" : "5g";
470 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, ctl_chan);
483 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, ctl_chan, bw, sb);
488 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, ctl_chan, sb);
490 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, ctl_chan, bw);
546 /* parse channel num or band */
550 /* if we are looking at a 'g', then the first number was a band */
555 /* band must be "2" or "5" */
570 /* first number is channel, use default for band */
612 /* So far we have <band>g<chan>/<bw>
777 * chanspec specified a band, bw, ctl_sb and channel and that the
787 /* must be 2G or 5G band */
818 /* must be 2G or 5G band */
822 /* side band needs to be consistent with bandwidth */
1040 * The returned channel will be in the range [1, 14] in the 2.4 GHz band
1090 * The valid channel range is [1, 14] in the 2.4 GHz band and [0, 200] otherwise.