Author: adrian
Date: Fri Jan 20 07:43:40 2017
New Revision: 312522
URL: https://svnweb.freebsd.org/changeset/base/312522

Log:
  [net80211] allow for MCS16-23 to be statically configured.
  
  Tested:
  
  * AR9380, STA mode

Modified:
  head/sys/net80211/ieee80211_ioctl.c

Modified: head/sys/net80211/ieee80211_ioctl.c
==============================================================================
--- head/sys/net80211/ieee80211_ioctl.c Fri Jan 20 07:11:21 2017        
(r312521)
+++ head/sys/net80211/ieee80211_ioctl.c Fri Jan 20 07:43:40 2017        
(r312522)
@@ -2225,7 +2225,7 @@ checkmcs(int mcs)
                return 1;
        if ((mcs & IEEE80211_RATE_MCS) == 0)    /* MCS always have 0x80 set */
                return 0;
-       return (mcs & 0x7f) <= 15;      /* XXX could search ht rate set */
+       return (mcs & 0x7f) <= 31;      /* XXX could search ht rate set */
 }
 
 static int
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to