linux_dsm_epyc7002/drivers/net/wireless
Benjamin Beichler cb1a5bae56 mac80211_hwsim: add permanent mac address option for new radios
If simulation needs predictable permanent mac addresses of hwsim wireless
phy, this patch add the ability to create a new radio with a user defined
permanent mac address. Allowed mac addresses needs to be locally
administrated mac addresses (as also the former fixed 42:* and 02:* were).

To do not break the operation with legacy software using hwsim, the new
address is set twice. The problem here is, the netlink call backs use
wiphy->addresses[1] as identification of a radio and not the proposed
permanent address (wiphy->addresses[0]). This design decision is not
documented in the kernel repo, therefore this patch simply reproduces this,
but with the same address.

Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
[make pointer const]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-01-31 12:45:35 +01:00
..
admtek License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ath wcn36xx: release DMA memory in case of error 2018-01-25 07:36:22 +02:00
atmel treewide: Switch DEFINE_TIMER callbacks to struct timer_list * 2017-11-21 15:57:05 -08:00
broadcom brcmfmac: separate firmware errors from i/o errors 2018-01-24 18:02:39 +02:00
cisco License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel wireless-drivers-next patches for 4.16 2018-01-15 14:46:16 -05:00
intersil treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
marvell mwifiex: resolve reset vs. remove()/shutdown() deadlocks 2018-01-16 18:00:17 +02:00
mediatek mt76: validate rx CCMP PN 2018-01-26 11:20:52 +02:00
quantenna qtnfmac: remove redundant 'unlikely' checks 2018-01-24 18:01:02 +02:00
ralink rt2x00: Fix a typo in printk 2018-01-08 19:41:22 +02:00
realtek rtlwifi: btcoex: Fix some static warnings from Sparse 2018-01-25 19:33:34 +02:00
rsi rsi: fix memory leak on buf and usb_reg_buf 2017-11-18 10:32:41 +09:00
st mac80211: use QoS NDP for AP probing 2017-11-27 11:23:20 +01:00
ti wl1251: check return from call to wl1251_acx_arp_ip_filter 2018-01-08 19:40:36 +02:00
zydas zd1201: remove unused variable framelen 2017-11-08 14:52:57 +02:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01: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 treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08: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_cs.c wl3501_cs: fix spelling mistake: "Insupported" -> "Unsupported" 2017-07-28 18:06:31 +03:00
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00