--- On Tue, 8/4/09, Nick Kossifidis <mickfl...@gmail.com> wrote:

> From: Nick Kossifidis <mickfl...@gmail.com>
> Subject: Re: [ath5k-devel] channel switching
> To: "shashi raj singh" <singh_shashi...@yahoo.com>
> Cc: ath5k-devel@lists.ath5k.org
> Date: Tuesday, August 4, 2009, 2:58 PM
> 2009/8/4 shashi raj singh <singh_shashi...@yahoo.com>:
> >
> > Hi
> >
> > I am working on a project that involves frequent
> channel change. what is the fastest way to change channel.
> ath5k_hw_reset does lot of other stuff. is ath5k_hw_channel
> function sufficient for channel change?
> >
> 
> Not if PHY is running (reset sets the channel after phy
> reset +
> rfbuffer setup), there is a way to do a synth-only channel
> change
> using an access method to rf registers (rfbus grant) 
> but it's not
> implemented yet on ath5k (+ it's only for post-AR5413 chips
> + it
> doesn't always work so you have to fallback to a full
> reset)...
> 
> > for tx side i set the txpower tables for the channel
> before changing channel. I found this helps in improving
> successful transmission.
> >
> 
> Interesting, how does it help on improving successful
> transmission ?
> What did you measure ?
> 
> > any suggestion would be a great help
> > Thanks!!
> 
> For now use ath5k_hw_reset, i'm working on introducing some
> small
> init/reset functions for phy and pcu and maybe implement
> synth-only
> channel change but it wont happen anytime soon (after
> September). You
> can do it yourself if you want, check out Sam's HAL or
> Legacy HAL
> (from Atheros).
> 
> -- 
> GPG ID: 0xD21DB2DB
> As you read this post global entropy rises. Have Fun ;-)
> Nick
> 

Hi Nick
Thanks for your reply!!


> Interesting, how does it help on improving successful
> transmission ?
> What did you measure ?

In my experiments I transmit 10 pkts on ch1, switch to ch6 send 10 pkts
and switch back to ch1 and repeat the whole process again. same on rx side.
I use ping to generate pkts.

I observed that when I setup the txpower tables for that channel, I receive 
more pkts out of 10 pkts(actually all of them).

but I observed when I send pkts very fast(when I hav 10 pkts in the queue do 
dma tx) it doesnt work all the time. I have cwmin,cwmax and aifs = 0 in this 
case.

Q. I dont change bands so why not jst disable phy, set channel,set txpwr tabls 
and reenable phy and wait for basebsnd and snyth to stabilise. since all other 
settings(rxbuf etc) are the same within a band.

I also lookd into legacy HAL and found the necessary fucntions. It checks for 
2413 and 5413. I will start working on writing a similar fucntion for ath5k. 

Thanks!!




      
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to