diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 06:57:40 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 07:14:01 +0100 |
commit | 98f86e61ea95b482f4613795a79626c353b135c4 (patch) | |
tree | 4ecea00368e9acdf9493abdfa8200197982b0beb /package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch | |
parent | 7cf6e117213636b2ef43f8b092966e70ca36344d (diff) | |
download | upstream-98f86e61ea95b482f4613795a79626c353b135c4.tar.gz upstream-98f86e61ea95b482f4613795a79626c353b135c4.tar.bz2 upstream-98f86e61ea95b482f4613795a79626c353b135c4.zip |
mac80211: rt2x00: cleanup ePA, RXIQ and TX-LOFT code
consolidate patch 651-rt2x00-remove-unneccesary-code.patch.
fixup the most obvious whitespace problems in RXIQ and TX-LOFT code.
always backup registers bbpr1, bbpr4, bbpr241 and bbpr242 to avoid
compiler warning about them being potentially uninitialized.
no functional changes (intended)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch')
-rw-r--r-- | package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch b/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch index d6e9857748..f469c4ebc7 100644 --- a/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch +++ b/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch @@ -274,7 +274,7 @@ + vga_idx = vga_idx + 3; + else if (bbpval1 <= 2511) + vga_idx = vga_idx + 2; -+ else ++ else + vga_idx = vga_idx + 1; + } + @@ -285,7 +285,7 @@ + rt2x00_dbg(rt2x00dev, "Sigma_i=%d, Sigma_q=%d, R_iq=%d", sigma_i, sigma_q, r_iq); + + if (((sigma_i <= 1400 ) && (sigma_i >= 1000)) -+ && ((sigma_i - sigma_q) <= 112) ++ && ((sigma_i - sigma_q) <= 112) + && ((sigma_i - sigma_q) >= -112) + && ((mi <= 32) && (mi >= -32)) + && ((mq <= 32) && (mq >= -32))) { |