All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ath10k: enable ANI by default
@ 2015-03-18 18:01 Ashok Raj Nagarajan
  2015-03-18 18:01 ` [PATCH 2/2] ath10k: allow user to toggle ani_enable via debugfs Ashok Raj Nagarajan
  2015-03-19  8:45 ` [PATCH 1/2] ath10k: enable ANI by default Kalle Valo
  0 siblings, 2 replies; 7+ messages in thread
From: Ashok Raj Nagarajan @ 2015-03-18 18:01 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, Ashok Raj Nagarajan

ANI is currently not enabled by default. Enable this feature by default.

Signed-off-by: Ashok Raj Nagarajan <arnagara@qti.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 0f39af7..380d4b1 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -2896,6 +2896,14 @@ static int ath10k_start(struct ieee80211_hw *hw)
 		goto err_core_stop;
 	}
 
+	ret = ath10k_wmi_pdev_set_param(ar,
+					ar->wmi.pdev_param->ani_enable, 1);
+	if (ret) {
+		ath10k_warn(ar, "failed to enable ani by default: %d\n",
+			    ret);
+		goto err_core_stop;
+	}
+
 	ar->num_started_vdevs = 0;
 	ath10k_regd_update(ar);
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-19  8:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 18:01 [PATCH 1/2] ath10k: enable ANI by default Ashok Raj Nagarajan
2015-03-18 18:01 ` [PATCH 2/2] ath10k: allow user to toggle ani_enable via debugfs Ashok Raj Nagarajan
2015-03-19  8:52   ` Kalle Valo
2015-03-19  8:52     ` Kalle Valo
2015-03-19  8:45 ` [PATCH 1/2] ath10k: enable ANI by default Kalle Valo
2015-03-19  8:47   ` Kalle Valo
2015-03-19  8:47     ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.