summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipw
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-05-11 17:14:17 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-05-11 17:14:17 +0000
commitfd4782d957bea021cedbc136b2a46eeec97e379d (patch)
tree0542f8f5619ac1449411a342708416dcd7814613 /sys/dev/ipw
parent75e620373fe7524808b0434540d78942679fb357 (diff)
downloadFreeBSD-src-fd4782d957bea021cedbc136b2a46eeec97e379d.zip
FreeBSD-src-fd4782d957bea021cedbc136b2a46eeec97e379d.tar.gz
Enable 5.5 and 11Mbit TX rates.
Reviewed by: sam Approved by: rpaulo (mentor) MFC after: 3 days
Diffstat (limited to 'sys/dev/ipw')
-rw-r--r--sys/dev/ipw/if_ipw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index 2329c33..db76bfa 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -2505,19 +2505,19 @@ ipw_config(struct ipw_softc *sc)
if (error != 0)
return error;
- data = htole32(0x3); /* 1, 2 */
+ data = htole32(0xf); /* 1, 2, 5.5, 11 */
DPRINTF(("Setting basic tx rates to 0x%x\n", le32toh(data)));
error = ipw_cmd(sc, IPW_CMD_SET_BASIC_TX_RATES, &data, sizeof data);
if (error != 0)
return error;
- /* NB: use the same rate set */
+ /* Use the same rate set */
DPRINTF(("Setting msdu tx rates to 0x%x\n", le32toh(data)));
error = ipw_cmd(sc, IPW_CMD_SET_MSDU_TX_RATES, &data, sizeof data);
if (error != 0)
return error;
- data = htole32(0xf); /* 1, 2, 5.5, 11 */
+ /* Use the same rate set */
DPRINTF(("Setting tx rates to 0x%x\n", le32toh(data)));
error = ipw_cmd(sc, IPW_CMD_SET_TX_RATES, &data, sizeof data);
if (error != 0)
OpenPOWER on IntegriCloud