ath9k_hw: Fix channel list of CalFreqPeir for AR938x
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 8 Nov 2011 08:49:34 +0000 (14:19 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:49 +0000 (12:32 -0500)
This patch sync up CalFreqPeir channel list and paprd rate mask
of AR938x templates to the latest received from Systems team.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index 5fb3f544b65960d93f1876223f20e167e5f1393d..ee9c09b2366295cb0834fb22e5ff8dc68c2db181 100644 (file)
@@ -1281,8 +1281,8 @@ static const struct ar9300_eeprom ar9300_h112 = {
                .txEndToRxOn = 0x2,
                .txFrameToXpaOn = 0xe,
                .thresh62 = 28,
-               .papdRateMaskHt20 = LE32(0x80c080),
-               .papdRateMaskHt40 = LE32(0x80c080),
+               .papdRateMaskHt20 = LE32(0x0c80c080),
+               .papdRateMaskHt40 = LE32(0x0080c080),
                .futureModal = {
                        0, 0, 0, 0, 0, 0, 0, 0,
                },
@@ -1294,7 +1294,7 @@ static const struct ar9300_eeprom ar9300_h112 = {
        .calFreqPier2G = {
                FREQ2FBIN(2412, 1),
                FREQ2FBIN(2437, 1),
-               FREQ2FBIN(2472, 1),
+               FREQ2FBIN(2462, 1),
        },
        /* ar9300_cal_data_per_freq_op_loop 2g */
        .calPierData2G = {
@@ -1304,7 +1304,7 @@ static const struct ar9300_eeprom ar9300_h112 = {
        },
        .calTarget_freqbin_Cck = {
                FREQ2FBIN(2412, 1),
-               FREQ2FBIN(2484, 1),
+               FREQ2FBIN(2472, 1),
        },
        .calTarget_freqbin_2G = {
                FREQ2FBIN(2412, 1),
@@ -1503,7 +1503,7 @@ static const struct ar9300_eeprom ar9300_h112 = {
                FREQ2FBIN(5500, 0),
                FREQ2FBIN(5600, 0),
                FREQ2FBIN(5700, 0),
-               FREQ2FBIN(5825, 0)
+               FREQ2FBIN(5785, 0)
        },
        .calPierData5G = {
                {
@@ -2441,7 +2441,7 @@ static const struct ar9300_eeprom ar9300_h116 = {
        .calFreqPier2G = {
                FREQ2FBIN(2412, 1),
                FREQ2FBIN(2437, 1),
-               FREQ2FBIN(2472, 1),
+               FREQ2FBIN(2462, 1),
         },
        /* ar9300_cal_data_per_freq_op_loop 2g */
        .calPierData2G = {
@@ -2643,7 +2643,7 @@ static const struct ar9300_eeprom ar9300_h116 = {
                .xatten1MarginHigh = {0, 0, 0}
         },
        .calFreqPier5G = {
-               FREQ2FBIN(5180, 0),
+               FREQ2FBIN(5160, 0),
                FREQ2FBIN(5220, 0),
                FREQ2FBIN(5320, 0),
                FREQ2FBIN(5400, 0),