Re: [PATCH v2 1/3] cfg80211/nl80211: Optional authentication offload to userspace

2018-01-15 Thread Johannes Berg
On Thu, 2018-01-04 at 14:59 -0600, Denis Kenzior wrote: > So this implies userspace must pre-register for authentication > management frames, correct? And other applications could register to > receive these frames as well? Would it not be easier (and more secure) > to simply forward these di

Re: [PATCH v2 1/3] cfg80211/nl80211: Optional authentication offload to userspace

2018-01-04 Thread Denis Kenzior
Hi Jouni, Johannes, > + * User space uses the %NL80211_CMD_CONNECT command to the host driver for + * triggering a connection. The host driver selects a BSS and further uses + * this interface to offload only the authentication part to the user + * space. Authentication frames are p

Re: [PATCH v2 1/3] cfg80211/nl80211: Optional authentication offload to userspace

2018-01-04 Thread Johannes Berg
Hi, Sorry for the delay - mostly was on vacation while/since you sent this. > * @ASSOC_REQ_USE_RRM: Declare RRM capability in this association > + * @CONNECT_REQ_EXTERNAL_AUTH_SUPP: User space indicates external > authentication > + * capability. Drivers can offload authentication to userspac

[PATCH v2 1/3] cfg80211/nl80211: Optional authentication offload to userspace

2017-12-22 Thread Jouni Malinen
From: Srinivas Dasari 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_FLA