Add support to indicate TDLS peer's HE capability to driver
Indicate TDLS peer's capability to driver after processing TDLS setup response frame. This information can be used by the driver to decide whether to include HE operation IE in TLDS setup confirmation frame. Signed-off-by: Sreeramya Soratkal <ssramya@codeaurora.org>
This commit is contained in:
parent
2be5777a99
commit
742018f44d
2 changed files with 3 additions and 0 deletions
|
@ -2392,6 +2392,7 @@ enum tdls_peer_capability {
|
||||||
TDLS_PEER_HT = BIT(0),
|
TDLS_PEER_HT = BIT(0),
|
||||||
TDLS_PEER_VHT = BIT(1),
|
TDLS_PEER_VHT = BIT(1),
|
||||||
TDLS_PEER_WMM = BIT(2),
|
TDLS_PEER_WMM = BIT(2),
|
||||||
|
TDLS_PEER_HE = BIT(3),
|
||||||
};
|
};
|
||||||
|
|
||||||
/* valid info in the wmm_params struct */
|
/* valid info in the wmm_params struct */
|
||||||
|
|
|
@ -1418,6 +1418,8 @@ static int wpa_tdls_send_tpk_m3(struct wpa_sm *sm,
|
||||||
|
|
||||||
skip_ies:
|
skip_ies:
|
||||||
|
|
||||||
|
if (peer->he_capabilities)
|
||||||
|
peer_capab |= TDLS_PEER_HE;
|
||||||
if (peer->vht_capabilities)
|
if (peer->vht_capabilities)
|
||||||
peer_capab |= TDLS_PEER_VHT;
|
peer_capab |= TDLS_PEER_VHT;
|
||||||
if (peer->ht_capabilities)
|
if (peer->ht_capabilities)
|
||||||
|
|
Loading…
Reference in a new issue