linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cfg80211: Add feature flag to indicate RSNXE IE support in FT
@ 2020-08-04  3:32 Veerendranath Jakkam
  2020-08-27  9:33 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Veerendranath Jakkam @ 2020-08-04  3:32 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

Add a new feature flag that drivers in which FT handshake is offloaded,
to advertise support for interoperability with legacy clients which
doesn't support using RSNXE IE for MIC calculation in FT handshake. The
userspace can choose to enable/disable FT protocols that require RSNXE IE
to be used based on this flag advertised by drivers.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 631f3a99..83e8079 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -5820,6 +5820,9 @@ enum nl80211_feature_flags {
  * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
  *	handshake with PSK in AP mode (PSK is passed as part of the start AP
  *	command).
+ * @NL80211_EXT_FEATURE_FT_RSNXE: Driver supports RSNXE element in FT handshake
+ *	and interoperable with legacy clients that doesn't support using RSNXE
+ *	IE for MIC computation in FT handshake.
  *
  * @NUM_NL80211_EXT_FEATURES: number of extended features.
  * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
@@ -5878,6 +5881,7 @@ enum nl80211_ext_feature_index {
 	NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS,
 	NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION,
 	NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK,
+	NL80211_EXT_FEATURE_FT_RSNXE,
 
 	/* add new features before the definition below */
 	NUM_NL80211_EXT_FEATURES,
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cfg80211: Add feature flag to indicate RSNXE IE support in FT
  2020-08-04  3:32 [PATCH] cfg80211: Add feature flag to indicate RSNXE IE support in FT Veerendranath Jakkam
@ 2020-08-27  9:33 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2020-08-27  9:33 UTC (permalink / raw)
  To: Veerendranath Jakkam; +Cc: linux-wireless

On Tue, 2020-08-04 at 09:02 +0530, Veerendranath Jakkam wrote:
> Add a new feature flag that drivers in which FT handshake is offloaded,

"that drivers (in which ...)" what? Can set? Are expected to use?

> to advertise support for interoperability with legacy clients which
> doesn't

don't? or what does "doesn't" refer to?

>  support using RSNXE IE for MIC calculation in FT handshake. The
> userspace can choose to enable/disable FT protocols that require RSNXE IE
> to be used based on this flag advertised by drivers.

I can't say I really understand this.

> Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
> 
> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
> index 631f3a99..83e8079 100644
> --- a/include/uapi/linux/nl80211.h
> +++ b/include/uapi/linux/nl80211.h
> @@ -5820,6 +5820,9 @@ enum nl80211_feature_flags {
>   * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
>   *	handshake with PSK in AP mode (PSK is passed as part of the start AP
>   *	command).
> + * @NL80211_EXT_FEATURE_FT_RSNXE: Driver supports RSNXE element in FT handshake
> + *	and interoperable with legacy clients that doesn't support using RSNXE
> + *	IE for MIC computation in FT handshake.

Nor this. Please rewrite the commit message and comment to be more
explanatory (and grammatically correct).

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-27  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04  3:32 [PATCH] cfg80211: Add feature flag to indicate RSNXE IE support in FT Veerendranath Jakkam
2020-08-27  9:33 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).