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
..
Kconfig drivers/net/wireless/b43: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:01:35 -08:00
Makefile b43: N-PHY: init 0x2057 radio 2012-08-06 14:56:35 -04:00
b43.h b43: Fix firmware loading when driver is built into the kernel 2013-01-07 14:34:45 -05:00
bus.c bcma: add boardinfo struct 2012-05-16 12:45:21 -04:00
bus.h
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h
dma.c b43: A fix for DMA transmission sequence errors 2013-03-27 11:07:04 -04:00
dma.h b43: Increase number of RX DMA slots 2013-02-19 00:51:08 -05:00
leds.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
leds.h
lo.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
lo.h
main.c b43: Fix lockdep splat on module unload 2013-02-25 15:47:41 -05:00
main.h b43: Fix firmware loading when driver is built into the kernel 2013-01-07 14:34:45 -05:00
pcmcia.c b43: remove __dev* attributes 2012-12-06 15:04:56 -05:00
pcmcia.h
phy_a.c
phy_a.h
phy_common.c b43: add helper waiting for given value in radio reg 2012-08-06 14:56:35 -04:00
phy_common.h b43: add helper waiting for given value in radio reg 2012-08-06 14:56:35 -04:00
phy_g.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
phy_g.h
phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
phy_ht.h
phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
phy_lcn.h b43: LCN-PHY: finish sense setup 2011-09-19 16:10:14 -04:00
phy_lp.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
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 b43: N-PHY: finish 0x2056 radio setup 2012-08-06 14:56:35 -04:00
pio.c b43: fix tx path skb leaks 2012-12-10 15:49:59 -05:00
pio.h
radio_2055.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2055.h
radio_2056.c b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2056.h b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2057.c b43: N-PHY: init 0x2057 radio 2012-08-06 14:56:35 -04:00
radio_2057.h b43: N-PHY: init 0x2057 radio 2012-08-06 14:56:35 -04:00
radio_2059.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2059.h
rfkill.c
rfkill.h
sdio.c b43: remove __dev* attributes 2012-12-06 15:04:56 -05:00
sdio.h
sysfs.c
sysfs.h
tables.c
tables.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c b43: N-PHY: fix gain in b43_nphy_get_gain_ctl_workaround_ent() 2013-01-22 16:01:29 -05:00
tables_nphy.h b43: N-PHY: add overriding RF control for rev7+ 2012-08-06 15:01:56 -04:00
tables_phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
tables_phy_ht.h
tables_phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
tables_phy_lcn.h b43: LCN-PHY: load TX gain table on init 2011-09-14 13:56:26 -04:00
wa.c
wa.h
xmit.c mac80211: support RX_FLAG_MACTIME_END 2012-11-13 21:43:55 +01:00
xmit.h b43: HT-PHY: report signal to mac80211 2011-11-07 13:19:12 -05:00