From patchwork Mon Jun 8 05:42:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz.Dziedzic@tieto.com X-Patchwork-Id: 6562981 Return-Path: X-Original-To: patchwork-ath10k@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 3EC219F326 for ; Mon, 8 Jun 2015 05:43:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E3FA2049D for ; Mon, 8 Jun 2015 05:43:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F22F20437 for ; Mon, 8 Jun 2015 05:43:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z1ppp-00022l-Ca; Mon, 08 Jun 2015 05:42:57 +0000 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z1ppo-00021a-1q for ath10k@lists.infradead.org; Mon, 08 Jun 2015 05:42:56 +0000 Received: by wigg3 with SMTP id g3so39368501wig.1 for ; Sun, 07 Jun 2015 22:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=1qInFr6idVt2n5h4B0QhNDtf9KPsSx/W73Z9Dx3WryQ=; b=cgMk4LZSw43OaE3tVAh/Pm5TbVD20icbn9/6DsQPSD5QYb/4AKb84Id+jL+2+eROS3 BJWoMMxI7Sjp24L6nv4E5ib21pKFV0T6/tbKzo/OXhuzImr0IX8q2RcJ59BQAiOtXh8o hVF6AG5bhTpwlqmjhUHJTJJ4/hzhxs4ZFQ85E= 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; bh=1qInFr6idVt2n5h4B0QhNDtf9KPsSx/W73Z9Dx3WryQ=; b=MFe3NoQDd00HlrxVLLe3W3Un6+tAjIBbL+SAbwk6ec+7LarKBWjiFE3EozkKPwY6b8 VHoy26sqt3T/Jd3VE5wBn78STIjoK8ED+T7oZD0I4lKGxwBusjeCfaUv8MxAdCGchVlD k8b8Xw0cX3rx8vuBLuOS9Ec43Q/+nofe35nwoW29Qaygikrx1qvtFBLRAwUM1JcEOTIY qmmMMy3iXVxC4+Y2s1boVHzGNpEZn7UVbeoUOgRJJV53QrwTcRw/k/eQLmZ7GUNVNLoK 3x/P2qKZkyYyVB60fGrpHu3aWaW4Ynf7CBYYqPK7eeCvbg82OZALYf+F62eZcEIkAeiU vN/A== X-Gm-Message-State: ALoCoQlkXEcMzSiht0EytYDP9YHT9eC6GdhzInZBmfZp0kHXqxAi6LDoA6FJSPZlSLNaOLGq4A9EWiYRsEDXPXk6BW64atHm4RjZw8Z2MwYqY1dS7NQRVjl/nCp1ZABchCa5i2YvmexTW6qe2kbVT9hOFlktp+CpeLBXpO2fVPViS8C1rzpj4aE2owNjTueEZ3I0S/6NM+k6 X-Received: by 10.180.97.129 with SMTP id ea1mr18920657wib.24.1433742147470; Sun, 07 Jun 2015 22:42:27 -0700 (PDT) Received: from localhost.localdomain ([91.198.246.8]) by mx.google.com with ESMTPSA id r6sm9702434wiy.13.2015.06.07.22.42.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Jun 2015 22:42:26 -0700 (PDT) From: Janusz Dziedzic To: ath10k@lists.infradead.org Subject: [PATCH] ath10k: enable VHT for IBSS Date: Mon, 8 Jun 2015 07:42:24 +0200 Message-Id: <1433742144-19876-1-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.9.1 X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150607_224256_237720_2CF0CEE8 X-CRM114-Status: UNSURE ( 7.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Janusz Dziedzic , linux-wireless@vger.kernel.org X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Enable VHT support for IBSS. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath10k/mac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index f4de717..14a8f25 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -6949,6 +6949,8 @@ int ath10k_mac_register(struct ath10k *ar) goto err_free; } + wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS); + /* * on LL hardware queues are managed entirely by the FW * so we only advertise to mac we can do the queues thing