Lines Matching +full:1 +full:ghz
62 * [<band> 'g'] <channel> ['/'<bandwidth> [<primary-sideband>]['/'<1st80channel>'-'<2nd80channel>]]
65 * (optional) 2, 3, 4, 5 for 2.4GHz, 3GHz, 4GHz, and 5GHz respectively.
73 * (only for 2.4GHz band 40MHz) U for upper sideband primary, L for lower.
75 * For 2.4GHz band 40MHz channels, the same primary channel may be the
80 * For 40MHz in the 5GHz band and all channel bandwidths greater than
85 * <1st80Channel>:
91 * of 2.4GHz if channel number <= 14, and 5GHz otherwise.
97 * primary channel of 40MHz, channel <= 14 is 2GHz, otherwise 5GHz
101 * 5 GHz Examples:
115 * 2 GHz Examples:
145 /* 40MHz channels in 5GHz band */
151 /* 80MHz channels in 5GHz band */
157 /* 160MHz channels in 5GHz band */
163 /* opclass and channel information for US. Table E-1 */
240 * return -1 on error
250 return -1; in channel_to_sb()
258 return -1; in channel_to_sb()
272 * return -1 on error
283 return -1; in channel_80mhz_to_id()
380 return 1; in read_uint()
561 int sb = -1; in wf_chspec_aton_ex()
609 /* is the primary channel contained in the 1st 80MHz channel? */ in wf_chspec_aton_ex()
716 if (chspec_ch >= 1 && chspec_ch <= 14) in wf_chspec_valid()
923 int sb = -1; in wf_channel2chspec()
1011 * If the given base frequency is zero, a base frequency of 5 GHz is assumed for
1012 * frequencies from 5 - 6 GHz, and 2.407 GHz is assumed for 2.4 - 2.5 GHz.
1017 * 2.4 GHz and 5 GHz bands.
1019 * The returned channel will be in the range [1, 14] in the 2.4 GHz band
1021 * -1 is returned if the start_factor is WF_CHAN_FACTOR_2_4_G and the
1022 * frequency is not a 2.4 GHz channel, or if the frequency is not and even
1023 * multiple of 5 MHz from the base frequency to the base plus 1 GHz.
1030 int ch = -1; in wf_mhz2channel()
1047 /* check that the frequency is in 1GHz range of the base */ in wf_mhz2channel()
1049 return -1; in wf_mhz2channel()
1056 return -1; in wf_mhz2channel()
1059 if (start_factor == WF_CHAN_FACTOR_2_4_G && (ch < 1 || ch > 13)) in wf_mhz2channel()
1060 return -1; in wf_mhz2channel()
1069 * The valid channel range is [1, 14] in the 2.4 GHz band and [0, 200] otherwise.
1072 * are defined for 2.4 GHz, 4 GHz, and 5 GHz bands.
1073 * The channel range of [1, 14] is only checked for a start_factor of
1077 * -1 is returned for an out of range channel.
1086 if ((start_factor == WF_CHAN_FACTOR_2_4_G && (ch < 1 || ch > 14)) || in wf_channel2mhz()
1088 freq = -1; in wf_channel2mhz()
1164 if (chan0_id == -1 || chan1_id == -1) in wf_chspec_get8080_chspec()
1167 /* does the primary channel fit with the 1st 80MHz channel ? */ in wf_chspec_get8080_chspec()
1170 /* yes, so chan0 is frequency segment 0, and chan1 is seg 1 */ in wf_chspec_get8080_chspec()
1180 /* swapped, so chan1 is frequency segment 0, and chan0 is seg 1 */ in wf_chspec_get8080_chspec()
1341 * For 160MHz or 80P80 chanspec, set ch[0]/ch[1] to be the low/high 80 Mhz channels
1343 * For 20/40/80MHz chanspec, set ch[0] to be the center freq, and chan[1]=-1
1351 ch[1] = wf_chspec_get80Mhz_ch(CHSPEC_CHAN2(chspec)); in wf_chspec_get_80p80_channels()
1356 ch[1] = center_chan + CH_40MHZ_APART; in wf_chspec_get_80p80_channels()
1361 ch[1] = 0xFFu; in wf_chspec_get_80p80_channels()
1391 lookupindex = 1; in wf_channel_create_chspec_frm_opclass()
1422 opclass_info = opclass_data[lookupindex-1]; in wf_channel_create_chspec_frm_opclass()
1459 (pext)[1] = pri_ch + (uint8)(IS_CTL_IN_L20(t) ? CH_20MHZ_APART : -CH_20MHZ_APART); in wf_get_all_ext()