Lines Matching refs:center_ch
404 channel_low_edge(uint center_ch, uint bw) in channel_low_edge() argument
406 return (uint8)(center_ch - center_chan_to_edge(bw)); in channel_low_edge()
413 channel_to_sb(uint center_ch, uint ctl_ch, uint bw) in channel_to_sb() argument
415 uint lowest = channel_low_edge(center_ch, bw); in channel_to_sb()
436 channel_to_ctl_chan(uint center_ch, uint bw, uint sb) in channel_to_ctl_chan() argument
438 return (uint8)(channel_low_edge(center_ch, bw) + sb * 4); in channel_to_ctl_chan()
712 const uint8 *center_ch = NULL; in wf_chspec_aton() local
717 center_ch = wf_5g_40m_chans; in wf_chspec_aton()
720 center_ch = wf_5g_80m_chans; in wf_chspec_aton()
723 center_ch = wf_5g_160m_chans; in wf_chspec_aton()
730 sb = channel_to_sb(center_ch[i], ctl_ch, bw); in wf_chspec_aton()
732 chspec_ch = center_ch[i]; in wf_chspec_aton()
884 const uint8 *center_ch; in wf_chspec_valid() local
888 center_ch = wf_5g_40m_chans; in wf_chspec_valid()
891 center_ch = wf_5g_80m_chans; in wf_chspec_valid()
894 center_ch = wf_5g_160m_chans; in wf_chspec_valid()
908 if (chspec_ch == (uint)LOWER_20_SB(center_ch[i]) || in wf_chspec_valid()
909 chspec_ch == (uint)UPPER_20_SB(center_ch[i])) in wf_chspec_valid()
928 if (chspec_ch == center_ch[i]) in wf_chspec_valid()
1013 const uint8 *center_ch = NULL; in wf_channel2chspec() local
1023 center_ch = wf_5g_40m_chans; in wf_channel2chspec()
1027 center_ch = wf_5g_80m_chans; in wf_channel2chspec()
1031 center_ch = wf_5g_160m_chans; in wf_channel2chspec()
1042 sb = channel_to_sb(center_ch[i], ctl_ch, bw); in wf_channel2chspec()
1044 chspec |= center_ch[i]; in wf_channel2chspec()