mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x02: make beacon slots bigger for USB
Since we sent PS buffered frames via beacon memory we need to make beacon slots bigger. That imply we will also need to decrease number of slots as beacon SRAM memory is limited to 8kB. Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
e284cc2b6e
commit
77e56b87bf
@@ -85,6 +85,8 @@ static void mt76x02e_beacon_enable(struct mt76x02_dev *dev, bool en)
|
||||
void mt76x02e_init_beacon_config(struct mt76x02_dev *dev)
|
||||
{
|
||||
static const struct mt76x02_beacon_ops beacon_ops = {
|
||||
.nslots = 8,
|
||||
.slot_size = 1024,
|
||||
.pre_tbtt_enable = mt76x02e_pre_tbtt_enable,
|
||||
.beacon_enable = mt76x02e_beacon_enable,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user