Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94594e52 authored by Veerendranath Jakkam's avatar Veerendranath Jakkam Committed by Narasimha Rao PVS
Browse files

cfg80211: Add support to advertize OCV support



Add a new feature flag that drivers can use to advertize support for
Operating Channel Validation (OCV) when using driver's SME for RSNA
handshakes.

Signed-off-by: default avatarVeerendranath Jakkam <vjakkam@codeaurora.org>
Link: https://lore.kernel.org/r/20200720074225.8990-1-vjakkam@codeaurora.org


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Git-repo : git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git


Git-commit: fd17dba1c860d39f655a3a08387c21e3ceca8c55
CRs-Fixed: 3126204
Change-Id: I6329b0ccc85a7bc83ded040673a24506e96ae459
Signed-off-by: default avatarNarasimha Rao PVS <quic_npvs@quicinc.com>
parent dccaa81c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -56,6 +56,8 @@
#define CFG80211_REKEY_DATA_KEK_LEN 1
/* Indicate backport support for 6GHz band */
#define CFG80211_6GHZ_BAND_SUPPORTED 1
/* Indicate backport support for OCV feature flag*/
#define CFG80211_OCV_CONFIGURATION_SUPPORT 1

/**
 * DOC: Introduction
+11 −0
Original line number Diff line number Diff line
@@ -5428,6 +5428,9 @@ enum nl80211_feature_flags {
 * @NL80211_EXT_FEATURE_BEACON_PROTECTION: The driver supports Beacon protection
 *	and can receive key configuration for BIGTK using key indexes 6 and 7.
 *
 * @NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION: Driver supports Operating
 *	Channel Validation (OCV) when using driver's SME for RSNA handshakes.
 *
 * @NUM_NL80211_EXT_FEATURES: number of extended features.
 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
 */
@@ -5474,6 +5477,14 @@ enum nl80211_ext_feature_index {
	NL80211_EXT_FEATURE_VLAN_OFFLOAD,
	NL80211_EXT_FEATURE_AQL,
	NL80211_EXT_FEATURE_BEACON_PROTECTION,
	NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH,
	NL80211_EXT_FEATURE_PROTECTED_TWT,
	NL80211_EXT_FEATURE_DEL_IBSS_STA,
	NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS,
	NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT,
	NL80211_EXT_FEATURE_SCAN_FREQ_KHZ,
	NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS,
	NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION,

	/* add new features before the definition below */
	NUM_NL80211_EXT_FEATURES,