Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2010 01:15:15 +0000 (18:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2010 01:15:15 +0000 (18:15 -0700)
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/net/wireless/ath/ath5k/phy.c

16 files changed:
1  2 
Documentation/feature-removal-schedule.txt
drivers/net/wireless/ath/ath5k/eeprom.c
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/ath/ath5k/reg.h
drivers/net/wireless/ath/ath5k/reset.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/ipw2x00/libipw.h
drivers/net/wireless/ipw2x00/libipw_module.c
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl-tx.c
drivers/net/wireless/iwmc3200wifi/debugfs.c
drivers/net/wireless/iwmc3200wifi/rx.c
drivers/net/wireless/rndis_wlan.c

index ed511af0f79a5697d560a00d37ee26f601198673,a841e79dfac6cea56c0a4d2efdf1118995d3aae8..267e90582d20bbe0126a9656b894aa32fd57dbd0
@@@ -520,29 -520,24 +520,48 @@@ Who:    Hans de Goede <hdegoede@redhat.com
  
  ----------------------------
  
++
 +What: corgikbd, spitzkbd, tosakbd driver
 +When: 2.6.35
 +Files:        drivers/input/keyboard/{corgi,spitz,tosa}kbd.c
 +Why:  We now have a generic GPIO based matrix keyboard driver that
 +      are fully capable of handling all the keys on these devices.
 +      The original drivers manipulate the GPIO registers directly
 +      and so are difficult to maintain.
 +Who:  Eric Miao <eric.y.miao@gmail.com>
 +
 +----------------------------
 +
 +What: corgi_ssp and corgi_ts driver
 +When: 2.6.35
 +Files:        arch/arm/mach-pxa/corgi_ssp.c, drivers/input/touchscreen/corgi_ts.c
 +Why:  The corgi touchscreen is now deprecated in favour of the generic
 +      ads7846.c driver. The noise reduction technique used in corgi_ts.c,
 +      that's to wait till vsync before ADC sampling, is also integrated into
 +      ads7846 driver now. Provided that the original driver is not generic
 +      and is difficult to maintain, it will be removed later.
 +Who:  Eric Miao <eric.y.miao@gmail.com>
 +
 +----------------------------
 +
+ What: sysfs-class-rfkill state file
+ When: Feb 2014
+ Files:        net/rfkill/core.c
+ Why:  Documented as obsolete since Feb 2010. This file is limited to 3
+       states while the rfkill drivers can have 4 states.
+ Who:  anybody or Florian Mickler <florian@mickler.org>
+ ----------------------------
+ What:         sysfs-class-rfkill claim file
+ When: Feb 2012
+ Files:        net/rfkill/core.c
+ Why:  It is not possible to claim an rfkill driver since 2007. This is
+       Documented as obsolete since Feb 2010.
+ Who:  anybody or Florian Mickler <florian@mickler.org>
+ ----------------------------
  What: capifs
  When: February 2011
  Files:        drivers/isdn/capi/capifs.*
index eff3323efb4bf82afc965fa30ab83110e1ac6114,384347b0c9f0d3a18c555035327393282bca8b28..a8adca62e527aa9734a888def15da196ce94370b
@@@ -1399,26 -1391,38 +1397,30 @@@ static int ath5k_hw_rf511x_calibrate(st
        }
  
        i_coffd = ((i_pwr >> 1) + (q_pwr >> 1)) >> 7;
-       q_coffd = q_pwr >> 7;
+       if (ah->ah_version == AR5K_AR5211)
+               q_coffd = q_pwr >> 6;
+       else
+               q_coffd = q_pwr >> 7;
  
 -      /* No correction */
 -      if (i_coffd == 0 || q_coffd == 0)
 +      /* protect against divide by 0 and loss of sign bits */
 +      if (i_coffd == 0 || q_coffd < 2)
                goto done;
  
 -      i_coff = ((-iq_corr) / i_coffd);
 +      i_coff = (-iq_corr) / i_coffd;
 +      i_coff = clamp(i_coff, -32, 31); /* signed 6 bit */
  
 -      /* Boundary check */
 -      if (i_coff > 31)
 -              i_coff = 31;
 -      if (i_coff < -32)
 -              i_coff = -32;
 -
 -      if (ah->ah_version == AR5K_AR5211)
 -              q_coff = (i_pwr / q_coffd) - 64;
 -      else
 -              q_coff = (i_pwr / q_coffd) - 128;
 +      q_coff = (i_pwr / q_coffd) - 128;
 +      q_coff = clamp(q_coff, -16, 15); /* signed 5 bit */
  
 -      /* Boundary check */
 -      if (q_coff > 15)
 -              q_coff = 15;
 -      if (q_coff < -16)
 -              q_coff = -16;
 +      ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_CALIBRATE,
 +                      "new I:%d Q:%d (i_coffd:%x q_coffd:%x)",
 +                      i_coff, q_coff, i_coffd, q_coffd);
  
 -      /* Commit new I/Q value */
 -      AR5K_REG_ENABLE_BITS(ah, AR5K_PHY_IQ, AR5K_PHY_IQ_CORR_ENABLE |
 -              ((u32)q_coff) | ((u32)i_coff << AR5K_PHY_IQ_CORR_Q_I_COFF_S));
 +      /* Commit new I/Q values (set enable bit last to match HAL sources) */
 +      AR5K_REG_WRITE_BITS(ah, AR5K_PHY_IQ, AR5K_PHY_IQ_CORR_Q_I_COFF, i_coff);
 +      AR5K_REG_WRITE_BITS(ah, AR5K_PHY_IQ, AR5K_PHY_IQ_CORR_Q_Q_COFF, q_coff);
 +      AR5K_REG_ENABLE_BITS(ah, AR5K_PHY_IQ, AR5K_PHY_IQ_CORR_ENABLE);
  
        /* Re-enable calibration -if we don't we'll commit
         * the same values again and again */
Simple merge
index cbf28e379843838a16d410b438636d6252cf901e,4120068792ecb21564da59ccbf81c44bc1451c1e..44bbbf2a6edd233180a99fab81a9afbe0dbb0fc1
@@@ -1382,11 -1393,10 +1396,9 @@@ int ath5k_hw_reset(struct ath5k_hw *ah
                ath5k_hw_set_sleep_clock(ah, true);
  
        /*
 -       * Disable beacons and reset the register
 +       * Disable beacons and reset the TSF
         */
 -      AR5K_REG_DISABLE_BITS(ah, AR5K_BEACON, AR5K_BEACON_ENABLE |
 -                      AR5K_BEACON_RESET_TSF);
 -
 +      AR5K_REG_DISABLE_BITS(ah, AR5K_BEACON, AR5K_BEACON_ENABLE);
 +      ath5k_hw_reset_tsf(ah);
        return 0;
  }
- #undef _ATH5K_RESET
Simple merge
Simple merge
Simple merge
Simple merge