2012-11-13 06:04:19

by Sujith Manoharan

[permalink] [raw]
Subject: [PATCH] qca-swiss-army-knife: Add macro for TXFIR array

From: Sujith Manoharan <[email protected]>

Signed-off-by: Sujith Manoharan <[email protected]>
---
tools/initvals/ar9485_initvals.h | 2 ++
tools/initvals/initvals.c | 4 ++++
2 files changed, 6 insertions(+)

diff --git a/tools/initvals/ar9485_initvals.h b/tools/initvals/ar9485_initvals.h
index 02e4d97..a3710f3 100644
--- a/tools/initvals/ar9485_initvals.h
+++ b/tools/initvals/ar9485_initvals.h
@@ -1060,4 +1060,6 @@ static const u32 ar9485_1_1_mac_core[][2] = {
{0x000083d0, 0x000301ff},
};

+#define ar9485_1_1_baseband_core_txfir_coeff_japan_2484 ar9462_2p0_baseband_core_txfir_coeff_japan_2484
+
#endif /* INITVALS_9485_H */
diff --git a/tools/initvals/initvals.c b/tools/initvals/initvals.c
index a22c1e9..162a12f 100644
--- a/tools/initvals/initvals.c
+++ b/tools/initvals/initvals.c
@@ -223,6 +223,7 @@ typedef long long unsigned int u64;
#define ar9485_poseidon1_1_pcie_phy_clkreq_disable_L1 ar9485_1_1_pcie_phy_clkreq_disable_L1
#define ar9485_poseidon1_1_radio_postamble ar9485_1_1_radio_postamble
#define ar9485_poseidon1_1_mac_core ar9485_1_1_mac_core
+#define ar9485_poseidon1_1_baseband_core_txfir_coeff_japan_2484 ar9485_1_1_baseband_core_txfir_coeff_japan_2484

#include "ar9485_1_1.ini"

@@ -710,6 +711,9 @@ static void ar9485_hw_print_initvals(bool check)
INI_PRINT(ar9485_1_1_pcie_phy_clkreq_disable_L1);
INI_PRINT(ar9485_1_1_radio_postamble);
INI_PRINT(ar9485_1_1_mac_core);
+
+ INI_PRINT_DUP(ar9485_1_1_baseband_core_txfir_coeff_japan_2484,
+ ar9462_2p0_baseband_core_txfir_coeff_japan_2484);
}

static void ar9580_1p0_hw_print_initvals(bool check)
--
1.8.0



2012-11-20 01:29:48

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH] qca-swiss-army-knife: Add macro for TXFIR array

On Mon, Nov 12, 2012 at 10:04 PM, Sujith Manoharan <[email protected]> wrote:
> From: Sujith Manoharan <[email protected]>
>
> Signed-off-by: Sujith Manoharan <[email protected]>

Applied and pushed, thanks!

Luis