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

> > 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.
> 
> Packet size ?

I used pkt size 31-1200 bytes

> So with the current code you have packet loss but if you
> set tx power
> tables for the new channel before switching on it you
> have less or no packet loss ? That's really interesting,
> can you

 
not with the current code. In my function i disable intr, disable rx, and than 
call ath5k_hw_channel(btw it sets rxbuf, i didnt see it before). I observed wen 
i only call ath5k_hw_channel to switch i am able to receive pkts bt with heavy 
pkt loss. But wen i set txpower tables and switch channel pkt loss is minimal. 
Sams & legacy HAL both set txpower tables wen switching channels.

> please send me dmesg output when ath5k loads ?
dmesg

[180626.284212] pci 0000:03:00.0: reg 10 32bit mmio: [0x000000-0x00ffff]
[180626.289043] ath5k 0000:03:00.0: enabling device (0000 -> 0002)
[180626.289069] ath5k 0000:03:00.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, 
low) -> IRQ 11
[180626.289359] ath5k 0000:03:00.0: registered as 'phy0'
[180626.457789]  channel 2412
[180626.457794]  channel 2437
[180626.457798]  channel 2462
[180626.457803] chanusage done 
[180626.468351] MRTS and MCTS initialized 
[180626.468363] mrtsq is 1 
[180626.468368] mctsq is 2 
[180626.472046] ath: EEPROM regdomain: 0x80d0
[180626.472052] ath: EEPROM indicates we should expect a country code
[180626.472060] ath: doing EEPROM country->regdmn map search
[180626.472067] ath: country maps to regdmn code: 0x37
[180626.472074] ath: Country alpha2 being used: DK
[180626.472079] ath: Regpair used: 0x37
[180626.476642] phy0: Selected rate control algorithm 'minstrel'
[180626.479306] ath5k phy0: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45)
[180626.479334] cfg80211: Calling CRDA for country: DK
[180626.487969] udev: renamed network interface wlan0 to wlan2
[180626.495996] cfg80211: Regulatory domain changed to country: DK
[180626.496006]         (start_freq - end_freq @ bandwidth), (max_antenna_gain, 
max_eirp)
[180626.496053]         (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[180626.496062]         (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[180626.496070]         (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[180626.496078]         (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)


> Well once you reset phy you need to rewrite rfbuffer
> settings, channel
> frequency is an rfbuffer setting too (check the comments on
> the code

I got it. 

Thanks!!

Shashi


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

Reply via email to