mac80211: update to wireless-testing 2014-05-19
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 600-0029-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch
index 4684599bcc9128429f96fb0d5c43658cbcdf9724..060d4c6465962c14e0fb1ca4790c14106889d730 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 
 --- a/drivers/net/wireless/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -4781,7 +4781,8 @@ static u8 rt2800_get_default_vgc(struct
+@@ -4780,7 +4780,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);
-@@ -4801,7 +4802,8 @@ static inline void rt2800_set_vgc(struct
+@@ -4800,7 +4801,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)) {
-@@ -4848,6 +4850,11 @@ void rt2800_link_tuner(struct rt2x00_dev
+@@ -4847,6 +4849,11 @@ void rt2800_link_tuner(struct rt2x00_dev
                }
                break;