cfg80211: Specify the reason for connect timeout
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Thu, 12 Jan 2017 23:12:21 +0000 (01:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jan 2017 08:46:18 +0000 (09:46 +0100)
commit3093ebbeabcdddc9a982950052f2151df43c7aa2
treedb6afd55eb0883bbafb912afd088fb942033a32f
parentbf95ecdba93b98d27ac219e79f773f2074b4ca47
cfg80211: Specify the reason for connect timeout

This enhances the connect timeout API to also carry the reason for the
timeout. These reason codes for the connect time out are represented by
enum nl80211_timeout_reason and are passed to user space through a new
attribute NL80211_ATTR_TIMEOUT_REASON (u32).

Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[keep gfp_t argument last]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/sme.c
net/wireless/util.c