diff options
| author | Alok Kumar <alokkuma@codeaurora.org> | 2018-06-07 16:55:02 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-06-07 09:06:00 -0700 |
| commit | 06ddefea00943e27b9b11ebe7cd5e99f84e093a2 (patch) | |
| tree | 7664772481c10ab9832ade04e6da0de29cf4b3d6 | |
| parent | 7a541f829a76c20b15f3aa5d459241e196eba54c (diff) | |
qcacld-3.0: Fix compilation issue when HL_SUPPORT or LL_LEGACY is defined
Resolve "too many arguments" issue while calling OL_TX_SEND in case
if CONFIG_HL_SUPPORT or QCA_LL_LEGACY_TX_FLOW_CONTROL is defined.
Change-Id: I048d13d269388c94ee1934a517647cc08444e323
CRs-Fixed: 2256251
| -rw-r--r-- | core/dp/txrx/ol_tx.c | 6 | ||||
| -rw-r--r-- | core/dp/txrx/ol_tx.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/core/dp/txrx/ol_tx.c b/core/dp/txrx/ol_tx.c index 201498853abf..ccd87818817e 100644 --- a/core/dp/txrx/ol_tx.c +++ b/core/dp/txrx/ol_tx.c @@ -1148,7 +1148,8 @@ ol_tx_vdev_pause_queue_append(struct ol_txrx_vdev_t *vdev, * Store up the tx frame in the vdev's tx queue if the vdev is paused. * If there are too many frames in the tx queue, reject it. */ -qdf_nbuf_t ol_tx_ll_queue(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list) +qdf_nbuf_t ol_tx_ll_queue(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list, + bool notify_tx_comp) { uint16_t eth_type; uint32_t paused_reason; @@ -1970,7 +1971,8 @@ MSDU_LOOP_BOTTOM: } qdf_nbuf_t -ol_tx_hl(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list) +ol_tx_hl(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list, + bool notify_tx_comp) { struct ol_txrx_pdev_t *pdev = vdev->pdev; int tx_comp_req = pdev->cfg.default_tx_comp_req; diff --git a/core/dp/txrx/ol_tx.h b/core/dp/txrx/ol_tx.h index 35d56bb6dcb5..f6ae56790481 100644 --- a/core/dp/txrx/ol_tx.h +++ b/core/dp/txrx/ol_tx.h @@ -39,7 +39,8 @@ qdf_nbuf_t ol_tx_ll_fast(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list, bool notify_tx_comp); #endif -qdf_nbuf_t ol_tx_ll_queue(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list); +qdf_nbuf_t ol_tx_ll_queue(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list, + bool notify_tx_comp); #ifdef CONFIG_HL_SUPPORT #define OL_TX_SEND ol_tx_hl @@ -82,11 +83,12 @@ ol_tx_non_std_hl(ol_txrx_vdev_handle data_vdev, * ol_tx_hl() - transmit tx frames for a HL system. * @vdev: the virtual device transmit the data * @msdu_list: the tx frames to send + * @notify_tx_comp: is OTA to be notified * * Return: NULL if all MSDUs are accepted */ qdf_nbuf_t -ol_tx_hl(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list); +ol_tx_hl(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list, bool notify_tx_comp); qdf_nbuf_t ol_tx_non_std_ll(ol_txrx_vdev_handle data_vdev, |
