what is needed for virtual AP interfaces?

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4566

wraiden

16-01-2008 07:49:47

Hello IVD,

are there any special requirements for the virtual AP interfaces in current git?

What version of hostapd is needed?
Do I need any patch from Johannes Berg for the kernel or hostapd to get this up and running?
what version of wireless utils is needed?

I want to help out with testing.

If you need register traces an so on, i've adapted the trace script to current git (attached) and can provide limited access to my testbox if it is needed for testing rt61pci ...

By the way, is antenna selection fixed for rt61pci MIMO cards or is it waiting for someone to look into?

thanks in advance,

marc

IvD

17-01-2008 22:02:03

rt61pci seems to be working correctly nowadays, even beaconing.

For virtual interfaces you need to know the following
You can only create 1 sta interface (adhoc or managed) and x monitor interfaces. Or create up to 4 ap interfaces and x monitor interfaces.
combining sta with ap interfaces is not possible.

The MAC address of the 4 ap interfaces must be equal to eachother except for the last 2 bits of word 5. For example

0012345600
0012345601
0012345602
0012345603

These last 2 bits are used for indexing purposes in the hardware, when more bits are different the device will no longer recognize all frames send to the interface as intended for him.

wraiden

18-01-2008 06:44:00

rt61pci seems to be working correctly nowadays, even beaconing.[/quote3nhwz6kk]

Nice )

For virtual interfaces you need to know the following
You can only create 1 sta interface (adhoc or managed) and x monitor interfaces. Or create up to 4 ap interfaces and x monitor interfaces.
combining sta with ap interfaces is not possible.[/quote3nhwz6kk]

No Special Versions of hostapd ?
i'll try 0.6.2 then.
and the same version of wpa_supplicant.
I don't pach the rt2x00 tree with any of johannes berg's patches.

What versions are you using for testing?

Will post my results here this weekend.

The MAC address of the 4 ap interfaces must be equal to eachother except for the last 2 bits of word 5. For example

0012345600
0012345601
0012345602
0012345603

These last 2 bits are used for indexing purposes in the hardware, when more bits are different the device will no longer recognize all frames send to the interface as intended for him.[/quote3nhwz6kk]

Do i have to set these MACs manual or does the driver that automatically for me?

I'll try write up a little howto on this if i get to a working setup.

Thanks,

Marc

IvD

18-01-2008 19:06:50


No Special Versions of hostapd ?
i'll try 0.6.2 then.
and the same version of wpa_supplicant.
I don't pach the rt2x00 tree with any of johannes berg's patches.
[/quote3htt6z22]

No clue if you need special version. You need something that is compatible with mac80211 and mac80211 should contain master mode support which is currently not in the vanilla kernel.


What versions are you using for testing?
[/quote3htt6z22]

I haven't tested it.


Will post my results here this weekend.

The MAC address of the 4 ap interfaces must be equal to eachother except for the last 2 bits of word 5. For example

0012345600
0012345601
0012345602
0012345603

These last 2 bits are used for indexing purposes in the hardware, when more bits are different the device will no longer recognize all frames send to the interface as intended for him.[/quote3htt6z22]

Do i have to set these MACs manual or does the driver that automatically for me?
[/quote3htt6z22][/quote3htt6z22]

Manually