* IBSS channel support
@ 2011-07-29 15:27 p4u
2011-07-29 15:54 ` Dan Williams
2011-08-08 8:41 ` Johannes Berg
0 siblings, 2 replies; 4+ messages in thread
From: p4u @ 2011-07-29 15:27 UTC (permalink / raw)
To: linux-wireless
Hi,
This is my first mail to this list, I'm Pau from Barcelona working in
guifi.net (wireless community)
First of all I want to say thank you guys for your amazing job :-)
Now, I have a little question. Using command "iw phy phy0 info" I can
see that IBSS mode is only avaiable in some channels for 5ghz spectrum.
I have been looking for information about it, but I cannot find from
what depends if some channel can by used in IBSS mode or not. So I think
it depends on the driver and on the regdomain, is it right?
Also I'm working in some scripts, and I need to know if a channel has
IBSS support or not. The only way I found is with iw command, but pharse
this data is very dirty. Furthermore I can read in the end of iw help:
"Do NOT screenscrape this tool, we don't consider its output stable."
So I need another way to get this information. Any idea?
Thank you.
--
./p4u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IBSS channel support
2011-07-29 15:27 IBSS channel support p4u
@ 2011-07-29 15:54 ` Dan Williams
2011-07-29 16:07 ` p4u
2011-08-08 8:41 ` Johannes Berg
1 sibling, 1 reply; 4+ messages in thread
From: Dan Williams @ 2011-07-29 15:54 UTC (permalink / raw)
To: p4u; +Cc: linux-wireless
On Fri, 2011-07-29 at 17:27 +0200, p4u wrote:
> Hi,
> This is my first mail to this list, I'm Pau from Barcelona working in
> guifi.net (wireless community)
> First of all I want to say thank you guys for your amazing job :-)
>
> Now, I have a little question. Using command "iw phy phy0 info" I can
> see that IBSS mode is only avaiable in some channels for 5ghz spectrum.
> I have been looking for information about it, but I cannot find from
> what depends if some channel can by used in IBSS mode or not. So I think
> it depends on the driver and on the regdomain, is it right?
Yes.
> Also I'm working in some scripts, and I need to know if a channel has
> IBSS support or not. The only way I found is with iw command, but pharse
> this data is very dirty. Furthermore I can read in the end of iw help:
>
> "Do NOT screenscrape this tool, we don't consider its output stable."
>
> So I need another way to get this information. Any idea?
Couldn't you use the CRDA database? That's got bits that indicate
whether or not some channels allow IBSS in your domain or not.
http://wireless.kernel.org/download/wireless-regdb/
Dan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IBSS channel support
2011-07-29 15:54 ` Dan Williams
@ 2011-07-29 16:07 ` p4u
0 siblings, 0 replies; 4+ messages in thread
From: p4u @ 2011-07-29 16:07 UTC (permalink / raw)
To: Dan Williams; +Cc: linux-wireless
Thanks.
I think I can use it
On 29/07/11 17:54, Dan Williams wrote:
> On Fri, 2011-07-29 at 17:27 +0200, p4u wrote:
>> Hi,
>> This is my first mail to this list, I'm Pau from Barcelona working in
>> guifi.net (wireless community)
>> First of all I want to say thank you guys for your amazing job :-)
>>
>> Now, I have a little question. Using command "iw phy phy0 info" I can
>> see that IBSS mode is only avaiable in some channels for 5ghz spectrum.
>> I have been looking for information about it, but I cannot find from
>> what depends if some channel can by used in IBSS mode or not. So I think
>> it depends on the driver and on the regdomain, is it right?
> Yes.
>
>> Also I'm working in some scripts, and I need to know if a channel has
>> IBSS support or not. The only way I found is with iw command, but pharse
>> this data is very dirty. Furthermore I can read in the end of iw help:
>>
>> "Do NOT screenscrape this tool, we don't consider its output stable."
>>
>> So I need another way to get this information. Any idea?
> Couldn't you use the CRDA database? That's got bits that indicate
> whether or not some channels allow IBSS in your domain or not.
>
> http://wireless.kernel.org/download/wireless-regdb/
>
> Dan
>
>
--
./p4u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IBSS channel support
2011-07-29 15:27 IBSS channel support p4u
2011-07-29 15:54 ` Dan Williams
@ 2011-08-08 8:41 ` Johannes Berg
1 sibling, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2011-08-08 8:41 UTC (permalink / raw)
To: p4u; +Cc: linux-wireless
On Fri, 2011-07-29 at 17:27 +0200, p4u wrote:
> Hi,
> This is my first mail to this list, I'm Pau from Barcelona working in
> guifi.net (wireless community)
> First of all I want to say thank you guys for your amazing job :-)
>
> Now, I have a little question. Using command "iw phy phy0 info" I can
> see that IBSS mode is only avaiable in some channels for 5ghz spectrum.
> I have been looking for information about it, but I cannot find from
> what depends if some channel can by used in IBSS mode or not. So I think
> it depends on the driver and on the regdomain, is it right?
>
> Also I'm working in some scripts, and I need to know if a channel has
> IBSS support or not. The only way I found is with iw command, but pharse
> this data is very dirty. Furthermore I can read in the end of iw help:
>
> "Do NOT screenscrape this tool, we don't consider its output stable."
>
> So I need another way to get this information. Any idea?
Copy bits of the wpa_supplicant or iw code into your code to get this
information. That said, iw output _should_ be fairly stable, in this
area.
johannes
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-08 8:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 15:27 IBSS channel support p4u
2011-07-29 15:54 ` Dan Williams
2011-07-29 16:07 ` p4u
2011-08-08 8:41 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).