mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: set correct value in beamforming mcu command for mt7992
Configure correct bf number and bitmap in beamforming mcu command for mt7992 chipsets, which only support dual-band. Signed-off-by: Howard Hsu <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
5cf02b0a26
commit
4a90f92731
+3
-2
@@ -3925,8 +3925,9 @@ int mt7996_mcu_set_txbf(struct mt7996_dev *dev, u8 action)
|
||||
|
||||
tlv = mt7996_mcu_add_uni_tlv(skb, action, sizeof(*req_mod_en));
|
||||
req_mod_en = (struct bf_mod_en_ctrl *)tlv;
|
||||
req_mod_en->bf_num = 3;
|
||||
req_mod_en->bf_bitmap = GENMASK(2, 0);
|
||||
req_mod_en->bf_num = mt7996_band_valid(dev, MT_BAND2) ? 3 : 2;
|
||||
req_mod_en->bf_bitmap = mt7996_band_valid(dev, MT_BAND2) ?
|
||||
GENMASK(2, 0) : GENMASK(1, 0);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user