Re: [PATCH] Do not bind WDS station to VLAN on reconnect

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

 



Am 15.03.2016 um 16:15 schrieb Dmitrijs Ivanovs:
> WDS station is bound to specific interface such as wlan0.sta1. Current
> code rebinds it back to to wlan0 in case of reassociation. Because of
> this, traffic is not flowing. My patch fixes this problem.

If this code rebinds the station to wlan0, sta->vlan_id is not properly
set. As the station is currently bound to wlan0.sta1, sta->vlan_id was
once properly set and then got cleared (sometime after ap_sta_bind_vlan
was called). Clearing sta->vlan_id does not immediately populate into
the station being bound to wlan0 - this is put into effect by
ap_sta_bind_vlan.

So the fix should be about setting sta->vlan_id properly.

Currently sta->vlan_id is set by ap_sta_set_vlan during 802.11 auth
(e.g. for using macaddr_acl=2), during 802.1x (RADIUS Access-Accept) and
when authenticating using PMKSA cache. These code paths also clear
sta->vlan_id for example if RADIUS Access-Accept does not include a VLAN
information.

Regards,
M. Braun


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux