linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mohammed Shafi Shajakhan <mohammed@codeaurora.org>
To: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Cc: "Valo, Kalle" <kvalo@qca.qualcomm.com>,
	"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	marek.lindner@open-mesh.com
Subject: Re: [PATCH 0/2] ath10k: Add support for QCA9887
Date: Thu, 9 Jun 2016 10:36:58 +0530	[thread overview]
Message-ID: <20160609050657.GA31330@atheros-ThinkPad-T61> (raw)
In-Reply-To: <20160608124308.GB29340@atheros-ThinkPad-T61>

Hi Sven,

i have something like this as of now(generically
disabling TX-STBC for streams <= 1 just like ath9k
does

--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -4194,6 +4194,9 @@ static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar)
 			mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i * 2);
 	}
 
+	if (ar->cfg_tx_chainmask <= 1)
+		vht_cap.cap &= ~IEEE80211_VHT_CAP_TXSTBC;
+
 	vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map);
 	vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map);
 
@@ -4231,7 +4234,7 @@ static struct ieee80211_sta_ht_cap ath10k_get_ht_cap(struct ath10k *ar)
 		ht_cap.cap |= smps;
 	}
 
-	if (ar->ht_cap_info & WMI_HT_CAP_TX_STBC)
+	if (ar->ht_cap_info & WMI_HT_CAP_TX_STBC && (ar->cfg_tx_chainmask > 1))
 		ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC;
 
 	if (ar->ht_cap_info & WMI_HT_CAP_RX_STBC) {
-- 

regards,
shafi

On Wed, Jun 08, 2016 at 06:13:08PM +0530, Mohammed Shafi Shajakhan wrote:
> On Tue, Jun 07, 2016 at 10:41:48PM +0530, Mohammed Shafi Shajakhan wrote:
> > Hi Sven,
> > 
> > On Tue, Jun 07, 2016 at 06:54:54PM +0200, Sven Eckelmann wrote:
> > > On Tuesday 07 June 2016 20:20:02 Mohammed Shafi Shajakhan wrote:
> > > [...]
> > > > [shafi] it would be helpful if you can share your basic test results (if its
> > > > possible to share). Have you tried to bring up the card in 5ghz (or) 2ghz.
> > > > Or both of them were tried ?
> > > 
> > > * 5GHz-only (I have no 2.4GHz capable card)
> > > * card is able to scan
> > > * card is able to create an AP
> > > * data can be transferred via AP and client (bidirectional connection)
> > > * performance was more like 15 Mibit/s for 1x1 HT20 11n devices instead of
> > >   something like 35-40 Mibit/s
> > 
> > [shafi] sure thanks a lot, this is a good start, i will keep you posted
> > with my findings and results.
> 
> [shafi] request if you can disable TX-STBC for both HT and VHT, it helped
> me though. Will keep you posted with more updates.
> 
> > 
> > > 
> > > I cannot give you any more detailed, current performance test results because
> > > they were done months ago and are most likely not relevant to describe the
> > > current state. Please ask Kalle if you want to know why the old tests were
> > > done many, many months ago.
> > 
> > [shafi] sure, hopefully we can get this sorted out. Thank you for the patches
> > and support.
> > 
> > > 
> > > Please ask Marek when you want to have tests done with the current
> > > mac8011+ath10k.
> > 
> > [shafi] thanks
> > 
> > > 
> > > Kind regards,
> > > 	Sven
> > 
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2016-06-09  5:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 14:40 [PATCH 0/2] ath10k: Add support for QCA9887 Sven Eckelmann
2016-05-20 14:41 ` [PATCH 1/2] ath10k: add QCA9887 chipset support Sven Eckelmann
2016-05-23  6:22   ` Mohammed Shafi Shajakhan
2016-05-23  6:52     ` Mohammed Shafi Shajakhan
2016-06-04 13:21   ` Valo, Kalle
2016-06-07 11:29   ` [1/2] " Kalle Valo
2016-05-20 14:41 ` [PATCH 2/2] ath10k: Add board data download from target Sven Eckelmann
2016-06-04 13:26   ` Valo, Kalle
2016-06-06 10:10     ` Sven Eckelmann
2016-05-26 17:32 ` [PATCH 0/2] ath10k: Add support for QCA9887 Valo, Kalle
2016-05-27  8:46   ` Sven Eckelmann
2016-05-27 12:44     ` Valo, Kalle
2016-05-30 11:12       ` Sven Eckelmann
2016-06-07 14:50         ` Mohammed Shafi Shajakhan
2016-06-07 16:54           ` Sven Eckelmann
2016-06-07 17:11             ` Mohammed Shafi Shajakhan
2016-06-08 12:43               ` Mohammed Shafi Shajakhan
2016-06-09  5:06                 ` Mohammed Shafi Shajakhan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160609050657.GA31330@atheros-ThinkPad-T61 \
    --to=mohammed@codeaurora.org \
    --cc=ath10k@lists.infradead.org \
    --cc=kvalo@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marek.lindner@open-mesh.com \
    --cc=sven.eckelmann@open-mesh.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).