Configure Authentication and Key Management for a Profile
masterWhen creating a pywifi.Profile, you must specify the authentication algorithm, key management type (AKM), and cipher type.
Authentication Algorithms (auth field):
const.AUTH_OPEN: Used for most standard APs.const.AUTH_SHARED: Shared key authentication.
Key Management Types (akm field):
const.AKM_TYPE_NONE: For APs with no security settings.const.AKM_TYPE_WPAPSK: For WPA mode.const.AKM_TYPE_WPA2PSK: For WPA2 mode.const.AKM_TYPE_WPA/const.AKM_TYPE_WPA2: Used by enterprise APs.
Cipher Types (cipher field):
Required if akm is not const.AKM_TYPE_NONE.
const.CIPHER_TYPE_NONEconst.CIPHER_TYPE_WEPconst.CIPHER_TYPE_TKIPconst.CIPHER_TYPE_CCMP