mac80211: introduce per vif frame registration API
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Sat, 15 Aug 2015 19:39:50 +0000 (22:39 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Sep 2015 13:21:22 +0000 (15:21 +0200)
commit1b09b5568e5f46c6dfb781d7c1dfad431a6d8ec1
tree1e437f5a6693228d1d5d4f122d0ef0ad99edc734
parent7bdbe400d1b2aac116513f90b75969ad2365fba6
mac80211: introduce per vif frame registration API

Currently the cfg80211's frame registration api receives wdev, however
mac80211 assumes per device filter configuration and ignores wdev.
Per device filtering is too wasteful, especially for multi-channel
devices.
Introduce new per vif frame registration API and use it for probe
request registrations in ieee80211_mgmt_frame_register()
Also call directly to ieee80211_configure_filter instead of using a work
since it is now allowed to sleep in ieee80211_mgmt_frame_register.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h
net/mac80211/trace.h