[PATCHv2 05/12] vlan: add per-sta vif option

M. Braun michael-dev at fami-braun.de
Thu Jan 7 05:47:53 PST 2016



Am 24.12.2015 um 20:02 schrieb Jouni Malinen:
> On Sun, Dec 06, 2015 at 09:47:36PM +0100, Michael Braun wrote:
>> This allows the stations to be assigned to their own vif.
>> It does not need dynamic_vlan to be set.
>> Makes hostapd call ap_sta_set_vlan even if !vlan_desc.notempty,
>> so vlan_id can be assigned regardless.
> 
> What's the expected way of using these new netdevs? In other words, is
> there an expectation of some external program listening for new netdevs
> to be added and then add them to a suitable bridge interface (etc.)? Or
> is hostapd expected to make this fully usable? In either case, the
> documentation in hostapd.conf could mention some more details on how
> this should be used.

a) station with (non-empty) VLAN set

Hostapd will add this to the vlan-bridge as with all VLAN related netdevs.

b) station without VLAN set

Hostapd will add this to the bridge given using the bridge configuration
option.

I'll update the documentation.



More information about the Hostap mailing list