Felix patch ath9k_hw: apply XLNA bias settings from EEPROM is not cherry picked to avoid regression issues. This patch adds few macros defined in above patch to avoid compilation issues. Signed-off-by: Bala Shanmugam <bkamatch@xxxxxxxxxxxxxxxx> --- ..._hw-add-macros-to-avoid-compilation-error.patch | 26 ++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 crap/0004-ath9k_hw-add-macros-to-avoid-compilation-error.patch diff --git a/crap/0004-ath9k_hw-add-macros-to-avoid-compilation-error.patch b/crap/0004-ath9k_hw-add-macros-to-avoid-compilation-error.patch new file mode 100644 index 0000000..09bcb17 --- /dev/null +++ b/crap/0004-ath9k_hw-add-macros-to-avoid-compilation-error.patch @@ -0,0 +1,26 @@ +From 4a74a46a0628d8187dc310f0f90aea950ea84a7b Mon Sep 17 00:00:00 2001 +From: Bala Shanmugam <bkamatch@xxxxxxxxxxxxxxxx> +Date: Fri, 14 Sep 2012 20:10:36 +0530 +Subject: [PATCH] ath9k_hw: add macros for CH1 & CH2 + +Signed-off-by: Bala Shanmugam <bkamatch@xxxxxxxxxxxxxxxx> +--- + drivers/net/wireless/ath/ath9k/ar9003_phy.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h +index 7268a48..547e785 100644 +--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h ++++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h +@@ -633,6 +633,8 @@ + #define AR_PHY_65NM_CH0_BIAS2 0x160c4 + #define AR_PHY_65NM_CH0_BIAS4 0x160cc + #define AR_PHY_65NM_CH0_RXTX4 0x1610c ++#define AR_PHY_65NM_CH1_RXTX4 0x1650c ++#define AR_PHY_65NM_CH2_RXTX4 0x1690c + + #define AR_CH0_TOP (AR_SREV_9300(ah) ? 0x16288 : \ + ((AR_SREV_9462(ah) ? 0x1628c : 0x16280))) +-- +1.7.11.4 + -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html