aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-01-28 11:19:37 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:33 -0500
commit238814fd9a9624e3076c47ef0c003101927c7818 (patch)
tree634070fcdd922cc8992ecb52147d0efc3e3cf574 /net/mac80211/ieee80211_i.h
parent69d464d5938ca0f4fb3447b3e32872e0ca79efc1 (diff)
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 54eea5f24474..ac802feb7655 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -305,11 +305,6 @@ struct ieee80211_sub_if_data {
305 unsigned int flags; 305 unsigned int flags;
306 306
307 int drop_unencrypted; 307 int drop_unencrypted;
308 /*
309 * IEEE 802.1X Port access control in effect,
310 * drop packets to/from unauthorized port
311 */
312 int ieee802_1x_pac;
313 308
314 /* 309 /*
315 * basic rates of this AP or the AP we're associated to 310 * basic rates of this AP or the AP we're associated to
@@ -352,7 +347,6 @@ struct ieee80211_sub_if_data {
352 struct { 347 struct {
353 struct dentry *channel_use; 348 struct dentry *channel_use;
354 struct dentry *drop_unencrypted; 349 struct dentry *drop_unencrypted;
355 struct dentry *ieee802_1x_pac;
356 struct dentry *state; 350 struct dentry *state;
357 struct dentry *bssid; 351 struct dentry *bssid;
358 struct dentry *prev_bssid; 352 struct dentry *prev_bssid;
@@ -371,7 +365,6 @@ struct ieee80211_sub_if_data {
371 struct { 365 struct {
372 struct dentry *channel_use; 366 struct dentry *channel_use;
373 struct dentry *drop_unencrypted; 367 struct dentry *drop_unencrypted;
374 struct dentry *ieee802_1x_pac;
375 struct dentry *num_sta_ps; 368 struct dentry *num_sta_ps;
376 struct dentry *dtim_count; 369 struct dentry *dtim_count;
377 struct dentry *num_beacons; 370 struct dentry *num_beacons;
@@ -382,13 +375,11 @@ struct ieee80211_sub_if_data {
382 struct { 375 struct {
383 struct dentry *channel_use; 376 struct dentry *channel_use;
384 struct dentry *drop_unencrypted; 377 struct dentry *drop_unencrypted;
385 struct dentry *ieee802_1x_pac;
386 struct dentry *peer; 378 struct dentry *peer;
387 } wds; 379 } wds;
388 struct { 380 struct {
389 struct dentry *channel_use; 381 struct dentry *channel_use;
390 struct dentry *drop_unencrypted; 382 struct dentry *drop_unencrypted;
391 struct dentry *ieee802_1x_pac;
392 } vlan; 383 } vlan;
393 struct { 384 struct {
394 struct dentry *mode; 385 struct dentry *mode;