aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorSunil Dutt <duttus@codeaurora.org>2013-02-05 14:50:36 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-14 19:02:34 (GMT)
commitd16531c40c2322bb23dbdc0ce4338c2c3722f9f8 (patch)
tree85de27672b24d33069b8fba582d7819edc4debc2 /wpa_supplicant/wpas_glue.c
parent189206dddb95d599d1c1df4e970f7ae757017364 (diff)
downloadhostap-d16531c40c2322bb23dbdc0ce4338c2c3722f9f8.zip
hostap-d16531c40c2322bb23dbdc0ce4338c2c3722f9f8.tar.gz
hostap-d16531c40c2322bb23dbdc0ce4338c2c3722f9f8.tar.bz2
TDLS: Pass peer's Capability and Ext Capability info during sta_add
The contents of the peer's capability and extended capability information is required for the driver to perform TDLS P-UAPSD and Off Channel operations. 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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index bb4ca93..dfc3b76 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -554,7 +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,
- u8 qosinfo)
+ u8 qosinfo, const u8 *ext_capab, size_t ext_capab_len)
{
struct wpa_supplicant *wpa_s = ctx;
struct hostapd_sta_add_params params;
@@ -579,6 +579,8 @@ static int wpa_supplicant_tdls_peer_addset(
params.supp_rates = supp_rates;
params.supp_rates_len = supp_rates_len;
params.set = !add;
+ params.ext_capab = ext_capab;
+ params.ext_capab_len = ext_capab_len;
return wpa_drv_sta_add(wpa_s, &params);
}