diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2010-05-31 15:32:13 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2010-05-31 15:32:13 +0200 |
commit | 12d26643e96197ee356c49d07d5f63598d1b2d36 (patch) | |
tree | 0ae971f6b89f5925156de2d1a1d345279eb9b75f /libnm-util/nm-utils.h | |
parent | 6810ef1422ec873240520b4f0b6e626908bc320c (diff) | |
download | NetworkManager-12d26643e96197ee356c49d07d5f63598d1b2d36.tar.gz |
libnm-util: add nm_utils_wifi_* functions to handle frequencies/channels
Diffstat (limited to 'libnm-util/nm-utils.h')
-rw-r--r-- | libnm-util/nm-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnm-util/nm-utils.h b/libnm-util/nm-utils.h index 68501d53fb..6be91793eb 100644 --- a/libnm-util/nm-utils.h +++ b/libnm-util/nm-utils.h @@ -215,4 +215,9 @@ GByteArray *nm_utils_rsa_key_encrypt (const GByteArray *data, G_END_DECLS +guint32 nm_utils_wifi_freq_to_channel (guint32 freq); +guint32 nm_utils_wifi_channel_to_freq (guint32 channel, const char *band); +guint32 nm_utils_wifi_find_next_channel (guint32 channel, int direction, char *band); +gboolean nm_utils_wifi_is_channel_valid (guint32 channel, const char *band); + #endif /* NM_UTILS_H */ |