linux/drivers/net/wireless/b43
Rafał Miłecki 2e1253d640 b43: N-PHY: use more bits for offset in RSSI calibration
When calculating "offset" for final RSSI calibration we're using numbers
bigger than s8 can hold. We have for example:
offset[j] = 232 - poll_results[j];
formula. If poll_results[j] is small enough (it usually is) we treat
number's bit as a sign bit. For example 232 - 1 becomes:
0xE8 - 0x1 = 0xE7, which is not 231 but -25.

This code was introduced in e0c9a0219a
and caused stability regression on some cards, for ex. BCM4322.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-03-27 11:07:05 -04:00
..
b43.h
bus.c
bus.h
debugfs.c
debugfs.h
dma.c
dma.h
Kconfig
leds.c
leds.h
lo.c
lo.h
main.c
main.h
Makefile
pcmcia.c
pcmcia.h
phy_a.c
phy_a.h
phy_common.c
phy_common.h
phy_g.c
phy_g.h
phy_ht.c
phy_ht.h
phy_lcn.c
phy_lcn.h
phy_lp.c
phy_lp.h
phy_n.c b43: N-PHY: use more bits for offset in RSSI calibration 2013-03-27 11:07:05 -04:00
phy_n.h
pio.c
pio.h
radio_2055.c
radio_2055.h
radio_2056.c
radio_2056.h
radio_2057.c
radio_2057.h
radio_2059.c
radio_2059.h
rfkill.c
rfkill.h
sdio.c
sdio.h
sysfs.c
sysfs.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c
tables_nphy.h
tables_phy_ht.c
tables_phy_ht.h
tables_phy_lcn.c
tables_phy_lcn.h
tables.c
tables.h
wa.c
wa.h
xmit.c
xmit.h