From patchwork Tue Oct 25 22:44:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jouni Malinen X-Patchwork-Id: 9395673 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A8B660234 for ; Tue, 25 Oct 2016 22:45:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D8F62953C for ; Tue, 25 Oct 2016 22:45:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 028D429540; Tue, 25 Oct 2016 22:45:38 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B79632953C for ; Tue, 25 Oct 2016 22:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755097AbcJYWpd (ORCPT ); Tue, 25 Oct 2016 18:45:33 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:39229 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754654AbcJYWp3 (ORCPT ); Tue, 25 Oct 2016 18:45:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1477435529; x=1508971529; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=4ldMF1FhiC6gCW4tglxlNdT3Jpqd2T9zHfo2yal6SVo=; b=Y+dPI2Bq2x/8iuN1stfm03cHKQPLUCRQUe23IpVPXIreYTlyRnVnCjPV MXoATi1PmJY7LM07zO+O6rNz+oju3/SovxvnQd+xyeXFvRAVHu3fnVzmN srgGZbJxLxIs4Ha0QkYx8HEtQWYAMaXmkTsoqjEQOvegwZN0L6X7v5YoO k=; X-IronPort-AV: E=Sophos;i="5.31,399,1473145200"; d="scan'208";a="329940030" Received: from unknown (HELO ironmsg02-R.qualcomm.com) ([10.53.140.106]) by wolverine02.qualcomm.com with ESMTP; 25 Oct 2016 15:45:29 -0700 X-IronPort-AV: E=McAfee;i="5700,7163,8329"; a="834558951" Received: from nasanexm02g.na.qualcomm.com ([10.85.0.88]) by ironmsg02-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 25 Oct 2016 15:45:29 -0700 Received: from euamsexm01e.eu.qualcomm.com (10.251.127.42) by nasanexm02g.na.qualcomm.com (10.85.0.88) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 25 Oct 2016 15:45:28 -0700 Received: from jouni.qca.qualcomm.com (10.80.80.8) by euamsexm01e.eu.qualcomm.com (10.251.127.42) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 26 Oct 2016 00:45:23 +0200 From: Jouni Malinen To: Johannes Berg CC: , Jouni Malinen Subject: [PATCH 8/8] mac80211: Claim Fast Initial Link Setup (FILS) support Date: Wed, 26 Oct 2016 01:44:49 +0300 Message-ID: <1477435489-8555-4-git-send-email-jouni@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477435489-8555-1-git-send-email-jouni@qca.qualcomm.com> References: <1477435489-8555-1-git-send-email-jouni@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01C.na.qualcomm.com (10.85.0.83) To euamsexm01e.eu.qualcomm.com (10.251.127.42) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With the previous commits, initial FILS support is now functional in mac80211-based drivers for both AP and stations roles. Signed-off-by: Jouni Malinen --- net/mac80211/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 0d9163c..3e9ca80 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -549,6 +549,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, NL80211_FEATURE_MAC_ON_CREATE | NL80211_FEATURE_USERSPACE_MPM | NL80211_FEATURE_FULL_AP_CLIENT_STATE; + wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS); if (!ops->hw_scan) wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |