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
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
9af6f18974
mt7603: disable HT CCK rates, they fail under A-MPDU sessions
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 20:55:38 +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
7e47a25752
mt7603: wait for the WTBL to become available before updating it
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 15:15:53 +01:00
Felix Fietkau
b9ff4e6de9
mt7603: disable BA for packets using a CCK rate
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 12:42:03 +01:00
Felix Fietkau
a4d03c23a6
mt7603: fix PSE status check
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 12:41:00 +01:00
Felix Fietkau
101dacba43
tx: always leave one descriptor free in the dma ring to avoid getting the queue stuck
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 12:40:20 +01:00
Felix Fietkau
4554e8a23d
tx: add missing locking in mt76_txq_schedule_all
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 12:40:20 +01:00
Felix Fietkau
7e9d52f998
tx: add missing locking in mt76_release_buffered_frames
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-04 12:40:20 +01:00
Felix Fietkau
310d420178
mt76x2: fix txwi leak on cleanup
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 22:10:28 +01:00
Felix Fietkau
4994946a29
mt7603: fix cleanup order
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 22:05:07 +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
371bb8ce55
mt7603: do not request tx status for no-ack frames
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 21:51:17 +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
654686b96d
mt76x2: purge MCU response queue on exit
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 20:13:57 +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
6355f35431
move tx queue wake to common code outside of locked section, fixes queue wake on mt7603
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 15:57:39 +01:00
Hirokazu MORIKAWA and Felix Fietkau
ebabbad04b
mt7603: add missing include
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-03-03 15:42:55 +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
0298666b0d
add mt7628 firmware
...
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
675868d4e8
mt7603: opt out of the tx BAR refresh at wakeup time
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 22:02:21 +01:00
Felix Fietkau
91bbd56057
mt7603: use regular queue cleanup for CAB tx
...
Signed-off-by: Felix Fietkau <[email protected] >
2016-02-28 21:57:25 +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