android_kernel_oneplus_msm8998/include/uapi
Srinivas Dasari 3edd7e38cf cfg80211/nl80211: Optional authentication offload to userspace
This interface allows the host driver to offload the authentication to
user space. This is exclusively defined for host drivers that do not
define separate commands for authentication and association, but rely on
userspace SME (e.g., in wpa_supplicant for the ~WPA_DRIVER_FLAGS_SME
case) for the authentication to happen. This can be used to implement
SAE without full implementation in the kernel/firmware while still being
able to use NL80211_CMD_CONNECT with driver-based BSS selection.

Host driver sends NL80211_CMD_EXTERNAL_AUTH event to start/abort
authentication to the port on which connect is triggered and status
of authentication is further indicated by user space to host
driver through the same command response interface.

User space entities advertise this capability through the
NL80211_ATTR_EXTERNAL_AUTH_SUPP flag in the NL80211_CMD_CONNECT request.
Host drivers shall look at this capability to offload the authentication.

Signed-off-by: Srinivas Dasari <dasaris@qti.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[add socket connection ownership check]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 40cbfa90218bc570a7959b436b9d48a18c361041
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
CRs-Fixed: 2468738
Change-Id: Id925dd82d9a9c719b32aac2de75b6ad001f1a958
[dasaris@codeaurora.org: merging with msm-specific changes]
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
Signed-off-by: Jiachao Wu <jiacwu@codeaurora.org>
Signed-off-by: Min Liu <minliu@codeaurora.org>
Signed-off-by: stonez <stonez@codeaurora.org>
2019-08-30 09:21:10 +02:00
..
asm-generic tty: serial: msm_hs: Add snapshot of msm_hs uart drivers 2016-03-22 11:10:33 -07:00
drm drm: Pass CRTC ID in userspace vblank events 2018-08-21 17:24:32 -07:00
linux cfg80211/nl80211: Optional authentication offload to userspace 2019-08-30 09:21:10 +02:00
media Revert "msm: camera: isp: Handle frame drop due to delay " 2019-04-19 09:17:53 +02:00
misc
mtd mtd: mtd-user: remove stdint.h include 2015-10-19 18:19:06 -07:00
rdma Initial 4.4 merge window submission 2015-11-07 13:33:07 -08:00
scsi Merge android-4.4.113 (ef588ef) into msm-4.4 2018-01-24 18:27:37 +05:30
sound ASoC: msm: qdsp6v2: Update audio effects driver to support Instance ID 2017-12-21 11:27:46 +05:30
video msm: hdmi: edid: update incorrect interlaced field 2017-03-08 12:46:51 -08:00
xen xen/gntdev: use types from linux/types.h in userspace headers 2015-10-23 14:20:45 +01:00
Kbuild msm: camera: Update camera drivers 2016-03-23 21:22:47 -07:00