Is iw telling me I can't do it

John Finley john.finley
Wed Sep 17 08:54:24 PDT 2014


Thanks very much Krishna. Looks like I'm good to go!
-John

On Tue, Sep 16, 2014 at 10:37 PM, Krishna Chaitanya <
chaitanya.mgit at gmail.com> wrote:

> On Tue, Sep 16, 2014 at 9:39 PM, John Finley <john.finley at gmail.com>
> wrote:
> >
> > Hi,
> >
> > I can set up my wireless card as an AP, as a STA, or as both AP and STA.
> What I want to do next is set it up as an AP with two SSIDs (one will be
> WPA2, and one will be open). I have groped around through various postings,
> and I *think* iw is telling me I can't do it, but wanted to make sure.
> >
> > The card is as follows (from dmesg):
> >
> >         ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xa0c80000, irq=155
> >
> > Amidst all the "iw list" output, I have:
> >
> >         valid interface combinations:
> >                  * #{ managed, WDS, P2P-client } <= 2048, #{ AP, P2P-GO
> } <= 8,
> >                    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 }
> >
> > I have only seen the information in the first bullet in other postings,
> and if I had only that, I'd assume dual SSIDs was possible. However, I
> think the second bullet is telling me I can only have one >AP. Is that
> right? If so, then is the correct interpretation of this output that the
> maximum number of APs I can run is one (second bullet), and the maximum of
> the sum of the number of APs and P2P->GOs I can have is eight, e.g. one AP
> + seven P2P-GO, or zero AP + eight P2P-GO.
>
>
> From what i see from the ath9k driver, we can have
> multiple AP + P2P-GO combinations a total of 8. Eg. 4 AP's + 4 P2P-GO's.
> The second limit on the AP's comes from the DFS channels
> (See radar detect width's at the end).  ONly when you start an AP in a
> DFS channel, in that case you can have only 1 AP instance.
>
> So you should be able to configure the combination you wanted.
>
> > I do not mind searching around to figure out how to make it work, but I
> think it is already telling me no-go, and just wanted to confirm.
> You cannot just hack it, based on the limitations of the driver
> and underlying FW these limits are imposed.
>
> > While we're here :), I have interpreted "#channels <= 1" to mean that
> when I'm running AP and STA at the same time, they must be on the same
> channel. That is working fine, but I'd also like to >confirm that I'm
> interpreting it correctly and im not being overly restrictive.
>
> Yes, this is the case. A driver advertises no of channels > 1 only
> when it supports
> channel contexts and multi-channel concurrency.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140917/6f386d13/attachment.htm>



More information about the Hostap mailing list