From: Serene Gud <serene_gud@yahoo.co.in>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: how to change channels dynamically
Date: Wed, 6 Apr 2011 22:24:55 +0530 (IST) [thread overview]
Message-ID: <708326.45510.qm@web137312.mail.in.yahoo.com> (raw)
In-Reply-To: <BANLkTi=92HEatZhGzsgZ-AtKvwwxf_n_Rg@mail.gmail.com>
--- 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
next prev parent reply other threads:[~2011-04-06 16:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=708326.45510.qm@web137312.mail.in.yahoo.com \
--to=serene_gud@yahoo.co.in \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.