android_kernel_oneplus_msm8998/drivers/net/wireless
Ido Yariv d2f4d47d84 wl12xx: Simplify TX blocks accounting
The total number of TX memory blocks may change when the dynamic memory
option is enabled. The current implementation only tracks the available
memory blocks, which over-complicates TX blocks accounting.

By tracking the number of allocated blocks, calculation of the number of
available blocks becomes simpler and cleaner. It simply equals the total
number of TX memory blocks minus the allocated ones.

Also, remove some unnecessary castings and use union member accesses
instead.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2011-04-19 16:49:20 +03:00
..
ath ath: Add a missing world regulatory domain 0x6C 2011-04-14 15:35:14 -04:00
b43 b43: allocate receive buffers big enough for max frame len + offset 2011-04-04 15:22:11 -04:00
b43legacy
hostap
ipw2x00
iwlegacy iwl4965: drop a lone pr_err() 2011-04-12 16:57:36 -04:00
iwlwifi iwlagn: downgrade warning on unknown TLV 2011-04-08 08:19:11 -07:00
iwmc3200wifi
libertas libertas_spi: Add support for suspend/resume 2011-03-30 14:15:17 -04:00
libertas_tf
mwifiex mwifiex: rename function mwifiex_is_ba_stream_avail 2011-04-14 15:35:13 -04:00
orinoco
p54 p54usb: IDs for two new devices 2011-04-04 15:22:12 -04:00
prism54
rt2x00 rt2800usb: Add seven new USB IDs 2011-04-12 16:59:48 -04:00
rtl818x
rtlwifi rtlwifi: Fix unitialized variable warnings 2011-04-14 15:35:14 -04:00
wl12xx wl12xx: Simplify TX blocks accounting 2011-04-19 16:49:20 +03:00
wl1251 wl1251: Add support for idle mode 2011-04-07 15:34:14 -04:00
zd1211rw Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-04-07 16:45:40 -04:00
adm8211.c
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig wireless: mwifiex: initial commit for Marvell mwifiex driver 2011-03-30 14:15:17 -04:00
mac80211_hwsim.c
Makefile wireless: mwifiex: initial commit for Marvell mwifiex driver 2011-03-30 14:15:17 -04:00
mwl8k.c mwl8k: use traffic threshold to decide when to start ampdu 2011-04-13 15:21:56 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h