WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
23 stars 8 forks source link

Add option to display available interfaces and their details #86

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

Feature request to add an option to pass into profiler, like --get-interfaces, which will output a list of interfaces, stack, firmware, current mode, etc. and then exit.

joshschmelzle commented 2 years ago

Added in 5c621d776ab792b66cc42fe3be4b5288cc3ec94a. Example:

sudo profiler --list_interfaces
phy, interface, mode, mac, driver, driver version, chipset
phy#3, wlan3, managed, 50:3e:aa:d3:36:da, mt76x0u, 5.15.0-v8-wlan_pi+, Ralink Technology, Corp. MT7610U ("Archer T2U" 2.4G+5G 
phy#2, wlan2, managed, 8c:88:2b:27:11:58, mt76x2u, 5.15.0-v8-wlan_pi+, MediaTek Inc.
phy#1, wlan1, managed, dc:a6:32:ff:aa:a7, brcmfmac, 7.45.229, Broadcom 43430
phy#0, wlan0, managed, 3c:f0:11:99:a8:16, iwlwifi, 5.15.0-v8-wlan_pi+, Intel Corporation Wi-Fi 6 AX200 (rev 1a)