Rosen Penev and Felix Fietkau
5e49aa933c
Fix errors found by cppcheck
...
Mismatching declarations as well as unused results.
Signed-off-by: Rosen Penev <[email protected] >
2017-11-16 20:34:45 +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
Lorenzo Bianconi and Felix Fietkau
cf4ba12871
mt7603: avoid tx rate sampling using no retransmissions
...
Since the TXWI has no room for the MRR reconfigure the MT_WTBL registers
using the sample rate as first tx rate for channel probing avoiding
very low TCP performance in a lossy environment
Signed-off-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Felix Fietkau <[email protected] >
2017-06-26 14:06:56 +02:00
Felix Fietkau
a85617295b
mt7603: move enqueueing of mcu events to mt7603_mcu.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 11:31:53 +01: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
7059cc27df
mt7603: fix tx status reporting
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-05 00:36:00 +01:00
Felix Fietkau
268467b9a4
mt7603: use mcu command to set timing registers, fix OFDM timeout values
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-05 00:16:10 +01:00
Felix Fietkau
c5b46a88c2
mt7603: use indirect rate table update
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 21:49:36 +01:00
Felix Fietkau
f34b842df6
mt7603: change hang detection code to detect any tx queue hang
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 20:18:36 +01: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
43a868c68a
mt7603: add timeout handling for status skbs
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 22:01:08 +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
0048598580
mt7603: add stuck beacon detection
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 20:47:17 +01:00
Felix Fietkau
0c9ff47107
mt7603: purge MCU response queue on exit
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 20:13:19 +01:00
Felix Fietkau
8038d39839
mt7603: reset MAC/DMA when starting wifi
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 15:42:55 +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
4dd3de777b
mt7603: move module init to mt7603_main.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 22:06:21 +01:00
Felix Fietkau
72bd478b7d
mt7603: add rx dma watchdog check
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 21:14:48 +01:00
Felix Fietkau
b8aea35d1d
mt7603: add rx pse watchdog check
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 21:14:48 +01:00
Felix Fietkau
2e6dcc48f1
mt7603: add another tx/rx watchdog check
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 21:14:48 +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
a30aebc985
mt7603: reset MAC on MCU errors
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 21:14:48 +01:00
Felix Fietkau
d365e4a12e
mt7603: fix CAB queue scheduling
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 10:24:56 +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
32645cebe0
mt7603: control wtbl powersave mode flag in software
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-27 13:16:35 +01:00
Felix Fietkau
2cfb50f84d
mt7603: pass the correct hardware queue index to the tx header
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-25 21:29:15 +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
65c0e3dccf
mt7603: add mt7603_eeprom.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-22 08:27:32 +01:00
Felix Fietkau
87ccb64fef
mt7603: implement hardware crypto support for unicast
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-20 20:24:38 +01:00
Felix Fietkau
424ea5d784
mt7603: fix double-free in tx status path
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-19 22:09:20 +01:00
Felix Fietkau
796c59fd18
mt7603: move mt7603_cb to prevent conflict with ampdu_len/ampdu_ack_len
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-19 21:34:55 +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
583cb6eae3
mt7603: reset rx BA state on rx aggregation start
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-19 19:36:20 +01:00
Felix Fietkau
2b3abe580c
mt7603: limit station wtbl entries to avoid conflict with vif/reserved
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-06 20:43:33 +01:00
Felix Fietkau
71eb2aa7d2
mt7603: save station rate table and use it for tx status information
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-06 20:40:32 +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
e70b2f8281
mt7603: adjust timing registers
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-06 19:06:53 +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
9ef6f3a90f
mt7603: move mt7603_set_channel to mt7603_main.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-03 15:59:50 +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
6b80f6c8dd
pass queue index instead of pointer to rx_skb callback
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-03 15:10:33 +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
Felix Fietkau
18f0455c66
mt7603: rename mt7603_mac_wtbl_set_rates
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-01 00:54:22 +01:00
Felix Fietkau
b1f0f4ab8b
mt7603: init sta wtbl entries
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-01 00:52:19 +01:00