aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-01-03 11:30:22 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-03 11:30:22 (GMT)
commit504e905c6e41b860e2da63bd56d8d296c531a48f (patch)
treeec5a67e5393cfbbb2146c0848e2a7b63a68cd5c5 /wpa_supplicant/driver_i.h
parent9646a8ab8bbbe911eee8a68fcf02b673d9c7741e (diff)
downloadhostap-504e905c6e41b860e2da63bd56d8d296c531a48f.zip
hostap-504e905c6e41b860e2da63bd56d8d296c531a48f.tar.gz
hostap-504e905c6e41b860e2da63bd56d8d296c531a48f.tar.bz2
Add a driver op for enabling Probe Request reporting in station mode
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 7e4af80..9dbbc85 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -383,4 +383,13 @@ static inline int wpa_drv_set_supp_port(struct wpa_supplicant *wpa_s,
return 0;
}
+static inline int wpa_drv_probe_req_report(struct wpa_supplicant *wpa_s,
+ int report)
+{
+ if (wpa_s->driver->probe_req_report)
+ return wpa_s->driver->probe_req_report(wpa_s->drv_priv,
+ report);
+ return -1;
+}
+
#endif /* DRIVER_I_H */