diff options
author | adrian <adrian@FreeBSD.org> | 2011-12-15 00:52:30 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-12-15 00:52:30 +0000 |
commit | 78bb8e5fa2902f0e0d26781527fb5bcd4d13fb36 (patch) | |
tree | c0a506e92899f5b8dd0cdd2989e1bbc7470db542 /sys/net80211/ieee80211_proto.h | |
parent | e23259ae4e0dd7e56235ac44f70300d0a986b284 (diff) | |
download | FreeBSD-src-78bb8e5fa2902f0e0d26781527fb5bcd4d13fb36.zip FreeBSD-src-78bb8e5fa2902f0e0d26781527fb5bcd4d13fb36.tar.gz |
Modify the ACL code slightly to support a few nifty things:
* Call it before sending probe responses, so the ACL code has the
chance to reject sending them.
* Pass the whole frame to the ACL code now, rather than just the
destination MAC - that way the ACL module can look at the frame
contents to determine what the response should be.
This is part of some uncommitted work to support band steering.
Sponsored by: Hobnob, Inc.
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r-- | sys/net80211/ieee80211_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h index 54af007..fbd32d3 100644 --- a/sys/net80211/ieee80211_proto.h +++ b/sys/net80211/ieee80211_proto.h @@ -215,6 +215,7 @@ struct ieee80211_aclator { int (*iac_attach)(struct ieee80211vap *); void (*iac_detach)(struct ieee80211vap *); int (*iac_check)(struct ieee80211vap *, + const struct ieee80211_frame *wh, const uint8_t mac[IEEE80211_ADDR_LEN]); int (*iac_add)(struct ieee80211vap *, const uint8_t mac[IEEE80211_ADDR_LEN]); |