mt76x02: init beacon config for mt76x2u
Initialize beaconing also on mt76x2u. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
39834c1293
commit
b08ca4dc95
@ -207,11 +207,7 @@ int mt76x2u_init_hardware(struct mt76x02_dev *dev)
|
||||
mt76x02_mac_shared_key_setup(dev, i, k, NULL);
|
||||
}
|
||||
|
||||
mt76_clear(dev, MT_BEACON_TIME_CFG,
|
||||
MT_BEACON_TIME_CFG_TIMER_EN |
|
||||
MT_BEACON_TIME_CFG_SYNC_MODE |
|
||||
MT_BEACON_TIME_CFG_TBTT_EN |
|
||||
MT_BEACON_TIME_CFG_BEACON_TX);
|
||||
mt76x02_init_beacon_config(dev);
|
||||
|
||||
mt76_rmw(dev, MT_US_CYC_CFG, MT_US_CYC_CNT, 0x1e);
|
||||
mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x583f);
|
||||
|
Loading…
Reference in New Issue
Block a user