qcacmn: Add option to configure H-T-C pipe ready message timeout

Add INI option to configure Host-Target communication pipe ready
message timeout for debug.

Change-Id: I0b29ced69b67debcc4059b3ffb6578f3e808bf5c
This commit is contained in:
Sajini R
2021-05-05 17:54:39 +05:30
committed by Madan Koyyalamudi
부모 dcd62f697c
커밋 ffc4a9de53
4개의 변경된 파일16개의 추가작업 그리고 7개의 파일을 삭제

파일 보기

@@ -363,6 +363,14 @@ HTC_HANDLE htc_create(void *ol_sc, struct htc_init_info *pInfo,
target->osdev = osdev;
target->con_mode = con_mode;
/* If htc_ready_timeout_ms is not configured from CFG,
* assign the default timeout value here.
*/
if (!target->HTCInitInfo.htc_ready_timeout_ms)
target->HTCInitInfo.htc_ready_timeout_ms =
HTC_CONTROL_RX_TIMEOUT;
reset_endpoint_states(target);
INIT_HTC_PACKET_QUEUE(&target->ControlBufferTXFreeList);