diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2022-03-05 07:42:24 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-03-16 17:40:22 +0100 |
commit | 3f71ff0868e616b11a24cd0428f3d1df5d0acffc (patch) | |
tree | 3285b0b19959fb1cb35f5ec95aeab64d48a320a6 /drivers/net/wireless | |
parent | 123bc712b1de0805f9d683687e17b1ec2aba0b68 (diff) |
mt76: mt7915: allow beaconing on all chains
This improves rate reach performance on units with polarized antennas.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c index a99079313ac2..34742f244797 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c @@ -1101,6 +1101,7 @@ mt7915_mac_write_txwi_80211(struct mt7915_dev *dev, __le32 *txwi, if (ieee80211_is_beacon(fc)) { txwi[3] &= ~cpu_to_le32(MT_TXD3_SW_POWER_MGMT); txwi[3] |= cpu_to_le32(MT_TXD3_REM_TX_COUNT); + txwi[7] |= cpu_to_le32(FIELD_PREP(MT_TXD7_SPE_IDX, 0x18)); } if (info->flags & IEEE80211_TX_CTL_INJECTED) { |