check_authority
static boolean_t check_authority(wifi_auth_t type);
if (!check_authority(AUTH_WEP)) {
!check_authority(autht)) {