summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-access-point.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-03-12 17:44:39 +0000
committerDan Williams <dcbw@redhat.com>2008-03-12 17:44:39 +0000
commitea7fd7fffd60864219d933d657b7d993de616873 (patch)
tree173ae9e0d43b21374a70e5af66b221fa1df3723f /libnm-glib/nm-access-point.h
parent7896d4552d719fb186fe113d1ade86d0ae33cdd9 (diff)
2008-03-12 Dan Williams <dcbw@redhat.com>
Harmonize the 802.11 bitrate API * introspection/nm-access-point.xml - 'Rate' -> 'MaxBitrate'; clarify units * introspection/nm-device-802-11-wireless.xml - Clarify units of 'Bitrate' * src/NetworkManagerAP.c src/NetworkManagerAP.h - (set_property, get_property, nm_ap_class_init): rename 'rate' property to 'max-bitrate' - (foreach_property_cb): convert rate to Kb/s * src/nm-device-802-11-wireless.c - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s * libnm-glib/nm-access-point.c libnm-glib/nm-access-point.h - 'rate' -> 'max-bitrate' * test/nm-tool.c libnm-glib/libnm-glib-test.c - Fix up for these changes git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3432 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-access-point.h')
-rw-r--r--libnm-glib/nm-access-point.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnm-glib/nm-access-point.h b/libnm-glib/nm-access-point.h
index 37e6f9b13..a35785f63 100644
--- a/libnm-glib/nm-access-point.h
+++ b/libnm-glib/nm-access-point.h
@@ -15,13 +15,13 @@ G_BEGIN_DECLS
#define NM_ACCESS_POINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_ACCESS_POINT, NMAccessPointClass))
#define NM_ACCESS_POINT_FLAGS "flags"
-#define NM_ACCESS_POINT_WPA_FLAGS "wpa_flags"
-#define NM_ACCESS_POINT_RSN_FLAGS "rsn_flags"
+#define NM_ACCESS_POINT_WPA_FLAGS "wpa-flags"
+#define NM_ACCESS_POINT_RSN_FLAGS "rsn-flags"
#define NM_ACCESS_POINT_SSID "ssid"
#define NM_ACCESS_POINT_FREQUENCY "frequency"
-#define NM_ACCESS_POINT_HW_ADDRESS "hw_address"
+#define NM_ACCESS_POINT_HW_ADDRESS "hw-address"
#define NM_ACCESS_POINT_MODE "mode"
-#define NM_ACCESS_POINT_RATE "rate"
+#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
#define NM_ACCESS_POINT_STRENGTH "strength"
typedef struct {
@@ -43,7 +43,7 @@ const GByteArray * nm_access_point_get_ssid (NMAccessPoint *ap);
guint32 nm_access_point_get_frequency (NMAccessPoint *ap);
const char * nm_access_point_get_hw_address (NMAccessPoint *ap);
int nm_access_point_get_mode (NMAccessPoint *ap);
-guint32 nm_access_point_get_rate (NMAccessPoint *ap);
+guint32 nm_access_point_get_max_bitrate (NMAccessPoint *ap);
gint8 nm_access_point_get_strength (NMAccessPoint *ap);
G_END_DECLS