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: 56193 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp65440lbb; Mon, 9 Nov 2015 01:01:46 -0800 (PST) X-Received: by 10.68.204.133 with SMTP id ky5mr34482284pbc.134.1447059706540; Mon, 09 Nov 2015 01:01:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xu3si21064054pab.194.2015.11.09.01.01.46; Mon, 09 Nov 2015 01:01:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752106AbbKIJBq (ORCPT + 1 other); 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 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(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;