Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- addMacBlacklistItem
- addMacDenylistItem
- addSeenBssid
- apSecurityCompatible
- clearMacBlacklistItems
- clearMacDenylistItems
- getApIsolation
- getBand
- getBssid
- getChannel
- getChannelWidth
- getClonedMacAddress
- getGenerateMacAddressMask
- getHidden
- getMacAddress
- getMacAddressBlacklist
- getMacAddressDenylist
- getMacAddressRandomization
- getMacBlacklistItem
- getMacDenylistItem
- getMode
- getMtu
- getNumMacBlacklistItems
- getNumMacDenylistItems
- getNumSeenBssids
- getPowersave
- getRate
- getSeenBssid
- getSsid
- getTxPower
- getWakeOnWlan
- new
- removeMacBlacklistItem
- removeMacBlacklistItemByValue
- removeMacDenylistItem
- removeMacDenylistItemByValue
- Properties
Wi-Fi Settings
Synopsis
- newtype SettingWireless = SettingWireless (ManagedPtr SettingWireless)
- class (GObject o, IsDescendantOf SettingWireless o) => IsSettingWireless o
- toSettingWireless :: (MonadIO m, IsSettingWireless o) => o -> m SettingWireless
- settingWirelessAddMacBlacklistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Text -> m Bool
- settingWirelessAddMacDenylistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Text -> m Bool
- settingWirelessAddSeenBssid :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Text -> m Bool
- settingWirelessApSecurityCompatible :: (HasCallStack, MonadIO m, IsSettingWireless a, IsSettingWirelessSecurity b) => a -> b -> [NM80211ApFlags] -> [NM80211ApSecurityFlags] -> [NM80211ApSecurityFlags] -> NM80211Mode -> m Bool
- settingWirelessClearMacBlacklistItems :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m ()
- settingWirelessClearMacDenylistItems :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m ()
- settingWirelessGetApIsolation :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Ternary
- settingWirelessGetBand :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetBssid :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetChannel :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetChannelWidth :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m SettingWirelessChannelWidth
- settingWirelessGetClonedMacAddress :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetGenerateMacAddressMask :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetHidden :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Bool
- settingWirelessGetMacAddress :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetMacAddressBlacklist :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m [Text]
- settingWirelessGetMacAddressDenylist :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m [Text]
- settingWirelessGetMacAddressRandomization :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m SettingMacRandomization
- settingWirelessGetMacBlacklistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Word32 -> m Text
- settingWirelessGetMacDenylistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Word32 -> m Text
- settingWirelessGetMode :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Text
- settingWirelessGetMtu :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetNumMacBlacklistItems :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetNumMacDenylistItems :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetNumSeenBssids :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetPowersave :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetRate :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetSeenBssid :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Word32 -> m Text
- settingWirelessGetSsid :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Bytes
- settingWirelessGetTxPower :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m Word32
- settingWirelessGetWakeOnWlan :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> m [SettingWirelessWakeOnWLan]
- settingWirelessNew :: (HasCallStack, MonadIO m) => m SettingWireless
- settingWirelessRemoveMacBlacklistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Word32 -> m ()
- settingWirelessRemoveMacBlacklistItemByValue :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Text -> m Bool
- settingWirelessRemoveMacDenylistItem :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Word32 -> m ()
- settingWirelessRemoveMacDenylistItemByValue :: (HasCallStack, MonadIO m, IsSettingWireless a) => a -> Text -> m Bool
- constructSettingWirelessApIsolation :: (IsSettingWireless o, MonadIO m) => Ternary -> m (GValueConstruct o)
- getSettingWirelessApIsolation :: (MonadIO m, IsSettingWireless o) => o -> m Ternary
- setSettingWirelessApIsolation :: (MonadIO m, IsSettingWireless o) => o -> Ternary -> m ()
- clearSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessBand :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- clearSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessBssid :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- constructSettingWirelessChannel :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessChannel :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessChannel :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- constructSettingWirelessChannelWidth :: (IsSettingWireless o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingWirelessChannelWidth :: (MonadIO m, IsSettingWireless o) => o -> m Int32
- setSettingWirelessChannelWidth :: (MonadIO m, IsSettingWireless o) => o -> Int32 -> m ()
- clearSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessClonedMacAddress :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- clearSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessGenerateMacAddressMask :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- constructSettingWirelessHidden :: (IsSettingWireless o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingWirelessHidden :: (MonadIO m, IsSettingWireless o) => o -> m Bool
- setSettingWirelessHidden :: (MonadIO m, IsSettingWireless o) => o -> Bool -> m ()
- clearSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessMacAddress :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- clearSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessMacAddressBlacklist :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o)
- getSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> m [Text]
- setSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m ()
- clearSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessMacAddressDenylist :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o)
- getSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> m [Text]
- setSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m ()
- constructSettingWirelessMacAddressRandomization :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessMacAddressRandomization :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessMacAddressRandomization :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- clearSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessMode :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> m Text
- setSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> Text -> m ()
- constructSettingWirelessMtu :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessMtu :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessMtu :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- constructSettingWirelessPowersave :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessPowersave :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessPowersave :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- constructSettingWirelessRate :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessRate :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessRate :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- clearSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessSeenBssids :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o)
- getSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> m (Maybe [Text])
- setSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m ()
- clearSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> m ()
- constructSettingWirelessSsid :: (IsSettingWireless o, MonadIO m) => Bytes -> m (GValueConstruct o)
- getSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> m Bytes
- setSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> Bytes -> m ()
- constructSettingWirelessTxPower :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessTxPower :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessTxPower :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
- constructSettingWirelessWakeOnWlan :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWirelessWakeOnWlan :: (MonadIO m, IsSettingWireless o) => o -> m Word32
- setSettingWirelessWakeOnWlan :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m ()
Exported types
newtype SettingWireless Source #
Memory-managed wrapper type.
Instances
Eq SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless (==) :: SettingWireless -> SettingWireless -> Bool # (/=) :: SettingWireless -> SettingWireless -> Bool # | |
GObject SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless | |
ManagedPtrNewtype SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless | |
TypedObject SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless | |
HasParentTypes SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless | |
IsGValue (Maybe SettingWireless) Source # | Convert |
Defined in GI.NM.Objects.SettingWireless gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingWireless -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingWireless) # | |
type ParentTypes SettingWireless Source # | |
Defined in GI.NM.Objects.SettingWireless |
class (GObject o, IsDescendantOf SettingWireless o) => IsSettingWireless o Source #
Type class for types which can be safely cast to SettingWireless
, for instance with toSettingWireless
.
Instances
(GObject o, IsDescendantOf SettingWireless o) => IsSettingWireless o Source # | |
Defined in GI.NM.Objects.SettingWireless |
toSettingWireless :: (MonadIO m, IsSettingWireless o) => o -> m SettingWireless Source #
Cast to SettingWireless
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
addMacBlacklistItem, addMacDenylistItem, addSeenBssid, apSecurityCompatible, bindProperty, bindPropertyFull, clearMacBlacklistItems, clearMacDenylistItems, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, removeMacBlacklistItem, removeMacBlacklistItemByValue, removeMacDenylistItem, removeMacDenylistItemByValue, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getApIsolation, getBand, getBssid, getChannel, getChannelWidth, getClonedMacAddress, getData, getDbusPropertyType, getGenerateMacAddressMask, getHidden, getMacAddress, getMacAddressBlacklist, getMacAddressDenylist, getMacAddressRandomization, getMacBlacklistItem, getMacDenylistItem, getMode, getMtu, getName, getNumMacBlacklistItems, getNumMacDenylistItems, getNumSeenBssids, getPowersave, getProperty, getQdata, getRate, getSecretFlags, getSeenBssid, getSsid, getTxPower, getWakeOnWlan.
Setters
addMacBlacklistItem
settingWirelessAddMacBlacklistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Deprecated: (Since version 1.48.)Use settingWirelessAddMacDenylistItem
instead.
Adds a new MAC address to the SettingWireless:macAddressDenylist property.
addMacDenylistItem
settingWirelessAddMacDenylistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Adds a new MAC address to the SettingWireless:macAddressDenylist property.
Since: 1.48
addSeenBssid
settingWirelessAddSeenBssid Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Text |
|
-> m Bool |
Adds a new Wi-Fi AP's BSSID to the previously seen BSSID list of the setting. NetworkManager now tracks previously seen BSSIDs internally so this function no longer has much use. Actually, changes you make using this function will not be preserved.
apSecurityCompatible
settingWirelessApSecurityCompatible Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a, IsSettingWirelessSecurity b) | |
=> a |
|
-> b |
|
-> [NM80211ApFlags] |
|
-> [NM80211ApSecurityFlags] |
|
-> [NM80211ApSecurityFlags] |
|
-> NM80211Mode |
|
-> m Bool | Returns: |
Given a SettingWireless
and an optional SettingWirelessSecurity
,
determine if the configuration given by the settings is compatible with
the security of an access point using that access point's capability flags
and mode. Useful for clients that wish to filter a set of connections
against a set of access points and determine which connections are
compatible with which access points.
clearMacBlacklistItems
settingWirelessClearMacBlacklistItems Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m () |
Deprecated: (Since version 1.48.)Use settingWirelessClearMacDenylistItems
instead.
Removes all denylisted MAC addresses.
clearMacDenylistItems
settingWirelessClearMacDenylistItems Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m () |
Removes all denylisted MAC addresses.
Since: 1.48
getApIsolation
settingWirelessGetApIsolation Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Ternary | Returns: the SettingWireless:apIsolation property of the setting |
No description available in the introspection data.
Since: 1.28
getBand
settingWirelessGetBand Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:band property of the setting |
No description available in the introspection data.
getBssid
settingWirelessGetBssid Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:bssid property of the setting |
No description available in the introspection data.
getChannel
settingWirelessGetChannel Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the SettingWireless:channel property of the setting |
No description available in the introspection data.
getChannelWidth
settingWirelessGetChannelWidth Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m SettingWirelessChannelWidth | Returns: the channel width |
Returns the SettingWireless:channelWidth property.
Since: 1.50
getClonedMacAddress
settingWirelessGetClonedMacAddress Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:clonedMacAddress property of the setting |
No description available in the introspection data.
getGenerateMacAddressMask
settingWirelessGetGenerateMacAddressMask Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:generateMacAddressMask property of the setting |
No description available in the introspection data.
Since: 1.4
getHidden
settingWirelessGetHidden Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Bool | Returns: the SettingWireless:hidden property of the setting |
No description available in the introspection data.
getMacAddress
settingWirelessGetMacAddress Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:macAddress property of the setting |
No description available in the introspection data.
getMacAddressBlacklist
settingWirelessGetMacAddressBlacklist Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m [Text] | Returns: the SettingWireless:macAddressBlacklist property of the setting |
Deprecated: (Since version 1.48.)Use settingWirelessGetMacAddressDenylist
instead.
No description available in the introspection data.
getMacAddressDenylist
settingWirelessGetMacAddressDenylist Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m [Text] | Returns: the SettingWireless:macAddressDenylist property of the setting |
No description available in the introspection data.
Since: 1.48
getMacAddressRandomization
settingWirelessGetMacAddressRandomization Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m SettingMacRandomization | Returns: the SettingWireless:macAddressRandomization property of the setting |
No description available in the introspection data.
Since: 1.2
getMacBlacklistItem
settingWirelessGetMacBlacklistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Word32 |
|
-> m Text | Returns: the denylisted MAC address string (hex-digits-and-colons notation)
at index |
Deprecated: (Since version 1.48.)Use settingWirelessGetMacDenylistItem
instead.
Since 1.46, access at index "len" is allowed and returns NULL.
getMacDenylistItem
settingWirelessGetMacDenylistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Word32 |
|
-> m Text | Returns: the denylisted MAC address string (hex-digits-and-colons notation)
at index |
No description available in the introspection data.
Since: 1.48
getMode
settingWirelessGetMode Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Text | Returns: the SettingWireless:mode property of the setting |
No description available in the introspection data.
getMtu
settingWirelessGetMtu Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the SettingWireless:mtu property of the setting |
No description available in the introspection data.
getNumMacBlacklistItems
settingWirelessGetNumMacBlacklistItems Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the number of blacklist MAC addresses |
Deprecated: (Since version 1.48.)Use settingWirelessGetNumMacDenylistItems
instead.
No description available in the introspection data.
getNumMacDenylistItems
settingWirelessGetNumMacDenylistItems Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the number of denylisted MAC addresses |
No description available in the introspection data.
Since: 1.48
getNumSeenBssids
settingWirelessGetNumSeenBssids Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the number of BSSIDs in the previously seen BSSID list |
No description available in the introspection data.
getPowersave
settingWirelessGetPowersave Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the SettingWireless:powersave property of the setting |
No description available in the introspection data.
Since: 1.2
getRate
settingWirelessGetRate Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the SettingWireless:rate property of the setting |
Deprecated: (Since version 1.44)This setting is not implemented and has no effect.
No description available in the introspection data.
getSeenBssid
settingWirelessGetSeenBssid Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Word32 |
|
-> m Text | Returns: the BSSID at index |
No description available in the introspection data.
getSsid
settingWirelessGetSsid Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Bytes | Returns: the SettingWireless:ssid property of the setting |
No description available in the introspection data.
getTxPower
settingWirelessGetTxPower Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m Word32 | Returns: the SettingWireless:txPower property of the setting |
Deprecated: (Since version 1.44)This setting is not implemented and has no effect.
No description available in the introspection data.
getWakeOnWlan
settingWirelessGetWakeOnWlan Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> m [SettingWirelessWakeOnWLan] | Returns: the Wake-on-WLAN options |
Returns the Wake-on-WLAN options enabled for the connection
Since: 1.12
new
:: (HasCallStack, MonadIO m) | |
=> m SettingWireless | Returns: the new empty |
Creates a new SettingWireless
object with default values.
removeMacBlacklistItem
settingWirelessRemoveMacBlacklistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Word32 |
|
-> m () |
Deprecated: (Since version 1.48.)Use settingWirelessRemoveMacDenylistItem
instead.
Removes the MAC address at index idx
from the denylist.
removeMacBlacklistItemByValue
settingWirelessRemoveMacBlacklistItemByValue Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Deprecated: (Since version 1.48.)Use settingWirelessRemoveMacDenylistItemByValue
instead.
Removes the MAC address mac
from the denylist.
removeMacDenylistItem
settingWirelessRemoveMacDenylistItem Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Word32 |
|
-> m () |
Removes the MAC address at index idx
from the denylist.
Since: 1.48
removeMacDenylistItemByValue
settingWirelessRemoveMacDenylistItemByValue Source #
:: (HasCallStack, MonadIO m, IsSettingWireless a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Removes the MAC address mac
from the denylist.
Since: 1.48
Properties
apIsolation
Configures AP isolation, which prevents communication between
wireless devices connected to this AP. This property can be set
to a value different from TernaryDefault
only when the
interface is configured in AP mode.
If set to TernaryTrue
, devices are not able to communicate
with each other. This increases security because it protects
devices against attacks from other clients in the network. At
the same time, it prevents devices to access resources on the
same wireless networks as file shares, printers, etc.
If set to TernaryFalse
, devices can talk to each other.
When set to TernaryDefault
, the global default is used; in
case the global default is unspecified it is assumed to be
TernaryFalse
.
Since: 1.28
constructSettingWirelessApIsolation :: (IsSettingWireless o, MonadIO m) => Ternary -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ap-isolation
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessApIsolation :: (MonadIO m, IsSettingWireless o) => o -> m Ternary Source #
Get the value of the “ap-isolation
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #apIsolation
setSettingWirelessApIsolation :: (MonadIO m, IsSettingWireless o) => o -> Ternary -> m () Source #
Set the value of the “ap-isolation
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #apIsolation:=
value ]
band
- 11 frequency band of the network. One of "a" for 5GHz 802.11a or "bg" for 2.4GHz 802.11. This will lock associations to the Wi-Fi network to the specific band, i.e. if "a" is specified, the device will not associate with the same network in the 2.4GHz band even if the network's settings are compatible. This setting depends on specific driver capability and may not work with all drivers.
clearSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “band
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#band
constructSettingWirelessBand :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “band
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “band
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #band
setSettingWirelessBand :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “band
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #band:=
value ]
bssid
If specified, directs the device to only associate with the given access point. This capability is highly driver dependent and not supported by all devices. Note: this property does not control the BSSID used when creating an Ad-Hoc network and is unlikely to in the future.
Locking a client profile to a certain BSSID will prevent roaming and also disable background scanning. That can be useful, if there is only one access point for the SSID.
clearSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “bssid
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#bssid
constructSettingWirelessBssid :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “bssid
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “bssid
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #bssid
setSettingWirelessBssid :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “bssid
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #bssid:=
value ]
channel
Wireless channel to use for the Wi-Fi connection. The device will only join (or create for Ad-Hoc networks) a Wi-Fi network on the specified channel. Because channel numbers overlap between bands, this property also requires the "band" property to be set.
constructSettingWirelessChannel :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “channel
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessChannel :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “channel
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #channel
setSettingWirelessChannel :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “channel
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #channel:=
value ]
channelWidth
Specifies width of the wireless channel in Access Point (AP) mode.
When set to SettingWirelessChannelWidthAuto
(the default), the
channel width is automatically determined. At the moment, this means that
the safest (smallest) width is chosen.
If the value is not SettingWirelessChannelWidthAuto
, then the
'channel' property must also be set. When using the 2.4GHz band, the width
can be at most 40MHz.
This property can be set to a value different from
SettingWirelessChannelWidthAuto
only when the interface is configured
in AP mode.
Since: 1.50
constructSettingWirelessChannelWidth :: (IsSettingWireless o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “channel-width
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessChannelWidth :: (MonadIO m, IsSettingWireless o) => o -> m Int32 Source #
Get the value of the “channel-width
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #channelWidth
setSettingWirelessChannelWidth :: (MonadIO m, IsSettingWireless o) => o -> Int32 -> m () Source #
Set the value of the “channel-width
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #channelWidth:=
value ]
clonedMacAddress
If specified, request that the device use this MAC address instead. This is known as MAC cloning or spoofing.
Beside explicitly specifying a MAC address, the special values "preserve", "permanent", "random", "stable" and "stable-ssid" are supported. "preserve" means not to touch the MAC address on activation. "permanent" means to use the permanent hardware address of the device. "random" creates a random MAC address on each connect. "stable" creates a hashed MAC address based on connection.stable-id and a machine dependent key. "stable-ssid" creates a hashed MAC address based on the SSID, the same as setting the stable-id to "${NETWORK_SSID}".
If unspecified, the value can be overwritten via global defaults, see manual of NetworkManager.conf. If still unspecified, it defaults to "preserve" (older versions of NetworkManager may use a different default value).
On D-Bus, this field is expressed as "assigned-mac-address" or the deprecated "cloned-mac-address".
clearSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “cloned-mac-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#clonedMacAddress
constructSettingWirelessClonedMacAddress :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “cloned-mac-address
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “cloned-mac-address
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #clonedMacAddress
setSettingWirelessClonedMacAddress :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “cloned-mac-address
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #clonedMacAddress:=
value ]
generateMacAddressMask
With SettingWireless:clonedMacAddress setting "random" or "stable", by default all bits of the MAC address are scrambled and a locally-administered, unicast MAC address is created. This property allows to specify that certain bits are fixed. Note that the least significant bit of the first MAC address will always be unset to create a unicast MAC address.
If the property is Nothing
, it is eligible to be overwritten by a default
connection setting. If the value is still Nothing
or an empty string, the
default is to create a locally-administered, unicast MAC address.
If the value contains one MAC address, this address is used as mask. The set bits of the mask are to be filled with the current MAC address of the device, while the unset bits are subject to randomization. Setting "FE:FF:FF:00:00:00" means to preserve the OUI of the current MAC address and only randomize the lower 3 bytes using the "random" or "stable" algorithm.
If the value contains one additional MAC address after the mask, this address is used instead of the current MAC address to fill the bits that shall not be randomized. For example, a value of "FE:FF:FF:00:00:00 68:F7:28:00:00:00" will set the OUI of the MAC address to 68:F7:28, while the lower bits are randomized. A value of "02:00:00:00:00:00 00:00:00:00:00:00" will create a fully scrambled globally-administered, burned-in MAC address.
If the value contains more than one additional MAC addresses, one of them is chosen randomly. For example, "02:00:00:00:00:00 00:00:00:00:00:00 02:00:00:00:00:00" will create a fully scrambled MAC address, randomly locally or globally administered.
clearSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “generate-mac-address-mask
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#generateMacAddressMask
constructSettingWirelessGenerateMacAddressMask :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “generate-mac-address-mask
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “generate-mac-address-mask
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #generateMacAddressMask
setSettingWirelessGenerateMacAddressMask :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “generate-mac-address-mask
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #generateMacAddressMask:=
value ]
If True
, indicates that the network is a non-broadcasting network that
hides its SSID. This works both in infrastructure and AP mode.
In infrastructure mode, various workarounds are used for a more reliable discovery of hidden networks, such as probe-scanning the SSID. However, these workarounds expose inherent insecurities with hidden SSID networks, and thus hidden SSID networks should be used with caution.
In AP mode, the created network does not broadcast its SSID.
Note that marking the network as hidden may be a privacy issue for you (in infrastructure mode) or client stations (in AP mode), as the explicit probe-scans are distinctly recognizable on the air.
constructSettingWirelessHidden :: (IsSettingWireless o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hidden
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessHidden :: (MonadIO m, IsSettingWireless o) => o -> m Bool Source #
Get the value of the “hidden
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #hidden
setSettingWirelessHidden :: (MonadIO m, IsSettingWireless o) => o -> Bool -> m () Source #
Set the value of the “hidden
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #hidden:=
value ]
macAddress
If specified, this connection will only apply to the Wi-Fi device whose permanent MAC address matches. This property does not change the MAC address of the device (i.e. MAC spoofing).
clearSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “mac-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#macAddress
constructSettingWirelessMacAddress :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #macAddress
setSettingWirelessMacAddress :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #macAddress:=
value ]
macAddressBlacklist
A list of permanent MAC addresses of Wi-Fi devices to which this connection should never apply. Each MAC address should be given in the standard hex-digits-and-colons notation (eg "00:11:22:33:44:55").
clearSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “mac-address-blacklist
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#macAddressBlacklist
constructSettingWirelessMacAddressBlacklist :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address-blacklist
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> m [Text] Source #
Get the value of the “mac-address-blacklist
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #macAddressBlacklist
setSettingWirelessMacAddressBlacklist :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m () Source #
Set the value of the “mac-address-blacklist
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #macAddressBlacklist:=
value ]
macAddressDenylist
A list of permanent MAC addresses of Wi-Fi devices to which this connection should never apply. Each MAC address should be given in the standard hex-digits-and-colons notation (eg "00:11:22:33:44:55").
clearSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “mac-address-denylist
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#macAddressDenylist
constructSettingWirelessMacAddressDenylist :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address-denylist
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> m [Text] Source #
Get the value of the “mac-address-denylist
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #macAddressDenylist
setSettingWirelessMacAddressDenylist :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m () Source #
Set the value of the “mac-address-denylist
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #macAddressDenylist:=
value ]
macAddressRandomization
One of SettingMacRandomizationDefault
(never randomize unless
the user has set a global default to randomize and the supplicant
supports randomization), SettingMacRandomizationNever
(never
randomize the MAC address), or SettingMacRandomizationAlways
(always randomize the MAC address).
Since: 1.2
constructSettingWirelessMacAddressRandomization :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address-randomization
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMacAddressRandomization :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “mac-address-randomization
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #macAddressRandomization
setSettingWirelessMacAddressRandomization :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “mac-address-randomization
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #macAddressRandomization:=
value ]
mode
Wi-Fi network mode; one of "infrastructure", "mesh", "adhoc" or "ap". If blank, infrastructure is assumed.
clearSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “mode
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#mode
constructSettingWirelessMode :: (IsSettingWireless o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mode
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> m Text Source #
Get the value of the “mode
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #mode
setSettingWirelessMode :: (MonadIO m, IsSettingWireless o) => o -> Text -> m () Source #
Set the value of the “mode
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #mode:=
value ]
mtu
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple Ethernet frames.
constructSettingWirelessMtu :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mtu
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessMtu :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #mtu
setSettingWirelessMtu :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #mtu:=
value ]
powersave
One of SettingWirelessPowersaveDisable
(disable Wi-Fi power
saving), SettingWirelessPowersaveEnable
(enable Wi-Fi power
saving), SettingWirelessPowersaveIgnore
(don't touch currently
configure setting) or SettingWirelessPowersaveDefault
(use the
globally configured value). All other values are reserved.
Since: 1.2
constructSettingWirelessPowersave :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “powersave
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessPowersave :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “powersave
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #powersave
setSettingWirelessPowersave :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “powersave
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #powersave:=
value ]
rate
This property is not implemented and has no effect.
constructSettingWirelessRate :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “rate
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessRate :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “rate
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #rate
setSettingWirelessRate :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “rate
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #rate:=
value ]
seenBssids
A list of BSSIDs (each BSSID formatted as a MAC address like "00:11:22:33:44:55") that have been detected as part of the Wi-Fi network. NetworkManager internally tracks previously seen BSSIDs. The property is only meant for reading and reflects the BSSID list of NetworkManager. The changes you make to this property will not be preserved.
This is not a regular property that the user would configure. Instead, NetworkManager automatically sets the seen BSSIDs and tracks them internally in "/var/lib/NetworkManager/seen-bssids" file.
clearSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “seen-bssids
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#seenBssids
constructSettingWirelessSeenBssids :: (IsSettingWireless o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “seen-bssids
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> m (Maybe [Text]) Source #
Get the value of the “seen-bssids
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #seenBssids
setSettingWirelessSeenBssids :: (MonadIO m, IsSettingWireless o) => o -> [Text] -> m () Source #
Set the value of the “seen-bssids
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #seenBssids:=
value ]
ssid
SSID of the Wi-Fi network. Must be specified.
clearSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> m () Source #
Set the value of the “ssid
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ssid
constructSettingWirelessSsid :: (IsSettingWireless o, MonadIO m) => Bytes -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ssid
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> m Bytes Source #
Get the value of the “ssid
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #ssid
setSettingWirelessSsid :: (MonadIO m, IsSettingWireless o) => o -> Bytes -> m () Source #
Set the value of the “ssid
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #ssid:=
value ]
txPower
This property is not implemented and has no effect.
constructSettingWirelessTxPower :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “tx-power
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessTxPower :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “tx-power
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #txPower
setSettingWirelessTxPower :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “tx-power
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #txPower:=
value ]
wakeOnWlan
The SettingWirelessWakeOnWLan
options to enable. Not all devices support all options.
May be any combination of SettingWirelessWakeOnWLanAny
,
SettingWirelessWakeOnWLanDisconnect
,
SettingWirelessWakeOnWLanMagic
,
SettingWirelessWakeOnWLanGtkRekeyFailure
,
SettingWirelessWakeOnWLanEapIdentityRequest
,
SettingWirelessWakeOnWLan4wayHandshake
,
SettingWirelessWakeOnWLanRfkillRelease
,
SettingWirelessWakeOnWLanTcp
or the special values
SettingWirelessWakeOnWLanDefault
(to use global settings) and
SettingWirelessWakeOnWLanIgnore
(to disable management of Wake-on-LAN in
NetworkManager).
Since: 1.12
constructSettingWirelessWakeOnWlan :: (IsSettingWireless o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “wake-on-wlan
” property. This is rarely needed directly, but it is used by new
.
getSettingWirelessWakeOnWlan :: (MonadIO m, IsSettingWireless o) => o -> m Word32 Source #
Get the value of the “wake-on-wlan
” property.
When overloading is enabled, this is equivalent to
get
settingWireless #wakeOnWlan
setSettingWirelessWakeOnWlan :: (MonadIO m, IsSettingWireless o) => o -> Word32 -> m () Source #
Set the value of the “wake-on-wlan
” property.
When overloading is enabled, this is equivalent to
set
settingWireless [ #wakeOnWlan:=
value ]