From 68f186311d23861ff5fcc66c8abae982a146ba4b Mon Sep 17 00:00:00 2001 From: Visweswara Tanuku Date: Mon, 19 Aug 2019 16:35:11 +0530 Subject: [PATCH] qcacmn: Genoa: SDIO: Tx - Do not use HTC_FLAGS_SEND_BUNDLE Genoa SDIO FW doesn't use the HTC_FLAGS_SEND_BUNDLE in send direction, host to fw Do not set this flag during Tx bundling for HTC Packets This is a WAR to avoid FW crash, until fix available from FW Crs-Fixed: 2511297 Change-Id: Iaf178f9e1a9c07ca25a8b801c667fb0d16fac85c --- htc/htc_send.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htc/htc_send.c b/htc/htc_send.c index e5f6c4b53e9d..7e3a30b0a7fd 100644 --- a/htc/htc_send.c +++ b/htc/htc_send.c @@ -490,7 +490,15 @@ static void htc_issue_packets_bundle(HTC_TARGET *target, SM(pPacket->ActualLength, HTC_FRAME_HDR_PAYLOADLEN) | SM(pPacket->PktInfo.AsTx.SendFlags | +#ifdef QCA_TX_PADDING_CREDIT_SUPPORT + /* + * This is a WAR to avoid FW Crash, + * to be removed once fixed in FW + */ + 0, +#else HTC_FLAGS_SEND_BUNDLE, +#endif HTC_FRAME_HDR_FLAGS) | SM(pPacket->Endpoint, HTC_FRAME_HDR_ENDPOINTID));