Searched refs:ch_group_index (Results 1 – 3 of 3) sorted by relevance
88 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local99 ch_group_index = 0; in mt76x2u_phy_set_channel()102 ch_group_index = 1; in mt76x2u_phy_set_channel()104 channel += 2 - ch_group_index * 4; in mt76x2u_phy_set_channel()107 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()108 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2u_phy_set_channel()109 ch_group_index = 0; in mt76x2u_phy_set_channel()111 bw_index = ch_group_index; in mt76x2u_phy_set_channel()112 channel += 6 - ch_group_index * 4; in mt76x2u_phy_set_channel()117 ch_group_index = 0; in mt76x2u_phy_set_channel()[all …]
147 int ch_group_index; in mt76x2_phy_set_channel() local162 ch_group_index = 0; in mt76x2_phy_set_channel()165 ch_group_index = 1; in mt76x2_phy_set_channel()167 channel += 2 - ch_group_index * 4; in mt76x2_phy_set_channel()170 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()171 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2_phy_set_channel()172 ch_group_index = 0; in mt76x2_phy_set_channel()174 bw_index = ch_group_index; in mt76x2_phy_set_channel()175 channel += 6 - ch_group_index * 4; in mt76x2_phy_set_channel()180 ch_group_index = 0; in mt76x2_phy_set_channel()[all …]
937 int ch_group_index, freq, freq1; in mt76x0_phy_set_channel() local950 ch_group_index = 0; in mt76x0_phy_set_channel()952 ch_group_index = 1; in mt76x0_phy_set_channel()953 channel += 2 - ch_group_index * 4; in mt76x0_phy_set_channel()957 ch_group_index = (freq - freq1 + 30) / 20; in mt76x0_phy_set_channel()958 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x0_phy_set_channel()959 ch_group_index = 0; in mt76x0_phy_set_channel()960 channel += 6 - ch_group_index * 4; in mt76x0_phy_set_channel()964 ch_group_index = 0; in mt76x0_phy_set_channel()979 mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); in mt76x0_phy_set_channel()[all …]