1 From: Janusz Dziedzic <janusz.dziedzic@tieto.com>
2 Date: Tue, 16 Dec 2014 09:52:59 +0100
3 Subject: [PATCH] ath10k: fix low TX rates when IBSS and HT
5 This fix TX problem when IBSS used in HT mode.
6 Before we used 6Mbps all the time for TX direction.
8 Reported-by: Yeoh Chun-Yeow <yeohchunyeow@gmail.com>
9 Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
12 --- a/drivers/net/wireless/ath/ath10k/mac.c
13 +++ b/drivers/net/wireless/ath/ath10k/mac.c
14 @@ -1375,9 +1375,16 @@ static void ath10k_peer_assoc_h_qos(stru
15 if (vif->bss_conf.qos)
16 arg->peer_flags |= WMI_PEER_QOS;
18 + case WMI_VDEV_TYPE_IBSS:
20 + arg->peer_flags |= WMI_PEER_QOS;
26 + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac peer %pM qos %d\n",
27 + sta->addr, !!(arg->peer_flags & WMI_PEER_QOS));
30 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar,