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
Felix Fietkau
05e961782d
move mt76_insert_hdr_pad to mt76x2_tx.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-04 18:06:48 +02:00
Felix Fietkau
01c63035b6
move mt76_remove_hdr_pad to mt76x2_mac.c
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-09-04 18:05:40 +02: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
Lorenzo Bianconi and Felix Fietkau
c3127d2acc
mt76x2: add debugfs entry to enable/disable per packet TPC
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-08-25 12:58:02 +02:00
Lorenzo Bianconi and Felix Fietkau
2637e6b9c0
mt76x2: add tx power adjustment for auto response frames
...
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-08-25 12:57:56 +02:00
Lorenzo Bianconi and Felix Fietkau
aa77eadf0e
mt76x2: add TPC support
...
add per-packet tx power adjustment support
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-08-25 12:57:47 +02:00
Felix Fietkau
3d36d4b649
mt7603: fix bssid register settings on assoc/ibss-join
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-08-25 12:52:16 +02:00
Felix Fietkau
313e83c063
mt7603: main: reconfigure bssid after ibss join in ad-hoc mode
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-08-25 12:45:04 +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
Lorenzo Bianconi and Felix Fietkau
9a75c6caa0
mt76x2: phy: fix typo in rate-power configuration
...
fix typo in MT_TX_PWR_CFG_7 configuration for OFDM_54M max
tx power adjustment
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-07-11 09:56:58 +02:00
Lorenzo Bianconi and Felix Fietkau
caff56f908
mt76x2: phy: cosmetics
...
replace spaces with tabs in mt76x2_phy_set_txpower()
Signed-off-by: Lorenzo Bianconi <[email protected] >
2016-07-11 09:56:49 +02:00
Daniel Golle and Felix Fietkau
9226e96c40
tx: remove spurious semicolon
...
Remove spurious semicolon resulting in ieee80211_sta_set_buffered()
being always called independent from the result of the expression
evaluated by the preceding if-clause.
Spotted by gcc-6 while attempting to build the driver outside of the
buildroot.
Signed-off-by: Daniel Golle <[email protected] >
2016-07-08 10:20:53 +02:00
Felix Fietkau
f06ed811cd
mt76x2: handle peer in dynamic SMPS mode
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-17 14:44:12 +02:00
Felix Fietkau
267e959c84
move mt76 rate power struct to mt76.h
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-17 12:45:39 +02:00