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
7168d59902
mt7603: reset PSE queue hang indicator bits
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 14:47:01 +01:00
Felix Fietkau
38bae1d303
mt7603: improve reliability of the PSE reset
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 14:44:39 +01: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
040c73638c
mt7603: rename extended event enum fields
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 11:37:05 +01: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
1a3ec7760c
mt7603: disable beacon timers during scan
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 11:06:19 +01:00
Felix Fietkau
e2d298d071
mt7603: issue tx reset bit 2 before DMA reset
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 10:44:53 +01:00
Felix Fietkau
b2d023520f
mt7603: remove redundant mac start
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-21 10:34:22 +01:00
Felix Fietkau
e5c58f6c64
mt76x2: fix size of the rssi offset eeprom field
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-17 15:48:57 +01:00
Alejandro and Felix Fietkau
712b8e8f69
mac80211: claim RSN IBSS support
...
Signed-off-by: Alejandro <[email protected] >
2017-03-17 13:29:26 +01:00
Felix Fietkau
4a54ab381c
mt7603: fall back to software crypto for IBSS/Mesh per-sta GTK
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-17 13:29:23 +01:00
Felix Fietkau
9f02db7efc
mt76x2: fall back to software crypto for IBSS/Mesh per-sta GTK
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-17 13:29:23 +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
93ce124526
mt7603: enable beacons for other virtual interfaces
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:46 +01:00
Felix Fietkau
59ce2b491b
mt7603: set tx vif own MAC index (needed for beacons)
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:44 +01:00
Felix Fietkau
e54add55e0
mt7603: move napi/tasklet enable/disable outside of the locked section
...
Should help prevent deadlocks
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:42 +01:00
Felix Fietkau
da8e79696d
mt7603: check wtbl busy status and stop/start tx queues when clearing sta entry
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:40 +01:00
Felix Fietkau
f22273bf85
mt7603: init WTBL entry before setting capabilities
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:38 +01:00
Felix Fietkau
dce8aac5c4
mt7603: fix endian issue in mt7603_mac_fill_rx
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:35 +01:00
Felix Fietkau
29b08d3abd
mt7603: fix endian issue in mt7603_mcu_set_timing
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-03-15 14:24:08 +01:00
Felix Fietkau
f020a60950
mt7603: support loading the entire EEPROM from OTP
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-27 09:52:36 +01:00
Felix Fietkau
b056a78fd7
dma: fix endian issue in mt76_dma_get_buf
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-27 09:44:20 +01:00
Felix Fietkau
cc704981bd
mt76x2: clarify queue selection field
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-07 21:13:16 +01:00
Felix Fietkau
03e44dcdb2
mt76x2: remove unnecessary headroom check
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-07 21:13:16 +01:00
Felix Fietkau
a5eaeb27d6
revert mt76_eeprom_override call reordering
...
This call order is necessary for handling the device MAC address
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-03 14:25:08 +01:00
Felix Fietkau
184e068b6f
use wiphy_read_of_freq_limits to parse band capability overrides
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-02-01 16:11:35 +01:00
Lorenzo Bianconi and Felix Fietkau
3c8caafc5e
mt76x2: dfs: update energy thresholds to reduce false positives
...
Update energy high limits to reduce false positive detections on Buffalo
WSR1166. This patch has been tested using Ettus USRP N200 SDR as radar
pattern generator
Signed-off-by: Lorenzo Bianconi <[email protected] >
2017-01-31 11:31:24 +01:00
Lorenzo Bianconi and Felix Fietkau
9e7bb5309f
mt76x2: phy: update dfs AGC parameters according to AGC_8 register
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2017-01-31 11:31:16 +01:00
Lorenzo Bianconi and Felix Fietkau
36ad8c3df2
mt76x2: dfs: remove unnecessary mt76x2_dfs_chan_state() routine
...
Remove chennel busy-idle logic since it is not used on mt7612-mt7662 based
devices
Signed-off-by: Lorenzo Bianconi <[email protected] >
2017-01-31 11:31:09 +01:00
Stijn Tintel and Felix Fietkau
85d12fea1a
mac80211: enable 802.11w support
...
Signed-off-by: Stijn Tintel <[email protected] >
2017-01-15 13:22:50 +01:00
Felix Fietkau
f8f49d2428
mt7603: return -EOPNOTSUPP on unsupported ciphers
...
Signed-off-by: Felix Fietkau <[email protected] >
2017-01-14 23:05:46 +01:00
Felix Fietkau
9af67d47e0
mt76x2: return -EOPNOTSUPP on unsupported ciphers
...
Silences a warning when using 802.11w
Signed-off-by: Felix Fietkau <[email protected] >
2017-01-14 23:04:59 +01:00
Felix Fietkau
7ce4368c3d
mt7603: work around a compiler issue on accessing 802.11 header fields
...
For some reason the FIELD_GET call runs into a BUILD_BUG_ON on some
platforms when using the 802.11 frame type/subtype definitions.
Use mask and shift explicitly to work around this
Signed-off-by: Felix Fietkau <[email protected] >
2016-12-15 13:00:17 +01:00
Felix Fietkau
a39d4b7bf9
eeprom: add missing ifdef for MTD support
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-12-15 13:00:03 +01:00
Felix Fietkau
892543eb79
Revert "mt76x2: fix queue mapping in mt76x2_conf_tx()"
...
This reverts commit adf1bbd03c .
A report indicates that this causes a tx/rx throughput regression
Signed-off-by: Felix Fietkau <[email protected] >
2016-11-05 10:42:38 +01:00
Lorenzo Bianconi and Felix Fietkau
adf1bbd03c
mt76x2: fix queue mapping in mt76x2_conf_tx()
...
Signed-off-by: Gaetano Catalli <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-11-03 12:25:13 +01:00
Felix Fietkau
62abac9ea4
mt76x2: dfs: remove unnecessary memset
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-25 18:20:28 +02:00
Felix Fietkau
129010808c
mt76x2: dfs: code style cleanup
...
Reduce indentation
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-25 18:20:05 +02:00
Lorenzo Bianconi and Felix Fietkau
b9f3193a24
mt76x2: init: unlock DFS channels
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-09-25 18:13:37 +02:00
Lorenzo Bianconi and Felix Fietkau
d392047be6
mt76x2: debugfs: add dfs statistics to debugfs
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-09-25 18:13:27 +02:00
Lorenzo Bianconi and Felix Fietkau
6375fc1abe
mt76x2: add hw radar detector
...
add hw DFS pattern detector support for mt76x2 based devices
DFS region supported:
- FCC
- ETSI
- JAPAN_W53
- JAPAN_W56
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-09-25 18:13:12 +02:00
Felix Fietkau
838d439f7b
mt76x2: fix parsing of EEPROM board type
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-15 14:45:20 +02:00
Felix Fietkau
60a15e968d
mt76x2: rename misnamed variable
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-15 14:44:52 +02:00
Felix Fietkau
29a89c4be0
adjust MODULE_LICENSE for license change
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-05 11:34:38 +02:00
Felix Fietkau
b74180f517
core: rename register trace events to avoid conflict with mt7601u
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-05 11:29:58 +02:00
Felix Fietkau
b18d66f749
core: fix checkpatch errors
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-05 11:12:19 +02:00
Lorenzo Bianconi and Felix Fietkau
93907807ca
mt76x2: fix typo in mt76x2_tx_get_max_txpwr_adj() signature
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-09-05 10:43:30 +02:00
Felix Fietkau
becce8bd46
mt76x2: fix more checkpatch errors
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-05 10:08:16 +02:00
Felix Fietkau
d7f5112c09
mt76x2: fix checkpatch warnings
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-04 18:59:22 +02:00