linux_dsm_epyc7002/drivers/net/wireless/cw1200
Ido Yariv db12847ca8 mac80211: Re-fix accounting of the tailroom-needed counter
When hw acceleration is enabled, the GENERATE_IV or PUT_IV_SPACE flags
only require headroom space. Therefore, the tailroom-needed counter can
safely be decremented for most drivers.

The older incarnation of this patch (ca34e3b5) assumed that the above
holds true for all drivers. As reported by Christopher Chavez and
researched by Christian Lamparter and Larry Finger, this isn't a valid
assumption for p54 and cw1200.

Drivers that still require tailroom for ICV/MIC even when HW encryption
is enabled can use IEEE80211_KEY_FLAG_RESERVE_TAILROOM to indicate it.

Signed-off-by: Ido Yariv <idox.yariv@intel.com>
Cc: Christopher Chavez <chrischavez@gmx.us>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-01-07 14:39:32 +01:00
..
bh.c cw1200: When debug is enabled, display all wakeup conditions for the wait_event_interruptible_timeout() call. 2013-08-28 13:58:29 -04:00
bh.h
cw1200_sdio.c wireless: cw1200: Use consistent internal locking conventions 2013-12-05 14:54:47 -05:00
cw1200_spi.c cw1200: Introduce the use of devm_kzalloc 2014-08-25 16:00:43 -04:00
cw1200.h cw1200: Fix up a large pile of sparse warnings 2013-06-24 14:44:24 -04:00
debug.c cw1200: Fix cw1200_debug_link_id 2014-04-14 14:31:42 -04:00
debug.h cw1200: Remove "ITP" debug subsystem. 2013-06-11 12:48:09 -04:00
fwio.c cw1200: remove unnecessary break after return 2014-07-20 21:29:51 -07:00
fwio.h
hwbus.h Revert "cw1200: Don't perform SPI transfers in interrupt context" 2013-09-26 14:02:31 -04:00
hwio.c Revert "cw1200: Don't perform SPI transfers in interrupt context" 2013-09-26 14:02:31 -04:00
hwio.h cw1200: Fix up a large pile of sparse warnings 2013-06-24 14:44:24 -04:00
Kconfig cw1200: Eliminate the ETF debug/engineering code. 2013-06-11 12:48:10 -04:00
main.c mac80211: move U-APSD enablement to vif flags 2014-12-15 12:34:45 +01:00
Makefile cw1200: Remove "ITP" debug subsystem. 2013-06-11 12:48:09 -04:00
pm.c wireless: cw1200: Fix memory leak in cw1200_wow_suspend() 2014-01-03 15:37:01 -05:00
pm.h
queue.c cw1200: Fix up a large pile of sparse warnings 2013-06-24 14:44:24 -04:00
queue.h
scan.c mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
scan.h mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
sta.c mac80211: Re-fix accounting of the tailroom-needed counter 2015-01-07 14:39:32 +01:00
sta.h mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
txrx.c cw1200: slight optimization of addr compare 2013-12-26 13:31:35 -05:00
txrx.h
wsm.c treewide: Fix typo in printk 2013-08-20 12:44:03 +02:00
wsm.h cw1200: Fix incorrect endianness annotation in a header field 2013-07-22 16:54:44 -04:00