linux_dsm_epyc7002/drivers/net/wireless/rt2x00
Luis R. Rodriguez 42935ecaf4 mac80211: redefine usage of the mac80211 workqueue
The mac80211 workqueue exists to enable mac80211 and drivers
to queue their own work on a single threaded workqueue. mac80211
takes care to flush the workqueue during suspend but we never
really had requirements on drivers for how they should use
the workqueue in consideration for suspend.

We extend mac80211 to document how the mac80211 workqueue should
be used, how it should not be used and finally move raw access to
the workqueue to mac80211 only. Drivers and mac80211 use helpers
to queue work onto the mac80211 workqueue:

  * ieee80211_queue_work()
  * ieee80211_queue_delayed_work()

These helpers will now warn if mac80211 already completed its
suspend cycle and someone is trying to queue work. mac80211
flushes the mac80211 workqueue prior to suspend a few times,
but we haven't taken the care to ensure drivers won't add more
work after suspend. To help with this we add a warning when
someone tries to add work and mac80211 already completed the
suspend cycle.

Drivers should ensure they cancel any work or delayed work
in the mac80211 stop() callback.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-04 16:44:14 -04:00
..
Kconfig rt2x00: move experimental on kconfig only to rt2800usb 2009-08-04 16:43:22 -04:00
Makefile rt2x00: use wiphy rfkill interface 2009-07-10 15:02:27 -04:00
rt2x00.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2x00config.c rt2x00: Don't alter rt2x00dev->default_ant 2009-07-27 15:24:08 -04:00
rt2x00crypto.c rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2x00debug.c wireless: beyond ARRAY_SIZE of intf->crypto_stats 2009-05-20 14:29:55 -04:00
rt2x00debug.h rt2x00: Update copyright year to 2009 2009-01-29 16:00:45 -05:00
rt2x00dev.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
rt2x00dump.h rt2x00: Update copyright year to 2009 2009-01-29 16:00:45 -05:00
rt2x00firmware.c rt2x00: Validate firmware in driver 2009-02-09 15:03:35 -05:00
rt2x00ht.c rt2x00: Implement support for 802.11n 2009-05-06 15:14:50 -04:00
rt2x00leds.c rt2x00: fix led naming 2009-02-09 15:03:47 -05:00
rt2x00leds.h rt2x00: Update copyright year to 2009 2009-01-29 16:00:45 -05:00
rt2x00lib.h rt2x00: Don't alter rt2x00dev->default_ant 2009-07-27 15:24:08 -04:00
rt2x00link.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
rt2x00mac.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
rt2x00pci.c rt2x00: Move Move pci_dev specific access to rt2x00pci 2009-04-22 16:54:29 -04:00
rt2x00pci.h rt2x00: Update copyright year to 2009 2009-01-29 16:00:45 -05:00
rt2x00queue.c rt2x00: Implement support for 802.11n 2009-05-06 15:14:50 -04:00
rt2x00queue.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2x00reg.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2x00usb.c rt2x00: Don't free register information on suspend 2009-04-20 16:36:26 -04:00
rt2x00usb.h rt2x00: Add kill_tx_queue callback function 2009-02-09 15:03:34 -05:00
rt61pci.c rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt61pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt73usb.c rt2x00: Implement set_tim callback for all drivers 2009-07-24 15:05:11 -04:00
rt73usb.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2400pci.c rt2x00: Implement set_tim callback for all drivers 2009-07-24 15:05:11 -04:00
rt2400pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2500pci.c rt2x00: Implement set_tim callback for all drivers 2009-07-24 15:05:11 -04:00
rt2500pci.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2500usb.c rt2x00: Implement set_tim callback for all drivers 2009-07-24 15:05:11 -04:00
rt2500usb.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2800usb.c rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00
rt2800usb.h rt2x00: Comment spellchecking 2009-07-24 15:05:26 -04:00