In routine rate_control_simple_rate_init in net/mac80211/rc80211_simple.c, there is a comment that says
/* TODO: what is a good starting rate for STA? About middle? Maybe not
* the lowest or the highest rate.. Could consider using RSSI from
* previous packets? Need to have IEEE 802.1X auth succeed immediately
* after assoc.. */
After that the code goes on to set the rate equal to the last one in the rate table, which might be
the highest rate. Although that rate might be OK for most of the devices using mac80211, it
certainly is not for bcm43xx, which does not have the ability to transmit or receive at speeds much
above 1 Mbs. In a private patch circulated only on the bcm43xx mailing list, I changed this routine
to set an initial rate of 1 Mbs, which certainly helps bcm43xx authenticate and communicate with the
DHCP server.
If this low rate were to be set for all drivers, how rapidly would the rate-control algorithm
respond? Would this cause a serious performance degradation?
Larry
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html