Wi5 / odin-wi5-agent

Click-based odin agent that runs on access points
2 stars 7 forks source link

Auxiliary interface - Making an average value between captured frames #26

Closed rubenmunilla closed 7 years ago

rubenmunilla commented 7 years ago

Now the packets received by auxiliary interface are used to calculate an average, optimizing the handoff decision:

[Odinagent.cc] ########### Scanning for client F0:4F:7C:EA:2F:B1
[Odinagent.cc] ########### Scanning: Setting channel to scan in auxiliary interface 
[Odinagent.cc] ########### Scanning: Setting scanning status --> true 
[Odinagent.cc] ########### Packet number: 1
[Odinagent.cc] ########### Signal(mW): 0.000501 - Signal(dBm): -33.000000
[Odinagent.cc] ########### Average Signal(mW): 0.000501 - Average Signal(dBm): -33.000000
[Odinagent.cc] ########### Packet number: 2
[Odinagent.cc] ########### Signal(mW): 0.000501 - Signal(dBm): -33.000000
[Odinagent.cc] ########### Average Signal(mW): 0.000501 - Average Signal(dBm): -33.000000
[Odinagent.cc] ########### Packet number: 3
[Odinagent.cc] ########### Signal(mW): 0.000398 - Signal(dBm): -34.000000
[Odinagent.cc] ########### Average Signal(mW): 0.000467 - Average Signal(dBm): -33.308438
[Odinagent.cc] ########### Packet number: 4
[Odinagent.cc] ########### Signal(mW): 0.000501 - Signal(dBm): -33.000000
[Odinagent.cc] ########### Average Signal(mW): 0.000475 - Average Signal(dBm): -33.229251
[Odinagent.cc] ########### Scanning: Sending scan results: 223 (-33 dBm)