On 26 June 2013 15:36, jonsmirl@gmail.com jonsmirl@gmail.com wrote:
On Wed, Jun 26, 2013 at 2:18 PM, Steve Song steve@villagetelco.org wrote:
On 26 June 2013 15:02, Antonio Quartulli ordex@autistici.org wrote:
On Wed, Jun 26, 2013 at 01:30:18PM -0400, jonsmirl@gmail.com wrote:
I'd like to setup batman up on single radio routers. I've installed openwrt on three different chipsets now (RT3050, RT5350, AR9331) and none of these wireless drivers implements support for simultaneous adhoc and ap mode on virtual interfaces.
Yet when I google around I see lots of examples of people using single radio routers with dual adhoc and ap mode virtual interfaces. So which radios support simultaneous adhoc/ap mode?
From AR9331... valid interface combinations:
- #{ managed, WDS, P2P-client } <= 2048, #{ AP, mesh point, P2P-GO }
<= 8, #{ IBSS } <= 1, total <= 2048, #channels <= 1, STA/AP BI must match
- #{ AP } <= 1, total <= 1, #channels <= 1, STA/AP BI must match, radar detect
widths: { 20 MHz (no HT), 20 MHz }
Am I wrong or AR9331 is handled by the ath5k driver?
However in openwrt you will find some patches that are editing these interface combinations in order to allow IBSS + AP for some drivers (e.g. ath5k or ath9k..).
This behaviour is not supported upstream for several reasons, therefore if you look in the kernel source you will never find a combination allowing the aforementioned schema.
The AR9331 supports simultaneous IBSS and AP mode. If your AR9331 device happens to be a TP-Link WR703n, you can download a firmware with batman-adv configured for both modes at http://download.villagetelco.org/firmware/secn/unstable/tp-link/SECN-2/SECN-... Alternatively if you'd just like to have a look the configuration files, you can see them at https://github.com/villagetelco/vt-firmware/tree/development/SECN-build/file...
I tired these config files on the OpenWRT for AR9331 I had built from git source. They don't work because of the simultaneous ap/adhoc issue.
So.. your binary must be built from a modified OpenWRT source. Probably using those patches Antonio referred to. Next I need to track down those patches...
I have a some WR703n devices. Is there a link to the source you used to make the binary?
We use a stock AA OpenWRT distribution (RC1 currently I think). All modifications to it are contained in the Github repo at https://github.com/villagetelco/vt-firmware We have instructions on setting up a build environment at http://wiki.villagetelco.org/How_To_Set_Up_a_SECN_Build_Environment
-Steve
Regards... Steve Song
Cheers,
-- Antonio Quartulli
..each of us alone is worth nothing.. Ernesto "Che" Guevara
-- Steve Song +1 902 529 0046 http://villagetelco.org
-- Jon Smirl jonsmirl@gmail.com