mac80211: add probe request filter flag
Using the frame registration notification, we can see when probe requests are requested and notify the low-level driver via filtering. The flag is also set in AP and IBSS modes. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
271733cf84
commit
7be5086d4c
@@ -54,6 +54,9 @@ void ieee80211_configure_filter(struct ieee80211_local *local)
|
||||
if (local->monitors || local->scanning)
|
||||
new_flags |= FIF_BCN_PRBRESP_PROMISC;
|
||||
|
||||
if (local->fif_probe_req || local->probe_req_reg)
|
||||
new_flags |= FIF_PROBE_REQ;
|
||||
|
||||
if (local->fif_fcsfail)
|
||||
new_flags |= FIF_FCSFAIL;
|
||||
|
||||
|
Reference in New Issue
Block a user