linux/drivers/net/wireless/rt2x00
Josef Bacik 6a62e5ef94 rt2800: do not enable tbtt unless we are in a beacon mode
Please be gentle, I'm a fs developer and this is my first foray into drivers, as
I'm tired of building ralinks driver everytime I update my kernel.  Whenever I
load the rt2800pci driver my box bogs down, and a few printk's later I
discovered its because I was getting 10's of thousands of TBTT interrupts a
second.  I discovered this was because we were setting the beacon timer to 0,
which is apparently what TBTT keys off of.  It seems to me that we should only
be enabling TBTT when we are in a beacon transmitting mode, which from what I
can tell is in AD-HOC and other such modes where the mac80211 layer would have
given us a proper beacon_int to set the beacon timer to instead of 0.  So this
is my fix, only enable TBTT if our sync mode is for beacon.  This makes it so my
box doesn't die everytime I load the rt2800pci driver.  Let me know if this is
acceptable, I just learned all these terms about 15 minutes ago via wikipedia,
so I really am not familiar with how this stuff is supposed to work.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-16 14:17:13 -05:00
..
Kconfig rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
Makefile rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
rt2x00.h rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2x00config.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00crypto.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00debug.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00debug.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dev.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dump.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00firmware.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00ht.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00lib.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00link.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00mac.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00pci.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00queue.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00queue.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00reg.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt61pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt61pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt73usb.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt73usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2400pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2400pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2500pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500usb.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2500usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800lib.c rt2800: do not enable tbtt unless we are in a beacon mode 2009-11-16 14:17:13 -05:00
rt2800lib.h rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800pci.c rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800usb.c rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00