diff options
author | adrian <adrian@FreeBSD.org> | 2011-05-30 15:06:57 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-05-30 15:06:57 +0000 |
commit | f2b5d7ad5d88199d76734d5c404b92cf6223a1e7 (patch) | |
tree | d9d9c4374bcc5bc1f1b80892416df4bae21de412 /lib/libc/regex/engine.c | |
parent | 696ed40549067ce83a10a81ffbd8a81f74dba608 (diff) | |
download | FreeBSD-src-f2b5d7ad5d88199d76734d5c404b92cf6223a1e7.zip FreeBSD-src-f2b5d7ad5d88199d76734d5c404b92cf6223a1e7.tar.gz |
Enable setting the short-GI bit when TX'ing HT rates but only if the
hardware supports it.
Since ni->ni_htcap in hostap mode is what the remote end has advertised,
not what has been negotiated/decided, we need to check ourselves what
the current channel width is and what the hardware supports before
enabling short-GI.
It's important that short-GI isn't enabled when it isn't negotiated
and when the hardware doesn't support it (ie, short-gi for 20mhz channels
on any chip < AR9287.)
I've quickly verified this on the AR9285 in 11n mode.
Diffstat (limited to 'lib/libc/regex/engine.c')
0 files changed, 0 insertions, 0 deletions