Hello! I'm trying to make an macOS app which can disable wifi. i'm using CWWiFiClient and CWInterface for disable mac's internal wifi. I need to disable external wifi device like usb wifi adapter. but CWInterface and SCNetworkInterfaceCopyAll() detect them as ethernet Can i discriminate usb wifi and ethernet programmatically?
I'm using TP-Link'sArcher T3U Plus, Archer T4U, TP-Link's driver (2015 late mac - Catalina) and driver from https://github.com/chris1111/Wireless-USB-Big-Sur-Adapter (M1 and Inter mac - Monterey). Also I'm using Both of Objective-C and Swift
Thanks