cfg80211: Advertise maximum associated STAs in AP mode
authorJouni Malinen <j@w1.fi>
Tue, 14 Jan 2014 22:01:08 +0000 (00:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:08 +0000 (21:48 +0100)
commitb43504cf75b8b8773ee70c90bcd691282e151b9a
tree20d2758a4e6602f0a2e43a80585923d70ffbd17d
parent1df4a51082df6e5b0b8eb70df81885b9b4c9e6ec
cfg80211: Advertise maximum associated STAs in AP mode

This allows drivers to advertise the maximum number of associated
stations they support in AP mode (including P2P GO). User space
applications can use this for cleaner way of handling the limit (e.g.,
hostapd rejecting IEEE 802.11 authentication without manual
configuration of the limit) or to figure out what type of use cases can
be executed with multiple devices before trying and failing.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c