OSDN Git Service

nl80211: Add support to offload SA Query procedures for AP SME device
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Fri, 26 Nov 2021 07:25:19 +0000 (12:55 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Dec 2021 09:42:33 +0000 (10:42 +0100)
commit87c1aec15dee8bdb245aabbd181f9f9e1a4770ae
treea13b5c04bfac25707cd7d24ffb05ed7bd7380b1d
parent47301a74bbfa80cef876e646a8c5fec03c20fc8d
nl80211: Add support to offload SA Query procedures for AP SME device

Add a flag attribute to use in ap settings to indicate userspace
supports offloading of SA Query procedures to driver. Also add AP SME
device feature flag to advertise that the SA Query procedures offloaded
to driver when userspace indicates support for offloading of SA Query
procedures.

Driver handles SA Query procedures in driver's SME it self and skip
sending SA Query request or response frames to userspace when userspace
indicates support for SA Query procedures offload. But if userspace
doesn't advertise support for SA Query procedures offload driver shall
not offload SA Query procedures handling.

Also userspace with SA Query procedures offload capability shall skip SA
Query specific validations when driver indicates support for handling SA
Query procedures.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
Link: https://lore.kernel.org/r/1637911519-21306-2-git-send-email-vjakkam@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h