From: clanctot@codeaurora.org
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: "Chet Lanctot" <clanctot@codeaurora.org>,
linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] nl80211/cfg80211: Driver with AP SME advertises need for PMF SA Query
Date: Wed, 27 Nov 2013 23:04:26 -0000 [thread overview]
Message-ID: <e5eb6ce01eb4d27cae5636e00f036936.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <1380194106.14806.2.camel@jlt4.sipsolutions.net>
> On Tue, 2013-09-17 at 12:31 -0700, Chet Lanctot wrote:
>> Needed for drivers that have AP SME integrated but do not implement
>> The SA Query procedure that is part of Protected Management Frames
>> (PMF, 802.11w). Instead, the need for upper layer software to do
>> this procedure is advertised through nl80211/cfg80211.
>>
>> Signed-off-by: Chet Lanctot <clanctot@codeaurora.org>
>> ---
>> include/uapi/linux/nl80211.h | 11 ++++++++---
>> net/wireless/nl80211.c | 3 ++-
>> 2 files changed, 10 insertions(+), 4 deletions(-)
>>
>> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
>> index eb68735..aa1d122 100644
>> --- a/include/uapi/linux/nl80211.h
>> +++ b/include/uapi/linux/nl80211.h
>> @@ -1891,6 +1891,9 @@ enum nl80211_iftype {
>> * @NL80211_STA_FLAG_ASSOCIATED: station is associated; used with
>> drivers
>> * that support %NL80211_FEATURE_FULL_AP_CLIENT_STATE to transition a
>> * previously added station into associated state
>> + * @NL80211_STA_FLAG_NO_SA_QUERY_REQUIRED: no SA Query procedure is
>> needed
>> + * when an association request is received from a station with which
>> there
>> + * is already a MFP connection
>
> I don't understand this part, and also why is it part of the *station*
> info? Shouldn't it be part of the new-station event or something like
> that? How can it be valid when reading station info later?
>
> johannes
>
>
Johannes,
Thank you for your feedback.
>From your comment I can see I did not make clear the purpose of this flag.
no SA Query required will be set for the station after the station is
associated with the AP and after the driver has delivered a unprotected
Re/Association Request from the station to hostapd for which hostapd will
initiate an SA Query procedure. If the SA Query procedure times out (no
response is received) then this no SA Query required state will be set
for the station to inform the driver that it should accept the next
Re/Association Request from the station and process it in the normal way.
I will try to make the code comment for this flag clearer. I will also
try to clarify the commit text to make the change easier to understand.
- Chet Lanctot
next prev parent reply other threads:[~2013-11-27 23:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-17 19:31 [PATCH 0/2] nl80211/cfg80211: Support PMF on drivers with integrated AP SME Chet Lanctot
2013-09-17 19:31 ` [PATCH 1/2] nl80211/cfg80211: Driver with AP SME advertises need for PMF SA Query Chet Lanctot
2013-09-26 11:15 ` Johannes Berg
2013-11-27 23:04 ` clanctot [this message]
2013-09-17 19:31 ` [PATCH 2/2] nl80211/cfg80211: PMF Requirement communicated to driver with AP SME Chet Lanctot
2013-09-26 11:16 ` Johannes Berg
2013-11-27 23:16 ` clanctot
2013-09-26 11:09 ` [PATCH 0/2] nl80211/cfg80211: Support PMF on drivers with integrated " Jouni Malinen
2013-10-01 0:43 ` clanctot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5eb6ce01eb4d27cae5636e00f036936.squirrel@www.codeaurora.org \
--to=clanctot@codeaurora.org \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.