aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@fifo99.com>2009-08-18 13:59:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:36:04 -0400
commitc8a61a7d33350eeec668fc6230ad55f5fa93209b (patch)
tree72978e2590de522d2c3fdad888590df4ac401dc0 /net/mac80211/ieee80211_i.h
parente5539bcbf64fdb16af73b5c8caff9255307490b5 (diff)
mac80211: New stat counters for multicast and unicast forwarded frames
This expands on the current fwded_frames stat counter which should be equal to the total of these two new counters. The new counters are called "fwded_mcast" and "fwded_unicast". Signed-off-by: Daniel Walker <dwalker@fifo99.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index a07f01736a91..93e618a980d1 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -212,7 +212,9 @@ struct ieee80211_if_vlan {
212}; 212};
213 213
214struct mesh_stats { 214struct mesh_stats {
215 __u32 fwded_frames; /* Mesh forwarded frames */ 215 __u32 fwded_mcast; /* Mesh forwarded multicast frames */
216 __u32 fwded_unicast; /* Mesh forwarded unicast frames */
217 __u32 fwded_frames; /* Mesh total forwarded frames */
216 __u32 dropped_frames_ttl; /* Not transmitted since mesh_ttl == 0*/ 218 __u32 dropped_frames_ttl; /* Not transmitted since mesh_ttl == 0*/
217 __u32 dropped_frames_no_route; /* Not transmitted, no route found */ 219 __u32 dropped_frames_no_route; /* Not transmitted, no route found */
218 atomic_t estab_plinks; 220 atomic_t estab_plinks;
@@ -506,6 +508,8 @@ struct ieee80211_sub_if_data {
506#ifdef CONFIG_MAC80211_MESH 508#ifdef CONFIG_MAC80211_MESH
507 struct dentry *mesh_stats_dir; 509 struct dentry *mesh_stats_dir;
508 struct { 510 struct {
511 struct dentry *fwded_mcast;
512 struct dentry *fwded_unicast;
509 struct dentry *fwded_frames; 513 struct dentry *fwded_frames;
510 struct dentry *dropped_frames_ttl; 514 struct dentry *dropped_frames_ttl;
511 struct dentry *dropped_frames_no_route; 515 struct dentry *dropped_frames_no_route;