Searched refs:channel_6g (Results 1 – 1 of 1) sorted by relevance
1899 static u8 rtw89_channel_6g_to_idx(struct rtw89_dev *rtwdev, u8 channel_6g) in rtw89_channel_6g_to_idx() argument1901 switch (channel_6g) { in rtw89_channel_6g_to_idx()1903 return (channel_6g - 1) / 2; in rtw89_channel_6g_to_idx()1905 return (channel_6g - 3) / 2; in rtw89_channel_6g_to_idx()1907 return (channel_6g - 5) / 2; in rtw89_channel_6g_to_idx()1909 return (channel_6g - 7) / 2; in rtw89_channel_6g_to_idx()1911 return (channel_6g - 9) / 2; in rtw89_channel_6g_to_idx()1913 return (channel_6g - 11) / 2; in rtw89_channel_6g_to_idx()1915 return (channel_6g - 13) / 2; in rtw89_channel_6g_to_idx()1917 return (channel_6g - 15) / 2; in rtw89_channel_6g_to_idx()[all …]