All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ath10k: fix low TX rates when IBSS and HT
@ 2014-12-16  8:52 ` Janusz Dziedzic
  0 siblings, 0 replies; 24+ messages in thread
From: Janusz Dziedzic @ 2014-12-16  8:52 UTC (permalink / raw)
  To: ath10k; +Cc: Janusz Dziedzic, linux-wireless

This fix TX problem when IBSS used in HT mode.
Before we used 6Mbps all the time for TX direction.

Reported-by: Yeoh Chun-Yeow <yeohchunyeow@gmail.com>
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 5475f0f..c9e7995 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1411,9 +1411,16 @@ static void ath10k_peer_assoc_h_qos(struct ath10k *ar,
 		if (vif->bss_conf.qos)
 			arg->peer_flags |= WMI_PEER_QOS;
 		break;
+	case WMI_VDEV_TYPE_IBSS:
+		if (sta->wme)
+			arg->peer_flags |= WMI_PEER_QOS;
+		break;
 	default:
 		break;
 	}
+
+	ath10k_dbg(ar, ATH10K_DBG_MAC, "mac peer %pM qos %d\n",
+		   sta->addr, !!(arg->peer_flags & WMI_PEER_QOS));
 }
 
 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar,
-- 
1.9.1


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-12-23 15:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16  8:52 [PATCH 1/2] ath10k: fix low TX rates when IBSS and HT Janusz Dziedzic
2014-12-16  8:52 ` Janusz Dziedzic
2014-12-16  8:53 ` [PATCH 2/2] ath10k: send (re)assoc peer command when NSS changed Janusz Dziedzic
2014-12-16  8:53   ` Janusz Dziedzic
2014-12-17 10:32   ` Kalle Valo
2014-12-17 10:32     ` Kalle Valo
2014-12-18  5:28     ` Janusz Dziedzic
2014-12-18  5:28       ` Janusz Dziedzic
2014-12-18  6:02       ` Kalle Valo
2014-12-18  6:02         ` Kalle Valo
2014-12-16 11:10 ` [PATCH 1/2] ath10k: fix low TX rates when IBSS and HT Yeoh Chun-Yeow
2014-12-16 11:10   ` Yeoh Chun-Yeow
2014-12-16 11:22   ` Janusz Dziedzic
2014-12-16 11:22     ` Janusz Dziedzic
2014-12-16 11:45     ` Janusz Dziedzic
2014-12-16 11:45       ` Janusz Dziedzic
2014-12-16 13:32       ` Yeoh Chun-Yeow
2014-12-16 13:32         ` Yeoh Chun-Yeow
2014-12-17  3:56         ` Yeoh Chun-Yeow
2014-12-17  3:56           ` Yeoh Chun-Yeow
2014-12-16 13:32     ` Yeoh Chun-Yeow
2014-12-16 13:32       ` Yeoh Chun-Yeow
2014-12-23 15:23 ` Kalle Valo
2014-12-23 15:23   ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.