aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43legacy
AgeCommit message (Collapse)AuthorFilesLines
2008-01-28b43legacy: Rewrite pwork lockingLarry Finger1-58/+30
Implement much easier and more lightweight locking for the periodic work. This also removes the last big busywait loop and replaces it by a sleeping loop. This patch for b43legacy is patterned aftar the same patch for b43 by Michael Buesch <[email protected]>. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2008-01-28b43legacy: Use input-polldev for the rfkill switchLarry Finger4-103/+109
This removes the direct call to rfkill on an rfkill event and replaces it with an input device. This way userspace is also notified about the event. This patch is the port to b43legacy of a patch for b43 by Michael Buesch <[email protected]>. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2008-01-28b43legacy: RF-kill supportLarry Finger9-15/+250
This adds full support for the RFKILL button and the RFKILL LED trigger. This is a port to b43legacy of a patch by Michael Buesch <[email protected]> for b43. Signed-off-by: Larry Finger<[email protected]> Signed-off-by: John W. Linville <[email protected]>
2008-01-28b43legacy: LED triggers supportLarry Finger7-310/+241
Drive the LEDs through the generic LED triggers. The patch to b43 by Michael Buesch <[email protected]> has been ported to b43legacy. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2008-01-28wireless: make drivers include the TSF RX flag where appropriateJohannes Berg1-0/+1
These drivers pass full mactime information to the stack, make them indicate this via the new RX_FLAG_TSFT to get mac80211 to show this information in monitor mode. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-11-29drivers/net/wireless: Add missing "space"Joe Perches1-1/+1
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-11-29b43/b43legacy: fix left-over URLs and ifdefsStefano Brivio2-2/+2
Fix some left-over URLs and ifdefs in b43 and b43legacy drivers. Signed-off-by: Stefano Brivio <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-11-10b43legacy: Fix sparse warningMichael Buesch1-1/+1
Fix a sparse warning about a nonstatic function. Signed-off-by: Michael Buesch <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-11-10b43legacy: fix shared IRQ race conditionStefano Brivio1-8/+11
Fix an IRQ race condition in b43legacy. If we call b43legacy_wireless_core_stop(), it will set the status of the device to INITIALIZED and the IRQ handler won't care any longer about IRQs, thus the kernel will disable the IRQ if it's shared (unless we boot it with the 'irqpoll' option). So we must disable IRQs before changing the device status. Signed-off-by: Stefano Brivio <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-11-10b43legacy: fix possible buffer overrun in debugfsStefano Brivio1-1/+1
Fix possible buffer overrun. The patch to b43 by Michael Buesch <[email protected]> has been ported to b43legacy. Signed-off-by: Stefano Brivio <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-10-25[PATCH] b43/b43legacy: jiffies_round -> jiffies_round_relativeAnton Blanchard1-1/+1
When rounding a relative timeout we need to use round_jiffies_relative(). Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-10-18[PATCH] b43legacy: Fix potential return of uninitialized variableLarry Finger1-1/+1
Using the Coverity checker, Adrian Bunk found that routine b43legacy_start could return an unitialized variable. This patch fixes the problem. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-10-10[PATCH] mac80211: revamp interface and filter configurationJohannes Berg2-126/+139
Drivers are currently supposed to keep track of monitor interfaces if they allow so-called "hard" monitor, and they are also supposed to keep track of multicast etc. This patch changes that, replaces the set_multicast_list() callback with a new configure_filter() callback that takes filter flags (FIF_*) instead of interface flags (IFF_*). For a driver, this means it should open the filter as much as necessary to get all frames requested by the filter flags. Accordingly, the filter flags are named "positively", e.g. FIF_ALLMULTI. Multicast filtering is a bit special in that drivers that have no multicast address filters need to allow multicast frames through when either the FIF_ALLMULTI flag is set or when the mc_count value is positive. At the same time, drivers are no longer notified about monitor interfaces at all, this means they now need to implement the start() and stop() callbacks and the new change_filter_flags() callback. Also, the start()/stop() ordering changed, start() is now called *before* any add_interface() as it really should be, and stop() after any remove_interface(). The patch also changes the behaviour of setting the bssid to multicast for scanning when IEEE80211_HW_NO_PROBE_FILTERING is set; the IEEE80211_HW_NO_PROBE_FILTERING flag is removed and the filter flag FIF_BCN_PRBRESP_PROMISC introduced. This is a lot more efficient for hardware like b43 that supports it and other hardware can still set the BSSID to all-ones. Driver modifications by Johannes Berg (b43 & iwlwifi), Michael Wu (rtl8187, adm8211, and p54), Larry Finger (b43legacy), and Ivo van Doorn (rt2x00). Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Michael Wu <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-10-10[B43LEGACY]: Change the hardware radio enable logic and cleanup codeLarry Finger4-34/+25
This change cleans up the radio-related messages in several ways. (1) The state of the rfkill switch is assumed to be on, rather than tested. Now, any user without such a switch will not see any messages. For devices with such a switch, a message will be logged only if the initial state is off, or if the switch is toggled. (2) The routine for testing the switch state is no longer inline. (3) The LED handling routine is simplified. (4) The "Radio turned off" message that has confused some users has been changed to "Radio initialized". This patch is patterned after a similar change to b43 by Michael Buesch. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-10-10[B43LEGACY]: Support for turning the radio off from software.Larry Finger4-19/+61
This adds support for turning the radio off in software. That's useful in environments, where you don't want the RF to radiate any signals, but don't want to bring the interface down. This patch is based on a similar patch of b43 by Michael Buesch. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-10-10[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()Joe Perches1-1/+2
This is nicer than the MAC_FMT stuff. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-10-10[B43LEGACY]: add mac80211-based driver for legacy BCM43xx devicesLarry Finger23-0/+14839
Signed-off-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>