Skip to content

Conversation

@fengming-ye
Copy link
Contributor

Add wifi l2 mgmt dpp handlers.
Add wifi subcommand dpp to call l2 mgmt dpp handlers.

DPP shell commands body is the same as wpa_cli commands but with different prefix "wifi dpp". eg.
"wifi dpp dpp_auth_init peer=1 role=enrollee"

DPP shell command handler will parse user args to params in enum and send l2 mgmt dpp requests.
DPP l2 handlers will parse params to hostap wpa_cli format args and send wpa_cli commands to hostap.

Add wifi l2 mgmt dpp handlers.
Add wifi subcommand dpp to call l2 mgmt dpp handlers.

DPP shell commands body is the same as wpa_cli commands but with
different prefix "wifi dpp". eg.
"wifi dpp dpp_auth_init peer=1 role=enrollee"

DPP shell command handler will parse user args to params in enum
and send l2 mgmt dpp requests.
DPP l2 handlers will parse params to hostap wpa_cli format args
and send wpa_cli commands to hostap.

Signed-off-by: Fengming Ye <[email protected]>
@fengming-ye
Copy link
Contributor Author

This is rebase PR of #73707

@fengming-ye
Copy link
Contributor Author

CI fail because of unrelated error

/__w/zephyr/zephyr/tests/subsys/modem/modem_cmux/src/main.c:796:28: error: too few arguments to function call, expected 2, have 1
modem_pipe_open(dlci1_pipe);
~~~~~~~~~~~~~~~ ^
/__w/zephyr/zephyr/include/zephyr/modem/pipe.h:99:5: note: 'modem_pipe_open' declared here
int modem_pipe_open(struct modem_pipe *pipe, k_timeout_t timeout);
^
/__w/zephyr/zephyr/tests/subsys/modem/modem_cmux/src/main.c:797:28: error: too few arguments to function call, expected 2, have 1
modem_pipe_open(dlci2_pipe);
~~~~~~~~~~~~~~~ ^
/__w/zephyr/zephyr/include/zephyr/modem/pipe.h:99:5: note: 'modem_pipe_open' declared here
int modem_pipe_open(struct modem_pipe *pipe, k_timeout_t timeout);
^

@krish2718
Copy link
Contributor

CI fail because of unrelated error

/__w/zephyr/zephyr/tests/subsys/modem/modem_cmux/src/main.c:796:28: error: too few arguments to function call, expected 2, have 1 modem_pipe_open(dlci1_pipe); ~~~~~~~~~~~~~~~ ^ /__w/zephyr/zephyr/include/zephyr/modem/pipe.h:99:5: note: 'modem_pipe_open' declared here int modem_pipe_open(struct modem_pipe *pipe, k_timeout_t timeout); ^ /__w/zephyr/zephyr/tests/subsys/modem/modem_cmux/src/main.c:797:28: error: too few arguments to function call, expected 2, have 1 modem_pipe_open(dlci2_pipe); ~~~~~~~~~~~~~~~ ^ /__w/zephyr/zephyr/include/zephyr/modem/pipe.h:99:5: note: 'modem_pipe_open' declared here int modem_pipe_open(struct modem_pipe *pipe, k_timeout_t timeout); ^

Please rebase and push to fix CI

@fengming-ye fengming-ye deleted the feature/hostap_dpp_l2 branch July 31, 2024 09:21
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.

4 participants