Search Linux Wireless

Re: [WIP, RFC] libertas: allow scanning via "iw"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > * signal isn't reported in dBm or mBm. The scan response from
> >   the firmware tells me some "RSSI" value.
> 
> #define MRVDRV_NF_DEFAULT_SCAN_VALUE		(-96)
> #define SCAN_RSSI(RSSI)			(0x100 - ((u8)(RSSI)))
> 
> 	iwe.u.qual.level = SCAN_RSSI(bss->rssi);
> 
> 	rssi = iwe.u.qual.level - MRVDRV_NF_DEFAULT_SCAN_VALUE;
> 
> so it's more or less dBm.

I'm not that sure about that. I made a test and moved with my 
laptop away from an access-point. In the table below you find 
the signal from ipw2200/iwconfig. And in the second column the 
raw "u8 rssi" from libertas' scan response:

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux