From patchwork Sun Jan 18 05:11:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: warmcat X-Patchwork-Id: 43275 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 809A6240BA for ; Sun, 18 Jan 2015 05:11:22 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf14180399lab.1 for ; Sat, 17 Jan 2015 21:11:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:subject:from:to:cc:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=3tRnqpCoCu+YqjWKE4ZqUUY7qpDeSKOvqwbsHFVn2bU=; b=ZPshRRgCGGdjhvbiAI7EIgEOmcaoi2OHFLk/WWvYrPf7axloIKxx4l5wu0/EFf97La sl7T96gjSdp6toFe89BcDztPWB0nAIC9OxpjXT8mC9bcT7IOs4z/KppiQRwy1xh5yDwZ HGtcjLlaBnHxcTJ1brTfcf9aV/APCfnd0ZitaLkFQGyj5XcYKnebE7gjdMXf8+qFSQSn ZeQDUB0+FNiIVCFn7xYtfB1Y8cXwdrK6YwiX3KXJWfVjNdF2ScG2RnNOqlZrUSQxqiig 8GNLNqy0TqiwH+yrwhnD9uiIxnryHbzX+p7bf3PbdbJypAGQbmhDeIKrezx4xL3hhPxj iUkg== X-Gm-Message-State: ALoCoQmkwEdpEMUhZZ2FiSSBRxQxjcyWisS8GVW9a6OO7RyTuYCH2V4RSBJc5z3Z83v9ppcQX+Tx X-Received: by 10.112.37.72 with SMTP id w8mr42649lbj.6.1421557880978; Sat, 17 Jan 2015 21:11:20 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.184.72 with SMTP id es8ls32106lac.74.gmail; Sat, 17 Jan 2015 21:11:20 -0800 (PST) X-Received: by 10.112.129.195 with SMTP id ny3mr23817837lbb.10.1421557880804; Sat, 17 Jan 2015 21:11:20 -0800 (PST) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com. [2a00:1450:4010:c03::22b]) by mx.google.com with ESMTPS id oi2si7164400lbb.125.2015.01.17.21.11.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Jan 2015 21:11:20 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22b as permitted sender) client-ip=2a00:1450:4010:c03::22b; Received: by mail-la0-f43.google.com with SMTP id q1so8891192lam.2 for ; Sat, 17 Jan 2015 21:11:20 -0800 (PST) X-Received: by 10.152.45.4 with SMTP id i4mr23623011lam.74.1421557880689; Sat, 17 Jan 2015 21:11:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp740486lbb; Sat, 17 Jan 2015 21:11:19 -0800 (PST) X-Received: by 10.68.69.109 with SMTP id d13mr25056502pbu.57.1421557879021; Sat, 17 Jan 2015 21:11:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ni2si11142593pdb.103.2015.01.17.21.11.18; Sat, 17 Jan 2015 21:11:19 -0800 (PST) Received-SPF: none (google.com: netdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116AbbARFLP (ORCPT + 3 others); Sun, 18 Jan 2015 00:11:15 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:39370 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbbARFLM (ORCPT ); Sun, 18 Jan 2015 00:11:12 -0500 Received: by mail-pd0-f175.google.com with SMTP id g10so30192647pdj.6; Sat, 17 Jan 2015 21:11:12 -0800 (PST) X-Received: by 10.66.132.6 with SMTP id oq6mr35317522pab.29.1421557872193; Sat, 17 Jan 2015 21:11:12 -0800 (PST) Received: from warmcat.com (114-36-241-182.dynamic.hinet.net. [114.36.241.182]) by mx.google.com with ESMTPSA id j1sm8021608pbq.85.2015.01.17.21.11.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Jan 2015 21:11:11 -0800 (PST) Subject: [PATCH 5/7] net: wireless: wcn36xx: swallow two wcn3620 IND messages From: Andy Green To: Kalle Valo , Eugene Krasnikov Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Date: Sun, 18 Jan 2015 13:11:05 +0800 Message-ID: <20150118051105.31866.43889.stgit@114-36-241-182.dynamic.hinet.net> In-Reply-To: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> References: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: netdev@vger.kernel.org X-Original-Sender: andy.green@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22b as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@ Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- drivers/net/wireless/ath/wcn36xx/smd.c | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe netdev" 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 6398693..819741c 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2061,6 +2061,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: @@ -2107,6 +2109,10 @@ 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: + break; + 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,