Search Linux Wireless

Re: [PATCH] cfg80211: VLAN offload support for set_key and set_sta_vlan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-08-20 at 23:50 +0300, Jouni Malinen wrote:

> > Without really looking at the specifics, it might be relatively simple
> > to support this in mac80211?
> 
> Yes, that is something that I was thinking about when going through
> this.. I don't remember why exactly mac80211 ended up with its current
> design for per-AP_VLAN netdevs without tags, but it could indeed be
> quite convenient to have this alternative approach available. 

Even just for testing it :-)

> I guess
> both of them have some benefits, so this would likely be left with two
> different mechanisms left to maintain, 

Yes, unless we find a way to attach nl80211 to 802.1q interfaces so we
can pretend to do the netdevs ... not really worth it.

We could encapsulate the backward compatibility on top of this feature,
theoretically, by always asking the drivers to use this feature and then
implementing the AP_VLAN interfaces in cfg80211 entirely, but again,
probably not worth it since it's only mac80211, not a bunch of drivers.

> but the needed implementation in
> mac80211 for this would seem to be pretty minimal (also without looking
> at the exact details..).

Yeah, on RX the station lookup would just have to find the VLAN ID and
use __vlan_hwaccel_put_tag(); on TX ... not sure, probably
skb_vlan_tag_present()?

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux