iwspy and mac address
David Gibson
david at gibson.dropbear.id.au
Thu Jun 20 10:15:17 EST 2002
On Wed, Jun 19, 2002 at 10:36:23AM -0600, Shweta Bhandare wrote:
> Hi !
>
> I have this weird problem am just not able to solve. I am sending you this
> code.
[snip]
> Now, the signal strength is always 0 when i use this code snippet.
Signal strength is always 0 if you're in ad-hoc mode, because it's not
a well defined quantity (signal strength is different from each
station).
> However, if i use system("iwspy eth0 128.138.198.91"); instead of the mac
> address, I get the correct value of
> the signal strength.
...but if you have a spy list signal strength will be taken from the
first spy address.
--
David Gibson | For every complex problem there is a
david at gibson.dropbear.id.au | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
More information about the wireless
mailing list