From patchwork Wed Apr 17 08:31:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surabhi Vishnoi X-Patchwork-Id: 10904965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E05717E0 for ; Wed, 17 Apr 2019 08:32:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62F3828A89 for ; Wed, 17 Apr 2019 08:32:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56E4C28A93; Wed, 17 Apr 2019 08:32:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ECC7728A89 for ; Wed, 17 Apr 2019 08:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IV4xyMJMAwmbYA5yPCWC5vqQC3ZUaSWlbwoCRaR5+To=; b=g4J8zbInrr9yT3FCPgE8Bcp/mw cbpHTGaTam/UyaqatWWWu2cRQHVqVD/BEoWH41iurPfYbgSCy0Kjfg9bW2YKmRLsAs/ZKm6ohvnxl HKXLvDOtR749UMDpObpr0GO0D2vh7xnJHjSCNd7J3MS3XOWoPxk6KcVc4XXN5UpTkIBtesJOnNtXa rhTi4SupxJvifKWiSDiumkFdoXj+5NvLd9dCjbJxWWbGd2IyZz96Frh1JYLVtxeVpdfxEQ6FdJg0c lNJdvpIkPwbOw1yU9Zqi0TFsaU/fJ9F2nuqoloUEcjcDsW7nt2IcG1NVEoW3Qui9k/MjXJwvE9SsD 40c8jzrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfze-0008Pr-7Y; Wed, 17 Apr 2019 08:32:34 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfzT-0008EA-UN for ath10k@lists.infradead.org; Wed, 17 Apr 2019 08:32:25 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6319E60E3E; Wed, 17 Apr 2019 08:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489943; bh=KIyEOE1q3E40iBxvgWxRBztREeTWHQ1QwUsuISPgbrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LJUeq/tSKaV+jjwDbYwyKdlPN7TeUCn9LDYIK5Ht8KEjKZmRMULRmo9idyXdN0rlH 2GXxx8ajpCXuXRPfRtZdrfpgDfqs+LXy0uFHMj6fi4zOrpMzmGv9u8cRX0YrNuSCT7 j9S7VnECmqRRTVXZgNql+SKJAHJDle7+lssQRlu4= Received: from svishnoi-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: svishnoi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id D3A1D61515; Wed, 17 Apr 2019 08:32:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489933; bh=KIyEOE1q3E40iBxvgWxRBztREeTWHQ1QwUsuISPgbrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QqHyItOnbZ6/XicXiMIJHvicekr+9Ii0a8rdC6+KZAJxxMODe8qtIKX3JGT5epfJe /1oQny0WFL61QDPUN33jomN8swB+Y1LcS0jvwyG5a0VZsbWEnF/bNFf61SSB5SGohm Nav+/CC3NgtN1cc6x7N4YB2feRw+q61dCS4ewrzo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D3A1D61515 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=svishnoi@codeaurora.org From: Surabhi Vishnoi To: ath10k@lists.infradead.org Subject: [PATCH 1/3] ath10k: Add wmi tlv vdev subtype for mesh in WCN3990 Date: Wed, 17 Apr 2019 14:01:45 +0530 Message-Id: <1555489907-30117-2-git-send-email-svishnoi@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> References: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_013224_010012_CF1086A7 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Surabhi Vishnoi MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP There is a disparity in wmi and wmi tlv vdev subtype enum for WMI_VDEV_SUBTYPE_MESH_11S. Add different enum for wmi tlv vdev subtype to support vdev of subtype mesh 11s for WCN3990. Tested HW: WCN3990 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 24 +++++++++++++++++++++++- drivers/net/wireless/ath/ath10k/wmi-tlv.h | 10 ++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index 582fb11..a19f7e2 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -1905,6 +1905,28 @@ static struct sk_buff *ath10k_wmi_tlv_op_gen_init(struct ath10k *ar) return skb; } +static int ath10k_wmi_tlv_op_get_vdev_subtype(struct ath10k *ar, + enum wmi_vdev_subtype subtype) +{ + switch (subtype) { + case WMI_VDEV_SUBTYPE_NONE: + return WMI_TLV_VDEV_SUBTYPE_NONE; + case WMI_VDEV_SUBTYPE_P2P_DEVICE: + return WMI_TLV_VDEV_SUBTYPE_P2P_DEV; + case WMI_VDEV_SUBTYPE_P2P_CLIENT: + return WMI_TLV_VDEV_SUBTYPE_P2P_CLI; + case WMI_VDEV_SUBTYPE_P2P_GO: + return WMI_TLV_VDEV_SUBTYPE_P2P_GO; + case WMI_VDEV_SUBTYPE_PROXY_STA: + return WMI_TLV_VDEV_SUBTYPE_PROXY_STA; + case WMI_VDEV_SUBTYPE_MESH_11S: + return WMI_TLV_VDEV_SUBTYPE_MESH_11S; + case WMI_VDEV_SUBTYPE_MESH_NON_11S: + return -ENOTSUPP; + } + return -ENOTSUPP; +} + static struct sk_buff * ath10k_wmi_tlv_op_gen_vdev_create(struct ath10k *ar, u32 vdev_id, @@ -4305,7 +4327,7 @@ static struct sk_buff *ath10k_wmi_tlv_op_gen_config_pno_stop(struct ath10k *ar, .gen_tdls_peer_update = ath10k_wmi_tlv_op_gen_tdls_peer_update, .gen_adaptive_qcs = ath10k_wmi_tlv_op_gen_adaptive_qcs, .fw_stats_fill = ath10k_wmi_main_op_fw_stats_fill, - .get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype, + .get_vdev_subtype = ath10k_wmi_tlv_op_get_vdev_subtype, .gen_echo = ath10k_wmi_tlv_op_gen_echo, .gen_vdev_spectral_conf = ath10k_wmi_tlv_op_gen_vdev_spectral_conf, .gen_vdev_spectral_enable = ath10k_wmi_tlv_op_gen_vdev_spectral_enable, diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.h b/drivers/net/wireless/ath/ath10k/wmi-tlv.h index 65e6aa5..55da01f 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.h +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.h @@ -1775,6 +1775,16 @@ struct wmi_tlv_start_scan_cmd { struct wmi_mac_addr mac_mask; } __packed; +enum wmi_tlv_vdev_subtype { + WMI_TLV_VDEV_SUBTYPE_NONE = 0, + WMI_TLV_VDEV_SUBTYPE_P2P_DEV = 1, + WMI_TLV_VDEV_SUBTYPE_P2P_CLI = 2, + WMI_TLV_VDEV_SUBTYPE_P2P_GO = 3, + WMI_TLV_VDEV_SUBTYPE_PROXY_STA = 4, + WMI_TLV_VDEV_SUBTYPE_MESH = 5, + WMI_TLV_VDEV_SUBTYPE_MESH_11S = 6, +}; + struct wmi_tlv_vdev_start_cmd { __le32 vdev_id; __le32 requestor_id; From patchwork Wed Apr 17 08:31:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surabhi Vishnoi X-Patchwork-Id: 10904961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01EFB17E6 for ; Wed, 17 Apr 2019 08:32:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC42628A92 for ; Wed, 17 Apr 2019 08:32:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D08B828A93; Wed, 17 Apr 2019 08:32:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7F1AD28A95 for ; Wed, 17 Apr 2019 08:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=gdCcgfzqtTDk4Izc/uGNJJQ+xnj7lSRf0VCs4mgGUXA=; b=M790ALXzZTQJVJjIkPLnHRsLYQ 0f8Tkh43fh5VAnau0W8EaJ6bvCSgQd73I7hsvvECPaBTPlmlA5r/eC0y0EYyDvg5CPS8G8OmbA0kr UZlO+Q0dHd2Tz7k5YpehK3pijLjMaHc+TLOQkLeR72sO01UkB2bcEvGNHN+nK7ReohtHqlqDYdBJh nnnHJMXuVecu5av5PgBa/BWnMsqg6qr7nBu1kwXA+yy29yRfcOhexNy/rzSdnlRaZNNqblijuTkPl /rzmfX73AexMKzqzOmwfw2D1g8f4gA+2plxsQFuZHmwrGC1AQGjcxj6g4t+St0hSyAxFzicA2XV7Z 8tia62uw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfzW-0008Eo-4c; Wed, 17 Apr 2019 08:32:26 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfzT-0008Dy-8Z for ath10k@lists.infradead.org; Wed, 17 Apr 2019 08:32:24 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D56C260FEE; Wed, 17 Apr 2019 08:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489942; bh=QY3hiOgqRuodPvXPRstmBwnhroHWWkcTpEAtjS5jZNA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hEvrVQTWVmR4W7UYwLBDmjyul7C8DcDxnTeEeybIQk0XHwZ40syLdwUN022ApLtPr bByZwdH4oaG9vNJAsrpp9wZKr9BnPy7dBVS6UyeA/ck9hEg2rPhJwuKMcpwQlkbqlh mjvARsjt84jTra9pKBrPXYIw8LQ8OVZNyq7fghug= Received: from svishnoi-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: svishnoi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 241A56118C; Wed, 17 Apr 2019 08:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489938; bh=QY3hiOgqRuodPvXPRstmBwnhroHWWkcTpEAtjS5jZNA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CcniLq6aoumBzoyOQ+m4FrlIiF06bOjl3b9/ZcBfW2FTYw65SyMQSyJeWMcQOWKXn KpOonLhyNKEQIvc++AQoDFTAcLs/394N0N7/4kEtLVhzsvth2SmaXUmJ5b3pwaBPJ8 sZJDMHeL74Ynwl82LSNvQSVpjgPxGCRXr2v3rp0g= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 241A56118C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=svishnoi@codeaurora.org From: Surabhi Vishnoi To: ath10k@lists.infradead.org Subject: [PATCH 2/3] ath10k: Do not send probe response template for mesh Date: Wed, 17 Apr 2019 14:01:46 +0530 Message-Id: <1555489907-30117-3-git-send-email-svishnoi@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> References: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_013223_316487_A327E9A9 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Surabhi Vishnoi MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Currently mac80211 do not support probe response template for mesh point. When WMI_SERVICE_BEACON_OFFLOAD is enabled, host driver tries to configure probe response template for mesh, but it fails because the interface type is not NL80211_IFTYPE_AP but NL80211_IFTYPE_MESH_POINT. To avoid this failure, skip sending probe response template to firmware for mesh point. Tested HW: WCN3990/QCA6174/QCA9984 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/mac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index b73c23d..3eceb67 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -1630,6 +1630,10 @@ static int ath10k_mac_setup_prb_tmpl(struct ath10k_vif *arvif) if (arvif->vdev_type != WMI_VDEV_TYPE_AP) return 0; + /* For mesh, probe response and beacon share the same template */ + if (ieee80211_vif_is_mesh(vif)) + return 0; + prb = ieee80211_proberesp_get(hw, vif); if (!prb) { ath10k_warn(ar, "failed to get probe resp template from mac80211\n"); From patchwork Wed Apr 17 08:31:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surabhi Vishnoi X-Patchwork-Id: 10904967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88B3917E0 for ; Wed, 17 Apr 2019 08:32:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F65528A92 for ; Wed, 17 Apr 2019 08:32:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6367028A95; Wed, 17 Apr 2019 08:32:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1FEC528A92 for ; Wed, 17 Apr 2019 08:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Cet/k4e3BbOqI5eqRyRq7KrO0yOTSz/0a341uVaI7Tw=; b=YAo4qAGlZ1tZUDGRYFXrZdVC9R C7vVVMmw7AXlWS6DPbAQslt8ZC9TXY91dB5YPcyXSOC6aTV0dus2R3azVE4ydzlIq/R74cWwAc1u/ lApd39ijIT/4YlbizaxS3CJxw17e33oU/GhWizfOwWTi/AgECvRBft5QAhXotA9wDfOMvFTKsY1ZS SsV+qtumj4a49s7NFIuvT7+m3s+5Gy3s3tyx0m6Ibst7ZYLnvoCzbpiX7RmHVy7ycE/m90231iDl2 0wZHJoBnMzlBGlYmTK+2wEMs9AIJShGgeGZvOisD67s7PeOxX1aeBs1CEmVlbeSsC40NOkvK92Mx4 i6e47O9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfzh-0008V9-LZ; Wed, 17 Apr 2019 08:32:37 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfzY-0008II-W8 for ath10k@lists.infradead.org; Wed, 17 Apr 2019 08:32:31 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 837AD61515; Wed, 17 Apr 2019 08:32:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489948; bh=7nKtRDKLymvzW1W/Ec0+tfw/W1MC7GDUJB/Kt34SHsg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eEtD6TgLeXc61ukbEqjDSXqbjtXKyAuzJaDdapjE283DakXMDbK+Ny/ddtY9jd9sP /9G6VBnYjllXGK3O00dsGUoi84xEpomIN+4My4QHURO54VRNNWSHJoT5tTgt3BXJAC gLfykwOhi6ffEY+qJD6EKZV9wouXdUbuN3/otkK0= Received: from svishnoi-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: svishnoi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A0379619AD; Wed, 17 Apr 2019 08:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555489948; bh=7nKtRDKLymvzW1W/Ec0+tfw/W1MC7GDUJB/Kt34SHsg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eEtD6TgLeXc61ukbEqjDSXqbjtXKyAuzJaDdapjE283DakXMDbK+Ny/ddtY9jd9sP /9G6VBnYjllXGK3O00dsGUoi84xEpomIN+4My4QHURO54VRNNWSHJoT5tTgt3BXJAC gLfykwOhi6ffEY+qJD6EKZV9wouXdUbuN3/otkK0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A0379619AD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=svishnoi@codeaurora.org From: Surabhi Vishnoi To: ath10k@lists.infradead.org Subject: [PATCH 3/3] ath10k: Add wmi tlv service map for mesh 11s Date: Wed, 17 Apr 2019 14:01:47 +0530 Message-Id: <1555489907-30117-4-git-send-email-svishnoi@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> References: <1555489907-30117-1-git-send-email-svishnoi@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_013229_445142_DEBE0CF0 X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Surabhi Vishnoi MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 firmware advertises the service WMI_TLV_SERVICE_MESH_11S for mesh 11s. Map this wmi tlv service to enable mesh 11s for WCN3990. Tested HW: WCN3990 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi-tlv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.h b/drivers/net/wireless/ath/ath10k/wmi-tlv.h index 55da01f..bc3198b 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.h +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.h @@ -1567,6 +1567,8 @@ enum wmi_tlv_service { WMI_SERVICE_SAP_AUTH_OFFLOAD, len); SVCMAP(WMI_TLV_SERVICE_MGMT_TX_WMI, WMI_SERVICE_MGMT_TX_WMI, len); + SVCMAP(WMI_TLV_SERVICE_MESH_11S, + WMI_SERVICE_MESH_11S, len); } static inline void