NetworkManager/test
Robert Love e92a2cc651 2006-03-02 Robert Love <rml@novell.com>
Add support for retrieving both the per-device speed and the
	per-network maximum supported rate.  Then change the getProperties
	DBUS API for both networks and devices to report this informaiton.
	Finally, display the information via both nm-applet and nm-tool:
	* gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
	  and set it.
	* gnome/applet/applet.c: Display the device's speed in the 'Connection
	  Information' dialog.
	* gnome/applet/applet.glade: Update the UI to show per-device speed.
	* gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
	  network_device_get_speed() and network_device_set_speed() for
	  retrieving and setting, respectively, a network device's current
	  speed.
	* src/nm-dbus-device.c: Send the device's speed on getProperties.
	* src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
	  in the function nm_device_802_11_wireless_get_bitrate() -- it does
	  not matter (yet) what the units are, because we only feed it its own
	  output.  Implement SIOCGIRATE and set the per-network maximum
	  supported rate during scanning.
	* src/nm-device-802-11-wireless.h: Export the function
	  nm_device_802_11_wireless_get_bitrate().
	* src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
	  function nm_device_802_3_ethernet_get_speed() for returning an
	  802.3's current speed, in Mb/s.
	* test/nm-tool.c: Display the per-device current speed, if available,
	  and the per-network maximum rate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1540 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 23:01:33 +00:00
..
libnm-util 2006-01-26 Robert Love <rml@novell.com> 2006-01-26 21:08:44 +00:00
test-common 2006-01-26 Robert Love <rml@novell.com> 2006-01-26 21:08:44 +00:00
.cvsignore 2005-10-18 Robert Love <rml@novell.com> 2005-10-18 14:52:49 +00:00
libnm_glib_test.c 2005-10-18 Christopher Aillon <caillon@redhat.com> 2005-10-18 14:10:58 +00:00
Makefile.am 2005-12-29 Dan Williams <dcbw@redhat.com> 2005-12-29 17:03:46 +00:00
nm-dhcp-opt-test.c 2005-03-24 Dan Williams <dcbw@redhat.com> 2005-03-24 18:25:36 +00:00
nm-tool.c 2006-03-02 Robert Love <rml@novell.com> 2006-03-02 23:01:33 +00:00
nminfotest.c 2005-09-10 Christopher Aillon <caillon@redhat.com> 2005-09-11 02:32:30 +00:00
NMLoadModules 2006-01-16 Robert Love <rml@novell.com> 2006-01-17 21:25:08 +00:00
nmnetlinktest.c 2005-03-14 Ray Strode <rstrode@redhat.com> 2005-03-15 05:30:15 +00:00
nmtestdevices.c 2006-01-11 Robert Love <rml@novell.com> 2006-01-11 21:07:29 +00:00