mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: use maximum tx count for beacons
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -630,6 +630,10 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi,
|
||||
tx_count = rate->count;
|
||||
}
|
||||
|
||||
/* use maximum tx count for beacons */
|
||||
if (q->hw_idx == MT_TX_HW_QUEUE_BCN)
|
||||
tx_count = 0x1f;
|
||||
|
||||
txwi[3] = cpu_to_le32(
|
||||
MT76_SET(MT_TXD3_REM_TX_COUNT, tx_count) |
|
||||
MT76_SET(MT_TXD3_SEQ, le16_to_cpu(hdr->seq_ctrl))
|
||||
|
||||
Reference in New Issue
Block a user