<div dir="ltr"><div>I have the hostapd running on a ARM9x processor running Linux 2.6.30 that authenticates up to 20 ports on a Marvell switch. I have different stations/ports on different vlans and I'm trying to authenticate the station/port based on VLAN id. I've setup my hostapd.conf with the following </div><div><br></div><div>vlan_file=/etc/hostapd.vlan</div><div>vlan_tagged_interface=eth0</div><div>#vlan_bridge=brvlan</div><div>vlan_naming=1</div><div><br></div><div>Here is the hostapd.vlan file</div><div># VLAN ID to network interface mapping</div><div>101<span class="" style="white-space:pre">       </span>eth0.101</div><div>102<span class="" style="white-space:pre">        </span>eth0.102</div><div>103<span class="" style="white-space:pre">        </span>eth0.103</div><div>104<span class="" style="white-space:pre">        </span>eth0.104</div><div>105<span class="" style="white-space:pre">        </span>eth0.105</div><div>107<span class="" style="white-space:pre">        </span>eth0.107</div><div>108<span class="" style="white-space:pre">        </span>eth0.108</div><div>..</div><div><br></div><div>I've setup the driver_hostpad.c to register the set_sta_vlan() callback. When I invoke hostapd, I get the following errors. It seems callback isn't getting invoked. Ideas, suggestion?</div><div><br></div><div><br></div><div>VLAN: Could not remove VLAN iface: guest: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.120: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.119: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.118: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.117: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.116: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.115: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.114: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.113: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.112: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.111: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.110: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.109: Address family not supported by protocol</div><div>VLAN: Could not remove VLAN iface: eth0.108: Address family not supported by protocol</div><div>...</div></div>