linux-bl808/drivers/net
James Prestwood 99e3a44bac mac80211_hwsim: allow setting iftype support
The mac80211_hwsim driver hard codes its supported interface types. For
testing purposes it would be valuable to allow changing these supported
types in order to simulate actual drivers than support a limited set of
iftypes. A new attribute was added to allow this:

- HWSIM_ATTR_IFTYPE_SUPPORT
	A u32 bit field of supported NL80211_IFTYPE_* bits

This will only enable/disable iftypes that mac80211_hwsim already
supports.

In order to accomplish this, the ieee80211_iface_limit structure needed
to be built dynamically to only include limit rules for iftypes that
the user requested to enable.

Signed-off-by: James Prestwood <james.prestwood@linux.intel.com>
[fix some indentation, add netlink error string]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-11-09 11:33:40 +01:00
..
appletalk
arcnet
bonding
caif
can
dsa net: dsa: bcm_sf2: fix semicolon.cocci warnings 2018-11-07 22:14:05 -08:00
ethernet sfc: use the new __netdev_tx_sent_queue BQL optimisation 2018-11-08 20:01:29 -08:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy net: phy: use phy_check_link_status in more places in the state machine 2018-11-08 15:02:06 -08:00
plip
ppp
slip
team
usb
vmxnet3
wan net/wan/fsl_ucc_hdlc: add BQL support 2018-11-07 22:21:25 -08:00
wimax
wireless mac80211_hwsim: allow setting iftype support 2018-11-09 11:33:40 +01:00
xen-netback
dummy.c
eql.c
geneve.c geneve: Allow configuration of DF behaviour 2018-11-08 17:13:08 -08:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: compute the RFS hash only if needed. 2018-11-07 22:22:16 -08:00
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c vxlan: Allow configuration of DF behaviour 2018-11-08 17:13:08 -08:00
xen-netfront.c