qcacmn: Management MGMT TXRX component over HTT

Currently there is no support for management MGMT TXRX
component over HTT endpoint and supports only over WMI.
As a result for platforms which does not support MGMT
over WMI will break other components which uses MGMT TXRX
component to send mgmt packets.

In this change implement changes to support MGMT TXRX
component over HTT.

Change-Id: I487aca3893aa21905a744e2e5dc7104e6c414fdc
CRs-Fixed: 2097694
This commit is contained in:
Sravan Kumar Kairam 2017-07-19 17:38:20 +05:30 • committed by snandini
commit 786886b483
4 changed files with 18 additions and 8 deletions

View file

@ -231,9 +231,8 @@ cdp_mgmt_send_ext(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
static inline void
cdp_mgmt_tx_cb_set(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
uint8_t type,
ol_txrx_mgmt_tx_cb download_cb,
ol_txrx_mgmt_tx_cb ota_ack_cb, void *ctxt)
uint8_t type, ol_txrx_mgmt_tx_cb download_cb,
ol_txrx_mgmt_tx_cb ota_ack_cb, void *ctxt)
{
if (soc->ops->cmn_drv_ops->txrx_mgmt_tx_cb_set)
return soc->ops->cmn_drv_ops->txrx_mgmt_tx_cb_set

View file

@ -104,10 +104,10 @@ struct cdp_cmn_ops {
* callback function
*/
void (*txrx_mgmt_tx_cb_set)
(struct cdp_pdev *pdev, uint8_t type,
ol_txrx_mgmt_tx_cb download_cb, ol_txrx_mgmt_tx_cb ota_ack_cb,
void *ctxt);
void (*txrx_mgmt_tx_cb_set)(struct cdp_pdev *pdev, uint8_t type,
ol_txrx_mgmt_tx_cb download_cb,
ol_txrx_mgmt_tx_cb ota_ack_cb,
void *ctxt);
int (*txrx_get_tx_pending)(struct cdp_pdev *pdev);