linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Karl Beldan <karl.beldan@gmail.com>
Cc: Karl Beldan <karl.beldan@rivierawaves.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Felix Fietkau <nbd@openwrt.org>
Subject: Re: [PATCH v6] mac80211: minstrel_ht: add basic support for VHT rates <= 3SS@80MHz
Date: Fri, 24 Oct 2014 14:01:01 +0200	[thread overview]
Message-ID: <1414152061.1934.2.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <20141024114829.GA11675@magnum.frso.rivierawaves.com> (sfid-20141024_134856_913156_316219A8)

On Fri, 2014-10-24 at 13:48 +0200, Karl Beldan wrote:
> Hi,
> 
> On Tue, Oct 21, 2014 at 10:38:38AM +0200, Karl Beldan wrote:
> > From: Karl Beldan <karl.beldan@rivierawaves.com>
> > 
> > @@ -1026,13 +1184,47 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,
> >  		    sta->bandwidth < IEEE80211_STA_RX_BW_40)
> >  			continue;
> >  
> > +		nss = minstrel_mcs_groups[i].streams;
> > +
> >  		/* Mark MCS > 7 as unsupported if STA is in static SMPS mode */
> > -		if (sta->smps_mode == IEEE80211_SMPS_STATIC &&
> > -		    minstrel_mcs_groups[i].streams > 1)
> > +		if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1)
> > +			continue;
> > +
> > +		/* HT rate */
> > +		if (gflags & IEEE80211_TX_RC_MCS) {
> > +#ifdef CONFIG_MAC80211_RC_MINSTREL_VHT
> > +			if (minstrel_vht_only)
> > +				continue;
> > +#endif
> 
> When reformatting for 80chars I introduced a pb, the test should be 
> 'if (use_vht && minstrel_vht_only)' instead.
> The consequence is VHT-unable devices with
> CONFIG_MAC80211_RC_MINSTREL_VHT set won't have HT rates enabled.
> Johannes can you squash it in or should I send you a patch ?

I'm not sure I'm following, please send a patch, and I may decide to
fold that.

johannes


  reply	other threads:[~2014-10-24 12:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 13:45 [PATCH v5 0/4] add VHT support to minstrel_ht Karl Beldan
2014-10-20 13:45 ` [PATCH v5 1/4] mac80211: minstrel_ht: Increase the range of handled rate indexes Karl Beldan
2014-10-20 13:46 ` [PATCH v5 2/4] mac80211: minstrel_ht: macros adjustments for future VHT_GROUPs Karl Beldan
2014-10-20 13:46 ` [PATCH v5 3/4] mac80211: minstrel_ht: include type (cck/ht) in rates flag Karl Beldan
2014-10-20 13:46 ` [PATCH v5 4/4] mac80211: minstrel_ht: add basic support for VHT rates <= 3SS@80MHz Karl Beldan
2014-10-21  8:38   ` [PATCH v6] " Karl Beldan
2014-10-24 11:48     ` Karl Beldan
2014-10-24 12:01       ` Johannes Berg [this message]
2014-10-24 12:34         ` [PATCH] mac80211: minstrel_ht: do not always skip ht rates vht_only is true Karl Beldan
2014-10-24 12:40           ` Karl Beldan
2014-10-24 14:30           ` Johannes Berg
2014-10-24 14:33             ` Karl Beldan
2014-11-14 16:43     ` [PATCH v6] mac80211: minstrel_ht: add basic support for VHT rates <= 3SS@80MHz Jouni Malinen
2014-11-14 17:18       ` Karl Beldan
2014-11-14 17:36         ` Jouni Malinen
2014-11-14 18:29           ` Karl Beldan
2014-11-14 22:40           ` Karl Beldan
2014-10-20 14:49 ` [PATCH v5 0/4] add VHT support to minstrel_ht Johannes Berg
2014-10-20 15:13   ` Karl Beldan
2014-10-20 15:34     ` Karl Beldan
2014-10-20 19:33       ` Johannes Berg
2014-10-20 19:40         ` Johannes Berg
2014-10-21  8:41           ` Karl Beldan
2014-10-21 15:26         ` Karl Beldan
2014-10-21 18:47           ` Johannes Berg
2014-10-22 13:54             ` Karl Beldan
2014-10-22 14:07               ` Johannes Berg
2014-10-22 14:15                 ` Karl Beldan
2014-10-22 14:16                   ` Johannes Berg

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=1414152061.1934.2.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=karl.beldan@gmail.com \
    --cc=karl.beldan@rivierawaves.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nbd@openwrt.org \
    /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).