All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ad-hoc mode using 5 GHz channel (A band)
@ 2009-06-09 18:35 xxiao
  2009-06-09 18:47 ` Pavel Roskin
  0 siblings, 1 reply; 7+ messages in thread
From: xxiao @ 2009-06-09 18:35 UTC (permalink / raw)
  To: ath9k-devel


you probably should use "iw" to config ath9k instead of using iwconfig. something like:

iw dev wlan0 set freq 2412
-or-
iw dev wlan0 set channel 1

cheers,
xxiao
--- On Tue, 6/9/09, Peter Tarjan <peter.tarjan@birdtelecom.hu> wrote:

> From: Peter Tarjan <peter.tarjan@birdtelecom.hu>
> Subject: [ath9k-devel] ad-hoc mode using 5 GHz channel (A band)
> To: ath9k-devel at lists.ath9k.org
> Date: Tuesday, June 9, 2009, 11:08 AM
> Hi,
> 
> I downloaded and compiled a 2.6.30rc7 kernel with ath9k.
> The kernel then recognised the following card:
> 
> 00:0e.0 Network controller: Atheros Communications Inc.
> Device 0027 (rev 01)
> ??????? Subsystem: Device 0777:4082
> 
> ??????? Flags: bus master, 66MHz, medium devsel,
> latency 168, IRQ 11
> ??????? Memory at e0080000 (32-bit,
> non-prefetchable) [size=64K]
> ??????? Capabilities: [44] Power Management version
> 2
> ??????? Kernel driver in use: ath9k
> 
> 
> Then I switched it into ad-hoc mode by "iwconfig wlan0
> mode ad-hoc" and tried to set frequency to a 5 GHz
> channel:
> 
> $ iwconfig wlan0 channel 36 
> Error for wireless request "Set Frequency" (8B04)
> :
> 
> ??? SET failed on device wlan0 ; Invalid argument.
> 
> although there are 5 Ghz channels listed:
> 
> $ iwlist wlan0 channel
> wlan0???? 24 channels in total; available frequencies
> :
> ????????? Channel 01 : 2.412 GHz
> 
> ????????? Channel 02 : 2.417 GHz
> ????????? Channel 03 : 2.422 GHz
> ????????? Channel 04 : 2.427 GHz
> ????????? Channel 05 : 2.432 GHz
> ????????? Channel 06 : 2.437 GHz
> ????????? Channel 07 : 2.442 GHz
> ????????? Channel 08 : 2.447 GHz
> 
> ????????? Channel 09 : 2.452 GHz
> ????????? Channel 10 : 2.457 GHz
> ????????? Channel 11 : 2.462 GHz
> ????????? Channel 36 : 5.18 GHz
> ????????? Channel 40 : 5.2 GHz
> ????????? Channel 44 : 5.22 GHz
> ????????? Channel 48 : 5.24 GHz
> 
> ????????? Channel 52 : 5.26 GHz
> ????????? Channel 56 : 5.28 GHz
> ????????? Channel 60 : 5.3 GHz
> ????????? Channel 64 : 5.32 GHz
> ????????? Channel 149 : 5.745 GHz
> ????????? Channel 153 : 5.765 GHz
> ????????? Channel 157 : 5.785 GHz
> 
> ????????? Channel 161 : 5.805 GHz
> ????????? Channel 165 : 5.825 GHz
> ????????? Current Frequency=2.412 GHz (Channel 1)
> 
> So my question is whether there is a way to use A-band
> channel in ad-hoc mode.
> 
> Thanks for any answer in advance.
> 
> 
> --
> Peter Tarjan
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [ath9k-devel] ad-hoc mode using 5 GHz channel (A band)
@ 2009-06-09 16:08 Peter Tarjan
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Tarjan @ 2009-06-09 16:08 UTC (permalink / raw)
  To: ath9k-devel

Hi,

I downloaded and compiled a 2.6.30rc7 kernel with ath9k. The kernel then
recognised the following card:

00:0e.0 Network controller: Atheros Communications Inc. Device 0027 (rev 01)
        Subsystem: Device 0777:4082
        Flags: bus master, 66MHz, medium devsel, latency 168, IRQ 11
        Memory at e0080000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ath9k

Then I switched it into ad-hoc mode by "iwconfig wlan0 mode ad-hoc" and
tried to set frequency to a 5 GHz channel:

$ iwconfig wlan0 channel 36
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Invalid argument.

although there are 5 Ghz channels listed:

$ iwlist wlan0 channel
wlan0     24 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency=2.412 GHz (Channel 1)

So my question is whether there is a way to use A-band channel in ad-hoc
mode.

Thanks for any answer in advance.

--
Peter Tarjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090609/ffd25dc8/attachment.htm 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-10 21:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 18:35 [ath9k-devel] ad-hoc mode using 5 GHz channel (A band) xxiao
2009-06-09 18:47 ` Pavel Roskin
2009-06-09 20:47   ` Luis R. Rodriguez
2009-06-10  9:35     ` Peter Tarjan
2009-06-10 15:27       ` Pavel Roskin
2009-06-10 21:00         ` Luis R. Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2009-06-09 16:08 Peter Tarjan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.