diff options
author | adrian <adrian@FreeBSD.org> | 2013-08-13 09:58:27 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-08-13 09:58:27 +0000 |
commit | 734677ca723882e48559667f3c84eb5eda07e9f0 (patch) | |
tree | 13e05809d753b6625b54adf2abca2a0aca6abb38 /lib/libc/stdlib/twalk.c | |
parent | f4100c62aa6a63af38d8f038dfc2d5078aa31968 (diff) | |
download | FreeBSD-src-734677ca723882e48559667f3c84eb5eda07e9f0.zip FreeBSD-src-734677ca723882e48559667f3c84eb5eda07e9f0.tar.gz |
ieee80211_rate2plcp() and ieee80211_rate2phytype() are both pre-11n
routines and thus assert if one passes in a rate code with the
high bit set.
Since the high bit can indicate either IEEE80211_RATE_BASIC or
IEEE80211_RATE_MCS, it's up to the caller to determine whether
the rate is 11n or not, and either mask out the BASIC bit, or
call a different function.
(Yes, this does mean that net80211 should grow 11n-aware rate2phytype()
and rate2plcp() functions..)
This may need to happen for the other drivers - it's currently only
done (now) for iwn(4) and bwi(4).
PR: kern/181100
Diffstat (limited to 'lib/libc/stdlib/twalk.c')
0 files changed, 0 insertions, 0 deletions