Lines Matching refs:band
158 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config() local
161 val = eeprom[MT_EE_WIFI_CONF + band]; in mt7915_eeprom_parse_band_config()
181 val = band ? MT_EE_BAND_SEL_5GHZ : MT_EE_BAND_SEL_2GHZ; in mt7915_eeprom_parse_band_config()
203 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap() local
213 eeprom[MT_EE_WIFI_CONF + band]); in mt7915_eeprom_parse_hw_cap()
226 if (band) in mt7915_eeprom_parse_hw_cap()
231 eeprom[MT_EE_WIFI_CONF + 2 + band]); in mt7915_eeprom_parse_hw_cap()
243 if (band) in mt7915_eeprom_parse_hw_cap()
286 tssi_on = mt7915_tssi_enabled(dev, chan->band); in mt7915_eeprom_get_target_power()
289 if (chan->band == NL80211_BAND_2GHZ) { in mt7915_eeprom_get_target_power()
300 } else if (chan->band == NL80211_BAND_5GHZ) { in mt7915_eeprom_get_target_power()
323 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) in mt7915_eeprom_get_power_delta() argument
330 if (band == NL80211_BAND_2GHZ) in mt7915_eeprom_get_power_delta()
332 else if (band == NL80211_BAND_5GHZ) in mt7915_eeprom_get_power_delta()