From patchwork Tue Nov 10 08:25:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 7588461 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 418389F392 for ; Tue, 10 Nov 2015 07:25:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72FAD206D8 for ; Tue, 10 Nov 2015 07:25:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 97DBF206D2 for ; Tue, 10 Nov 2015 07:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751228AbbKJHZE (ORCPT ); Tue, 10 Nov 2015 02:25:04 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36521 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbbKJHZC (ORCPT ); Tue, 10 Nov 2015 02:25:02 -0500 Received: by pacdm15 with SMTP id dm15so201932403pac.3 for ; Mon, 09 Nov 2015 23:25:02 -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=r/bZxRVcT6qtpxKMRcKdxPxgDwVlgJ/MZqNDpJnEWsk=; b=uwtfmHYOfhXm3aqZKqyVwe8y+Wwor+l0JlRf4FkLYqo2H41H0v0eMQQq2DPIRQkqpQ Lv0wAQE67VtpORJcVoTk0oeW9/XJ8o4hxQkVHqkod5RBn/rc8BGSoeHOe+UmSBqa/BUC 8MIygpH1K5xUB/5nUlFzdQ1N7JxtUYzji28dVrPFdcfoJbLfqSeMXzJXxS4tEM6hniNh 2BbA1Zka8vuzdvy/uHrsV6Cg/iwF/mQcoRu3F7oye00B9f7QHeL7kI5A2MD7ZeyMzbv1 ELhKm5qPbjQEeM1Fx1DN/ttgbtqbcKB9zOtS4tujiERxMSB7pIFFDC9S54H4JexbYFmI N2aQ== 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=r/bZxRVcT6qtpxKMRcKdxPxgDwVlgJ/MZqNDpJnEWsk=; b=A5gj2KrzcqPi3l5ORbVPVoLWNNp9498KGWa4fjzfojrRslvLJsk1tfIrdmKvnXE/RA Ua396DrVB+cYmJNTnVExUBjXgvVApzuELNqWGqqcGBtNiW7evRBfyOnp6If2NgwxA3Tj KgbcqbQbq8dpEK5o/j4Cukb9nyymMmU1Tae1tY52n/G5RdrARgbnK7TThL8lgn9VkC5g P8ArYC7TU0oHV0UCiYFqr+rKULN9HpoU/3DZqbFXScHSlAO7P0YJLpoMZgZFKPj2iLmp Z788ztf7F+ooKVX/Fy3g0rOJs26gkVOkqvTSjvZ0PJlk3VqlRKzxAjsDNtZpp6B9WSz3 FNQg== X-Gm-Message-State: ALoCoQlKXrPhLwgX+WMPY3Y1JDbm38t1MqZtxjV/4pcc7/nLHWdWkg0qIHsLBaN+U0/aFtPF/Ea0 X-Received: by 10.66.218.170 with SMTP id ph10mr3318251pac.58.1447140302081; Mon, 09 Nov 2015 23:25:02 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id dw5sm2224716pbb.3.2015.11.09.23.24.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Nov 2015 23:25:01 -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 2/5] wcn36xx: swallow two wcn3620 IND messages Date: Tue, 10 Nov 2015 03:25:52 -0500 Message-Id: <1447143955-10304-3-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 WCN3620 can asynchronously send two new kinds of indication message, since we can't handle them just accept them quietly. Signed-off-by: Andy Green --- v2: used one break for both in the second stanza drivers/net/wireless/ath/wcn36xx/smd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index c9263e1..be317f4 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2128,6 +2128,8 @@ static void wcn36xx_smd_rsp_process(struct wcn36xx *wcn, void *buf, size_t len) complete(&wcn->hal_rsp_compl); break; + case WCN36XX_HAL_COEX_IND: + case WCN36XX_HAL_AVOID_FREQ_RANGE_IND: case WCN36XX_HAL_OTA_TX_COMPL_IND: case WCN36XX_HAL_MISSED_BEACON_IND: case WCN36XX_HAL_DELETE_STA_CONTEXT_IND: @@ -2174,6 +2176,9 @@ static void wcn36xx_ind_smd_work(struct work_struct *work) msg_header = (struct wcn36xx_hal_msg_header *)hal_ind_msg->msg; switch (msg_header->msg_type) { + case WCN36XX_HAL_COEX_IND: + case WCN36XX_HAL_AVOID_FREQ_RANGE_IND: + break; case WCN36XX_HAL_OTA_TX_COMPL_IND: wcn36xx_smd_tx_compl_ind(wcn, hal_ind_msg->msg,