All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k: how to change channels dynamically
@ 2011-04-10 16:50 Serene Gud
  2011-04-10 17:23 ` Larry Vaden
  0 siblings, 1 reply; 14+ messages in thread
From: Serene Gud @ 2011-04-10 16:50 UTC (permalink / raw)
  To: ath9k-devel



--- On Sun, 4/10/11, Serene Gud <serene_gud@yahoo.co.in> wrote:

From: Serene Gud <serene_gud@yahoo.co.in>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Larry Vaden" <vaden@texoma.net>
Cc: "Adrian Chadd" <adrian@freebsd.org>, ath9k-devel at lists.ath9k.org
Date: Sunday, April 10, 2011, 11:36 AM



--- On Wed, 4/6/11, Larry Vaden <vaden@texoma.net> wrote:


On Wed, Apr 6, 2011 at 11:54 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:



--- On Wed, 4/6/11, Larry Vaden <vaden@texoma.net> wrote:


On Wed, Apr 6, 2011 at 11:31 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:




--- On Mon, 4/4/11, Adrian Chadd <adrian@freebsd.org> wrote:




it depends what you're trying to do.
Are you trying to dynamically change channel based on channel usage? Then you can just look at mac80211; it already knows how to change channels. It'll just call the driver to change the channel as appropriate. You don't need to necessarily modify ath9k to do it.



Are you trying to do some kind of synthetic, slow frequency hopping? (eg with quick channel changes?) Then that's a different story.


Adrian




Hey Adrian and people,

C'mon please suggest me which function/files will help me modify channel hopping functionality in ath9k driver?

Thanks!
SGS


I thought Adrian's answer was concise and to the point. ?That said, here's some pseudo code:
. make a decision which yields the next operating frequency

. stuff it in mac80211 or thereabouts. prn until you get it right!?End of story.
-- 
Larry Vaden, CoFounder
Internet Texoma, Inc.
Serving Rural Texomaland Since 1995


We Care About Your Connection!

Exactly Larry,

It was too to the point. I am sorry but I do not have much knowledge about kernel programming and I do not know which functions in the file will change it. I do not know where should I stuff it in mac80211 or inside ath9k files. I tried doing it in some of the existing files but i do not know their basis. No matter where I do, the channel is picked up from the hostapd. Kindly be a little more detailed.


Thank you so much for your time!
-SGS




SGS,
What Adrian is saying is you don't need to tinker with ath9k.
The previously referenced <http://devices.natetrue.com/wiviz/> shows you one way to do it and an URL to the Ubiquiti SDK was provided, enabling you to see the source code.

You can write code that emulates a very fast operator at a keyboard and stuff the operating frequency you have decided is best.
best regards/ldv
-- 
Larry Vaden, CoFounder

Internet Texoma, Inc.
Serving Rural Texomaland Since 1995
We Care About Your Connection!




Thanks for all the help!

I now want to introduce periodic frequency hopping; like I want my system to switch channels after a particular period, where I want to define that period. Do I need to do that in mac80211 or ath9k?

Thanks!
SGS



I am using Fedora14 and not OpenWrt.

Thanks!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110410/7cee61b2/attachment-0001.htm 

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
@ 2011-04-04 14:44 Matt Causey
  0 siblings, 0 replies; 14+ messages in thread
From: Matt Causey @ 2011-04-04 14:44 UTC (permalink / raw)
  To: ath9k-devel

>
> While I doubt it tells anywhere near the whole story you are looking to read
> and understand, you might want to start at <
> http://devices.natetrue.com/wiviz/>. ?wiviz is found in Ubiquiti's SDK if
> not elsewhere. ?Said SDK is at <
> http://www.ubnt.com/downloads/firmwares/XN-fw/v5.3/SDK.UBNT.v5.3.tar.bz2>.
>
> HTH.
>
> BTW, what is your application for channel/frequency hopping?

There's a really awesome diagram on that wiviz site:

http://devices.natetrue.com/wiviz/diagram.gif

--
Matt

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
@ 2011-04-03 22:35 Kanika Grover
  2011-04-04  2:31 ` Larry Vaden
  2011-04-05  3:25 ` Adrian Chadd
  0 siblings, 2 replies; 14+ messages in thread
From: Kanika Grover @ 2011-04-03 22:35 UTC (permalink / raw)
  To: ath9k-devel

Hi all,

I am using Fedora 14. I am new to ath9k, please help me figure out which will be the files/modules that I need to change if I have to introduce channel hopping/channel switching in my ath9k driver.  I have been looking at the ath9k code for a while but haven't been able to figure out the dependencies of the files completely. Is there a flowchart available of how the functions have been placed in ath9k?

Also, would it be better to use the whole kernel source installed from yum downloader or would it be better to use compat wireless.

thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110404/0570697b/attachment.htm 

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

end of thread, other threads:[~2011-04-10 17:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 16:50 [ath9k-devel] ath9k: how to change channels dynamically Serene Gud
2011-04-10 17:23 ` Larry Vaden
  -- strict thread matches above, loose matches on Subject: below --
2011-04-04 14:44 Matt Causey
2011-04-03 22:35 Kanika Grover
2011-04-04  2:31 ` Larry Vaden
2011-04-04 14:32   ` Serene Gud
2011-04-04 15:43     ` Mohammed Shafi
2011-04-05  3:25 ` Adrian Chadd
2011-04-05 14:31   ` Serene Gud
2011-04-06 16:31   ` Serene Gud
2011-04-06 16:48     ` Larry Vaden
2011-04-06 16:54       ` Serene Gud
2011-04-06 17:11         ` Larry Vaden
2011-04-10 16:36           ` Serene Gud

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.