Lines Matching defs:rate
176 static int wi_txerate = 0; /* tx error rate: max msgs/sec */
1251 int rate, len;
1257 /* convert to 802.11 rate */
1259 rate = val * 2;
1261 if (rate == 10)
1262 rate = 11; /* 5.5Mbps */
1264 if (rate == 4*2)
1265 rate = 11; /* 5.5Mbps */
1266 else if (rate == 8*2)
1267 rate = 22; /* 11Mbps */
1269 vap->iv_bss->ni_txrate = rate;