modules: hostap: 11k/v/r roaming support #153908
Annotations
1 error, 1 warning, and 10 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define NET_REQUEST_WIFI_11K_CONFIG \
- (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_11K_CONFIG)
+#define NET_REQUEST_WIFI_11K_CONFIG (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_11K_CONFIG)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_11K_CONFIG);
-#define NET_REQUEST_WIFI_11K_NEIGHBOR_REQUEST \
+#define NET_REQUEST_WIFI_11K_NEIGHBOR_REQUEST \
File:include/zephyr/net/wifi_mgmt.h
Line:168
You may want to run clang-format on this change:
-#define NET_REQUEST_WIFI_START_ROAMING \
- (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_START_ROAMING)
+#define NET_REQUEST_WIFI_START_ROAMING (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_START_ROAMING)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_START_ROAMING);
-#define NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE \
+#define NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE \
File:include/zephyr/net/wifi_mgmt.h
Line:287
You may want to run clang-format on this change:
-#define NET_EVENT_WIFI_SIGNAL_CHANGE \
- (_NET_WIFI_EVENT | NET_EVENT_WIFI_CMD_SIGNAL_CHANGE)
+#define NET_EVENT_WIFI_SIGNAL_CHANGE (_NET_WIFI_EVENT | NET_EVENT_WIFI_CMD_SIGNAL_CHANGE)
/** Event Neighbor Report Completed */
-#define NET_EVENT_WIFI_NEIGHBOR_REP_COMP \
+#define NET_EVENT_WIFI_NEIGHBOR_REP_COMP \
File:include/zephyr/net/wifi_mgmt.h
Line:373
You may want to run clang-format on this change:
- uint8_t ssid[WIFI_SSID_MAX_LEN+1];
+ uint8_t ssid[WIFI_SSID_MAX_LEN + 1];
File:include/zephyr/net/wifi_mgmt.h
Line:786
You may want to run clang-format on this change:
-void wifi_mgmt_raise_neighbor_rep_recv_event(struct net_if *iface,
- char *inbuf, size_t buf_len);
+void wifi_mgmt_raise_neighbor_rep_recv_event(struct net_if *iface, char *inbuf, size_t buf_len);
File:include/zephyr/net/wifi_mgmt.h
Line:1495
You may want to run clang-format on this change:
- if (!wpa_cli_cmd_v("set_network %d key_mgmt WPA-PSK%s",
- resp.network_id, params->ft_used ? " FT-PSK" : "")) {
+ if (!wpa_cli_cmd_v("set_network %d key_mgmt WPA-PSK%s", resp.network_id,
+ params->ft_used ? " FT-PSK" : "")) {
File:modules/hostap/src/supp_api.c
Line:610
You may want to run clang-format on this change:
- wpa_printf(MSG_ERROR, "%s: ssid too long %u",
- __func__, ssid_len);
+ wpa_printf(MSG_ERROR, "%s: ssid too long %u", __func__, ssid_len);
return -1;
}
if (ssid_len) {
- if (!wpa_cli_cmd_v("neighbor_rep_request ssid %s",
- params->ssid)) {
+ if (!wpa_cli_cmd_v("neighbor_rep_request ssid %s", params->ssid)) {
File:modules/hostap/src/supp_api.c
Line:1142
You may want to run clang-format on this change:
- wpa_printf(MSG_ERROR,
- "%s: cli cmd <neighbor_rep_request> fail",
- __func__);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <neighbor_rep_request> fail", __func__);
File:modules/hostap/src/supp_api.c
Line:1153
You may want to run clang-format on this change:
- wpa_printf(MSG_ERROR,
- "%s: cli cmd <scan %s> fail",
- __func__, cmd);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <scan %s> fail", __func__, cmd);
File:modules/hostap/src/supp_api.c
Line:1187
You may want to run clang-format on this change:
- if (wpa_s->reassociate || (wpa_s->wpa_state >= WPA_AUTHENTICATING &&
- wpa_s->wpa_state < WPA_COMPLETED)) {
+ if (wpa_s->reassociate ||
+ (wpa_s->wpa_state >= WPA_AUTHENTICATING && wpa_s->wpa_state < WPA_COMPLETED)) {
wpa_printf(MSG_INFO, "Reassociation is in progress, skip");
ret = 0;
goto out;
}
if (!wpa_cli_cmd_v("reassociate")) {
- wpa_printf(MSG_ERROR, "%s: cli cmd <reassociate> fail",
- __func__);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <reassociate> fail", __func__);
File:modules/hostap/src/supp_api.c
Line:1217
You may want to run clang-format on this change:
- net_mgmt_event_notify_with_info(NET_EVENT_WIFI_SIGNAL_CHA
|
Run Compliance Tests:
include/zephyr/net/wifi_mgmt.h#L168
include/zephyr/net/wifi_mgmt.h:168
-#define NET_REQUEST_WIFI_11K_CONFIG \
- (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_11K_CONFIG)
+#define NET_REQUEST_WIFI_11K_CONFIG (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_11K_CONFIG)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_11K_CONFIG);
-#define NET_REQUEST_WIFI_11K_NEIGHBOR_REQUEST \
+#define NET_REQUEST_WIFI_11K_NEIGHBOR_REQUEST \
|
Run Compliance Tests:
include/zephyr/net/wifi_mgmt.h#L287
include/zephyr/net/wifi_mgmt.h:287
-#define NET_REQUEST_WIFI_START_ROAMING \
- (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_START_ROAMING)
+#define NET_REQUEST_WIFI_START_ROAMING (_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_START_ROAMING)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_START_ROAMING);
-#define NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE \
+#define NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE \
|
Run Compliance Tests:
include/zephyr/net/wifi_mgmt.h#L373
include/zephyr/net/wifi_mgmt.h:373
-#define NET_EVENT_WIFI_SIGNAL_CHANGE \
- (_NET_WIFI_EVENT | NET_EVENT_WIFI_CMD_SIGNAL_CHANGE)
+#define NET_EVENT_WIFI_SIGNAL_CHANGE (_NET_WIFI_EVENT | NET_EVENT_WIFI_CMD_SIGNAL_CHANGE)
/** Event Neighbor Report Completed */
-#define NET_EVENT_WIFI_NEIGHBOR_REP_COMP \
+#define NET_EVENT_WIFI_NEIGHBOR_REP_COMP \
|
Run Compliance Tests:
include/zephyr/net/wifi_mgmt.h#L786
include/zephyr/net/wifi_mgmt.h:786
- uint8_t ssid[WIFI_SSID_MAX_LEN+1];
+ uint8_t ssid[WIFI_SSID_MAX_LEN + 1];
|
Run Compliance Tests:
include/zephyr/net/wifi_mgmt.h#L1495
include/zephyr/net/wifi_mgmt.h:1495
-void wifi_mgmt_raise_neighbor_rep_recv_event(struct net_if *iface,
- char *inbuf, size_t buf_len);
+void wifi_mgmt_raise_neighbor_rep_recv_event(struct net_if *iface, char *inbuf, size_t buf_len);
|
Run Compliance Tests:
modules/hostap/src/supp_api.c#L610
modules/hostap/src/supp_api.c:610
- if (!wpa_cli_cmd_v("set_network %d key_mgmt WPA-PSK%s",
- resp.network_id, params->ft_used ? " FT-PSK" : "")) {
+ if (!wpa_cli_cmd_v("set_network %d key_mgmt WPA-PSK%s", resp.network_id,
+ params->ft_used ? " FT-PSK" : "")) {
|
Run Compliance Tests:
modules/hostap/src/supp_api.c#L1142
modules/hostap/src/supp_api.c:1142
- wpa_printf(MSG_ERROR, "%s: ssid too long %u",
- __func__, ssid_len);
+ wpa_printf(MSG_ERROR, "%s: ssid too long %u", __func__, ssid_len);
return -1;
}
if (ssid_len) {
- if (!wpa_cli_cmd_v("neighbor_rep_request ssid %s",
- params->ssid)) {
+ if (!wpa_cli_cmd_v("neighbor_rep_request ssid %s", params->ssid)) {
|
Run Compliance Tests:
modules/hostap/src/supp_api.c#L1153
modules/hostap/src/supp_api.c:1153
- wpa_printf(MSG_ERROR,
- "%s: cli cmd <neighbor_rep_request> fail",
- __func__);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <neighbor_rep_request> fail", __func__);
|
Run Compliance Tests:
modules/hostap/src/supp_api.c#L1187
modules/hostap/src/supp_api.c:1187
- wpa_printf(MSG_ERROR,
- "%s: cli cmd <scan %s> fail",
- __func__, cmd);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <scan %s> fail", __func__, cmd);
|
Run Compliance Tests:
modules/hostap/src/supp_api.c#L1217
modules/hostap/src/supp_api.c:1217
- if (wpa_s->reassociate || (wpa_s->wpa_state >= WPA_AUTHENTICATING &&
- wpa_s->wpa_state < WPA_COMPLETED)) {
+ if (wpa_s->reassociate ||
+ (wpa_s->wpa_state >= WPA_AUTHENTICATING && wpa_s->wpa_state < WPA_COMPLETED)) {
wpa_printf(MSG_INFO, "Reassociation is in progress, skip");
ret = 0;
goto out;
}
if (!wpa_cli_cmd_v("reassociate")) {
- wpa_printf(MSG_ERROR, "%s: cli cmd <reassociate> fail",
- __func__);
+ wpa_printf(MSG_ERROR, "%s: cli cmd <reassociate> fail", __func__);
|
Loading