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
Felix Fietkau
f30fa6c56c
mt7603: poll for rate update completion before setting sta->wcid.tx_rate_set for the first time
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-17 10:54:51 +02:00
Felix Fietkau
271a9998f9
mt7603: skip tx chain 0 power values efuse override for MT76x8
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-17 10:34:27 +02:00
Felix Fietkau
3c8a4bc30e
mt76x2: implement survey support
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-15 16:47:23 +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
11e0a12ce4
mt76x2: fix crash on monitor mode injection
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-06-15 14:59:13 +02:00
Felix Fietkau
810eef8383
sync with mac80211 ieee80211_rx_napi API change
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-05-14 16:52:23 +02:00
Felix Fietkau
e4c05ba162
use nl80211_band instead of ieee80211_band
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-05-14 16:51:44 +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
Andrew Yong and Felix Fietkau
7605d326e6
Add 14c3:7612 device ID
...
MT7602EN chip on SamKnows Whitebox 8 (SK-WB8) hardware reports a device ID of 14c3:7612.
Confirmed working with mt76:
01:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7612]
Subsystem: MEDIATEK Corp. Device [14c3:7612]
Kernel driver in use: mt76x2e
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/mt76/txpower
Target power: 33
Delta: -2 -2
CCK: 3 3 3 3
OFDM: 3 3 3 3 2 2 2 2
HT: 3 3 3 3 2 2 2 2 3 3 3 3 2 2 0 0
VHT: 2 2 2 2 2 2 2 2 -1 -1
Signed-off-by: Felix Fietkau <[email protected] >
2016-04-29 21:22:33 +07:00
Felix Fietkau
9ecf04c4d7
tx: fix locking error pointed out by dnnn88
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-04-12 11:52:43 +02:00
Felix Fietkau
dd828b7fc6
mt7603: fix initialization of the rate fallback table
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-09 12:43:32 +01: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