Hi,

On Tue, Oct 21, 2014 at 10:38:38AM +0200, Karl Beldan wrote:
> From: Karl Beldan <[email protected]>
> 
> @@ -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 ?

 
Karl
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to