aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalaji Pothunoori <bpothuno@qti.qualcomm.com>2017-12-07 09:58:04 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2017-12-14 10:19:08 -0500
commit07ffb4497360ae8789f05555fec8171ee952304d (patch)
tree2778a07052ce511f49f61dd69037eae333889487
parent8cec57f5277ef0e354e37a0bf909dc71bc1f865b (diff)
ath10k: handling qos at STA side based on AP WMM enable/disable
Data packets are not sent by STA in case of STA joined to non QOS AP (WMM disabled AP). This is happening because of STA is sending data packets to firmware from host with qos enabled along with non qos queue value(TID = 16). Due to qos enabled, firmware is discarding the packet. This patch fixes this issue by updating the qos based on station WME capability field if WMM is disabled in AP. This patch is required by 10.4 family chipsets like QCA4019/QCA9888/QCA9884/QCA99X0. Firmware Versoin : 10.4-3.5.1-00018. For 10.2.4 family chipsets QCA988X/QCA9887 and QCA6174 this patch has no effect. Signed-off-by: Balaji Pothunoori <bpothuno@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 06383e70e009..dfd7145f69fa 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -2563,7 +2563,7 @@ static void ath10k_peer_assoc_h_qos(struct ath10k *ar,
2563 } 2563 }
2564 break; 2564 break;
2565 case WMI_VDEV_TYPE_STA: 2565 case WMI_VDEV_TYPE_STA:
2566 if (vif->bss_conf.qos) 2566 if (sta->wme)
2567 arg->peer_flags |= arvif->ar->wmi.peer_flags->qos; 2567 arg->peer_flags |= arvif->ar->wmi.peer_flags->qos;
2568 break; 2568 break;
2569 case WMI_VDEV_TYPE_IBSS: 2569 case WMI_VDEV_TYPE_IBSS: