Use a temporary rate set to hold current channel's rate set.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Dec 2006 14:53:21 +0000 (14:53 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Dec 2006 14:53:21 +0000 (14:53 +0000)
commit41121c6e11a592c4aa36a2c0131006f2c5406247
tree38418b37c75fc65b44addd0b38f79f2bf1815eeb
parent8e8dc767f391419c064022ca0bf5c881010b9d2e
Use a temporary rate set to hold current channel's rate set.
The rates in the temporary rate set will have their MSB cleared.

The main reason that we do this is to be compatible with some
AP implementations, that check MSB of supported rate octet in
(Extended) Supported Rates ie of probe requests.  If the checking
fails on AP side, these implementations will not send out probe
responses.

This kind of rate checking is against:
- IEEE Std 802.11, 1999 edition subclause 7.3.2.2
- IEEE Std 802.11g-2003 subclause 7.3.2.14
sys/netproto/802_11/wlan/ieee80211_output.c