1. 21 9月, 2010 27 次提交
  2. 18 9月, 2010 10 次提交
  3. 17 9月, 2010 3 次提交
    • L
      ath9k: fix regression which disabled ps on ath9k · 008443de
      Luis R. Rodriguez 提交于
      The patch titled "ath9k: Add new file init.c" shuffled some code
      around but in dong so for some reason also removed the revision
      check for disablign power save. Add this revision check again
      so we can get power save re-enabled again by default on cards
      newer than AR5416 and AR5418.
      
      $ git describe --contains 55624204
      v2.6.34-rc1~233^2~49^2~343
      
      This patch has fixes for stable kernels [2.6.34+].
      
      Cc: stable@kernel.org
      Cc: Paul Stewart <pstew@google.com>
      Cc: Amod Bodas <amod.bodas@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      008443de
    • S
      ath9k: fix regression which prevents chip sleep after CAB data · 3fac6dfd
      Senthil Balasubramanian 提交于
      The patch:
      
      commit 293dc5df
      Author: Gabor Juhos <juhosg@openwrt.org>
      Date:   Fri Jun 19 12:17:48 2009 +0200
      
          ath9k: remove ath_rx_ps_back_to_sleep helper
      
          This helper only clears the SC_OP_WAIT_FOR_{BEACON,CAB} flags.
          Remove it and clear these flags directly in the approptiate
          places instead.
      
          Changes-licensed-under: ISC
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      
      introduced a regression which forgot to lift the beacon flag
      after we received all broadcast and multicast data. This meant
      we never went to sleep consuming about ~650mW on idle. This pretty
      much broke power save completely.
      
      This patch has fixes for stable kernels [2.6.32+].
      
      Cc: stable@kernel.org
      Cc: Paul Stewart <pstew@google.com>
      Cc: Sameer Nanda <snanda@google.com>
      Cc: Gabor Juhos <juhosg@openwrt.org>
      Cc: Amod Bodas <amod.bodas@atheros.com>
      Signed-off-by: NSenthil Balasubramanian <senthilkumar@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3fac6dfd
    • L
      mac80211: send last 3/5 probe requests as unicast · f01a067d
      Luis R. Rodriguez 提交于
      Some buggy APs do not respond to unicast probe requests
      or send unicast probe requests very delayed so in the
      worst case we should try to send broadcast probe requests,
      otherwise we can get disconnected from these APs.
      
      Even if drivers do not have filters to disregard probe
      responses from foreign APs mac80211 will only process
      probe responses from our associated AP for re-arming
      connection monitoring.
      
      We need to do this since the beacon monitor does not
      push back the connection monitor by design so even if we
      are getting beacons from these type of APs our connection
      monitor currently relies heavily on the way the probe
      requests are received on the AP. An example of an AP
      affected by this is the Nexus One, but this has also been
      observed with random APs.
      
      We can probably optimize this later by using null funcs
      instead of probe requests.
      
      For more details refer to:
      
      http://code.google.com/p/chromium-os/issues/detail?id=5715
      
      This patch has fixes for stable kernels [2.6.35+].
      
      Cc: stable@kernel.org
      Cc: Paul Stewart <pstew@google.com>
      Cc: Amod Bodas <amod.bodas@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f01a067d