mac80211: remove port control enable switch, clean up sta flags
This patch removes the 802.1X port acess control enable flag since it is not required. Instead, set the authorized flag for each station that we normally communicate with (WDS peers, IBSS peers and APs we're associated to) and require hostapd to set the authorized flag for all stations when port control is not enabled. Also, since I was working in that area, this documents station flags and removes the unused "permanent" one. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
69d464d593
commit
238814fd9a
@@ -305,11 +305,6 @@ struct ieee80211_sub_if_data {
|
||||
unsigned int flags;
|
||||
|
||||
int drop_unencrypted;
|
||||
/*
|
||||
* IEEE 802.1X Port access control in effect,
|
||||
* drop packets to/from unauthorized port
|
||||
*/
|
||||
int ieee802_1x_pac;
|
||||
|
||||
/*
|
||||
* basic rates of this AP or the AP we're associated to
|
||||
@@ -352,7 +347,6 @@ struct ieee80211_sub_if_data {
|
||||
struct {
|
||||
struct dentry *channel_use;
|
||||
struct dentry *drop_unencrypted;
|
||||
struct dentry *ieee802_1x_pac;
|
||||
struct dentry *state;
|
||||
struct dentry *bssid;
|
||||
struct dentry *prev_bssid;
|
||||
@@ -371,7 +365,6 @@ struct ieee80211_sub_if_data {
|
||||
struct {
|
||||
struct dentry *channel_use;
|
||||
struct dentry *drop_unencrypted;
|
||||
struct dentry *ieee802_1x_pac;
|
||||
struct dentry *num_sta_ps;
|
||||
struct dentry *dtim_count;
|
||||
struct dentry *num_beacons;
|
||||
@@ -382,13 +375,11 @@ struct ieee80211_sub_if_data {
|
||||
struct {
|
||||
struct dentry *channel_use;
|
||||
struct dentry *drop_unencrypted;
|
||||
struct dentry *ieee802_1x_pac;
|
||||
struct dentry *peer;
|
||||
} wds;
|
||||
struct {
|
||||
struct dentry *channel_use;
|
||||
struct dentry *drop_unencrypted;
|
||||
struct dentry *ieee802_1x_pac;
|
||||
} vlan;
|
||||
struct {
|
||||
struct dentry *mode;
|
||||
|
Reference in New Issue
Block a user