aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorSunil Dutt <duttus@codeaurora.org>2013-02-25 08:31:50 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-25 08:31:50 (GMT)
commitf8361e3d681e55efead2aac79fedf4b232d533fb (patch)
tree17657a0a9ee8b3390623653e33248c062cd8845d /wpa_supplicant/wpas_glue.c
parent03cd173bd8941243a41dfa2351247202b0b087ff (diff)
downloadhostap-f8361e3d681e55efead2aac79fedf4b232d533fb.zip
hostap-f8361e3d681e55efead2aac79fedf4b232d533fb.tar.gz
hostap-f8361e3d681e55efead2aac79fedf4b232d533fb.tar.bz2
TDLS: Pass peer's VHT Capability information during sta_add
The information of the peer's VHT capability is required for the driver to establish a TDLS link in VHT mode with a compatible peer. Pass this information to the driver when the peer station is getting added. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index dfc3b76..7585b86 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -554,6 +554,7 @@ static int wpa_supplicant_tdls_peer_addset(
void *ctx, const u8 *peer, int add, u16 capability,
const u8 *supp_rates, size_t supp_rates_len,
const struct ieee80211_ht_capabilities *ht_capab,
+ const struct ieee80211_vht_capabilities *vht_capab,
u8 qosinfo, const u8 *ext_capab, size_t ext_capab_len)
{
struct wpa_supplicant *wpa_s = ctx;
@@ -574,6 +575,7 @@ static int wpa_supplicant_tdls_peer_addset(
params.flags |= WPA_STA_WMM;
params.ht_capabilities = ht_capab;
+ params.vht_capabilities = vht_capab;
params.qosinfo = qosinfo;
params.listen_interval = 0;
params.supp_rates = supp_rates;