summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdhar, Mahesh Kumar <c_medhar@qti.qualcomm.com>2015-09-29 13:58:41 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-10-01 16:20:26 +0530
commitad00fadb8da02f701fe43cc0cacad0c1cd828b0b (patch)
tree8d1c53c4906f450997ffd770a2b1233611aa3124
parente95903bff7a1d253d348cbb5f09c6d3665f2d99c (diff)
qcacld-2.0: Downgrade WMM AC for data frames if tspec is invalid
As per the current implementation wmmAcTspecValid is reset during roaming and set after establishing TSpec but currently wmmAcTspecValid is not considered before classifying the data frames based on AC and UP. Due to above issue after roaming we are still sending packets with UP for which tspec session is not established. Address the above issue by checking wmmAcTspecValid for AC before classifying the frame. Change-Id: I99174738f5b8cf0d3850e079045288efb3b4dcc7 CRs-Fixed: 915555
-rw-r--r--CORE/HDD/src/wlan_hdd_wmm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index 63cbed547086..a83d1ab307f1 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -2312,7 +2312,10 @@ VOS_STATUS hdd_wmm_connect( hdd_adapter_t* pAdapter,
#endif
)
{
- pAdapter->hddWmmStatus.wmmAcStatus[ac].wmmAcTspecValid = VOS_FALSE;
+ pAdapter->hddWmmStatus.wmmAcStatus[ac].wmmAcTspecValid =
+ VOS_FALSE;
+ pAdapter->hddWmmStatus.wmmAcStatus[ac].wmmAcAccessAllowed =
+ VOS_FALSE;
}
}
}