mac80211: update to backports-4.14-rc2
[openwrt/staging/lynxis.git] / package / kernel / mac80211 / patches / 600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch
index 8c563b89389fcd00d55e916543405a57574f7c7c..301928d28370699bce1991b1a40600a978808cb2 100644 (file)
@@ -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
-@@ -5354,7 +5354,8 @@ static u8 rt2800_get_default_vgc(struct
+@@ -5364,7 +5364,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);
-@@ -5374,7 +5375,8 @@ static inline void rt2800_set_vgc(struct
+@@ -5384,7 +5385,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)) {
-@@ -5421,6 +5423,11 @@ void rt2800_link_tuner(struct rt2x00_dev
+@@ -5431,6 +5433,11 @@ void rt2800_link_tuner(struct rt2x00_dev
                }
                break;