linux-hardened/drivers/net/wireless
Stanislaw Gruszka 38cb87ee47 cfg80211: make wmm_rule part of the reg_rule structure
Make wmm_rule be part of the reg_rule structure. This simplifies the
code a lot at the cost of having bigger memory usage. However in most
cases we have only few reg_rule's and when we do have many like in
iwlwifi we do not save memory as it allocates a separate wmm_rule for
each channel anyway.

This also fixes a bug reported in various places where somewhere the
pointers were corrupted and we ended up doing a null-dereference.

Fixes: 230ebaa189 ("cfg80211: read wmm rules from regulatory database")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
[rephrase commit message slightly]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-08-28 11:11:47 +02:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath wcn36xx: Remove Unicode Byte Order Mark from testcode 2018-06-28 12:28:35 +03:00
atmel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-06-06 18:39:49 -07:00
broadcom brcmfmac: fix regression in parsing NVRAM for multiple devices 2018-07-25 10:30:36 +03:00
cisco treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
intel cfg80211: make wmm_rule part of the reg_rule structure 2018-08-28 11:11:47 +02:00
intersil treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
marvell mwifiex: handle race during mwifiex_usb_disconnect 2018-06-24 20:00:46 +03:00
mediatek mt7601u: remove warning when avg_rssi is zero 2018-06-24 20:01:38 +03:00
quantenna wireless-drivers fixes for 4.18 2018-07-03 23:29:29 +09:00
ralink treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
realtek rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-06-29 10:08:47 +03:00
rsi rsi: fix spelling mistake "Uknown" -> "Unknown" 2018-05-29 10:21:35 +03:00
st treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ti wlcore: sdio: check for valid platform device data before suspend 2018-05-29 10:20:56 +03:00
zydas treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X 2018-08-28 11:09:05 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ray_cs.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
ray_cs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rayctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rndis_wlan.c
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wl3501_cs.c