wpa_supplicant/hidl/sprd_1.2/sta_network.cpp
/**
 * Helper function to set the fast transition bits in the key management
 * bitmask, to allow FT support when possible.
 */
Helper function to set the fast transition bits in the key management
bitmask, to allow FT support when possible.
Helper function to set the fast transition bits in the key management bitmask to allow FT support when possible .
void StaNetwork::setFastTransitionKeyMgmt(uint32_t &key_mgmt_mask)
{
	if (key_mgmt_mask & WPA_KEY_MGMT_SAE) {
		key_mgmt_mask |= WPA_KEY_MGMT_FT_SAE;
	}
	if (key_mgmt_mask & WPA_KEY_MGMT_PSK) {
		key_mgmt_mask |= WPA_KEY_MGMT_FT_PSK;
	}
	if (key_mgmt_mask & WPA_KEY_MGMT_IEEE8021X) {
		key_mgmt_mask |= WPA_KEY_MGMT_FT_IEEE8021X;
	}
}
void StaNetwork :: setFastTransitionKeyMgmt ( uint32_t & key_mgmt_mask ) { if ( key_mgmt_mask & WPA_KEY_MGMT_SAE ) { key_mgmt_mask |= WPA_KEY_MGMT_FT_SAE ; } if ( key_mgmt_mask & WPA_KEY_MGMT_PSK ) { key_mgmt_mask |= WPA_KEY_MGMT_FT_PSK ; } if ( key_mgmt_mask & WPA_KEY_MGMT_IEEE8021X ) { key_mgmt_mask |= WPA_KEY_MGMT_FT_IEEE8021X ; } }
Helper function to set the fast transition bits in the key management
 bitmask, to allow FT support when possible.
Helper function to set the fast transition bits in the key management bitmask to allow FT support when possible .