[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110601081058.913174764@blue.kroah.org>
Date: Wed, 01 Jun 2011 17:09:48 +0900
From: Greg KH <gregkh@...e.de>
To: linux-kernel@...r.kernel.org, stable@...nel.org
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
Fiona Cain <fcain@...eros.com>,
Zhen Xie <Zhen.Xie@...eros.com>,
Kathy Giori <kathy.giori@...eros.com>,
Neha Choksi <neha.choksi@...eros.com>,
Wayne Daniel <wayne.daniel@...eros.com>,
Gaurav Jauhar <gaurav.jauhar@...eros.com>,
Samira Naraghi <samira.naraghi@...eros.com>,
Ashok Chennupati <ashok.chennupati@...eros.com>,
Lance Zimmerman <lance.zimmerman@...eros.com>,
"Luis R. Rodriguez" <lrodriguez@...eros.com>,
"John W. Linville" <linville@...driver.com>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: [018/165] ath9k_hw: fix power for the HT40 duplicate frames
2.6.39-stable review patch. If anyone has any objections, please let us know.
------------------
Content-Length: 1904
Lines: 49
From: Luis R. Rodriguez <lrodriguez@...eros.com>
commit cf3a03b9c99a0b2715741d116f50f513f545bb2d upstream.
With AR9003 at about ~ 10 feet from an AP that uses RTS / CTS you
will be able to associate but not not get data through given that
the power for the rates used was set too low. This increases the
power and permits data connectivity at longer distances from
access points when connected with HT40. Without this you will not
get any data through when associated to APs configured in HT40
at about more than 10 feet away.
Cc: Fiona Cain <fcain@...eros.com>
Cc: Zhen Xie <Zhen.Xie@...eros.com>
Cc: Kathy Giori <kathy.giori@...eros.com>
Cc: Neha Choksi <neha.choksi@...eros.com>
Cc: Wayne Daniel <wayne.daniel@...eros.com>
Cc: Gaurav Jauhar <gaurav.jauhar@...eros.com>
Cc: Samira Naraghi <samira.naraghi@...eros.com>
CC: Ashok Chennupati <ashok.chennupati@...eros.com>
Cc: Lance Zimmerman <lance.zimmerman@...eros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@...eros.com>
Signed-off-by: John W. Linville <linville@...driver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 10 ++++++++++
1 file changed, 10 insertions(+)
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3994,6 +3994,16 @@ static int ar9003_hw_tx_power_regwrite(s
POW_SM(pPwrArray[ALL_TARGET_LEGACY_1L_5L], 0)
);
+ /* Write the power for duplicated frames - HT40 */
+
+ /* dup40_cck (LSB), dup40_ofdm, ext20_cck, ext20_ofdm (MSB) */
+ REG_WRITE(ah, 0xa3e0,
+ POW_SM(pPwrArray[ALL_TARGET_LEGACY_6_24], 24) |
+ POW_SM(pPwrArray[ALL_TARGET_LEGACY_1L_5L], 16) |
+ POW_SM(pPwrArray[ALL_TARGET_LEGACY_6_24], 8) |
+ POW_SM(pPwrArray[ALL_TARGET_LEGACY_1L_5L], 0)
+ );
+
/* Write the HT20 power per rate set */
/* 0/8/16 (LSB), 1-3/9-11/17-19, 4, 5 (MSB) */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists