]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/nl80211.c
cfg80211: allow including station info in delete event
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Nov 2014 16:14:00 +0000 (17:14 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Jan 2015 14:28:00 +0000 (15:28 +0100)
commitcf5ead822d5db2d276616ccca91f00eb3b855db2
tree87568dbd398d139376a8fce358f4c176d31ad5ca
parent052536abfa9144566599a7fbe8cc89e1086fa9a7
cfg80211: allow including station info in delete event

When a station is removed, its statistics may be interesting to
userspace, for example for further aggregation of statistics of
all stations that ever connected to an AP.

Introduce a new cfg80211_del_sta_sinfo() function (and make the
cfg80211_del_sta() a static inline calling it) to allow passing
a struct station_info along with this, and send the data in the
nl80211 event message.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c