On Mon, Feb 8, 2010 at 10:23 AM, Kalle Valo <kalle.valo@xxxxxx> wrote: > Andres Salomon <dilinger@xxxxxxxxxxxxxxx> writes: > >> I discovered that if EMBEDDED=y, one can accidentally build a >> mac80211 stack w/ no rate control algorithm. When RC_MINISTREL and >> RC_PID are both disabled, the RC_DEFAULT string (which rate.c uses >> as the fallback algorithm) will be "". That'll cause the >> rate_control_alloc to fail, which will in turn cause >> ieee80211_register_hw to fail. IOW, no driver will load. > > There are devices that don't need rate control algorithm, for example > wl1271 (see IEEE80211_HW_HAS_RATE_CONTROL). A better solution is > instead to fix rate_control_alloc() to handle this, or something > similar. > > -- > Kalle Valo > -- > 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 > There is also iwlwifi (and ath9k) which use their own RC algorithms. AFAIK they need no external RC algo either. -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- 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