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

Re: [ath5k-devel] FIRPWR value

2009-08-14 Thread Nick Kossifidis
2009/8/14 Nick Kossifidis : > 2009/8/14 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. >> > > FIRPWR is a field, are you reading the whole register or just > that field (of cours

Re: [ath5k-devel] FIRPWR value

2009-08-14 Thread Nick Kossifidis
2009/8/14 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. > FIRPWR is a field, are you reading the whole register or just that field (of course you need to do some typecasting there)

[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