|
@@ 339-350 (lines=12) @@
|
| 336 |
|
$wifiNetworkIdentification = "<key>SSID_STR</key> |
| 337 |
|
<string>$escapedSSID</string>"; |
| 338 |
|
|
| 339 |
|
if ($wired) { // override the above defaults for wired interfaces |
| 340 |
|
$payloadIdentifier = "firstactiveethernet"; |
| 341 |
|
$payloadShortName = _("Wired Network"); |
| 342 |
|
$payloadName = sprintf(_("%s configuration for wired network"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']); |
| 343 |
|
$encryptionTypeString = "any"; |
| 344 |
|
$setupModesString = " |
| 345 |
|
<key>SetupModes</key> |
| 346 |
|
<array> |
| 347 |
|
<string>System</string> |
| 348 |
|
</array>"; |
| 349 |
|
$wifiNetworkIdentification = ""; |
| 350 |
|
} |
| 351 |
|
|
| 352 |
|
if (count($consortiumOi) > 0) { // override the above defaults for HS20 configuration |
| 353 |
|
$payloadIdentifier = "hs20"; |
|
@@ 352-358 (lines=7) @@
|
| 349 |
|
$wifiNetworkIdentification = ""; |
| 350 |
|
} |
| 351 |
|
|
| 352 |
|
if (count($consortiumOi) > 0) { // override the above defaults for HS20 configuration |
| 353 |
|
$payloadIdentifier = "hs20"; |
| 354 |
|
$payloadShortName = _("Hotspot 2.0 Settings"); |
| 355 |
|
$payloadName = sprintf(_("%s Hotspot 2.0 configuration"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']); |
| 356 |
|
$encryptionTypeString = "WPA"; |
| 357 |
|
$wifiNetworkIdentification = $this->passPointBlock($consortiumOi); |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
$retval = "<dict>"; |
| 361 |
|
$retval .= $this->eapBlock($eapType, $realm, $cAUUIDList, $serverList); |