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

AES-CCMP KEY only support 128BIT? #23

Open
webrtcccccc opened this issue Jul 6, 2023 · 0 comments
Open

AES-CCMP KEY only support 128BIT? #23

webrtcccccc opened this issue Jul 6, 2023 · 0 comments

Comments

@webrtcccccc
Copy link

webrtcccccc commented Jul 6, 2023

Dear Newracom,

The default of nrc_wifi_softap_set_conf() is to set pairwise to CCMP. CCMP in wpa_cli means that AES128.
[ctrl_iface_receive_response] cmd: set_network 0 pairwise CCMP
[ctrl_iface_receive_response] cmd: set_network 0 group CCMP

I manually set pairwise to CCMP-256. WIFI can connect successfully but shows some RX errors. Does AES-CCMP KEY only support 128BIT?

Code
ctrl_iface_receive_response(0, "set_network 0 pairwise CCMP-256");
ctrl_iface_receive_response(0, "set_network 0 group CCMP-256");

log
[ Modem Detection Statistics ]

Tx Triggered Detection Count: 7
Rx Triggered Detection Count: 7
--Non-zero Length NDP: 0
--IP Length: 0(0)
--MPDU Length Mismatch: 7
--Buffer Mismatch: 0
--MPDU Length Size: 0

modem recovery
wpa: Unsupp cipher (type: 255)lmc: Invalid cipher type: 7
[RX_LEN_MISMATCH_1] t:2 st:8 pt:1 td:0 fd:1 vector->len:98 vector->mpdu_len:86 offeset:4
[RX_LEN_MISMATCH_2] icv_len:0, okay:1, error_key:0, error_mic:0 vif_id: 0
[RX_LEN_MISMATCH_3] is_bcast: 0, icv_len(bcast): 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant