ath9k: fix column header comments for some initval arrays
authorGabor Juhos <juhosg@openwrt.org>
Mon, 17 Dec 2012 21:06:08 +0000 (22:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:53 +0000 (15:16 -0500)
Some 3-column initval arrays have wrong comments. The
column of these arrays is indexed by the 'freqIndex'
variable in 'ar5008_hw_process_ini' which only depends
on the actual band.

The 'initvals' tool from 'qca-swiss-army-knife' prints
the correct comment lines for these arrays, since commit
'atheros-initvals: fix comments for non-fastclock 3-column tables'
however the comments were not refreshed in ath9k.

The patch contains no functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_initvals.h
drivers/net/wireless/ath/ath9k/ar9001_initvals.h

index f81e7fc..467ccfa 100644 (file)
@@ -466,7 +466,7 @@ static const u32 ar5416Bank0[][2] = {
 };
 
 static const u32 ar5416BB_RfGain[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x00009a00, 0x00000000, 0x00000000},
        {0x00009a04, 0x00000040, 0x00000040},
        {0x00009a08, 0x00000080, 0x00000080},
@@ -546,12 +546,12 @@ static const u32 ar5416Bank2[][2] = {
 };
 
 static const u32 ar5416Bank3[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x000098f0, 0x01400018, 0x01c00018},
 };
 
 static const u32 ar5416Bank6[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
@@ -588,7 +588,7 @@ static const u32 ar5416Bank6[][3] = {
 };
 
 static const u32 ar5416Bank6TPC[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
index ea4a230..59524e1 100644 (file)
@@ -460,7 +460,7 @@ static const u32 ar5416Common_9100[][2] = {
 };
 
 static const u32 ar5416Bank6_9100[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
@@ -497,7 +497,7 @@ static const u32 ar5416Bank6_9100[][3] = {
 };
 
 static const u32 ar5416Bank6TPC_9100[][3] = {
-       /* Addr      5G_HT20     5G_HT40   */
+       /* Addr      5G          2G        */
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},
        {0x0000989c, 0x00000000, 0x00000000},