Home
last modified time | relevance | path

Searched refs:mode_info (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c2570 struct wifi_mode_info mode_info = {0}; in cmd_wifi_mode() local
2575 mode_info.oper = WIFI_MGMT_SET; in cmd_wifi_mode()
2576 parse_mode_args_to_params(sh, argc, argv, &mode_info, &do_mode_oper); in cmd_wifi_mode()
2586 if (mode_info.if_index == 0) { in cmd_wifi_mode()
2592 mode_info.if_index = net_if_get_by_iface(iface); in cmd_wifi_mode()
2594 iface = net_if_get_by_index(mode_info.if_index); in cmd_wifi_mode()
2597 mode_info.if_index); in cmd_wifi_mode()
2602 ret = net_mgmt(NET_REQUEST_WIFI_MODE, iface, &mode_info, sizeof(mode_info)); in cmd_wifi_mode()
2606 mode_info.oper == WIFI_MGMT_GET ? "get" : "set", ret); in cmd_wifi_mode()
2610 if (mode_info.oper == WIFI_MGMT_GET) { in cmd_wifi_mode()
[all …]
Dwifi_mgmt.c1016 struct wifi_mode_info *mode_info = data; in wifi_mode() local
1026 return wifi_mgmt_api->mode(dev, mode_info); in wifi_mode()