From: Sujith Manoharan <sujith@msujith.org>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 01/16] ath9k: Add initval arrays for DFS channels
Date: Fri, 6 Dec 2013 16:28:39 +0530 [thread overview]
Message-ID: <1386327534-31105-2-git-send-email-sujith@msujith.org> (raw)
In-Reply-To: <1386327534-31105-1-git-send-email-sujith@msujith.org>
From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h | 7 +++++++
drivers/net/wireless/ath/ath9k/ar9340_initvals.h | 2 ++
drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h | 13 +++++++++++--
3 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
index e7cdf11..97b4bd1 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
@@ -1745,4 +1745,11 @@ static const u32 ar9300_2p2_baseband_core_txfir_coeff_japan_2484[][2] = {
{0x0000a3a0, 0xca9228ee},
};
+static const u32 ar9300_2p2_baseband_postamble_dfs_channel[][3] = {
+ /* Addr 5G 2G */
+ {0x00009824, 0x5ac668d0, 0x5ac668d0},
+ {0x00009e0c, 0x6d4000e2, 0x6d4000e2},
+ {0x00009e14, 0x37b9625e, 0x37b9625e},
+};
+
#endif /* INITVALS_9003_2P2_H */
diff --git a/drivers/net/wireless/ath/ath9k/ar9340_initvals.h b/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
index 7f22cb2..a01f0ed 100644
--- a/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
@@ -30,6 +30,8 @@
#define ar9340_1p0_baseband_core_txfir_coeff_japan_2484 ar9300_2p2_baseband_core_txfir_coeff_japan_2484
+#define ar9340_1p0_baseband_postamble_dfs_channel ar9300_2p2_baseband_postamble_dfs_channel
+
static const u32 ar9340_1p0_radio_postamble[][5] = {
/* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
{0x000160ac, 0xa4646800, 0xa4646800, 0xa4646800, 0xa4646800},
diff --git a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
index 75bef11..e6aec2c 100644
--- a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
@@ -57,8 +57,6 @@ static const u32 ar9580_1p0_baseband_core[][2] = {
{0x00009804, 0xfd14e000},
{0x00009808, 0x9c0a9f6b},
{0x0000980c, 0x04900000},
- {0x00009814, 0x3280c00a},
- {0x00009818, 0x00000000},
{0x0000981c, 0x00020028},
{0x00009834, 0x6400a190},
{0x00009838, 0x0108ecff},
@@ -1133,6 +1131,8 @@ static const u32 ar9580_1p0_rx_gain_table[][2] = {
static const u32 ar9580_1p0_baseband_postamble[][5] = {
/* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
{0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8011, 0xd00a8011},
+ {0x00009814, 0x3280c00a, 0x3280c00a, 0x3280c00a, 0x3280c00a},
+ {0x00009818, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
{0x00009820, 0x206a022e, 0x206a022e, 0x206a012e, 0x206a012e},
{0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
{0x00009828, 0x06903081, 0x06903081, 0x06903881, 0x06903881},
@@ -1207,4 +1207,13 @@ static const u32 ar9580_1p0_pcie_phy_pll_on_clkreq[][2] = {
{0x00004044, 0x00000000},
};
+static const u32 ar9580_1p0_baseband_postamble_dfs_channel[][3] = {
+ /* Addr 5G 2G */
+ {0x00009814, 0x3400c00f, 0x3400c00f},
+ {0x00009824, 0x5ac668d0, 0x5ac668d0},
+ {0x00009828, 0x06903080, 0x06903080},
+ {0x00009e0c, 0x6d4000e2, 0x6d4000e2},
+ {0x00009e14, 0x37b9625e, 0x37b9625e},
+};
+
#endif /* INITVALS_9580_1P0_H */
--
1.8.4.2
next prev parent reply other threads:[~2013-12-06 11:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 10:58 [PATCH 00/16] ath9k patches Sujith Manoharan
2013-12-06 10:58 ` Sujith Manoharan [this message]
2013-12-06 10:58 ` [PATCH 02/16] ath9k: Initialize baseband for DFS channels Sujith Manoharan
2013-12-06 10:58 ` [PATCH 03/16] ath9k: Update mac_postamble for AR9003 family Sujith Manoharan
2013-12-06 10:58 ` [PATCH 04/16] ath9k: Remove AR955x INI duplicates Sujith Manoharan
2013-12-06 10:58 ` [PATCH 05/16] ath9k: Update AR9331 v1.1 initvals Sujith Manoharan
2013-12-06 10:58 ` [PATCH 06/16] ath9k: Update AR9331 v1.2 initvals Sujith Manoharan
2013-12-06 10:58 ` [PATCH 07/16] ath9k: Use a separate TX gain table for WZR-HP-G450H Sujith Manoharan
2013-12-06 10:58 ` [PATCH 08/16] ath9k: Update high power gain table for AR9300 Sujith Manoharan
2013-12-06 10:58 ` [PATCH 09/16] ath9k: Identify duplicate AR9485 initvals Sujith Manoharan
2013-12-06 10:58 ` [PATCH 10/16] ath9k: Identify duplicate AR9462 v2.0 initvals Sujith Manoharan
2013-12-06 10:58 ` [PATCH 11/16] ath9k: Identify duplicate AR9565 v1.0 initvals Sujith Manoharan
2013-12-06 10:58 ` [PATCH 12/16] ath9k: Fix regulatory compliance Sujith Manoharan
2013-12-06 10:58 ` [PATCH 13/16] ath9k: Remove AR9330 v1.0 macro as it's not supported Sujith Manoharan
2013-12-06 10:58 ` [PATCH 14/16] ath9k: Enable manual peak calibration for AR9331 v1.1 Sujith Manoharan
2013-12-06 10:58 ` [PATCH 15/16] ath9k: Fix internal regulator for AR955x Sujith Manoharan
2013-12-06 10:58 ` [PATCH 16/16] ath9k: Apply tuning caps for AR9330 and AR9485 Sujith Manoharan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386327534-31105-2-git-send-email-sujith@msujith.org \
--to=sujith@msujith.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).