Enable 5.5 and 11Mbit TX rates.

Reviewed by:	sam
Approved by:	rpaulo (mentor)
MFC after:	3 days
This commit is contained in:
Bernhard Schmidt 2010-05-11 17:14:17 +00:00
parent a0c124f0c5
commit 227901e1a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207926

View File

@ -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)