cfg80211/nl80211: add API for MAC address ACLs
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 18 Jan 2013 05:48:45 +0000 (11:18 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jan 2013 17:36:44 +0000 (18:36 +0100)
commit77765eaf5cfb6b8dd98ec8b54b411d74ff6095f1
tree2b32fca883ee0c5a149290b3df3d97b21cb85549
parent6d45a74b1f2e42e41c9931bfb35cdb789d0bb3ea
cfg80211/nl80211: add API for MAC address ACLs

Add API to enable drivers to implement MAC address based
access control in AP/P2P GO mode. Capable drivers advertise
this capability by setting the maximum number of MAC
addresses in such a list in wiphy->max_acl_mac_addrs.

An initial ACL may be given to the NL80211_CMD_START_AP
command and/or changed later with NL80211_CMD_SET_MAC_ACL.

Black- and whitelists are supported, but not simultaneously.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
[rewrite commit log, many cleanups]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.c
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h