When the mac80211 channel tables were recently changed, the power_level member was removed. As a result, the value passed to b43legacy in conf->power_level became zero. This value is transferred to phy->power_level and used in calculating the desired TX power, which thus became zero. This patch does not fix all the power problems with b43legacy, but it will be needed anyway. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, This is 2.6.25 material. Larry Index: wireless-testing/drivers/net/wireless/b43legacy/main.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43legacy/main.c +++ wireless-testing/drivers/net/wireless/b43legacy/main.c @@ -127,6 +127,7 @@ static struct ieee80211_rate __b43legacy { \ .center_freq = (_freq), \ .hw_value = (_chanid), \ + .max_power = 0x14, \ } static struct ieee80211_channel b43legacy_bg_chantable[] = { CHANTAB_ENT(1, 2412),
When the mac80211 channel tables were recently changed, the power_level member was removed. As a result, the value passed to b43legacy in conf->power_level became zero. This value is transferred to phy->power_level and used in calculating the desired power, which thus became zero. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, This is 2.6.25 material. Larry Index: wireless-testing/drivers/net/wireless/b43legacy/main.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43legacy/main.c +++ wireless-testing/drivers/net/wireless/b43legacy/main.c @@ -127,6 +127,7 @@ static struct ieee80211_rate __b43legacy { \ .center_freq = (_freq), \ .hw_value = (_chanid), \ + .max_power = 0x14, \ } static struct ieee80211_channel b43legacy_bg_chantable[] = { CHANTAB_ENT(1, 2412),