Lines Matching refs:center_ch

234 channel_low_edge(uint center_ch, uint bw)  in channel_low_edge()  argument
236 return (uint8)(center_ch - center_chan_to_edge(bw)); in channel_low_edge()
243 channel_to_sb(uint center_ch, uint primary_ch, uint bw) in channel_to_sb() argument
245 uint lowest = channel_low_edge(center_ch, bw); in channel_to_sb()
266 channel_to_primary20_chan(uint center_ch, uint bw, uint sb) in channel_to_primary20_chan() argument
268 return (uint8)(channel_low_edge(center_ch, bw) + sb * 4); in channel_to_primary20_chan()
559 const uint8 *center_ch = NULL; in wf_chspec_aton_ex() local
564 center_ch = wf_5g_40m_chans; in wf_chspec_aton_ex()
567 center_ch = wf_5g_80m_chans; in wf_chspec_aton_ex()
570 center_ch = wf_5g_160m_chans; in wf_chspec_aton_ex()
577 sb = channel_to_sb(center_ch[i], pri_ch, bw); in wf_chspec_aton_ex()
579 chspec_ch = center_ch[i]; in wf_chspec_aton_ex()
734 const uint8 *center_ch; in wf_chspec_valid() local
738 center_ch = wf_5g_40m_chans; in wf_chspec_valid()
741 center_ch = wf_5g_80m_chans; in wf_chspec_valid()
744 center_ch = wf_5g_160m_chans; in wf_chspec_valid()
758 if (chspec_ch == (uint)LOWER_20_SB(center_ch[i]) || in wf_chspec_valid()
759 chspec_ch == (uint)UPPER_20_SB(center_ch[i])) in wf_chspec_valid()
778 if (chspec_ch == center_ch[i]) in wf_chspec_valid()
921 const uint8 *center_ch = NULL; in wf_channel2chspec() local
931 center_ch = wf_5g_40m_chans; in wf_channel2chspec()
935 center_ch = wf_5g_80m_chans; in wf_channel2chspec()
939 center_ch = wf_5g_160m_chans; in wf_channel2chspec()
950 sb = channel_to_sb(center_ch[i], pri_ch, bw); in wf_channel2chspec()
952 chspec |= center_ch[i]; in wf_channel2chspec()