qcacld-3.0: Enable WMM if HT capabilities are present in beacon

qcacld-2.0 to qcacld-3.0 propagation.

WMM should be enabled if HT caps are present even if WMM ie is
not present in beacons/probe response frames. In few places it
is not taken care. This commit will address the issue.

CRs-fixed: 873761
Change-Id: I985b7721fc28c9b7d087123c6cff9d76f93696d5
This commit is contained in:
Pradeep Reddy POTTETI
2015-11-04 15:01:46 +05:30
committed by Satish Singh
parent a5cea29bd1
commit ea6109d49e

View File

@@ -103,7 +103,8 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
if (sir_parse_beacon_ie(mac_ctx, beacon_struct, p_ie,
(uint32_t) ie_len) == eSIR_SUCCESS) {
if (beacon_struct->wmeInfoPresent
|| beacon_struct->wmeEdcaPresent)
|| beacon_struct->wmeEdcaPresent
|| beacon_struct->HTCaps.present)
LIM_BSS_CAPS_SET(WME, *qos_cap);
if (LIM_BSS_CAPS_GET(WME, *qos_cap)
&& beacon_struct->wsmCapablePresent)