🌐

mac でcliでBSSIDとwifi versionを確認する方法

2022/12/13に公開

いっつも忘れるのでメモ...

BSSID

$ sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
     agrCtlRSSI: -45
     agrExtRSSI: 0
    agrCtlNoise: -93
    agrExtNoise: 0
          state: scanning
        op mode: station
     lastTxRate: 866
        maxRate: 867
lastAssocStatus: 0
    802.11 auth: open
      link auth: wpa2-psk
          BSSID: xx:xx:xx:xx:xx:xx
           SSID: myssid
            MCS: 9
  guardInterval: 400
            NSS: 2
        channel: 36,80

WiFi version

WiFi version and generations

$ system_profiler SPAirPortDataType | awk '/PHY Mode:/ { print $3 ; exit }
802.11ac

802.11ac => WiFi 5

Discussion