[DPP R2] Added support for DPP R2 events
Added support for DPP R2 events that provide additional
details about the onboarding process of a remote enrollee.
Specifically, DPP R2 configurator waits for response from
the enrollee, which reports back the SSID, tried channels
and band support in case it cannot find the AP. When it
reports success, then it means that it is acutally connected.
Bug: 139381558
Test: Manual tests with DPP R1 and R2 enrollees
Test: atest DppManagerTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Change-Id: I0eba7fcca016ebbdbbd1bd5b44f02837fd982466
diff --git a/src/common/dpp.h b/src/common/dpp.h
index 0be26d7..abed3e4 100644
--- a/src/common/dpp.h
+++ b/src/common/dpp.h
@@ -185,6 +185,7 @@
};
#define DPP_MAX_CONF_OBJ 10
+#define DPP_MAX_CHANNELS 32
struct dpp_authentication {
void *msg_ctx;
@@ -265,6 +266,8 @@
char *groups_override;
unsigned int ignore_netaccesskey_mismatch:1;
#endif /* CONFIG_TESTING_OPTIONS */
+ unsigned short band_list[DPP_MAX_CHANNELS];
+ int band_list_size;
};
struct dpp_configurator {