cfg80211/nl80211: Send AssocReq IEs to user space in AP mode
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 8 Aug 2011 09:11:52 +0000 (12:11 +0300)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 3 Feb 2012 13:54:47 +0000 (05:54 -0800)
commitd09473cbe8bf2146ee99178050d9ba698131f80e
treef97f32ae92d51757bef8be916b7652494f327e01
parenta40d6bc718dcfc910150f357c5f2a0e1f62b63ed
cfg80211/nl80211: Send AssocReq IEs to user space in AP mode

When user space SME/MLME (e.g., hostapd) is not used in AP mode, the
IEs from the (Re)Association Request frame that was processed in
firmware need to be made available for user space (e.g., RSN IE for
hostapd). Allow this to be done with cfg80211_new_sta().

(cherry picked from commit d692df224b8605095cb7f770c1c99d3150834daf from
android.googlesource.com/common.git)

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I211171ca4953832cc998402c149ecf3fc429f9e6
Reviewed-on: http://git-master/r/78886
Reviewed-by: Automatic_Commit_Validation_User
include/net/cfg80211.h
net/wireless/nl80211.c