diff options
author | samueltan <samueltan@chromium.org> | 2015-04-16 14:21:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-16 21:21:44 +0000 |
commit | f8c7616547bed21a7296d8beb3962068aa301366 (patch) | |
tree | aa3d2687042ebdda6175b85ee64420f9409327ca /chromeos/network | |
parent | 274eb3202c59d4842c191e924577e81f14044af5 (diff) | |
download | chromium_src-f8c7616547bed21a7296d8beb3962068aa301366.zip chromium_src-f8c7616547bed21a7296d8beb3962068aa301366.tar.gz chromium_src-f8c7616547bed21a7296d8beb3962068aa301366.tar.bz2 |
Add an ONC property for setting per-network roam threshold
This CL maps an ONC property for setting per-network roam threshold.
BUG=chrome-os-partner:38681
TEST=Expanded test ONC and JSON test sets
Review URL: https://codereview.chromium.org/1087353002
Cr-Commit-Position: refs/heads/master@{#325515}
Diffstat (limited to 'chromeos/network')
-rw-r--r-- | chromeos/network/onc/onc_signature.cc | 1 | ||||
-rw-r--r-- | chromeos/network/onc/onc_translation_tables.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/network/onc/onc_signature.cc b/chromeos/network/onc/onc_signature.cc index 551fa34..b84421d 100644 --- a/chromeos/network/onc/onc_signature.cc +++ b/chromeos/network/onc/onc_signature.cc @@ -210,6 +210,7 @@ const OncFieldSignature wifi_fields[] = { {::onc::wifi::kHexSSID, &kStringSignature}, {::onc::wifi::kHiddenSSID, &kBoolSignature}, {::onc::wifi::kPassphrase, &kStringSignature}, + {::onc::wifi::kRoamThreshold, &kIntegerSignature}, {::onc::wifi::kSSID, &kStringSignature}, {::onc::wifi::kSecurity, &kStringSignature}, {NULL}}; diff --git a/chromeos/network/onc/onc_translation_tables.cc b/chromeos/network/onc/onc_translation_tables.cc index ad7eef8..575fdef 100644 --- a/chromeos/network/onc/onc_translation_tables.cc +++ b/chromeos/network/onc/onc_translation_tables.cc @@ -120,6 +120,7 @@ const FieldTranslationEntry wifi_fields[] = { {::onc::wifi::kHexSSID, shill::kWifiHexSsid}, {::onc::wifi::kHiddenSSID, shill::kWifiHiddenSsid}, {::onc::wifi::kPassphrase, shill::kPassphraseProperty}, + {::onc::wifi::kRoamThreshold, shill::kWifiRoamThresholdProperty}, // This field is converted during translation, see onc_translator_*. // { ::onc::wifi::kSecurity, shill::kSecurityClassProperty }, {::onc::wifi::kSignalStrength, shill::kSignalStrengthProperty}, |