Commit Graph
91 Commits
Author SHA1 Message Date
Felix Fietkau b0508d3044 mt76: implement A-MPDU rx reordering in the driver code
This is required for performing CCMP PN validation in software

Signed-off-by: Felix Fietkau <[email protected]>
2018-01-22 10:43:21 +01:00
Lorenzo BianconiandFelix Fietkau 8ea8da3a23 mt7603: init: add ma80211 led callbacks
Signed-off-by: Lorenzo Bianconi <[email protected]>
2017-10-31 10:22:21 +01:00
Felix Fietkau 32eab505a4 mt7603: set wtbl entry vif index
Signed-off-by: Felix Fietkau <[email protected]>
2017-07-01 16:46:34 +02:00
Felix Fietkau af326156d9 mt7603: change auto rate control register initialization
Allow the hardware to fall back if rates stop working, make the first
rate fail earlier.

Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
2017-06-26 14:06:31 +02:00
Felix Fietkau dda684912e mt7603: fix tx status reporting initialization
Signed-off-by: Felix Fietkau <[email protected]>
2017-05-22 19:51:37 +02:00
Felix Fietkau 5d374dab96 mt7603: reserve more pages for beacons
Should improve reliablity for multiple interfaces

Signed-off-by: Felix Fietkau <[email protected]>
2017-05-12 14:56:44 +02:00
Felix Fietkau d1769e3346 mt7603: drop the PSE reset on init, it happens too early
Signed-off-by: Felix Fietkau <[email protected]>
2017-03-21 14:44:17 +01:00
Felix Fietkau c91e660985 mt7603: set secondary beacon time offsets
Signed-off-by: Felix Fietkau <[email protected]>
2017-03-15 14:24:48 +01:00
Felix Fietkau b300bdc42e use the new bitfield accessor macros
Signed-off-by: Felix Fietkau <[email protected]>
2016-09-04 17:37:26 +02:00
Felix Fietkau 53c1b7f6ac update my email address
Signed-off-by: Felix Fietkau <[email protected]>
2016-09-04 17:33:28 +02:00
Felix Fietkau ced81a3458 relicense to ISC (except for util.h which is based on GPL'd kernel code
Signed-off-by: Felix Fietkau <[email protected]>
2016-07-12 08:38:46 +02:00
Felix Fietkau 6c4b37be98 move dev->chandef to mt76 struct
Signed-off-by: Felix Fietkau <[email protected]>
2016-06-15 15:47:49 +02:00
Felix Fietkau 13c29223ef Use NL80211_BAND_2GHZ instead of IEEE80211_BAND_2GHZ
Signed-off-by: Felix Fietkau <[email protected]>
2016-05-14 16:49:30 +02:00
Felix Fietkau f466a62489 mt7603: add debugfs file to show MAC reset causes
Signed-off-by: Felix Fietkau <[email protected]>
2016-03-04 15:41:05 +01:00
Felix Fietkau 4994946a29 mt7603: fix cleanup order
Signed-off-by: Felix Fietkau <[email protected]>
2016-03-03 22:05:07 +01:00
Felix Fietkau fc412aab0d mt7603: use a skb queue for status queueing
Signed-off-by: Felix Fietkau <[email protected]>
2016-03-03 21:40:11 +01:00
Felix Fietkau c190f15d6f mt7603: add basic mt7628 support
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-28 22:06:21 +01:00
Felix Fietkau 1c4c7adfc2 mt7603: reset PSE/MAC on init, clean up and fix PSE reset registers, re-enable watchdog
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-28 21:14:48 +01:00
Felix Fietkau d1610c641c mt7603: add code to recover from MAC/DMA hangs
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-27 19:47:00 +01:00
Felix Fietkau 66528b7135 mt7603: reduce hw->max_rates to avoid being classified as mrr capable by minstrel
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-27 14:41:18 +01:00
Felix Fietkau db26fd5314 mt7603: do not forward filtered packets to MCU
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-27 13:38:27 +01:00
Felix Fietkau e49d439f1b mt7603: add a missing register init
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-27 10:38:01 +01:00
Felix Fietkau 49d817666a mt7603: fix page count/size handling
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-27 10:07:19 +01:00
Felix Fietkau 41240d4474 mt7603: add missing register init
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 21:27:12 +01:00
Felix Fietkau da9e9917b0 mt7603: fix rts protection control register
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 20:26:13 +01:00
Felix Fietkau 3a18d180c6 mt7603: clean up ARB SCR register definition
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 19:30:30 +01:00
Felix Fietkau 6ece5201d3 mt7603: increase max_rates
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 19:06:58 +01:00
Felix Fietkau 1b7134dfac mt7603: turn on rx rifs mode
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 12:37:07 +01:00
Felix Fietkau 92ac905d07 mt7603: clean up TMAC TCR register definition
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-26 12:35:37 +01:00
Felix Fietkau 0e5c3273ee mt7603: set max rate tries to 11
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-25 22:37:26 +01:00
Felix Fietkau 079ad90fe2 update copyright lines
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-25 18:09:13 +01:00
Felix Fietkau e6bc17ac24 mt7603: add initial code to configure beacon timers
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-25 17:23:47 +01:00
Felix Fietkau 1d02299b20 mt7603: fix aggregation tx status
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-22 21:06:43 +01:00
Felix Fietkau 56c0a40f45 mt7603: add some more register initializations
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-22 10:18:36 +01:00
Felix Fietkau bc3b3a7634 mt7603: fix number of tx streams selection
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-22 09:38:10 +01:00
Felix Fietkau 65c0e3dccf mt7603: add mt7603_eeprom.c
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-22 08:27:32 +01:00
Felix Fietkau 2ebc0053b1 mt7603: remove unnecessary register override
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-21 22:15:28 +01:00
Felix Fietkau 578634ab76 mt7603: remove extra tx headroom
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-20 22:15:19 +01:00
Felix Fietkau 51f55e5774 mt7603: initialize BAR retry control register
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-20 00:31:40 +01:00
Felix Fietkau b1c8bc1980 mt7603: initialize aggregation control register
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-20 00:24:04 +01:00
Felix Fietkau 3d136ac90c mt7603: configure aggregation limits
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-20 00:10:20 +01:00
Felix Fietkau ecde4472ea mt7603: set up tx aggregation in wtbl2
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-19 21:03:46 +01:00
Felix Fietkau a9f8bcbe64 mt7603: set per-rate retry to 2
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-06 20:22:38 +01:00
Felix Fietkau 073d1d2491 mt7603: set sifs/slot timing registers
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-06 19:16:51 +01:00
Felix Fietkau 102597868e mt7603: set per-interface mac address
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-06 18:47:52 +01:00
Felix Fietkau 1c9710dcd1 mt7603: implement rudimentary skb tx status reporting
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-06 18:16:38 +01:00
Felix Fietkau fa3ee92842 unify tx completion handling, allow a driver callback to clean up tx skbs
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-06 16:14:02 +01:00
Felix Fietkau b08f5433d1 tx: move dma mapping code to core, unify tx callbacks into one that prepares tx_info, skb and txwi
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-03 20:14:53 +01:00
Felix Fietkau a6d7949f67 move rx polling to core
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-03 15:51:17 +01:00
Felix Fietkau 7115e5cb93 mt7603: move rx queue processing to core
Signed-off-by: Felix Fietkau <[email protected]>
2016-02-03 14:57:53 +01:00