Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread Danny Yoo
On Tue, 19 Jul 2005, sunny sunny wrote: > In C I have seen some programs such as kismet etc where c programs could > be written to get the SS from the card. The idea probably is to read the > prism 2 header from the driver. This I guess is a bit more lower than > the "raw socket" where we can ge

Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread sunny sunny
Hi, In C I have seen some programs such as kismet etc where c programs could be written to get the SS from the card. The idea probably is to read the prism 2 header from the driver. This I guess is a bit more lower than the "raw socket" where we can get the MAC layer frame. The prism 2 header giv

Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread Byron
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? > Isn't this done strictly at the hardware level of the NIC? I don't believe that one can get this information from Python.

Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread Christian Wyglendowski
day, July 19, 2005 12:18 PM > To: tutor@python.org > Subject: [Tutor] Getting singal strength of the received packet > > 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 Pytho

Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread Hugo González Monteverde
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 res

[Tutor] Getting singal strength of the received packet

2005-07-19 Thread sunny sunny
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 t