diff options
| author | Yun Park <yunp@codeaurora.org> | 2017-07-28 14:08:14 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-09-19 01:41:03 -0700 |
| commit | ea2aa14ca6a92b6c4951985630cf5eefacf6d2a8 (patch) | |
| tree | 8c1722bf86376d4f0330895d684e08cc03797400 | |
| parent | e0c242b01c6c66cb1ad8fcde77581eb2bdd8e32f (diff) | |
qcacld-3.0: Change to include Fw interface file wdi_ipa.h
For WLAN FW-host interface file automation, need to pull in WDI IPA
interface definition file wdi_ipa.h, into WLAN host driver.
This change is to match host dirver MACRO names with wdi_ipa.h.
Change-Id: Idcf9c524611b986b8ffeb399f6fa1286c0ff3c33
CRs-Fixed: 2085741
| -rw-r--r-- | core/dp/htt/htt_h2t.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/core/dp/htt/htt_h2t.c b/core/dp/htt/htt_h2t.c index 1d7b79aa74e5..ac9027f0f58d 100644 --- a/core/dp/htt/htt_h2t.c +++ b/core/dp/htt/htt_h2t.c @@ -47,6 +47,7 @@ #include <htc_api.h> /* HTC_PACKET */ #include <htc.h> /* HTC_HDR_ALIGNMENT_PADDING */ #include <htt.h> /* HTT host->target msg defs */ +#include <wdi_ipa.h> /* HTT host->target WDI IPA msg defs */ #include <ol_txrx_htt_api.h> /* ol_tx_completion_handler, htt_tx_status */ #include <ol_htt_tx_api.h> @@ -1392,7 +1393,7 @@ int htt_h2t_ipa_uc_get_share_stats(struct htt_pdev_t *pdev, uint8_t reset_stats) /* reserve room for HTC header */ msg = qdf_nbuf_alloc(pdev->osdev, HTT_MSG_BUF_SIZE(HTT_WDI_IPA_OP_REQUEST_SZ)+ - HTT_MSG_BUF_SIZE(HTT_WDI_IPA_OP_REQ_GET_SHARING_STATS_SZ), + HTT_MSG_BUF_SIZE(WLAN_WDI_IPA_GET_SHARING_STATS_REQ_SZ), HTC_HEADER_LEN + HTC_HDR_ALIGNMENT_PADDING, 4, false); if (!msg) { htt_htc_pkt_free(pdev, pkt); @@ -1400,7 +1401,7 @@ int htt_h2t_ipa_uc_get_share_stats(struct htt_pdev_t *pdev, uint8_t reset_stats) } /* set the length of the message */ qdf_nbuf_put_tail(msg, HTT_WDI_IPA_OP_REQUEST_SZ+ - HTT_WDI_IPA_OP_REQ_GET_SHARING_STATS_SZ); + WLAN_WDI_IPA_GET_SHARING_STATS_REQ_SZ); /* fill in the message contents */ msg_word = (uint32_t *) qdf_nbuf_data(msg); @@ -1415,7 +1416,7 @@ int htt_h2t_ipa_uc_get_share_stats(struct htt_pdev_t *pdev, uint8_t reset_stats) msg_word++; *msg_word = 0; - HTT_WDI_IPA_OP_REQ_GET_SHARING_STATS_RESET_STATS_SET(*msg_word, + WLAN_WDI_IPA_GET_SHARING_STATS_REQ_RESET_STATS_SET(*msg_word, reset_stats); SET_HTC_PACKET_INFO_TX(&pkt->htc_pkt, @@ -1456,7 +1457,7 @@ int htt_h2t_ipa_uc_set_quota(struct htt_pdev_t *pdev, uint64_t quota_bytes) /* reserve room for HTC header */ msg = qdf_nbuf_alloc(pdev->osdev, HTT_MSG_BUF_SIZE(HTT_WDI_IPA_OP_REQUEST_SZ)+ - HTT_MSG_BUF_SIZE(HTT_WDI_IPA_OP_REQ_SET_QUOTA_SZ), + HTT_MSG_BUF_SIZE(WLAN_WDI_IPA_SET_QUOTA_REQ_SZ), HTC_HEADER_LEN + HTC_HDR_ALIGNMENT_PADDING, 4, false); if (!msg) { htt_htc_pkt_free(pdev, pkt); @@ -1464,7 +1465,7 @@ int htt_h2t_ipa_uc_set_quota(struct htt_pdev_t *pdev, uint64_t quota_bytes) } /* set the length of the message */ qdf_nbuf_put_tail(msg, HTT_WDI_IPA_OP_REQUEST_SZ+ - HTT_WDI_IPA_OP_REQ_SET_QUOTA_SZ); + WLAN_WDI_IPA_SET_QUOTA_REQ_SZ); /* fill in the message contents */ msg_word = (uint32_t *) qdf_nbuf_data(msg); @@ -1479,19 +1480,19 @@ int htt_h2t_ipa_uc_set_quota(struct htt_pdev_t *pdev, uint64_t quota_bytes) msg_word++; *msg_word = 0; - HTT_WDI_IPA_OP_REQ_SET_QUOTA_SET_QUOTA_SET(*msg_word, quota_bytes > 0); + WLAN_WDI_IPA_SET_QUOTA_REQ_SET_QUOTA_SET(*msg_word, quota_bytes > 0); msg_word++; *msg_word = 0; - HTT_WDI_IPA_OP_REQ_SET_QUOTA_QUOTA_LO_SET(*msg_word, + WLAN_WDI_IPA_SET_QUOTA_REQ_QUOTA_LO_SET(*msg_word, (uint32_t)(quota_bytes & - HTT_WDI_IPA_OP_REQ_SET_QUOTA_QUOTA_LO_M)); + WLAN_WDI_IPA_SET_QUOTA_REQ_QUOTA_LO_M)); msg_word++; *msg_word = 0; - HTT_WDI_IPA_OP_REQ_SET_QUOTA_QUOTA_HI_SET(*msg_word, + WLAN_WDI_IPA_SET_QUOTA_REQ_QUOTA_HI_SET(*msg_word, (uint32_t)(quota_bytes>>32 & - HTT_WDI_IPA_OP_REQ_SET_QUOTA_QUOTA_HI_M)); + WLAN_WDI_IPA_SET_QUOTA_REQ_QUOTA_HI_M)); SET_HTC_PACKET_INFO_TX(&pkt->htc_pkt, htt_h2t_send_complete_free_netbuf, |
