[net80211] allow for MCS16-23 to be statically configured.

Tested:

* AR9380, STA mode
This commit is contained in:
Adrian Chadd 2017-01-20 07:43:40 +00:00
parent 68730a222d
commit a2c31ee05e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312522

View File

@ -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