I am trying to get RSSI or signal strength from WiFi packets. I also want RSSI from "WiFi sensing requests" (when someone searches for WiFi access points).
I managed to see this from kismet logs, but that was just to make sure it was possible - I don't want to use kismet all the time.
For a "full time scan" I use scapy. Does anyone know where I can find RSSI or signal strength (in dBm) from packets sniffed by a scythe? I don’t know how the whole package is created, and there are many “hex” values that I don’t know how to parse / interpret.
I sniff both interfaces - wlan0 (detection when someone connects to my hotspot) and mon.wlan0 (detection when someone searches for hotspots). The equipment (WiFi card) that I use is based on the Prism chipset (ISL3886). However, a test with Kismet was run on Atheros (AR2413) and Intel iwl4965.
Edit1:
Looks like I need to access some information stored in PrismHeader:
http://trac.secdev.org/scapy/browser/scapy/layers/dot11.py
line 92?
Does anyone know how to enter this information? package.show () and packet.show2 () show nothing from this class / level
Edit2:
, , .
kismet, scapy, :
version= 0
pad= 0
len= 26
present= TSFT+Flags+Rate+Channel+dBm_AntSignal+Antenna+b14
notdecoded= '8`/\x08\x00\x00\x00\x00\x10\x02\x94\t\xa0\x00\xdb\x01\x00\x00'
...
, kismet.