Search Linux Wireless

[PATCH 10/11] qca-swiss-army-knife: de-duplicate ar9340 initvals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx>
---
 tools/initvals/initvals.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/tools/initvals/initvals.c b/tools/initvals/initvals.c
index abf7b36..a19dca2 100644
--- a/tools/initvals/initvals.c
+++ b/tools/initvals/initvals.c
@@ -630,11 +630,14 @@ static void ar9340_hw_print_initvals(bool check)
 {
 	INI_PRINT(ar9340_1p0_radio_postamble);
 	INI_PRINT(ar9340Modes_lowest_ob_db_tx_gain_table_1p0);
-	INI_PRINT(ar9340Modes_fast_clock_1p0);
+	INI_PRINT_DUP(ar9340Modes_fast_clock_1p0,
+		      ar9300Modes_fast_clock_2p2);
 	INI_PRINT(ar9340_1p0_radio_core);
 	INI_PRINT(ar9340_1p0_radio_core_40M);
-	INI_PRINT(ar9340_1p0_mac_postamble);
-	INI_PRINT(ar9340_1p0_soc_postamble);
+	INI_PRINT_DUP(ar9340_1p0_mac_postamble,
+		      ar9300_2p2_mac_postamble);
+	INI_PRINT_DUP(ar9340_1p0_soc_postamble,
+		      ar9300_2p2_soc_postamble);
 	INI_PRINT(ar9340_1p0_baseband_postamble);
 	INI_PRINT(ar9340_1p0_baseband_core);
 	INI_PRINT(ar9340Modes_high_power_tx_gain_table_1p0);
@@ -644,7 +647,8 @@ static void ar9340_hw_print_initvals(bool check)
 	INI_PRINT(ar9340Modes_low_ob_db_tx_gain_table_1p0);
 	INI_PRINT(ar9340Modes_mixed_ob_db_tx_gain_table_1p0);
 	INI_PRINT(ar9340_1p0_mac_core);
-	INI_PRINT(ar9340Common_wo_xlna_rx_gain_table_1p0);
+	INI_PRINT_DUP(ar9340Common_wo_xlna_rx_gain_table_1p0,
+		      ar9300Common_wo_xlna_rx_gain_table_2p2);
 	INI_PRINT(ar9340_1p0_soc_preamble);
 }
 
-- 
1.7.3.2

--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux