linux/drivers/net/wireless/b43
Johannes Berg 19d337dff9 rfkill: rewrite
This patch completely rewrites the rfkill core to address
the following deficiencies:

 * all rfkill drivers need to implement polling where necessary
   rather than having one central implementation

 * updating the rfkill state cannot be done from arbitrary
   contexts, forcing drivers to use schedule_work and requiring
   lots of code

 * rfkill drivers need to keep track of soft/hard blocked
   internally -- the core should do this

 * the rfkill API has many unexpected quirks, for example being
   asymmetric wrt. alloc/free and register/unregister

 * rfkill can call back into a driver from within a function the
   driver called -- this is prone to deadlocks and generally
   should be avoided

 * rfkill-input pointlessly is a separate module

 * drivers need to #ifdef rfkill functions (unless they want to
   depend on or select RFKILL) -- rfkill should provide inlines
   that do nothing if it isn't compiled in

 * the rfkill structure is not opaque -- drivers need to initialise
   it correctly (lots of sanity checking code required) -- instead
   force drivers to pass the right variables to rfkill_alloc()

 * the documentation is hard to read because it always assumes the
   reader is completely clueless and contains way TOO MANY CAPS

 * the rfkill code needlessly uses a lot of locks and atomic
   operations in locked sections

 * fix LED trigger to actually change the LED when the radio state
   changes -- this wasn't done before

Tested-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> [thinkpad]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
History 2009-06-03 14:06:13 -04:00
..
b43.h b43: Remove unnecessary MMIO in interrupt hotpath 2009-04-22 16:54:45 -04:00
debugfs.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
debugfs.h b43: Dynamically control log verbosity 2009-01-29 16:01:47 -05:00
dma.c b43: Refresh RX poison on buffer recycling 2009-04-16 10:39:03 -04:00
dma.h b43: Optimize DMA buffers 2009-02-27 14:52:48 -05:00
Kconfig rfkill: rewrite 2009-06-03 14:06:13 -04:00
leds.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
leds.h [B43]: LED triggers support 2007-10-10 16:54:11 -07:00
lo.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
lo.h b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
main.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
main.h b43: Dynamically control log verbosity 2009-01-29 16:01:47 -05:00
Makefile b43: Add LP-PHY baseband init for >=rev2 2009-02-09 15:03:48 -05:00
pcmcia.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
pcmcia.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
phy_a.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_a.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
phy_common.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_common.h rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_g.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_g.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
phy_lp.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_lp.h b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
phy_n.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_n.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
pio.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
pio.h mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
rfkill.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00
sysfs.c b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
sysfs.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
tables.c b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
tables.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
tables_lpphy.c b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
tables_lpphy.h b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
tables_nphy.c b43: Move code from nphy.* to phy_n.* 2008-09-05 16:17:43 -04:00
tables_nphy.h b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
wa.c b43: Remove bogus integer truncation warnings 2009-02-27 14:53:03 -05:00
wa.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
xmit.c b43: fix b43_plcp_get_bitrate_idx_ofdm return type 2009-03-27 20:13:18 -04:00
xmit.h mac80211/drivers: rewrite the rate control API 2008-10-31 19:00:23 -04:00