From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from alexa-out-tai-02.qualcomm.com ([103.229.16.227]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2xbe-0002hx-RF for ath10k@lists.infradead.org; Wed, 28 Aug 2019 13:03:24 +0000 Subject: RE: [PATCH v2 5/7] ath10k: add htt TX bundle for sdio From: Wen Gong Date: Wed, 28 Aug 2019 13:03:19 +0000 Message-ID: <2ebd81574092476a952ddeb671d1bfcf@aptaiexm02f.ap.qualcomm.com> References: <1566903707-27536-1-git-send-email-wgong@codeaurora.org> <1566903707-27536-6-git-send-email-wgong@codeaurora.org> In-Reply-To: Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Nicolas Boichat , Wen Gong Cc: "open list:NETWORKING DRIVERS (WIRELESS)" , "ath10k@lists.infradead.org" > -----Original Message----- > From: ath10k On Behalf Of Nicolas > Boichat > Sent: Wednesday, August 28, 2019 1:36 PM > To: Wen Gong > Cc: open list:NETWORKING DRIVERS (WIRELESS) wireless@vger.kernel.org>; ath10k@lists.infradead.org > Subject: [EXT] Re: [PATCH v2 5/7] ath10k: add htt TX bundle for sdio > > > > + int cn = 0; > > + unsigned int skb_len; > > + > > + ath10k_dbg(ar, ATH10K_DBG_HTC, "bundle skb: len:%d\n", > bundle_skb->len); > > + skb_len = bundle_skb->len; > > + ret = ath10k_htc_consume_credit(ep, skb_len, true); > > ret makes me think of some error status, can we find a better name? > Like credit_available or something? If consume fail, it mean a error status(-EAGAIN), then it mean fail for this tx. > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k