I am trying to understand the output of the airport
command line utility on OSX:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
agrCtlRSSI: -45
agrExtRSSI: 0
agrCtlNoise: -95
agrExtNoise: 0
state: running
op mode: station
lastTxRate: 585
maxRate: 867
lastAssocStatus: 0
802.11 auth: open
link auth: wpa2-psk
BSSID: xx:xx
SSID: xx
MCS: 7
channel: 44,80
While I'd to love how to understand all of the output above, most specifically, I am trying to figure out if there is any way to programmatically get the "Link Speed" as shown in the Network Utility program:
Best Answer
There’s not much documentation available, but these are the basics:
The item that you’d be looking for is “lastTxRate”. So, to get that, you can issue the command