From patchwork Fri Mar 20 18:35:23 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: 6059171 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CDA04BF90F for ; Fri, 20 Mar 2015 18:36:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0100820483 for ; Fri, 20 Mar 2015 18:36:26 +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 B2A432042A for ; Fri, 20 Mar 2015 18:36:24 +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 1YZ1mJ-0007At-4l; Fri, 20 Mar 2015 18:36:15 +0000 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YZ1mC-00071C-Qy for ath10k@lists.infradead.org; Fri, 20 Mar 2015 18:36:13 +0000 Received: by lbcgn8 with SMTP id gn8so81447838lbc.2 for ; Fri, 20 Mar 2015 11:35:43 -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=gumZa3EJcIgmEbhIHSaO0uuULJd7uoMFYHq7c2C93fE=; b=zT3lOkHrNZgkr6twnacguYVWcBFG9yJGfVKFC62lLRXO/k1mMQRH5WNW3IcQx5jRjs FLPH2Prm1fcuFA9nXUBZ77k1p1jEiyNo90OXJ0LDLyBQyITv+Yn89iUIr3zArcBZxLOq Ku8PHli//O65dPDMrYl7KF2tTNBZ00yUxtaIM= 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=gumZa3EJcIgmEbhIHSaO0uuULJd7uoMFYHq7c2C93fE=; b=RTz2+wNFusEfJkCGut8uHpVZMdff1dDLQahix6l9J4cOC+SM/9AthtMM0P/iG/lWX9 G7tScYQMbfjTweWqdvO9Mo+GtTmdXHGXXLkQJMcEb1Bb/vLsOsnX1kUnBTyBPEgUusCE vlPEFSQmxUeoyZBONGK3LWguOtOers3odeEyXYW2EmkC+IYTNMbrAgijTFG3f4Qx/ujp fVUSvJIumeoB0XKDJBMQEfgbiJH5fzD10+XihmIL3MkFOAkw0mwWVx28d8pT+nYIZ25v SmoyPYi23rbbC5fkn9EVMYWZgBn1r7Ysk2RGln8C5bQ0V+6Ydq1FUsLg3UfdDUKg6T8v r0ow== X-Gm-Message-State: ALoCoQmJ2wOeO7Dq0r6cQM4LgDVLh5fIpdUvrBzddF5E493chl8ks233sIKfD5StyOwXiKu+6ewg5oZYXMuZr2eB9eA3+ToTRTShwY56FVhKkqF4AK9r4xXFPeynaK/oalgnV9zTzT7fn08X9PPuW5WzLYoSdmD5YFvOq7p+7TKNfk3GMaSM6iGD1YzKXecx2VGwmCFUGIG4 X-Received: by 10.112.73.104 with SMTP id k8mr72147582lbv.120.1426876543595; Fri, 20 Mar 2015 11:35:43 -0700 (PDT) Received: from localhost.localdomain (host-62-141-198-36.swidnica.mm.pl. [62.141.198.36]) by mx.google.com with ESMTPSA id ba3sm1084522lbc.35.2015.03.20.11.35.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 11:35:42 -0700 (PDT) From: Janusz Dziedzic To: ath10k@lists.infradead.org Subject: [RFC] ath10k: IBSS allow to use RSN Date: Fri, 20 Mar 2015 19:35:23 +0100 Message-Id: <1426876523-5337-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-20150320_113609_270844_2A1FFBC5 X-CRM114-Status: UNSURE ( 5.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Janusz Dziedzic , greearb@candelatech.com 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 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 39c60f5..ebecfe9 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -6541,11 +6541,13 @@ int ath10k_mac_register(struct ath10k *ar) IEEE80211_HW_SPECTRUM_MGMT | IEEE80211_HW_SW_CRYPTO_CONTROL | IEEE80211_HW_CONNECTION_MONITOR | + IEEE80211_HW_SUPPORTS_PER_STA_GTK | IEEE80211_HW_WANT_MONITOR_VIF | IEEE80211_HW_CHANCTX_STA_CSA | IEEE80211_HW_QUEUE_CONTROL; ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS; + ar->hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; if (ar->ht_cap_info & WMI_HT_CAP_DYNAMIC_SMPS) ar->hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS;