ath9k: Add functions to allocate/free buffers for MCI
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
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
--- 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
@@ -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
@@ -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