diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-06-10 15:30:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-06-17 11:51:41 +0200 |
commit | 45572fe831f94654af35316a365c51eb8a9cdeb8 (patch) | |
tree | a272e99019d5fd64d063ef48594b5f53bee204e1 /package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch | |
parent | 189239ade353636f9e2788cd0467bcca97bb9324 (diff) | |
download | mtk-20170518-45572fe831f94654af35316a365c51eb8a9cdeb8.zip mtk-20170518-45572fe831f94654af35316a365c51eb8a9cdeb8.tar.gz mtk-20170518-45572fe831f94654af35316a365c51eb8a9cdeb8.tar.bz2 |
mac80211: refresh patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch')
-rw-r--r-- | package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch b/package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch index 70c33a1..8c563b8 100644 --- a/package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch +++ b/package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c -@@ -5338,7 +5338,8 @@ static u8 rt2800_get_default_vgc(struct +@@ -5354,7 +5354,8 @@ static u8 rt2800_get_default_vgc(struct else vgc = 0x2e + rt2x00dev->lna_gain; } else { /* 5GHZ band */ @@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> vgc = 0x20 + (rt2x00dev->lna_gain * 5) / 3; else if (rt2x00_rt(rt2x00dev, RT5592)) vgc = 0x24 + (2 * rt2x00dev->lna_gain); -@@ -5358,7 +5359,8 @@ static inline void rt2800_set_vgc(struct +@@ -5374,7 +5375,8 @@ static inline void rt2800_set_vgc(struct { if (qual->vgc_level != vgc_level) { if (rt2x00_rt(rt2x00dev, RT3572) || @@ -30,7 +30,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, vgc_level); } else if (rt2x00_rt(rt2x00dev, RT5592)) { -@@ -5405,6 +5407,11 @@ void rt2800_link_tuner(struct rt2x00_dev +@@ -5421,6 +5423,11 @@ void rt2800_link_tuner(struct rt2x00_dev } break; |