Lines Matching full:mhz
29 /* A chanspec holds the channel number, band, bandwidth and primary 20MHz sub-band */
40 #define CH_5MHZ_APART 1u /* 2G band channels are 5 Mhz apart */
41 #define CH_160MHZ_APART (32u * CH_5MHZ_APART) /* 32 5Mhz-spaces */
45 #define CH_MIN_2G_40M_CHANNEL 3u /* Min 40MHz center channel in 2G band */
46 #define CH_MAX_2G_40M_CHANNEL 11u /* Max 40MHz center channel in 2G band */
48 #define CH_MIN_6G_CHANNEL 1u /* Min 20MHz channel in 6G band */
49 #define CH_MAX_6G_CHANNEL 253u /* Max 20MHz channel in 6G band */
50 #define CH_MIN_6G_40M_CHANNEL 3u /* Min 40MHz center channel in 6G band */
51 #define CH_MAX_6G_40M_CHANNEL 227u /* Max 40MHz center channel in 6G band */
52 #define CH_MIN_6G_80M_CHANNEL 7u /* Min 80MHz center channel in 6G band */
53 #define CH_MAX_6G_80M_CHANNEL 215u /* Max 80MHz center channel in 6G band */
54 #define CH_MIN_6G_160M_CHANNEL 15u /* Min 160MHz center channel in 6G band */
55 #define CH_MAX_6G_160M_CHANNEL 207u /* Max 160MHz center channel in 6G band */
56 #define CH_MIN_6G_240M_CHANNEL 23u /* Min 240MHz center channel in 6G band */
57 #define CH_MAX_6G_240M_CHANNEL 167u /* Max 240MHz center channel in 6G band */
58 #define CH_MIN_6G_320M_CHANNEL 31u /* Min 320MHz center channel in 6G band */
59 #define CH_MAX_6G_320M_CHANNEL 199u /* Max 320MHz center channel in 6G band */
97 /* For contiguous channel bandwidth other than 240MHz/320Mhz */
101 /* For contiguous channel bandwidth >= 240MHz */
111 /* Non-320/Non-240 Mhz channel sideband indication */
132 /* channel sideband indication for frequency >= 240MHz */
171 /* pass a 80MHz channel number (uint8) to get respective LL, UU, LU, UL */
238 /* pass a center channel and get channel offset from it by 10MHz */
249 /* pass a 160MHz center channel to get 20MHz subband channel numbers */
259 /* get lowest 20MHz sideband of a given chspec
268 /* get upper most 20MHz sideband of a given chspec
277 /* call this with chspec and a valid 20MHz sideband of this channel to get the next 20MHz sideband
296 /* get lowest 20MHz sideband of a given chspec
303 /* get upper most 20MHz sideband of a given chspec
311 /* call this with chspec and a valid 20MHz sideband of this channel to get the next 20MHz sideband
321 /* Iterator for 20MHz side bands of a chanspec: (chanspec_t chspec, uint8 channel)
454 * chan_freq = chan_factor * 500Mhz + chan_number * 5
459 * The value corresponds to 2407 MHz.
461 #define WF_CHAN_FACTOR_2_4_G 4814u /* 2.4 GHz band, 2407 MHz */
465 * The value corresponds to 4000 MHz.
471 * The value corresponds to 5000 MHz.
473 #define WF_CHAN_FACTOR_5_G 10000u /* 5 GHz band, 5000 MHz */
477 * The value corresponds to 5940 MHz.
479 #define WF_CHAN_FACTOR_6_G 11900u /* 6 GHz band, 5950 MHz */
484 * No of sub-band value of the specified Mhz chanspec
491 * Return the chanspec bandwidth in MHz
526 * Verify that the channel is a valid 20MHz channel according to 802.11.
531 * Verify that the center channel is a valid 40MHz center channel according to 802.11.
536 * Verify that the center channel is a valid 80MHz center channel according to 802.11.
541 * Verify that the center channel is a valid 160MHz center channel according to 802.11.
546 * Verify that the center channel is a valid 240MHz center channel according to 802.11.
551 * Verify that the center channel is a valid 320MHz center channel according to 802.11.
556 * Create a 20MHz chanspec for the given band.
561 * Returns the chanspec for a 40MHz channel given the primary 20MHz channel number,
568 * Returns the chanspec for a 40MHz channel given the primary 20MHz channel number,
569 * the sub-band for the primary 20MHz channel, and the band.
575 * Returns the chanspec for an 80MHz channel given the primary 20MHz channel number,
582 * Returns the chanspec for an 160MHz channel given the primary 20MHz channel number,
589 * Returns the chanspec for an 240MHz channel given the primary 20MHz channel number,
596 * Returns the chanspec for an 320MHz channel given the primary 20MHz channel number,
603 * Returns the chanspec for an 80+80MHz channel given the primary 20MHz channel number,
610 * Returns the chanspec for an 160+160MHz channel given the primary 20MHz channel number,
616 * Returns the chanspec given the primary 20MHz channel number,
619 * The channel width must be 20, 40, 80, or 160 MHz.
625 * Returns the chanspec given the primary 20MHz channel number,
632 * Returns the chanspec given the index of primary 20MHz channel within whole
635 * The channel width must be 20, 40, 80, or 160 MHz.
641 * Returns the chanspec for an 160+160MHz channel given the index of primary 20MHz
649 * Return the primary 20MHz channel.
657 * Return the primary 20MHz chanspec of a given chanspec
665 * Return the primary 40MHz chanspec for a 40MHz or wider channel
675 * Return the center frequency in MHz of the given channel and base frequency.
680 * Returns the chanspec 80Mhz channel corresponding to the following input
683 * primary_channel - primary 20Mhz channel
684 * center_channel - center frequecny of the 80Mhz channel
704 * Returns the 80+80 MHz chanspec corresponding to the following input parameters
706 * primary_20mhz - Primary 20 MHz channel
711 * The primary channel must be contained in one of the 80MHz channels. This routine
712 * will determine which frequency segment is the primary 80 MHz segment.
722 * Returns the center channel of the primary 80 MHz sub-band of the provided chanspec
726 * @return center channel number of the primary 80MHz sub-band of the input.
727 * Will return the center channel of an input 80MHz chspec.
728 * Will return INVCHANNEL if the chspec is malformed or less than 80MHz bw.
733 * Returns the center channel of the secondary 80 MHz sub-band of the provided chanspec
737 * @return center channel number of the secondary 80MHz sub-band of the input.
738 * Will return INVCHANNEL if the chspec is malformed or bw is not greater than 80MHz.
743 * Returns the chanspec for the primary 80MHz sub-band of an 160MHz or 80+80 channel
747 * @return An 80MHz chanspec describing the primary 80MHz sub-band of the input.
748 * Will return an input 80MHz chspec as is.
749 * Will return INVCHANSPEC if the chspec is malformed or less than 80MHz bw.
754 * Returns the chanspec for the secondary 80MHz sub-band of an 160MHz or 80+80 channel
756 * does not contain the primary 20MHz channel.
760 * @return An 80MHz chanspec describing the secondary 80MHz sub-band of the input.
761 * Will return INVCHANSPEC if the chspec is malformed or bw is not greater than 80MHz.
766 * Returns the center channel of the primary 160MHz sub-band of the provided chanspec
770 * @return center channel number of the primary 160MHz sub-band of the input.
771 * Will return the center channel of an input 160MHz chspec.
772 * Will return INVCHANNEL if the chspec is malformed or less than 160MHz bw.
777 * Returns the chanspec for the primary 160MHz sub-band of an 320MHz channel
781 * @return An 160MHz chanspec describing the primary 160MHz sub-band of the input.
782 * Will return an input 160MHz chspec as is.
783 * Will return INVCHANSPEC if the chspec is malformed or less than 160MHz bw.
788 * For 160MHz or 80P80 chanspec, set ch[0]/ch[1] to be the low/high 80 Mhz channels
790 * For 20/40/80MHz chanspec, set ch[0] to be the center freq, and chan[1]=-1
866 /* Populates array with all 20MHz side bands of a given chanspec_t in the following order:
871 * Works with 20, 40, 80 and 160MHz chspec
878 * (Overlap: At least one 20MHz subband is common between the two chanspecs provided)