Searched refs:channel_6g (Results 1 – 1 of 1) sorted by relevance
1602 static u8 rtw89_channel_6g_to_idx(struct rtw89_dev *rtwdev, u8 channel_6g) in rtw89_channel_6g_to_idx() argument1604 switch (channel_6g) { in rtw89_channel_6g_to_idx()1606 return (channel_6g - 1) / 2; in rtw89_channel_6g_to_idx()1608 return (channel_6g - 3) / 2; in rtw89_channel_6g_to_idx()1610 return (channel_6g - 5) / 2; in rtw89_channel_6g_to_idx()1612 return (channel_6g - 7) / 2; in rtw89_channel_6g_to_idx()1614 return (channel_6g - 9) / 2; in rtw89_channel_6g_to_idx()1616 return (channel_6g - 11) / 2; in rtw89_channel_6g_to_idx()1618 return (channel_6g - 13) / 2; in rtw89_channel_6g_to_idx()1620 return (channel_6g - 15) / 2; in rtw89_channel_6g_to_idx()[all …]