summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/etheriwl.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-04-21 05:22:17 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-04-21 05:22:17 +0200
commit49825fa795e89256383795a60cc365d4e4ede420 (patch)
treeadda2c5e5906e2c9c755d0eee8b0555846037c8d /sys/src/9/pc/etheriwl.c
parent3b87d6114dceccd0a5cee998ab6d6cc393de1ef2 (diff)
etheriwl: set msb for all rates
the 802.11 spec only specifies the msb of the rate for Beacon, Probe Response, Association Response, Reassociation Response, Mesh Peering Open, and Mesh Peering Confirm management frames ... The MSB of each Supported Rate octet in other management frame types is ignored by receiving STAs. this should make no difference but on some netgear ap's not setting this bit seems to ignore these data rates.
Diffstat (limited to 'sys/src/9/pc/etheriwl.c')
-rw-r--r--sys/src/9/pc/etheriwl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/src/9/pc/etheriwl.c b/sys/src/9/pc/etheriwl.c
index ee44aa3f4..df7fbf32e 100644
--- a/sys/src/9/pc/etheriwl.c
+++ b/sys/src/9/pc/etheriwl.c
@@ -1818,15 +1818,15 @@ static uchar iwlrates[] = {
0x80 | 4,
0x80 | 11,
0x80 | 22,
- 12,
- 18,
- 24,
- 36,
- 48,
- 72,
- 96,
- 108,
- 120,
+ 0x80 | 12,
+ 0x80 | 18,
+ 0x80 | 24,
+ 0x80 | 36,
+ 0x80 | 48,
+ 0x80 | 72,
+ 0x80 | 96,
+ 0x80 | 108,
+ 0x80 | 120,
0
};