Lines Matching +full:channel +full:- +full:7
1 /* SPDX-License-Identifier: ISC */
58 #define MT_EE_WIFI_CONF0_BAND_SEL GENMASK(7, 6)
59 #define MT_EE_WIFI_CONF1_BAND_SEL GENMASK(7, 6)
60 #define MT_EE_WIFI_CONF_STREAM_NUM GENMASK(7, 5)
69 #define MT_EE_RATE_DELTA_EN BIT(7)
113 mt7915_get_channel_group_5g(int channel, bool is_7976) in mt7915_get_channel_group_5g() argument
116 if (channel <= 64) in mt7915_get_channel_group_5g()
118 if (channel <= 96) in mt7915_get_channel_group_5g()
120 if (channel <= 128) in mt7915_get_channel_group_5g()
122 if (channel <= 144) in mt7915_get_channel_group_5g()
127 if (channel >= 184 && channel <= 196) in mt7915_get_channel_group_5g()
129 if (channel <= 48) in mt7915_get_channel_group_5g()
131 if (channel <= 64) in mt7915_get_channel_group_5g()
133 if (channel <= 96) in mt7915_get_channel_group_5g()
135 if (channel <= 112) in mt7915_get_channel_group_5g()
137 if (channel <= 128) in mt7915_get_channel_group_5g()
139 if (channel <= 144) in mt7915_get_channel_group_5g()
141 return 7; in mt7915_get_channel_group_5g()
145 mt7915_get_channel_group_6g(int channel) in mt7915_get_channel_group_6g() argument
147 if (channel <= 29) in mt7915_get_channel_group_6g()
150 return DIV_ROUND_UP(channel - 29, 32); in mt7915_get_channel_group_6g()
156 u8 *eep = dev->mt76.eeprom.data; in mt7915_tssi_enabled()
157 u8 offs = is_mt7981(&dev->mt76) ? 8 : 7; in mt7915_tssi_enabled()
163 if (dev->dbdc_support) in mt7915_tssi_enabled()
172 u8 *eep = dev->mt76.eeprom.data; in mt7915_get_cal_group_size()
175 if (is_mt7915(&dev->mt76)) { in mt7915_get_cal_group_size()
177 } else if (is_mt7916(&dev->mt76)) { in mt7915_get_cal_group_size()
192 if (is_mt7915(&dev->mt76)) in mt7915_get_cal_dpd_size()
194 else if (is_mt7981(&dev->mt76)) in mt7915_get_cal_dpd_size()