Lines Matching full:center
82 * These fields specify the center channel of the first and the second 80MHz
97 * Chanspec BW Center Ch Channel Range Primary Ch
111 * Chanspec BW Center Ch Channel Range Primary Ch
212 /* bw in MHz, return the channel count from the center channel to the
243 * given the center channel and BW
251 /* return side band number given center channel and primary20 channel
284 /* return primary20 channel given center channel and side band */
312 /* The 6GHz center channels start at 7, and have a spacing of 16 */ in channel_6g_80mhz_to_id()
344 /* The 6GHz center channels start at 15, and have a spacing of 32 */ in channel_6g_160mhz_to_id()
360 /* The 6GHz center channels start at 23, and have a spacing of 48 */ in channel_6g_240mhz_to_id()
376 /* The 6GHz center channels start at 31, and have a spacing of 64 */ in channel_6g_320mhz_to_id()
387 * This function returns the the 6GHz 240MHz center channel for the given chanspec 240MHz ID
391 * @return Return the center channel number, or 0 on error.
400 /* The 6GHz center channels have a spacing of 48 in wf_chspec_6G_id240_to_ch()
401 * starting from the first 240MHz center in wf_chspec_6G_id240_to_ch()
409 /* Retrive the chan_id and convert it to center channel */
423 * This function returns the the 6GHz 320MHz center channel for the given chanspec 320MHz ID
427 * @return Return the center channel number, or 0 on error.
436 /* The 6GHz center channels have a spacing of 64 in wf_chspec_6G_id320_to_ch()
437 * starting from the first 320MHz center in wf_chspec_6G_id320_to_ch()
445 /* Retrive the chan_id and convert it to center channel */
709 * a center channel (or two) and sideband. in wf_chspec_aton()
891 * or the center channel for higher BW, in wf_chspec_valid()
892 * or both center channels for an 80+80MHz channel, in wf_chspec_valid()
1135 /* step through low then high primary sideband, then next 40 center channel */ in wf_chanspec_iter_next_2g()
1141 /* move to next 40M center and lower primary 20 */ in wf_chanspec_iter_next_2g()
1424 * Verify that the center channel is a valid 40MHz center channel according to 802.11.
1426 * @param center_channel 40MHz center channel to validate
1449 /* Use the simple pattern of 6GHz center channels */ in wf_valid_40MHz_center_chan()
1461 * Verify that the center channel is a valid 80MHz center channel according to 802.11.
1463 * @param center_channel 80MHz center channel to validate
1472 /* use the 80MHz ID lookup to validate the center channel */ in wf_valid_80MHz_center_chan()
1477 /* use the 80MHz ID lookup to validate the center channel */ in wf_valid_80MHz_center_chan()
1487 * Verify that the center channel is a valid 160MHz center channel according to 802.11.
1489 * @param center_channel 160MHz center channel to validate
1507 /* Use the simple pattern of 6GHz center channels */ in wf_valid_160MHz_center_chan()
1519 * Verify that the center channel is a valid 240MHz center channel according to 802.11.
1521 * @param center_channel 240MHz center channel to validate
1530 /* Use the simple pattern of 6GHz center channels */ in wf_valid_240MHz_center_chan()
1542 * Verify that the center channel is a valid 320MHz center channel according to 802.11.
1544 * @param center_channel 320MHz center channel to validate
1553 /* Use the simple pattern of 6GHz center channels */ in wf_valid_320MHz_center_chan()
1615 * the center channel number, and the band.
1618 * @param center_channel center channel of the 40MHz channel
1632 /* Calculate the sideband value for the center and primary channel. in wf_create_40MHz_chspec()
1637 /* return err if the sideband was bad or the center channel is not in wf_create_40MHz_chspec()
1668 /* find the center channel */ in wf_create_40MHz_chspec_primary_sb()
1682 * the center channel number, and the band.
1685 * @param center_channel center channel of the 80MHz channel
1699 /* Calculate the sideband value for the center and primary channel. in wf_create_80MHz_chspec()
1704 /* return err if the sideband was bad or the center channel is not in wf_create_80MHz_chspec()
1718 * the center channel number, and the band.
1721 * @param center_channel center channel of the 160MHz channel
1734 /* Calculate the sideband value for the center and primary channel. in wf_create_160MHz_chspec()
1739 /* return err if the sideband was bad or the center channel is not in wf_create_160MHz_chspec()
1753 * the center channel numbers for each frequency segment, and the band.
1756 * @param chan0 center channel number of one frequency segment
1757 * @param chan1 center channel number of the other frequency segment
1760 * Parameters chan0 and chan1 are valid 80 MHz center channel numbers for the given band.
1807 /* no match for pri_ch to either 80MHz center channel */ in wf_create_8080MHz_chspec()
1826 * the center channel numbers for each frequency segment, and the band.
1829 * @param chan0 center channel number of one frequency segment
1830 * @param chan1 center channel number of the other frequency segment
1833 * Parameters chan0 and chan1 are valid 160 MHz center channel numbers for the given band.
1880 /* no match for pri_ch to either 160MHz center channel */ in wf_create_160160MHz_chspec()
1899 * the center channel number, and the band.
1902 * @param chan center channel number
1925 /* Calculate the sideband value for the center and primary channel. in wf_create_240MHz_chspec()
1930 /* return err if the sideband was bad or the center channel is not in wf_create_240MHz_chspec()
1947 * the center channel number, and the band.
1950 * @param chan center channel number
1953 * Parameters chan is valid 320 MHz center channel numbers for the given band.
1976 /* Calculate the sideband value for the center and primary channel. in wf_create_320MHz_chspec()
1981 /* return err if the sideband was bad or the center channel is not in wf_create_320MHz_chspec()
1998 * the center channel number, channel width, and the band. The channel width
2004 * @param center_channel center channel of the channel
2008 * The center_channel can be one of the 802.11 spec valid center channels
2021 /* 20MHz channels have matching center and primary channels */ in wf_create_chspec()
2101 /* For 5GHz, use the lookup tables for valid 40/80/160 center channels in wf_create_chspec_from_primary()
2102 * and search for a center channel compatible with the given primary channel. in wf_create_chspec_from_primary()
2132 /* For 6GHz, use a formula to calculate the valid 40/80/160 center channel from in wf_create_chspec_from_primary()
2137 uint base, center; in wf_create_chspec_from_primary() local
2160 /* calculate the center channel from the base channel */ in wf_create_chspec_from_primary()
2161 center = base + center_chan_to_edge(bw); in wf_create_chspec_from_primary()
2163 chspec = wf_create_chspec(primary_channel, center, bw, band); in wf_create_chspec_from_primary()
2318 /* check for no matching sb/center */ in wf_channel2chspec()
2379 * @param freq frequency in MHz of the channel center
2476 * Return the center frequency in MHz of the given channel and base frequency.
2534 * center_channel - center frequecny of the 80Mhz channel
2568 * chan0 - center channel number of one frequency segment
2569 * chan1 - center channel number of the other frequency segment
2606 /* no match for pri_ch to either 80MHz center channel */ in wf_chspec_get8080_chspec()
2624 * Returns the center channel of the primary 80 MHz sub-band of the provided chanspec
2644 * Returns the center channel of the secondary 80 MHz sub-band of the provided chanspec
2743 * For 20/40/80MHz chanspec, set ch[0] to be the center freq, and chan[1]=-1
2764 * Returns the center channel of the primary 160MHz sub-band of the provided chanspec
2874 /* center 40MHz EXT */ in wf_get_all_ext()