shill: add fields to Passpoint credentials
Adds the provider Friendly Name and the credentials expiration time to
Passpoint credentials. The new fields are received through the D-Bus
API, and then stored with the credentials set.
BUG=b:253360225
TEST='FEATURES="test" emerge-${BOARD} chromeos-base/shill
tast run dut wifi.PasspointSelection.* wifi.PasspointRoaming.*'
Change-Id: I8ab95920ef863e0aa723f26524a775585cb1c222
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/4013779
Tested-by: Damien Dejean <damiendejean@google.com>
Reviewed-by: Hugo Benichi <hugobenichi@google.com>
Commit-Queue: Damien Dejean <damiendejean@google.com>
Reviewed-by: Jason Jeremy Iman <jasongustaman@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 89508834348d794dee63e30a9eaa7a7ec02f5655
diff --git a/dbus/shill/dbus-constants.h b/dbus/shill/dbus-constants.h
index 760a0d4..48174c5 100644
--- a/dbus/shill/dbus-constants.h
+++ b/dbus/shill/dbus-constants.h
@@ -360,6 +360,9 @@
const char kPasspointCredentialsMeteredOverrideProperty[] = "MeteredOverride";
const char kPasspointCredentialsAndroidPackageNameProperty[] =
"AndroidPackageName";
+const char kPasspointCredentialsFriendlyNameProperty[] = "FriendlyName";
+const char kPasspointCredentialsExpirationTimeMillisecondsProperty[] =
+ "ExpirationTimeMilliseconds";
// Base Device property names.
const char kAddressProperty[] = "Address"; // Also used for IPConfig.