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>
This commit is contained in:
parent
189206dddb
commit
d16531c40c
5 changed files with 52 additions and 8 deletions
|
@ -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, ¶ms);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue