aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-12 05:05:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:26 -0400
commitc1b6cf4ee0fb8a3698c563e101a60f9ee4910de0 (patch)
tree61822116ba1da60378029ae522ed2cd4e5ad2bdf /net/mac80211/ieee80211_i.h
parent62c1f95e3993480ae451c322588f7cbf5a58db28 (diff)
mac80211: remove beacon counters
The beacon counters mac80211 keeps are only used for debugfs, unfortunately, they are incorrect for many hardware designs, namely any design that has a beacon template. Hence, remove the counters so we don't create the impression they are usable. This also allows removing the beacon MESH #ifdef again. 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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 6bd6a6306da..3912fba6d3d 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -229,7 +229,6 @@ struct ieee80211_if_ap {
229 struct sk_buff_head ps_bc_buf; 229 struct sk_buff_head ps_bc_buf;
230 atomic_t num_sta_ps; /* number of stations in PS mode */ 230 atomic_t num_sta_ps; /* number of stations in PS mode */
231 int dtim_count; 231 int dtim_count;
232 int num_beacons; /* number of TXed beacon frames for this BSS */
233}; 232};
234 233
235struct ieee80211_if_wds { 234struct ieee80211_if_wds {
@@ -352,7 +351,6 @@ struct ieee80211_if_sta {
352 u32 supp_rates_bits[IEEE80211_NUM_BANDS]; 351 u32 supp_rates_bits[IEEE80211_NUM_BANDS];
353 352
354 int wmm_last_param_set; 353 int wmm_last_param_set;
355 int num_beacons; /* number of TXed beacon frames by this STA */
356}; 354};
357 355
358struct ieee80211_if_mesh { 356struct ieee80211_if_mesh {
@@ -388,7 +386,6 @@ struct ieee80211_if_mesh {
388 struct mesh_config mshcfg; 386 struct mesh_config mshcfg;
389 u32 mesh_seqnum; 387 u32 mesh_seqnum;
390 bool accepting_plinks; 388 bool accepting_plinks;
391 int num_beacons;
392}; 389};
393 390
394#ifdef CONFIG_MAC80211_MESH 391#ifdef CONFIG_MAC80211_MESH
@@ -484,7 +481,6 @@ struct ieee80211_sub_if_data {
484 struct dentry *auth_alg; 481 struct dentry *auth_alg;
485 struct dentry *auth_transaction; 482 struct dentry *auth_transaction;
486 struct dentry *flags; 483 struct dentry *flags;
487 struct dentry *num_beacons_sta;
488 struct dentry *force_unicast_rateidx; 484 struct dentry *force_unicast_rateidx;
489 struct dentry *max_ratectrl_rateidx; 485 struct dentry *max_ratectrl_rateidx;
490 } sta; 486 } sta;
@@ -492,7 +488,6 @@ struct ieee80211_sub_if_data {
492 struct dentry *drop_unencrypted; 488 struct dentry *drop_unencrypted;
493 struct dentry *num_sta_ps; 489 struct dentry *num_sta_ps;
494 struct dentry *dtim_count; 490 struct dentry *dtim_count;
495 struct dentry *num_beacons;
496 struct dentry *force_unicast_rateidx; 491 struct dentry *force_unicast_rateidx;
497 struct dentry *max_ratectrl_rateidx; 492 struct dentry *max_ratectrl_rateidx;
498 struct dentry *num_buffered_multicast; 493 struct dentry *num_buffered_multicast;