* [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
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-03 22:35 [ath9k-devel] ath9k: how to change channels dynamically Kanika Grover
@ 2011-04-04 2:31 ` Larry Vaden
2011-04-04 14:32 ` Serene Gud
2011-04-05 3:25 ` Adrian Chadd
1 sibling, 1 reply; 14+ messages in thread
From: Larry Vaden @ 2011-04-04 2:31 UTC (permalink / raw)
To: ath9k-devel
On Sun, Apr 3, 2011 at 5:35 PM, Kanika Grover <serene_gud@yahoo.co.in>wrote:
> 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!
>
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?
regards/ldv
--
Larry Vaden, CoFounder
Internet Texoma, Inc.
Serving Rural Texomaland Since 1995
We Care About Your Connection!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110403/f5fa3697/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-04 2:31 ` Larry Vaden
@ 2011-04-04 14:32 ` Serene Gud
2011-04-04 15:43 ` Mohammed Shafi
0 siblings, 1 reply; 14+ messages in thread
From: Serene Gud @ 2011-04-04 14:32 UTC (permalink / raw)
To: ath9k-devel
Thanks for the information. But I need to know more details of the ath9k driver functionality.
--- On Mon, 4/4/11, Larry Vaden <vaden@texoma.net> wrote:
From: Larry Vaden <vaden@texoma.net>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Kanika Grover" <serene_gud@yahoo.co.in>
Cc: ath9k-devel at lists.ath9k.org
Date: Monday, April 4, 2011, 8:01 AM
On Sun, Apr 3, 2011 at 5:35 PM, Kanika Grover <serene_gud@yahoo.co.in> wrote:
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!
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?
regards/ldv?
--
Larry Vaden, CoFounder
Internet Texoma, Inc.
Serving Rural Texomaland Since 1995
We Care About Your Connection!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110404/87bfec2c/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-04 14:32 ` Serene Gud
@ 2011-04-04 15:43 ` Mohammed Shafi
0 siblings, 0 replies; 14+ messages in thread
From: Mohammed Shafi @ 2011-04-04 15:43 UTC (permalink / raw)
To: ath9k-devel
On Mon, Apr 4, 2011 at 8:02 PM, Serene Gud <serene_gud@yahoo.co.in> wrote:
>
> Thanks for the information. But I need to know more details of the ath9k driver functionality.
this thread will be helpful
"[ath9k-devel] functions flows in ath9k"
>
> --- On Mon, 4/4/11, Larry Vaden <vaden@texoma.net> wrote:
>
> From: Larry Vaden <vaden@texoma.net>
> Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
> To: "Kanika Grover" <serene_gud@yahoo.co.in>
> Cc: ath9k-devel at lists.ath9k.org
> Date: Monday, April 4, 2011, 8:01 AM
>
> On Sun, Apr 3, 2011 at 5:35 PM, Kanika Grover <serene_gud@yahoo.co.in> wrote:
>
> 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!
>
> 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?
> regards/ldv
> --
> Larry Vaden, CoFounder
> Internet Texoma, Inc.
> Serving Rural Texomaland Since 1995
> We Care About Your Connection!
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-03 22:35 [ath9k-devel] ath9k: how to change channels dynamically Kanika Grover
2011-04-04 2:31 ` Larry Vaden
@ 2011-04-05 3:25 ` Adrian Chadd
2011-04-05 14:31 ` Serene Gud
2011-04-06 16:31 ` Serene Gud
1 sibling, 2 replies; 14+ messages in thread
From: Adrian Chadd @ 2011-04-05 3:25 UTC (permalink / raw)
To: ath9k-devel
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
On 4 April 2011 06:35, Kanika Grover <serene_gud@yahoo.co.in> wrote:
> 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!
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110405/31b7cdab/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-05 3:25 ` Adrian Chadd
@ 2011-04-05 14:31 ` Serene Gud
2011-04-06 16:31 ` Serene Gud
1 sibling, 0 replies; 14+ messages in thread
From: Serene Gud @ 2011-04-05 14:31 UTC (permalink / raw)
To: ath9k-devel
--- On Tue, 4/5/11, Adrian Chadd <adrian@freebsd.org> wrote:
From: Adrian Chadd <adrian@freebsd.org>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Kanika Grover" <serene_gud@yahoo.co.in>
Cc: ath9k-devel at lists.ath9k.org
Date: Tuesday, April 5, 2011, 8:55 AM
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
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Hey Adrian,
Yes, I am trying to change the channel based on channel usage, but I do not exactly know which files/functions (and how they are connected to others; function calls) in mac80211 and ath9k I need to address.
Can you give me some idea as to where in the code I should look into?
Thanks,
SGS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110405/23a3ed5b/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
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
1 sibling, 1 reply; 14+ messages in thread
From: Serene Gud @ 2011-04-06 16:31 UTC (permalink / raw)
To: ath9k-devel
--- On Mon, 4/4/11, Adrian Chadd <adrian@freebsd.org> wrote:
From: Adrian Chadd <adrian@freebsd.org>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Kanika Grover" <serene_gud@yahoo.co.in>
Cc: ath9k-devel at lists.ath9k.org
Date: Monday, April 4, 2011, 10:25 PM
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
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110406/e85feeda/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-06 16:31 ` Serene Gud
@ 2011-04-06 16:48 ` Larry Vaden
2011-04-06 16:54 ` Serene Gud
0 siblings, 1 reply; 14+ messages in thread
From: Larry Vaden @ 2011-04-06 16:48 UTC (permalink / raw)
To: ath9k-devel
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:
>
>
> From: Adrian Chadd <adrian@freebsd.org>
> Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
> To: "Kanika Grover" <serene_gud@yahoo.co.in>
> Cc: ath9k-devel at lists.ath9k.org
> Date: Monday, April 4, 2011, 10:25 PM
>
> 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110406/3d2bbd43/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-06 16:48 ` Larry Vaden
@ 2011-04-06 16:54 ` Serene Gud
2011-04-06 17:11 ` Larry Vaden
0 siblings, 1 reply; 14+ messages in thread
From: Serene Gud @ 2011-04-06 16:54 UTC (permalink / raw)
To: ath9k-devel
--- On Wed, 4/6/11, Larry Vaden <vaden@texoma.net> wrote:
From: Larry Vaden <vaden@texoma.net>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Serene Gud" <serene_gud@yahoo.co.in>
Cc: "Adrian Chadd" <adrian@freebsd.org>, ath9k-devel at lists.ath9k.org
Date: Wednesday, April 6, 2011, 11:48 AM
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:
From: Adrian Chadd <adrian@freebsd.org>
Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
To: "Kanika Grover" <serene_gud@yahoo.co.in>
Cc: ath9k-devel at lists.ath9k.org
Date: Monday, April 4, 2011, 10:25 PM
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110406/6ab0de46/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-06 16:54 ` Serene Gud
@ 2011-04-06 17:11 ` Larry Vaden
2011-04-10 16:36 ` Serene Gud
0 siblings, 1 reply; 14+ messages in thread
From: Larry Vaden @ 2011-04-06 17:11 UTC (permalink / raw)
To: ath9k-devel
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:
>
>
> From: Larry Vaden <vaden@texoma.net>
> Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
> To: "Serene Gud" <serene_gud@yahoo.co.in>
> Cc: "Adrian Chadd" <adrian@freebsd.org>, ath9k-devel at lists.ath9k.org
> Date: Wednesday, April 6, 2011, 11:48 AM
>
>
>
> On Wed, Apr 6, 2011 at 11:31 AM, Serene Gud <serene_gud at yahoo.co.in<http://mc/compose?to=serene_gud@yahoo.co.in>
> > wrote:
>
>
>
> --- On *Mon, 4/4/11, Adrian Chadd <adrian at freebsd.org<http://mc/compose?to=adrian@freebsd.org>
> >* wrote:
>
>
> From: Adrian Chadd <adrian at freebsd.org<http://mc/compose?to=adrian@freebsd.org>
> >
> Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically
> To: "Kanika Grover" <serene_gud at yahoo.co.in<http://mc/compose?to=serene_gud@yahoo.co.in>
> >
> Cc: ath9k-devel at lists.ath9k.org<http://mc/compose?to=ath9k-devel@lists.ath9k.org>
> Date: Monday, April 4, 2011, 10:25 PM
>
> 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110406/cd849402/attachment.htm
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k: how to change channels dynamically
2011-04-06 17:11 ` Larry Vaden
@ 2011-04-10 16:36 ` Serene Gud
0 siblings, 0 replies; 14+ messages in thread
From: Serene Gud @ 2011-04-10 16:36 UTC (permalink / raw)
To: ath9k-devel
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110410/20092fe3/attachment.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-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-10 16:50 Serene Gud
@ 2011-04-10 17:23 ` Larry Vaden
0 siblings, 0 replies; 14+ messages in thread
From: Larry Vaden @ 2011-04-10 17:23 UTC (permalink / raw)
To: ath9k-devel
On Sun, Apr 10, 2011 at 11:50 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
> I am using Fedora14 and not OpenWrt.
>
> Thanks!
>
>
There is some considerable discussion of channel switching in the .pdf
for IEEE Std 802.11TM-2007 which you can obtain by visiting <
http://standards.ieee.org/getieee802/download/802.11-2007.pdf>.
Otherwise, the call documented in wizviz is prolly compatible with F-14, I
dunno for sure.
F-14 is currently running
Linux shell.texoma.net 2.6.35.11-83.fc14.i686 #1 SMP Mon Feb 7 07:04:18 UTC
2011 i686 i686 i386 GNU/Linux
and the latest OpenWrt is running
Linux hq-0900-ap1 2.6.37.6 #6 Sat Apr 9 14:59:58 CDT 2011 mips GNU/Linux
so, with any luck, the call will work for you.
regards/ldv
--
Larry Vaden, CoFounder
Internet Texoma, Inc.
Serving Rural Texomaland Since 1995
We Care About Your Connection!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110410/e10f01e6/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-03 22:35 [ath9k-devel] ath9k: how to change channels dynamically 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
-- strict thread matches above, loose matches on Subject: below --
2011-04-04 14:44 Matt Causey
2011-04-10 16:50 Serene Gud
2011-04-10 17:23 ` Larry Vaden
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.