aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-01-16 10:16:20 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-16 10:16:20 (GMT)
commite882899981cf031156d25c2f9ad778734bf03266 (patch)
tree89965bf57da2e6fa868795bf46ed2c7173a7f835 /wpa_supplicant/driver_i.h
parent4e5cb1a3663e5bcc032be99a3415b18456371703 (diff)
downloadhostap-e882899981cf031156d25c2f9ad778734bf03266.zip
hostap-e882899981cf031156d25c2f9ad778734bf03266.tar.gz
hostap-e882899981cf031156d25c2f9ad778734bf03266.tar.bz2
Add BSSID to TX/RX Action frame driver ops
This meets better the needs for various Public Action frame use cases.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 2f5b134..5f3e149 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -386,11 +386,13 @@ static inline int wpa_drv_set_supp_port(struct wpa_supplicant *wpa_s,
static inline int wpa_drv_send_action(struct wpa_supplicant *wpa_s,
unsigned int freq,
const u8 *dst, const u8 *src,
+ const u8 *bssid,
const u8 *data, size_t data_len)
{
if (wpa_s->driver->send_action)
return wpa_s->driver->send_action(wpa_s->drv_priv, freq,
- dst, src, data, data_len);
+ dst, src, bssid, data,
+ data_len);
return -1;
}
@@ -438,4 +440,13 @@ static inline int wpa_drv_probe_req_report(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_disable_11b_rates(struct wpa_supplicant *wpa_s,
+ int disabled)
+{
+ if (wpa_s->driver->disable_11b_rates)
+ return wpa_s->driver->disable_11b_rates(wpa_s->drv_priv,
+ disabled);
+ return -1;
+}
+
#endif /* DRIVER_I_H */