Lines Matching +full:4 +full:- +full:channel
1 /* SPDX-License-Identifier: ISC */
52 #define MT_EE_WIFI_CONF3_TX_PATH_B1 GENMASK(5, 4)
55 #define MT_EE_WIFI_CONF7_TSSI1_5G BIT(4)
61 #define MT_EE_NSS_MAX_MA7915 4
63 #define MT_EE_NSS_MAX_MA7986 4
64 #define MT_EE_NSS_MAX_DBDC_MA7986 4
108 mt7915_get_channel_group_5g(int channel, bool is_7976) in mt7915_get_channel_group_5g() argument
111 if (channel <= 64) in mt7915_get_channel_group_5g()
113 if (channel <= 96) in mt7915_get_channel_group_5g()
115 if (channel <= 128) in mt7915_get_channel_group_5g()
117 if (channel <= 144) in mt7915_get_channel_group_5g()
119 return 4; in mt7915_get_channel_group_5g()
122 if (channel >= 184 && channel <= 196) in mt7915_get_channel_group_5g()
124 if (channel <= 48) in mt7915_get_channel_group_5g()
126 if (channel <= 64) in mt7915_get_channel_group_5g()
128 if (channel <= 96) in mt7915_get_channel_group_5g()
130 if (channel <= 112) in mt7915_get_channel_group_5g()
131 return 4; in mt7915_get_channel_group_5g()
132 if (channel <= 128) in mt7915_get_channel_group_5g()
134 if (channel <= 144) in mt7915_get_channel_group_5g()
140 mt7915_get_channel_group_6g(int channel) in mt7915_get_channel_group_6g() argument
142 if (channel <= 29) in mt7915_get_channel_group_6g()
145 return DIV_ROUND_UP(channel - 29, 32); in mt7915_get_channel_group_6g()
151 u8 *eep = dev->mt76.eeprom.data; in mt7915_tssi_enabled()
157 if (dev->dbdc_support) in mt7915_tssi_enabled()