From patchwork Tue Nov 10 08:25:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 7588481 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 902C0C05C6 for ; Tue, 10 Nov 2015 07:25:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BE350206D6 for ; Tue, 10 Nov 2015 07:25:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DEBAC206D2 for ; Tue, 10 Nov 2015 07:25:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751417AbbKJHZN (ORCPT ); Tue, 10 Nov 2015 02:25:13 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33368 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbbKJHZL (ORCPT ); Tue, 10 Nov 2015 02:25:11 -0500 Received: by pabfh17 with SMTP id fh17so226307518pab.0 for ; Mon, 09 Nov 2015 23:25:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Gm/VbnzMefMRaDfrw1EFt4d3/c+hFqqqF7Yizb10DBg=; b=duce43DKSF28zHkjxjgBKa0PE+L+0W889aTaOWNcYLjMJUhT20uMdK+NZKweu1NIfi gzIMhIFi4E2M2RQGgs1wf9hEpw23vBmdrGok6yYQnavSajmh04htmJjM8epFZ/LKxmHG tyIoaso45G4RFBEeb32x1W0UdPO0YRNzZlV3tQtJJoUGhPGyw1McafdH4b4Yxbs/z+1S zS5LLjDkCPAmZDylAUFmDWDsVvRMnUmaGxJY6qD03TUhsFo7Xi1OgjqdHuiwYAwTtUKn lwuzJ2LbbwZH+Z9oam+jflIbDnwcZIfFRcpic6sLD5d2FbC6O6KrXzPDhfkFS9DbNaEc 0ssg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Gm/VbnzMefMRaDfrw1EFt4d3/c+hFqqqF7Yizb10DBg=; b=la1ekyoinaNsfie/twXjvOO6NfYgOCnzjp/RbWpdSyTujHr0X1162Hm/XSCymZxaw/ KEXJLiaizE/TxEC6bCBCBWgZOYo+qfcBzp3l93BSSL/uO0OFXlWX2NJkwQQo/ByrjKyK u1vVcsWha4/jow86H5OgYHDRoBSYSeOKiS21J7asfwDURBM1/QYn/alsLB9GmEgHeYui 4upGW0HJaaemZAmIU4lmzjQgQwx1gb95HlUjKd9hmTddyGPBQ4DRG3zSpfi5ACOxKt2d x/OO27W2Qy21ANcQirwXdgScR3cOfuT19ZFrapeEY60mkpcgRINNa66scX6IgdwXjQZy aKHA== X-Gm-Message-State: ALoCoQl1M+Q5Gb5rwY64dsQaHqEFCHu2wMZ/LJAjBkkIpczscLJYdpvq9qolycSz2tYQANWcmcss X-Received: by 10.68.230.103 with SMTP id sx7mr3406988pbc.146.1447140311276; Mon, 09 Nov 2015 23:25:11 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id dw5sm2224716pbb.3.2015.11.09.23.25.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Nov 2015 23:25:10 -0800 (PST) From: "Yin, Fengwei" To: andy.green@linaro.org, linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org, me@bobcopeland.com, k.eugene.e@gmail.com, bjorn.andersson@sonymobile.com Cc: fengwei.yin@linaro.org Subject: [PATCH v2 4/5] wcn3620: use new response format for wcn3620 trigger_ba Date: Tue, 10 Nov 2015 03:25:54 -0500 Message-Id: <1447143955-10304-5-git-send-email-fengwei.yin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447143955-10304-1-git-send-email-fengwei.yin@linaro.org> References: <1447143955-10304-1-git-send-email-fengwei.yin@linaro.org> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andy Green On wcn3620, firmware response to trigger_ba uses the new, larger "v2" format Signed-off-by: Andy Green --- drivers/net/wireless/ath/wcn36xx/smd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index b7e61a0..dae5e1a 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1967,7 +1967,8 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index) wcn36xx_err("Sending hal_trigger_ba failed\n"); goto out; } - ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); + ret = wcn36xx_smd_rsp_status_check_v2(wcn, wcn->hal_buf, + wcn->hal_rsp_len); if (ret) { wcn36xx_err("hal_trigger_ba response failed err=%d\n", ret); goto out;