Commit Graph
18 Commits
Author SHA1 Message Date
Felix Fietkau c3efb5d899 mt7603: add support for detecting MT7688 and single stream devices
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-28 14:34:05 +01:00
Felix Fietkau 82363abeaf mt7603: move tx status to rx queue 0
This makes it easier to loop powersave-filtered packets through the MCU queue
without involving the firmware

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-20 16:18:22 +01:00
Felix Fietkau b44d793e25 mt7603: clear PSE redirections before MCU init
Ensure that stale data from a previous run is cleaned up

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-20 16:18:01 +01:00
Felix Fietkau ca2c875ae6 mt7603: add support for accessing remapped registers via ops
Add wrappers for existing register ops

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-20 12:15:32 +01:00
Felix Fietkau 42c5281187 mt7603: fix maximum frame size in scheduler init
Since hardware A-MSDU decap is disabled, use maximum A-MSDU size
as maximum packet size

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-17 17:56:07 +01:00
Felix Fietkau d22799b2c3 mt7603: reduce reserved pages for beacons
Only 4 interfaces are supported anyway

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-17 17:56:07 +01:00
Felix Fietkau 749d5c3d2c mt7603: fix reserved page handling for mt7628
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-17 17:56:07 +01:00
Felix Fietkau 3873e827ed mt7603: fix MT_BMAP_0/MT_GROUP_THD_0 register initializion for mt7628
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-17 17:34:19 +01:00
Felix Fietkau 13f1e82f6f mt7603: clear wtbl entry for removed stations
Should fix some issues with reassociating stations

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-16 12:09:52 +01:00
Felix Fietkau a97127b1b3 mt76: replace sta_add/remove ops with common sta_state function
Allows adding unassociated stations from mac80211

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-16 12:09:52 +01:00
Felix Fietkau 75aa36e0a3 mt7603: use wcid/wcid_mask from struct mt76_dev
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-13 11:51:49 +01:00
Felix Fietkau 498d716353 mt7603: fix checkpatch issues
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-06 15:41:37 +01:00
Felix Fietkau d9b5324ecc mt7603: add SPDX license identifiers
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-06 13:53:26 +01:00
Felix Fietkau 3c8e8a789b mt7603: use irq_lock/irqmask from struct mt76_dev
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-06 12:24:48 +01:00
Felix Fietkau 01815e9ac2 mt7603: use mutex from struct mt76_dev
Signed-off-by: Felix Fietkau <[email protected]>
2018-11-06 12:21:50 +01:00
Felix Fietkau 5195257f22 mt7603: fix maximum rx frame size
Use 4096 as maximum size instead of the rx buffer size, since rx packets
can be split across multiple buffers. This fixes issues with receiving
A-MSDU aggregated packets.

Signed-off-by: Felix Fietkau <[email protected]>
2018-11-05 21:25:54 +01:00
Felix Fietkau ed17ba23e8 mt7603: use common tx status handling code
Signed-off-by: Felix Fietkau <[email protected]>
2018-10-25 18:50:28 +02:00
Felix Fietkau 62ce3245da move mt7603 source files to mt7603/
Signed-off-by: Felix Fietkau <[email protected]>
2018-09-28 18:02:01 +02:00