CWGlobalsMBS class constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

CWGlobalsMBS constants

Constants

Constant Value Description
kCWError -3931 One of the error constants in CoreWLAN. Generic error.
kCWHTFeaturesNotSupported -3926 One of the error constants in CoreWLAN. Association was denied because the requesting station does not support HT features.
kCWInterfaceStateAssociating 3 One of the interface state constants in CoreWLAN. CoreWLAN interface is associating.
kCWInterfaceStateAuthenticating 2 One of the interface state constants in CoreWLAN. CoreWLAN interface is authenticating.
kCWInterfaceStateInactive 0 One of the interface state constants in CoreWLAN. CoreWLAN interface is in the initial, inactive state.
kCWInterfaceStateRunning 4 One of the interface state constants in CoreWLAN. CoreWLAN interface is running.
kCWInterfaceStateScanning 1 One of the interface state constants in CoreWLAN. CoreWLAN interface is scanning.
kCWIPCError -3929 One of the error constants in CoreWLAN. Error communicating with a separate process.
kCWOpModeHostAP 3 One of the interface operation mode constants in CoreWLAN. Interface is participating in an infrastructure network as an access point.
kCWOpModeIBSS 1 One of the interface operation mode constants in CoreWLAN. Interface is participating in an IBSS network.
kCWOpModeMonitorMode 2 One of the interface operation mode constants in CoreWLAN. Interface is in 802.11 monitor mode.
kCWOpModeStation 0 One of the interface operation mode constants in CoreWLAN. Interface is participating in an infrastructure network as a non-AP station.
kCWOpNotPermitted -3930 One of the error constants in CoreWLAN. Calling process does not have permission to perform this operation.
kCWPCOTransitionTimeNotSupported -3927 One of the error constants in CoreWLAN. Association was denied because the requesting station does not support the PCO transition time required by the AP.
kCWScanTypeActive 0 One of the scan type constants in CoreWLAN. In accordance with the supported channels for the active country code, the interface will transmit probe request frames and listen for probe responses.
kCWScanTypeFast 2 One of the scan type constants in CoreWLAN. The scan will return cached scan results.
kCWScanTypePassive 1 One of the scan type constants in CoreWLAN. The interface will listen for beacon frames on each channel irrespective of country code.
kCWSecurityModeDynamicWEP 7 One of the security mode constants in CoreWLAN. Dynamic WEP 802.1X authentication.
kCWSecurityModeOpen 0 One of the security mode constants in CoreWLAN. Open System authentication.
kCWSecurityModeWEP 1 One of the security mode constants in CoreWLAN. WEP authentication.
kCWSecurityModeWPA2_Enterprise 5 One of the security mode constants in CoreWLAN. WPA2 Enterprise authentication.
kCWSecurityModeWPA2_PSK 3 One of the security mode constants in CoreWLAN. WPA2 Personal authentication.
kCWSecurityModeWPA_Enterprise 4 One of the security mode constants in CoreWLAN. WPA Enterprise authentication.
kCWSecurityModeWPA_PSK 2 One of the security mode constants in CoreWLAN. WPA Personal authentication.
kCWSecurityModeWPS 6 One of the security mode constants in CoreWLAN. WiFi Protected Setup authentication.
kOldCWPHYMode11A 0 One of the physical layer mode constants in CoreWLAN. IEEE 802.11a
kOldCWPHYMode11B 1 One of the physical layer mode constants in CoreWLAN. IEEE 802.11b
kOldCWPHYMode11G 2 One of the physical layer mode constants in CoreWLAN. IEEE 802.11g
kOldCWPHYMode11N 3 One of the physical layer mode constants in CoreWLAN. IEEE 802.11n

Error Codes

Constant Value Description
kCWAPFullErr -3913 Access point is unable to handle another associated station.
kCWAssociationDeniedErr -3909 Association was denied for an unspecified reason.
kCWAuthAlgUnsupportedErr -3910 Specified authentication algorithm is not supported.
kCWAuthenticationAlgorithmUnsupportedErr -3910 Specified authentication algorithm is not supported.
kCWChallengeFailureErr -3912 Authentication was rejected because of a challenge failure.
kCWCipherSuiteRejectedErr -3923 Cipher suite rejected due to network security policy.
kCWDSSSOFDMUnsupportedErr -3916 Association denied because DSSS-OFDM is not supported by requesting station.
kCWEAPOLErr 1 EAPOL-related error.
kCWErr -3931 Generic error, no specific error code exists to describe the error condition.
kCWFormatErr -3904 Invalid protocol element field detected.
kCWHTFeaturesNotSupportedErr -3926 Association was denied because the requesting station does not support HT features.
kCWInvalidAKMPErr -3920 Invalid authentication selector requested.
kCWInvalidAuthenticationSequenceNumberErr -3911 Authentication frame received with an authentication sequence number out of expected sequence.
kCWInvalidAuthSeqNumErr -3911 Authentication frame received with an authentication sequence number out of expected sequence.
kCWInvalidFormatErr -3904 Invalid protocol element field detected.
kCWInvalidGroupCipherErr -3918 Invalid group cipher requested.
kCWInvalidInfoElementErr -3917 Invalid information element included in association request.
kCWInvalidInformationElementErr -3917 Invalid information element included in association request.
kCWInvalidPairwiseCipherErr -3919 Invalid pairwise cipher requested.
kCWInvalidParameterErr -3900 Parameter error.
kCWInvalidPMKErr -3924 PMK rejected by the access point.
kCWInvalidRSNCapabilitiesErr -3922 Invalid RSN capabilities specified in association request.
kCWIPCFailureErr -3929 Error communicating with a separate process.
kCWNoErr 0 Success.
kCWNoMemErr -3901 Memory allocation failed.
kCWNoMemoryErr -3901 Memory allocation failed.
kCWNotSupportedErr -3903 Operation not supported.
kCWOperationNotPermittedErr -3930 Calling process does not have permission to perform this operation.
kCWParamErr -3900 Parameter error.
kCWPCOTransitionTimeNotSupportedErr -3927 Association was denied because the requesting station does not support the PCO transition time required by the AP.
kCWReassociationDeniedErr -3908 Reassociation was denied because the access point was unable to determine that an association exists.
kCWReferenceNotBoundErr -3928 No interface is bound to the CWInterface.
kCWRefNotBoundErr -3928 No interface is bound to the CWInterface.
kCWShortSlotUnsupportedErr -3915 Association denied because short slot time option is not supported by requesting station.
kCWSupplicantTimeoutErr -3925 WPA/WPA2 handshake timed out.
kCWTimeoutErr -3905 Authentication/Association timed out.
kCWUknownErr -3902 Unexpected error condition encountered for which no error code exists.
kCWUnknownErr -3902 Unexpected error condition encountered for which no error code exists.
kCWUnspecifiedFailureErr -3906 Access point did not specify a reason for authentication/association failure.
kCWUnsupportedCapabilitiesErr -3907 Access point cannot support all requested capabilities.
kCWUnsupportedRateSetErr -3914 Interface does not support all of the rates in the access point's basic rate set.
kCWUnsupportedRSNVersionErr -3921 Invalid WPA/WPA2 version specified.

Channel bands

Constant Value Description
kCWChannelBand2GHz 1 2 GHz channel band.
kCWChannelBand5GHz 2 5 GHz channel band.
kCWChannelBandUnknown 0 Unknown channel band.

Channel Widths

Constant Value Description
kCWChannelWidth160MHz 4 160MHz channel width.
kCWChannelWidth20MHz 1 20MHz channel width.
kCWChannelWidth40MHz 2 40MHz channel width.
kCWChannelWidth80MHz 3 80MHz channel width.
kCWChannelWidthUnknown 0 Unknown channel width.

Chipher Key Flahs

Constant Value Description
kCWCipherKeyFlagsMulticast 4 Cipher key will be used for multicast packets.
kCWCipherKeyFlagsNone 0 Open System authentication.
kCWCipherKeyFlagsRx 16 Cipher key will be used for packets received by the interface.
kCWCipherKeyFlagsTx 8 Cipher key will be used for packets sent from the interface.
kCWCipherKeyFlagsUnicast 2 Cipher key will be used for unicast packets.

IBSS mode security types

Constant Value Description
kCWIBSSModeSecurityNone 0 Open System authentication.
kCWIBSSModeSecurityWEP104 2 WPA Personal authentication.
kCWIBSSModeSecurityWEP40 1 WEP security.

Interface operation modes

Constant Value Description
kCWInterfaceModeHostAP 3 Interface is participating in an infrastructure network as an access point.
kCWInterfaceModeIBSS 2 Interface is participating in an IBSS network.
kCWInterfaceModeNone 0 Interface is not in any mode.
kCWInterfaceModeStation 1 Interface is participating in an infrastructure network as a non-AP station.

Keychain Domains

Constant Value Description
kCWKeychainDomainNone 0 No keychain domain specified.
kCWKeychainDomainSystem 2 The system keychain domain.
kCWKeychainDomainUser 1 The login (user) keychain domain.

Physical Layer Modes

Constant Value Description
kCWPHYMode11a 1 IEEE 802.11a PHY.
kCWPHYMode11ac 5 IEEE 802.11ac PHY.
kCWPHYMode11b 2 IEEE 802.11b PHY.
kCWPHYMode11g 3 IEEE 802.11g PHY.
kCWPHYMode11n 4 IEEE 802.11n PHY.
kCWPHYModeNone 0 No PHY mode.

Security types

Constant Value Description
kCWSecurityDynamicWEP 6 Dynamic WEP security.
kCWSecurityEnterprise 10 Enterprise authentication.
kCWSecurityNone 0 Open System authentication.
kCWSecurityPersonal 5 Personal authentication.
kCWSecurityUnknown &h7FFFFFFF Unknown security type.
kCWSecurityWEP 1 WEP security.
kCWSecurityWPA2Enterprise 9 WPA2 Enterprise authentication.
kCWSecurityWPA2Personal 4 WPA2 Personal authentication.
kCWSecurityWPAEnterprise 7 WPA Enterprise authentication.
kCWSecurityWPAEnterpriseMixed 8 WPA/WPA2 Enterprise authentication.
kCWSecurityWPAPersonal 2 WPA Personal authentication.
kCWSecurityWPAPersonalMixed 3 WPA/WPA2 Personal authentication.

💬 Ask a question or report a problem