Message ID | 1561487614-24577-3-git-send-email-msinada@codeaurora.org (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/4] ath11k: removed duplicated functionality | expand |
diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.c b/drivers/net/wireless/ath/ath11k/hal_tx.c index 3c04ebe23c22..2b1789a260d2 100644 --- a/drivers/net/wireless/ath/ath11k/hal_tx.c +++ b/drivers/net/wireless/ath/ath11k/hal_tx.c @@ -73,12 +73,14 @@ void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd, ti->bss_ast_hash); } +/* Commit the descriptor to hardware */ void ath11k_hal_tx_desc_sync(void *tx_desc_cached, void *hw_desc) { memcpy(hw_desc + sizeof(struct hal_tlv_hdr), tx_desc_cached, sizeof(struct hal_tcl_data_cmd)); } +/* Get the descriptor status from hardware */ void ath11k_hal_tx_status_desc_sync(void *hw_desc, void *local_desc) { memcpy(local_desc, hw_desc, HAL_TX_STATUS_DESC_LEN);
Added comments for ath11k_hal_tx_desc_sync() and ath11k_hal_tx_status_desc_sync() to explain their purpose. Signed-off-by: Muna Sinada <msinada@codeaurora.org> --- drivers/net/wireless/ath/ath11k/hal_tx.c | 2 ++ 1 file changed, 2 insertions(+)