[Tutor] Getting singal strength of the received packet

Hugo González Monteverde hugonz-lists at h-lab.net
Tue Jul 19 22:31:48 CEST 2005


How would you get it with C? Based on this, we can know if it is 
possible with plain Python (and not writing a python module written in 
C) Do you do this with a library call? or maybe using FCTL or IOCTL?

I have done IOCTL in python and it is quite easy, but some provisions 
have to be taken respecting the C types the interface expects...

Hugo

sunny sunny wrote:
> Hi,
> 
> I am sending and receiving for a simple server application over wirless link. 
> Can I get the signal strength of the received packet in Python? 
> 
> One way would be to get the value of the RSSI from /proc/net/wireless.
> However I would like to get the signal strength (in terms of RSSI or
> dBm) of the specific packet. Is it possible to do this in Python.
> 
> I am using hostAP driver, and know that using C, I can get the packet RSSI. 
> 
> Thanks 
> Santosh.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


More information about the Tutor mailing list