Re: ifconfig output for 802.11

2007-03-11 Thread Reyk Floeter
On Mon, Mar 12, 2007 at 12:05:20PM +0800, Lars Hansson wrote:
 I'm trying to understand the output of ifconfig for 802.11 interfaces 
 and while most of it is obvious one part isn't (at least not to me).
 In the below output, what exactly does the 20dB stand for and how do I 
 interpret it? Looking at the ifconfig source it would also appear that 
 it (whatever it is) could also be expressed as a percentage?
 
 $ ifconfig ural0
 ..
 ieee80211: nwid unet chan 6 bssid 00:0f:3d:0d:eb:ac 20dB nwkey 
 0x8353c823e7 100dBm
 

it is the received single strength indicator.

take you laptop, move a bit around, go to the next room and you will
see that this value increases and decreases.

reyk



Re: ifconfig output for 802.11

2007-03-11 Thread Shane Pearson
On 12/03/07, Reyk Floeter [EMAIL PROTECTED] wrote:

 On Mon, Mar 12, 2007 at 12:05:20PM +0800, Lars Hansson wrote:
  I'm trying to understand the output of ifconfig for 802.11 interfaces
  and while most of it is obvious one part isn't (at least not to me).
  In the below output, what exactly does the 20dB stand for and how do I
  interpret it? Looking at the ifconfig source it would also appear that
  it (whatever it is) could also be expressed as a percentage?
 
  $ ifconfig ural0
  ..
  ieee80211: nwid unet chan 6 bssid 00:0f:3d:0d:eb:ac 20dB nwkey
  0x8353c823e7 100dBm
 

 it is the received single strength indicator.


I thought it was the transmit power.


-- 
Shane J Pearson



Re: ifconfig output for 802.11

2007-03-11 Thread Lars Hansson

Reyk Floeter wrote:

On Mon, Mar 12, 2007 at 12:05:20PM +0800, Lars Hansson wrote:
it is the received single strength indicator.


Ah, that's what i suspected it was. Thanks.
I'm trying to get a small gui wifi monitor working so can i safely 
assume that 20dB is maximum? When does it show as a percentage, anyway?


---
Lars Hansson



Re: ifconfig output for 802.11

2007-03-11 Thread Reyk Floeter
On Mon, Mar 12, 2007 at 03:19:29PM +1100, Shane Pearson wrote:
 On 12/03/07, Reyk Floeter [EMAIL PROTECTED] wrote:
 
  On Mon, Mar 12, 2007 at 12:05:20PM +0800, Lars Hansson wrote:
   I'm trying to understand the output of ifconfig for 802.11 interfaces
   and while most of it is obvious one part isn't (at least not to me).
   In the below output, what exactly does the 20dB stand for and how do I
   interpret it? Looking at the ifconfig source it would also appear that
   it (whatever it is) could also be expressed as a percentage?
  
   $ ifconfig ural0
   ..
   ieee80211: nwid unet chan 6 bssid 00:0f:3d:0d:eb:ac 20dB nwkey
   0x8353c823e7 100dBm
  
 
  it is the received single strength indicator.
 
 
 I thought it was the transmit power.
 
 

the 100dBm is the transmit power.

the 20dB rssi should appear as a percentage as well, but some bits are
missing in the driver.

reyk