Felix Fietkau
8027b5d061
mt7603: remove copyright headers
...
No longer needed because of SPDX License Identifier
Signed-off-by: Felix Fietkau <[email protected] >
2019-01-31 18:30:30 +01:00
Felix Fietkau
b5ac8e49c5
mt7603: initialize LED callbacks only if CONFIG_MT76_LEDS is set
...
Signed-off-by: Felix Fietkau <[email protected] >
2019-01-30 15:03:25 +01:00
Felix Fietkau
0db925f076
mt7603: update HT/VHT capabilities after assoc
...
Signed-off-by: Felix Fietkau <[email protected] >
2019-01-30 12:18:32 +01:00
Felix Fietkau
c4e4982fa9
mt7603: set IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN
...
The hardware cannot report accurate tx A-MPDU length information, so tell rate
control to ignore it. Improves tx rate selection
Signed-off-by: Felix Fietkau <[email protected] >
2019-01-16 22:35:17 +01:00
Felix Fietkau
63bf183451
mt76: add channel switch announcement support
...
Signed-off-by: Felix Fietkau <[email protected] >
2019-01-15 14:27:02 +01:00
Felix Fietkau
148219d572
mt7603: fix checkpatch issues
...
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-29 13:27:35 +01:00
Felix Fietkau
6203d46fcc
mt7603: add support for setting transmit power
...
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-06 14:38:07 +01:00
Felix Fietkau
2c8e9acb40
mt7603: initialize channel maximum power from eeprom data
...
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-06 14:13:29 +01:00
Felix Fietkau
9d009be68d
mt7603: add dynamic sensitivity tuning based on false CCA events
...
This reduces sensitivity in cases where it could help throughput/stability.
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-05 18:26:20 +01:00
Felix Fietkau
da00af00c5
mt7603: clear bit 18 in MT_SEC_SCR to fix ICV error
...
Ported from vendor driver
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-04 12:22:21 +01:00
Felix Fietkau
0ad998b6ff
mt7603: increase aggregation limits (based on vendor driver changes)
...
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-04 12:22:21 +01:00
Felix Fietkau
80843237fa
mt7603: implement code for adjusting energy detect CCA thresholds
...
Ported from the reference driver.
Should fix compliance with ETSI rules on preventing transmission while
energy detect values are above the threshold.
Relax rules for non-ETSI regdomains
Signed-off-by: Felix Fietkau <[email protected] >
2018-12-03 18:03:52 +01:00
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