tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
437 stars 78 forks source link

capturing more wifi parameters would be good #70

Open dtaht opened 8 years ago

dtaht commented 8 years ago

The iwinfo utility in openwrt has this, but it is not packaged up for debian apparently.

wlan1 ESSID: "AIRTIMEFAIRTEST2" Access Point: 80:2A:A8:17:1B:1D Mode: Master Channel: 1 (2.412 GHz) Tx-Power: 20 dBm Link Quality: 64/70 Signal: -46 dBm Noise: -95 dBm Bit Rate: 117.0 MBit/s Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy1

nmctl and connmanctl probably have useful stuff also. Knowing if an AP was locked to the station has proved to be a pita of late.

tohojo commented 8 years ago

Dave Täht notifications@github.com writes:

The iwinfo utility in openwrt has this, but it is not packaged up for debian apparently.

wlan1 ESSID: "AIRTIMEFAIRTEST2" Access Point: 80:2A:A8:17:1B:1D Mode: Master Channel: 1 (2.412 GHz) Tx-Power: 20 dBm Link Quality: 64/70 Signal: -46 dBm Noise: -95 dBm Bit Rate: 117.0 MBit/s Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy1

nmctl and connmanctl probably have useful stuff also. Knowing if an AP was locked to the station has proved to be a pita of late.

You mean as a one-time thing along with the metadata? Or?

Patches welcome :)

-Toke

dtaht commented 8 years ago

before and after, like tc_stats. Would help to see if something moved, as capturing the crypto and mode and SSID are all helpful. http://git.openwrt.org/project/iwinfo.git depends on uci, but is otherwise pretty portable looking.

tohojo commented 8 years ago

Dave Täht notifications@github.com writes:

before and after, like tc_stats. Would help to see if something moved, as capturing the crypto and mode and SSID are all helpful. http://git.openwrt.org/project/iwinfo.git depends on uci, but is otherwise pretty portable looking.

Right, sure, get back to me when you have gotten it ported and included in enough distros to be useful... ;)

-Toke

dtaht commented 8 years ago

well, hnetd builds all the required subsystems for me on debian. I haven't figured out how to get this to build separately yet.

There's other stuff worth detecting, the number of antennas for one.

Yes, I know you gladly accept patches.