Lines Matching +full:channel +full:- +full:7
1 /* SPDX-License-Identifier: ISC */
48 #define MT_EE_WIFI_CONF0_BAND_SEL GENMASK(7, 6)
49 #define MT_EE_WIFI_CONF1_BAND_SEL GENMASK(7, 6)
50 #define MT_EE_WIFI_CONF_STREAM_NUM GENMASK(7, 5)
59 #define MT_EE_RATE_DELTA_EN BIT(7)
103 mt7915_get_channel_group_5g(int channel, bool is_7976) in mt7915_get_channel_group_5g() argument
106 if (channel <= 64) in mt7915_get_channel_group_5g()
108 if (channel <= 96) in mt7915_get_channel_group_5g()
110 if (channel <= 128) in mt7915_get_channel_group_5g()
112 if (channel <= 144) in mt7915_get_channel_group_5g()
117 if (channel >= 184 && channel <= 196) in mt7915_get_channel_group_5g()
119 if (channel <= 48) in mt7915_get_channel_group_5g()
121 if (channel <= 64) in mt7915_get_channel_group_5g()
123 if (channel <= 96) in mt7915_get_channel_group_5g()
125 if (channel <= 112) in mt7915_get_channel_group_5g()
127 if (channel <= 128) in mt7915_get_channel_group_5g()
129 if (channel <= 144) in mt7915_get_channel_group_5g()
131 return 7; in mt7915_get_channel_group_5g()
135 mt7915_get_channel_group_6g(int channel) in mt7915_get_channel_group_6g() argument
137 if (channel <= 29) in mt7915_get_channel_group_6g()
140 return DIV_ROUND_UP(channel - 29, 32); in mt7915_get_channel_group_6g()
146 u8 *eep = dev->mt76.eeprom.data; in mt7915_tssi_enabled()
147 u8 val = eep[MT_EE_WIFI_CONF + 7]; in mt7915_tssi_enabled()
152 if (dev->dbdc_support) in mt7915_tssi_enabled()