OSDN Git Service

cfg80211/nl80211: Offload OWE processing to user space
authorSunil Dutt <usdutt@codeaurora.org>
Wed, 9 Jan 2019 16:42:29 +0000 (22:12 +0530)
committerLiangwei Dong <liangwei@codeaurora.org>
Tue, 12 Mar 2019 06:04:11 +0000 (02:04 -0400)
commitf57fa308b0d8330580a932dcc5c460e9d2352284
treee0cab6e056bd6f6cceda512d750a296c2e20be8a
parentdbf205bb11e2135bfe07587c1188f90218d5e292
cfg80211/nl80211: Offload OWE processing to user space

This interface allows the host driver to offload OWE processing to
user space. This intends to support OWE/Enhanced Open AKM by the host
drivers that implement SME but rely on the user space for
the crypotographic/OWE processing.Such drivers are not capable of
processing/deriving the DH IE's.

This interface acts as both the event from the driver to userspace
and a command from userspace to the driver.

Host driver shall use the event to notify the OWE info of the peer
to the userspace for the cryptographic processing of the DH ie's.
Accordingly, the userspace shall update the OWE info/DH ie's to
the host driver corresponding to the peer.

Above sequence aims for the AP mode where the event carries the
OWE info of the peer(STA) obtained in the Assoc Request.
The request interface from the userspace shall update the OWE
info to the host driver, which is used to send the Assoc response
to the peer.

This OWE info in the command interface shall contain the ie's which
either include the pmkid of the peer if the PMKSA is still valid or
an updated DH ie's for generating a new PMKSA with the peer.

Change-Id: Id5a2e800bdae1ea31a20a062d012cc33e5a3c6a3
CRs-Fixed: 2414077
Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
Signed-off-by: Sunil Dutt <usdutt@codeaurora.org>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h