Network configuration |
include/network/lan/wireless.ycp |
Wireless dialogs | |
|
|
This module has an unstable interface. |
Compose a typed key into a single-string representation
- Parameters:
-
type "passphrase", "ascii", "hex" key
- Return value:
-
prefixed key
Is the entered key valid? TODO: check according to the selected key length (or better adjust the length?)
- Parameters:
-
key lengths allowed real key lengths
Takes the WEP items from the list and returns the key lengths as integers Like the input, uses the real length which is 24 bits shorter than the marketing one. If the input is nil, return the default set of key lengths.
- Parameters:
-
enc_modes a subset of WEP40, WEP104, WEP128, WEP232, TKIP, CCMP
- Return value:
-
of real key lengths
Make a list of ComboBox items for authentication mode. We must translate WPA-PSK: it is "wpa-psk" in hwinfo but "psk" in syconfig (#74496).
- Parameters:
-
authmodes allowed modes as returned by hwinfo. nil == don't know.
- Return value:
-
combo box items
Wireless devices configuration dialog
- Return value:
-
dialog result
Wireless expert configuration dialog
- Return value:
-
dialog result
Used to add or edit a key
- Parameters:
-
tkey has s: for ascii or h: for passphrase lengths allowed real key lengths
Generate items for the keys table
- Parameters:
-
keys defaultk
In case the current default key is empty, find a nonempty one or the first one.
- Parameters:
-
keys defaultk
Wireless expert configuration dialog
- Return value:
-
dialog result
function to initialize widgets
- Parameters:
-
key widget id
function to store data from widget
- Parameters:
-
key widget id event ?
Event handler for EAP mode: enable or disable appropriate widgets
- Parameters:
-
key the widget receiving the event event the event being handled
- Return value:
-
nil so that the dialog loops on
function to initialize widgets
- Parameters:
-
key widget id
function to initialize widgets
- Parameters:
-
key widget id
Called when one of the two file browser buttons is pressed
- Parameters:
-
key widget id event ?
- Return value:
-
nil so that the dialog does not exit
Remap the buttons to their Wizard Sequencer values
- Parameters:
-
key the widget receiving the event event the event being handled
- Return value:
-
nil so that the dialog loops on
Called to validate that the file entered exists
- Parameters:
-
key widget id event ?
- Return value:
-
ok?
Called to validate that the whole dialog makes sense together
- Parameters:
-
key widget id event ?
- Return value:
-
ok?
Lays out a text entry and a push button, with proper alignment
- Parameters:
-
id button_id
Settings for WPA-EAP
- Return value:
-
dialog result
Detailed settings for WPA-EAP
- Return value:
-
dialog result