From patchwork Mon Nov 9 10:02:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 7581741 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E59A99F2E9 for ; Mon, 9 Nov 2015 09:01:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 467BC2077C for ; Mon, 9 Nov 2015 09:01:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5127420774 for ; Mon, 9 Nov 2015 09:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752106AbbKIJBq (ORCPT ); Mon, 9 Nov 2015 04:01:46 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:33919 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752609AbbKIJBn (ORCPT ); Mon, 9 Nov 2015 04:01:43 -0500 Received: by padhx2 with SMTP id hx2so184713786pad.1 for ; Mon, 09 Nov 2015 01:01:43 -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=I40rMlDjW7zdxnkE7+oSi4q23scrJJiH7kacNsUbFrU=; b=leh5vXW/VXX13CsO9BJhUHmdPtBjrumquqYijhsBDh70LOq/qOUtnUH3q5eYAG1Q2y CBmA8sjKFDntFGRf1+CuKxZfU+Ogzsk/E+BJ+OO4supBj/k0mt/N+2RTphUJIdLzYQdc fBvQwIa7Q4Z+DMJmVmt2JwR4CljPyouoQhDEK1kpZ/M+of6oZnLMXgy0NcgziQHN9/FM ZdtZYxBFo+Hp1K4vyZOez3r6G27JHxNXjVZZbCocMcHKh4DW8jphfklSYmRosxv1KwPX K0terHnZWbMzWubumyI54Qux0Y8QkHvDGddZfLdvSIDqokIV9khXNkaYNASU1V1VN+Fq JGDQ== 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=I40rMlDjW7zdxnkE7+oSi4q23scrJJiH7kacNsUbFrU=; b=IRDcF1vYo7oGdnzrZV/7ICdONsupM+knKVbqJLCFjPKstPFZJ8BXfoVE+7KbvFsJdp HFrKwaSwShVUnqkD2DcQrjPUI38/y6JGgEgdk6h+IaOO7g64yhcBA2WDGYX4S14mB2L2 MZ/D3xgUmindMZJ7nhyPZIk75nXTQXX+ehhQ2TH1N5/jEcOQAIc0NjHzSaFzcR6VMzji nh2G/OImCV8A5PqNX3x4eXHoXXJWWNvRsujmkRWVOrPyD3oAFuTZHpozYTYRFIUeJg/m iDqti/kDmiXLXue7Wt4ZGDf+7E9ljT5jKnE+8H6N3q8K3GUMTh337hlH/jwZWm/tOqK2 kz+Q== X-Gm-Message-State: ALoCoQms7rLbVPUekUDSBjTwHS1T5srTwy/d3k++3xYHWK53qyggNc3Bp/T718LgWjAbb6/gtj35 X-Received: by 10.68.235.40 with SMTP id uj8mr38173880pbc.95.1447059703416; Mon, 09 Nov 2015 01:01:43 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id ck9sm15005136pad.28.2015.11.09.01.01.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 01:01:39 -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 4/5] wcn3620: use new response format for wcn3620 trigger_ba Date: Mon, 9 Nov 2015 05:02:41 -0500 Message-Id: <1447063362-27322-5-git-send-email-fengwei.yin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447063362-27322-1-git-send-email-fengwei.yin@linaro.org> References: <1447063362-27322-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 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 a84c2cc..f2443a0 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1968,7 +1968,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;