Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Sujith Manoharan <sujith@msujith.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH v2 11/11] ath9k: Start AIC calibration during MCI reset
Date: Sat, 14 Mar 2015 11:27:57 +0530	[thread overview]
Message-ID: <1426312677-2064-12-git-send-email-sujith@msujith.org> (raw)
In-Reply-To: <1426312677-2064-1-git-send-email-sujith@msujith.org>

From: Sujith Manoharan <c_manoha@qca.qualcomm.com>

When a MCI reset is done, make sure that AIC
is started.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath9k/ar9003_mci.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index cdd83d4..af5ee41 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -1017,6 +1017,9 @@ int ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
 	if (en_int)
 		ar9003_mci_enable_interrupt(ah);
 
+	if (ath9k_hw_is_aic_enabled(ah))
+		ar9003_aic_start_normal(ah);
+
 	return 0;
 }
 
-- 
2.3.1

      parent reply	other threads:[~2015-03-14  5:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14  5:57 [ath9k-devel] [PATCH v2 00/11] ath9k patches Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 01/11] ath9k: Add initial structures for AIC Sujith Manoharan
2015-03-20  6:29   ` [ath9k-devel] [v2,01/11] " Kalle Valo
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 02/11] ath9k: Register private AIC ops Sujith Manoharan
2015-03-20 11:06   ` Kalle Valo
2015-03-20 13:46     ` Sujith Manoharan
2015-03-20 13:55       ` Kalle Valo
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 03/11] ath9k: Add register definitions for AIC Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 04/11] ath9k: Handle MCI_STATE_AIC_CAL_SINGLE Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 05/11] ath9k: Finish AIC calibration Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 06/11] ath9k: Process the AIC calibration results Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 07/11] ath9k: Disable AIC by default Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 08/11] ath9k: Handle MCI_STATE_AIC_CAL_RESET Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 09/11] ath9k: Handle MCI_STATE_AIC_START Sujith Manoharan
2015-03-14  5:57 ` [ath9k-devel] [PATCH v2 10/11] ath9k: Handle MCI_STATE_AIC_CAL Sujith Manoharan
2015-03-14  5:57 ` Sujith Manoharan [this message]

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=1426312677-2064-12-git-send-email-sujith@msujith.org \
    --to=sujith@msujith.org \
    --cc=ath9k-devel@lists.ath9k.org \
    /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