nl80211: Provide access to STA TX/RX packet counters
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 17 Feb 2009 11:24:57 +0000 (13:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:39 +0000 (14:52 -0500)
commit98c8a60a04316e94ccea8221cf16768ce91bd214
treec698e0526f7521bf0f7bd0122c0ee6a2ab08eb1c
parentfdbf7335ea1a4048ff4818bf15bdcab1925dc6df
nl80211: Provide access to STA TX/RX packet counters

The TX/RX packet counters are needed to fill in RADIUS Accounting
attributes Acct-Output-Packets and Acct-Input-Packets. We already
collect the needed information, but only the TX/RX bytes were
previously exposed through nl80211. Allow applications to fetch the
packet counters, too, to provide more complete support for accounting.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c