Yeah tht is the correct way of getting the noise floor. Iam not exactly sure as to how madwifi calcluates noise floor value, but even I have seen that most of the time it remains constant at -96dbm (very rarely it changes to other -94, -95dbm or so).

Though the noise floor values as reported by hostap driver for prism chipset cards does vary depending on the interference present.

Vishal 

On Thu, Apr 29, 2010 at 6:04 PM, 周运景 <jiazhou619@gmail.com> wrote:
Hi,all

I want to get noise level from madwifi driver.

So,I print "ic->ic_channoise"  in file if_ath.c.

but it always be -96dbm.

anybody could tell me where is the right place reported the current noise level in madwifi driver?

Looking for your reply!

thx.

------------------------------------------------------------------------------

_______________________________________________
Madwifi-devel mailing list
Madwifi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-devel