]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: VLAN offload support for set_key and set_sta_vlan
authorGurumoorthi Gnanasambandhan <gguru@codeaurora.org>
Thu, 31 Oct 2019 21:46:40 +0000 (23:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Nov 2019 10:19:19 +0000 (11:19 +0100)
commit14f34e36b36ceede9877ca422a62fcac17b52023
tree1b795f3f7eb19d27b2a0f787cf2a5e277ac24ff9
parent6912daed05e1370af5253aea6f2116805c0e57f8
cfg80211: VLAN offload support for set_key and set_sta_vlan

This provides an alternative mechanism for AP VLAN support where a
single netdev is used with VLAN tagged frames instead of separate
netdevs for each VLAN without tagged frames from the WLAN driver.

By setting NL80211_EXT_FEATURE_VLAN_OFFLOAD flag the driver indicates
support for a single netdev with VLAN tagged frames. Separate
VLAN-specific netdevs can be added using RTM_NEWLINK/IFLA_VLAN_ID
similarly to Ethernet. NL80211_CMD_NEW_KEY (for group keys),
NL80211_CMD_NEW_STATION, and NL80211_CMD_SET_STATION will optionally
specify vlan_id using NL80211_ATTR_VLAN_ID.

Signed-off-by: Gurumoorthi Gnanasambandhan <gguru@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20191031214640.5012-1-jouni@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c