diff options
Diffstat (limited to 'sys/contrib/dev/mediatek/mt76/mt7915/mcu.h')
| -rw-r--r-- | sys/contrib/dev/mediatek/mt76/mt7915/mcu.h | 14 | 
1 files changed, 1 insertions, 13 deletions
| diff --git a/sys/contrib/dev/mediatek/mt76/mt7915/mcu.h b/sys/contrib/dev/mediatek/mt76/mt7915/mcu.h index 49476a4182fd..086ad89ecd91 100644 --- a/sys/contrib/dev/mediatek/mt76/mt7915/mcu.h +++ b/sys/contrib/dev/mediatek/mt76/mt7915/mcu.h @@ -57,7 +57,7 @@ struct mt7915_mcu_bcc_notify {  struct mt7915_mcu_rdd_report {  	struct mt76_connac2_mcu_rxd_hdr rxd; -	u8 band_idx; +	u8 rdd_idx;  	u8 long_detected;  	u8 constant_prf_detected;  	u8 staggered_prf_detected; @@ -515,16 +515,4 @@ enum {  					 sizeof(struct bss_info_bmc_rate) +\  					 sizeof(struct bss_info_ext_bss)) -static inline s8 -mt7915_get_power_bound(struct mt7915_phy *phy, s8 txpower) -{ -	struct mt76_phy *mphy = phy->mt76; -	int n_chains = hweight16(mphy->chainmask); - -	txpower = mt76_get_sar_power(mphy, mphy->chandef.chan, txpower * 2); -	txpower -= mt76_tx_power_nss_delta(n_chains); - -	return txpower; -} -  #endif | 
