Re: [ath5k-devel] ATH5K diag register definition typos?

2010-09-26 Thread shashi raj singh
Hi Ryan, I am also trying to stop CCA ... after some research, I found these values. You can try these values and let me know if it works.(last time I saw, these values were not defined in ath5k reg.h) DIAG_FORCE_RXCLR(1<<20) DIAG_IGNORE_NAV (1<<21) code: you

Re: [ath5k-devel] Link-layer acks

2010-04-28 Thread shashi raj singh
Hi Randy, If u r referring to PHY layer ACKs use the code AR5K_REG_ENABLE_BITS(ah, AR5K_DIAG_SW, AR5K_DIAG_SW_DIS_ACK) But than multiple transmission will take place at the Tx side, so u need to take care of that also by disabling the wait for ack in the descriptor, Shashi

Re: [ath5k-devel] Sampling register values

2010-04-27 Thread shashi raj singh
Hi Nicolas the register sets the slot time, it wont tell you backoff CW there is a register AR5K_BACKOFF but for 5210 BTW You will have to use a code like ath5k_hw_reg_read(ah, register) & register_mask in the ath5k driver to get the value. Then may need to divide the value by 40 (for norm

Re: [ath5k-devel] high and unpredictable transmission delays

2010-04-16 Thread shashi raj singh
Hi Nabeel Did you disable the backoff, also try reducing the DIFS period. I think you cannot make it zero but up to a minimum possible value. Shashi Send instant messages to your online friends http://asia.messenger.yahoo.com ___ ath5k-devel mailing

Re: [ath5k-devel] Multi-channel MAC protocol (Mohammad > Abdelhadi)

2010-02-13 Thread shashi raj singh
Hi Mohammad, ath5k can only work on one channel at a time as COTS hardware works only on one channel at a time. For your approach, you will require two wireless interfaces (two radio cards). Put one in AP mode (you will require hostapd) and the other in adhoc or mesh mode. You will have to se

Re: [ath5k-devel] Cannot find connection in TX between ath5k and mac80211

2009-12-15 Thread shashi raj singh
In tx.c in function ieee80211_tx, line 1280 calls __ieee80211_tx() which calls drv_tx(. Shashi > Message: 2 > Date: Tue, 15 Dec 2009 07:21:33 +0800 > From: Situ Ma > Subject: [ath5k-devel] Cannot find connection in TX between > ath5k and >     mac80211 > To: > Message-ID: > Content-Type: tex

Re: [ath5k-devel] Help~~a fresher is very > frustrated~~~

2009-12-04 Thread shashi raj singh
look in net/mac80211/tx.c function ieee80211_subif_start_xmit Hope this helps --- On Fri, 12/4/09, ath5k-devel-requ...@lists.ath5k.org wrote: > From: ath5k-devel-requ...@lists.ath5k.org > > Subject: ath5k-devel Digest, Vol 27, Issue 3 > To: ath5k-devel@lists.ath5k.org > Date: Friday, Decem

Re: [ath5k-devel] Tx hangs on freq channel switch

2009-08-24 Thread shashi raj singh
Hi Nick > That's why we haven't implemeted this feature yet, it needs > a lot of > testing. After a few failed calibrations you should trigger > a full > reset to reset phy, rewrite rfbus registers etc. Also make > sure that > calibration is not running while you change channel (i > don't know how

[ath5k-devel] Tx hangs on freq channel switch

2009-08-23 Thread shashi raj singh
Hi All I am frequently changing channels and transmitting using iperf. I am using rfbus grant method as i have 2413. grant works all the time bt I am having strange problem. after a while the tx stops and i start getting noise floor failed msgs. If driver tries to send a pckt no desc intr fire

Re: [ath5k-devel] Regarding how to change channel width for 802.11a/b/g

2009-08-20 Thread shashi raj singh
Hi Aditya I think by changing PLL control register setting u sud b able to achieve your goal.(also u will require som sw changes) look in reg.h of ath5k /* * PHY PLL (Phase Locked Loop) control register */ #define AR5K_PHY_PLL0x987c #define AR5K_PHY_PLL_20MHZ 0

Re: [ath5k-devel] FIRPWR value

2009-08-14 Thread shashi raj singh
Hi Nick > > FIRPWR is a field, are you reading the whole register > or just that field (of course you need to do some typecasting > there) ? I read firpwrval = ath5k_hw_reg_read(ah, AR5K_PHY_SIG)& AR5K_PHY_SIG_FIRPWR > btw there is also rssi threshold etc, what exactly do you > want to do

[ath5k-devel] FIRPWR value

2009-08-13 Thread shashi raj singh
Hi All I have been trying to figure out the init value of AR5K_PHY_SIG_FIRPWR in AR5K_PHY_SIG reg. The value that I read is 2127039790. How to convert this to dbm? or any useful information? I looked into legacy hal and it sets firpwr value to -70(hopefully dbm). I was going through the ani p

Re: [ath5k-devel] channel switching

2009-08-08 Thread shashi raj singh
--- On Wed, 8/5/09, Nick Kossifidis 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 wit

Re: [ath5k-devel] channel switching

2009-08-04 Thread shashi raj singh
--- On Tue, 8/4/09, Nick Kossifidis wrote: > From: Nick Kossifidis > Subject: Re: [ath5k-devel] channel switching > To: "shashi raj singh" > Cc: ath5k-devel@lists.ath5k.org > Date: Tuesday, August 4, 2009, 2:58 PM > 2009/8/4 shashi raj singh : > > > > H

[ath5k-devel] channel switching

2009-08-04 Thread shashi raj singh
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? do i need to call any other function after i call ath5k_hw_channel?? like settin

[ath5k-devel] Cant setup mesh mode

2009-06-25 Thread shashi raj singh
Hi I am trying to enable mesh mode in ath5k for a my projectwork. I am using compat-wireless-2.6.tar.bz2 and kernel 6.28 when i give the cmd:iw phy phy0 interface add mesh0 type mesh mesh_id meshmac it creates an interface with mode auto not mesh and after a while it goes to station mode b

[ath5k-devel] Cannot setup Mesh mode in ath5k

2009-06-25 Thread shashi raj singh
Hi I am trying to enable mesh mode in ath5k for a my projectwork. I am using compat-wireless-2.6.tar.bz2  and kernel 6.28 when i give the  cmd:iw phy phy0 interface add mesh0 type mesh mesh_id meshmac it creates an interface with mode auto not mesh and after a while it goes to station mode by its