On Wed, Apr 6, 2011 at 11:54 AM, Serene Gud <serene_...@yahoo.co.in> wrote:
> > > --- On *Wed, 4/6/11, Larry Vaden <va...@texoma.net>* wrote: > > > From: Larry Vaden <va...@texoma.net> > Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically > To: "Serene Gud" <serene_...@yahoo.co.in> > Cc: "Adrian Chadd" <adr...@freebsd.org>, ath9k-devel@lists.ath9k.org > Date: Wednesday, April 6, 2011, 11:48 AM > > > > On Wed, Apr 6, 2011 at 11:31 AM, Serene Gud > <serene_...@yahoo.co.in<http://mc/compose?to=serene_...@yahoo.co.in> > > wrote: > > > > --- On *Mon, 4/4/11, Adrian Chadd > <adr...@freebsd.org<http://mc/compose?to=adr...@freebsd.org> > >* wrote: > > > From: Adrian Chadd > <adr...@freebsd.org<http://mc/compose?to=adr...@freebsd.org> > > > Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically > To: "Kanika Grover" > <serene_...@yahoo.co.in<http://mc/compose?to=serene_...@yahoo.co.in> > > > Cc: > ath9k-devel@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!
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel