We don't make much of an attempt to fall back to lower rates, and 54M
just isn't working for many people. In fact, it's not clear we even set
it to 11M if we're trying to associate with an 802.11b AP. 

This patch makes us default to 11M, which ought to work for most people.
When we actually handle dynamic adjustment of the RX rate, we can
reconsider the defaults -- but even then, it makes as much sense to
start at 11M and adjust it upwards as it does to start at 54M and reduce
it.

Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>

--- linux-2.6.16.ppc/net/ieee80211/softmac/ieee80211softmac_module.c~   
2006-03-21 23:50:00.000000000 +0000
+++ linux-2.6.16.ppc/net/ieee80211/softmac/ieee80211softmac_module.c    
2006-03-22 11:00:57.000000000 +0000
@@ -183,7 +183,10 @@ void ieee80211softmac_start(struct net_d
         */
        if (mac->txrates_change)
                oldrates = mac->txrates;
-       if (ieee->modulation & IEEE80211_OFDM_MODULATION) {
+       /* FIXME: We don't correctly handle backing down to lower rates,
+          so start off at 11M for now. People can manually change it if
+          they really need to, but 11M is more reliable. */     
+       if (0 && ieee->modulation & IEEE80211_OFDM_MODULATION) {
                mac->txrates.default_rate = IEEE80211_OFDM_RATE_54MB;
                change |= IEEE80211SOFTMAC_TXRATECHG_DEFAULT;
                mac->txrates.default_fallback = IEEE80211_OFDM_RATE_24MB;
--- linux-2.6.16.ppc/net/ieee80211/softmac/ieee80211softmac_wx.c~       
2006-03-21 23:50:00.000000000 +0000
+++ linux-2.6.16.ppc/net/ieee80211/softmac/ieee80211softmac_wx.c        
2006-03-22 12:11:58.000000000 +0000
@@ -136,7 +136,7 @@ ieee80211softmac_wx_set_rate(struct net_
 
        if (in_rate == -1) {
                /* automatic detect */
-               if (ieee->modulation & IEEE80211_OFDM_MODULATION)
+               if (0 /* FIXME */ && ieee->modulation & 
IEEE80211_OFDM_MODULATION)
                        in_rate = 54000000;
                else
                        in_rate = 11000000;

-- 
dwmw2

_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to