qcacmn: Print re-queue message based on threshold

When packet tx fails at transport layer, packet is re-queued and given to
HIF layer again. In this change, print the warning message about re-queue
only when tx fails for 5 consecutive attempts due to no resources
available at HIF layer.
Since re-queuing is not fatal, it need not be printed on every attempt.

Change-Id: I00082470420e29dfe4fb7a745ac709a682ba032e
CRs-Fixed: 2621763
此提交包含在:
Manoj Ekbote
2020-01-15 22:10:25 -08:00
提交者 nshrivas
父節點 c6e9bd033c
當前提交 1c1ef8c2bd
共有 4 個檔案被更改,包括 72 行新增8 行删除

查看文件

@@ -654,6 +654,15 @@ A_STATUS htc_add_receive_pkt_multiple(HTC_HANDLE HTCHandle,
bool htc_is_endpoint_active(HTC_HANDLE HTCHandle,
HTC_ENDPOINT_ID Endpoint);
/**
* htc_set_pkt_dbg - Set up debug flag for HTC packets
* @HTCHandle - HTC handle
* @dbg_flag - enable or disable flag
*
* Return: none
*/
void htc_set_pkt_dbg(HTC_HANDLE handle, A_BOOL dbg_flag);
/**
* htc_set_nodrop_pkt - Set up nodrop pkt flag for mboxping nodrop pkt
* @HTCHandle - HTC handle