Ad-Hoc & WDS
Sun Jun 8 19:28:52 PDT 2003
On Mon, Jun 02, 2003 at 01:56:00AM +0100, Mike Saywell wrote:
> If I set other_ap_policy to 3 then shouldn't I get WDS links for other
> nodes in Ad-Hoc mode?
Yes, if you are running in Host AP mode. However, if you are running in
ad-hoc mode, Prism2 firmware will not deliver beacon frames to the host
driver. Host AP driver is also able to add WDS links automatically based
on incoming WDS frames. This works also in ad-hoc mode, but you will
need to configure at least one end of the link manually.
I think you should be able to run one node in Master mode with
other_ap_policy=3 and autom_ap_wds=1. This node would add WDS links to
all ad-hoc nodes (that are sending beacons). If this node would then
send something to all new WDS links (e.g., STP hello messages) and
ad-hoc nodes are running with autom_ap_wds=1, you will end up having
links set up automatically. Anyway, this is not probably exactly what
you want, but I think it is closest to what you can get currently.
If you want to setup automatic WDS links and have full control of the
stations in ad-hoc network, you could implement a simple daemon for
automatically setting up WDS links. You could send specific broadcast IP
packets as "beacon" frames and then run 'iwpriv wlan0 wds_add <addr>'
when new nodes are detected.
Jouni Malinen PGP id EFC895FA
More information about the Hostap