Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caseymarquis/689fa4632c8fb23f4eaf251fbfc1d46f to your computer and use it in GitHub Desktop.
Save caseymarquis/689fa4632c8fb23f4eaf251fbfc1d46f to your computer and use it in GitHub Desktop.
RCM6600W Flexible WPA2 Connections
{
int encryptionType = (sets.encryptionType == encr_ccmp) || (sets.encryptionType == encr_tkip)?
(encr_tkip | encr_ccmp) : sets.encryptionType;
ifconfig(
IF_WIFI0,
IFS_WIFI_ENCRYPTION, encryptionType,
IFS_WIFI_PAIRWISE_ENCRYPTION,
(sets.encryptionType == encr_ccmp) || (sets.encryptionType == encr_tkip)?
encryptionType : encr_none,
IFS_END
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment