aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-08-01 23:19:31 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:21 (GMT)
commitb6c79a998f5ea542928615d809a5b1ee16577549 (patch)
tree2835e5fd151e1ebbfdfd600fdd05bc93724733fb /wpa_supplicant/driver_i.h
parent10b9ac17cf2d6c31122a9c98d037638c5e522d2e (diff)
downloadhostap-b6c79a998f5ea542928615d809a5b1ee16577549.zip
hostap-b6c79a998f5ea542928615d809a5b1ee16577549.tar.gz
hostap-b6c79a998f5ea542928615d809a5b1ee16577549.tar.bz2
Add test command for disabling/enabling A-MPDU aggregation
ctrl_iface command "SET ampdu <0/1>" can now be used to disable/enable A-MPDU aggregation.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 2e404e9..bfc5b74 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -524,4 +524,11 @@ static inline int wpa_drv_set_p2p_powersave(struct wpa_supplicant *wpa_s,
opp_ps, ctwindow);
}
+static inline int wpa_drv_ampdu(struct wpa_supplicant *wpa_s, int ampdu)
+{
+ if (!wpa_s->driver->ampdu)
+ return -1;
+ return wpa_s->driver->ampdu(wpa_s->drv_priv, ampdu);
+}
+
#endif /* DRIVER_I_H */