Adding 802.1x features to a switch driver

Jouni Malinen jkmaline
Wed Aug 9 19:27:24 PDT 2006

On Wed, Aug 09, 2006 at 02:29:00PM +0200, Florian Fainelli wrote:

> First of all, thank you very much for this great software. I am planning on 
> adding 802.1x features to an existing switch driver (bcm53xx/adm6996 used by 
> OpenWrt), basically, if a user is not authenticated, the port is shut down.
> Is there anything I should look for, be aware of ? Is there an example 
> somewhere ? How far can I be inspired by the wired driver ?

Do you know what kind of port control features are available in the
switch driver? For example, can it be configured to allow EAPOL frames
(separate ethertype) and drop all other packets?

Wired driver interface should be a good starting point. If the switch
driver has support for some level of port control, the wired driver
would be extended to configure the driver to open/close the port based
on authentication state.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list