From ddccfb67796c06194db5429d41735275fe265e81 Mon Sep 17 00:00:00 2001 From: Michael Plass Date: Wed, 9 Oct 2019 14:23:20 -0700 Subject: [WifiScoreCardProto] Remove unused fields. Remove protos for unused fields and messages. These were never used, but reserve the codes anyway. Bug: 136675430 Test: FrameworksWifiTests Change-Id: I13f8741a2c9960e75939de95e0455bd4a9ee3229 --- service/proto/src/scorecard.proto | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'service') diff --git a/service/proto/src/scorecard.proto b/service/proto/src/scorecard.proto index da9128263..27e1e13cb 100644 --- a/service/proto/src/scorecard.proto +++ b/service/proto/src/scorecard.proto @@ -52,9 +52,9 @@ message AccessPoint { optional int32 id = 1; // Concise id optional bytes bssid = 2; // BSSID of the access point (not stored) optional SecurityType security_type = 6; // Wireless security type - optional Technology technology = 3; // Wireless technology + reserved 3; repeated Signal event_stats = 4; // Statistics taken at specific events - repeated Roam roams = 5; // Roaming failures and successes + reserved 5; }; // Describes the IEEE 802.11 security type @@ -68,16 +68,6 @@ enum SecurityType { OWE = 6; // Opportunistic Wireless Encryption }; -// Describes the IEEE 802.11 technology used by the access point -enum Technology { - MODE_UNKNOWN = 0; // not known - MODE_11A = 1; // 802.11a - MODE_11B = 2; // 802.11b - MODE_11G = 3; // 802.11g - MODE_11N = 4; // 802.11n - MODE_11AC = 5; // 802.11ac -}; - // Records statistics gathered at various points in the life-cycle of // a connection, e.g., at disconnections of various flavors. May be // further split out by frequency. @@ -106,13 +96,6 @@ message UnivariateStatistic { optional double historical_variance = 7; // Long-term variance }; -// Tracks roaming failures and successes -message Roam { - optional int32 to_id = 1; // AP that we roamed to - optional int32 good = 2; // Successful roams - optional int32 bad = 3; // Failed roams -}; - // Events where statistics may be collected enum Event { SIGNAL_POLL = 1; -- cgit v1.2.3