Skip to contentSkip to conversation

ath9k: Add functions to allocate/free buffers for MCI

RFC New Mohammed Shafi Shajakhan 1 participant 1 message Nov 15, 2011 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

RFC 11/18 ath9k: Add functions to allocate/free buffers for MCI

From: Mohammed Shafi Shajakhan <[email protected]>

required buffers and dma allocation is done for GPM and SCHED messages

---
 drivers/net/wireless/ath/ath9k/ath9k.h |    1 +
 drivers/net/wireless/ath/ath9k/mci.c   |   78 ++++++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath9k/mci.h   |    2 +
 3 files changed, 81 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath9k/ath9k.h +1 -0
index 93b45b4..9f28cc4 100644
@@ -647,6 +647,7 @@ struct ath_softc {
 	struct delayed_work tx_complete_work;
 	struct delayed_work hw_pll_work;
 	struct ath_btcoex btcoex;
+	struct ath_mci_coex mci_coex;
 
 	struct ath_descdma txsdma;
 
drivers/net/wireless/ath/ath9k/mci.c +78 -0

87 lines not on this page · raw message

drivers/net/wireless/ath/ath9k/mci.h +2 -0
index 5df0d60..4eeb0fe 100644
@@ -132,4 +132,6 @@ void ath_mci_process_profile(struct ath_softc *sc,
 			     struct ath_mci_profile_info *info);
 void ath_mci_process_status(struct ath_softc *sc,
 			    struct ath_mci_profile_status *status);
+int ath_mci_setup(struct ath_softc *sc);
+void ath_mci_cleanup(struct ath_softc *sc);
 #endif
Signature · 1 line
1.7.0.4