Re: detecting airport cards
Re: detecting airport cards
- Subject: Re: detecting airport cards
- From: Brian Wotring <email@hidden>
- Date: Thu, 24 Jan 2002 12:54:35 -0700
Oy!
The BSD/ifnet mechanisms don't currently give you that kind of detail.
You'd have to get that from IOKit, and I don't know whether there is
any standard way of representing wireless devices that IOKit knows
about (Dean/Godfrey?).
This is what 'ioreg' shows for Airport:
| | | +-o radio@30000 <class AppleMacIODevice>
| | | | +-o AirPortDriver <class AirPortDriver>
| | | | +-o IOEthernetInterface <class
IOEthernetInterface>
| | | | | +-o IONetworkStack <class IONetworkStack>
| | | | | +-o IONetworkStackUserClient <class
IONetworkStackUserClient>
| | | | +-o AirPortUserClient <class AirPortUserClient>
| | | | +-o AirPortUserClient <class AirPortUserClient>
'airport' isn't going to work; and I don't know whether all wireless
devices show up as 'radio'.
What are you trying to do?
There are some security concerns I am trying to address. The logic in
my code will vary depending upon whether or not a net device I attach to
is a wireless card or not. So there isn't any way to determine this
inside a data link NKE?
--
Brian Wotring ( email@hidden )
PGP KeyID: 0x9674763D