Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules: hostap: add tls_cipher param #80214

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

LiLongNXP
Copy link
Contributor

Add tls_cipher param for client WPA3 enterprise suiteb-192. Add parameter "-T" to specify tls_cipher:
Specify "-T 1": client use ECC P384.
Specify "-T 2": client use RSA 3K.

@LiLongNXP
Copy link
Contributor Author

hi @krish2718 @jukkar ,
Could you please review and merge this PR if it reviewed done.

This PR depend on below 2 PRs which also hasn't been merged:
zephyrproject-rtos/hostap#20
zephyrproject-rtos/mbedtls#62

Thanks.

@@ -785,6 +786,9 @@ static int __wifi_args_to_params(const struct shell *sh, size_t argc, char *argv
case 'S':
params->suiteb_type = atoi(state->optarg);
break;
case 'T':
params->TLS_cipher = atoi(optarg);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use state->optarg, same as other lines in this function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Code updated.

Add tls_cipher param for client WPA3 enterprise suiteb-192.
Add parameter "-T" to specify tls_cipher:
Specify "-T 1": client use ECC P384.
Specify "-T 2": client use RSA 3K.

Signed-off-by: Li Long <li.long@nxp.com>
@kartben kartben merged commit 4d178f6 into zephyrproject-rtos:main Dec 12, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants