Lines Matching refs:band
142 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config() local
145 val = eeprom[MT_EE_WIFI_CONF + band]; in mt7915_eeprom_parse_band_config()
165 val = band ? MT_EE_BAND_SEL_5GHZ : MT_EE_BAND_SEL_2GHZ; in mt7915_eeprom_parse_band_config()
187 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap() local
197 eeprom[MT_EE_WIFI_CONF + band]); in mt7915_eeprom_parse_hw_cap()
210 if (band) in mt7915_eeprom_parse_hw_cap()
215 eeprom[MT_EE_WIFI_CONF + 2 + band]); in mt7915_eeprom_parse_hw_cap()
227 if (band) in mt7915_eeprom_parse_hw_cap()
273 tssi_on = mt7915_tssi_enabled(dev, chan->band); in mt7915_eeprom_get_target_power()
276 if (chan->band == NL80211_BAND_2GHZ) { in mt7915_eeprom_get_target_power()
287 } else if (chan->band == NL80211_BAND_5GHZ) { in mt7915_eeprom_get_target_power()
310 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) in mt7915_eeprom_get_power_delta() argument
317 if (band == NL80211_BAND_2GHZ) in mt7915_eeprom_get_power_delta()
319 else if (band == NL80211_BAND_5GHZ) in mt7915_eeprom_get_power_delta()