CVSROOT:        /cvs/gnome
Module name:    NetworkManager
Changes by:     rml     06/03/02 18:01:33

Modified files:
        .              : ChangeLog 
        gnome/applet   : applet-dbus-devices.c applet.c applet.glade 
                         nm-device.c nm-device.h 
        src            : nm-dbus-device.c nm-device-802-11-wireless.c 
                         nm-device-802-11-wireless.h 
                         nm-device-802-3-ethernet.c 
                         nm-device-802-3-ethernet.h 
        test           : nm-tool.c 

Log message:
2006-03-02  Robert Love  <[EMAIL PROTECTED]>

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.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=NetworkManager&who=rml&date=explicit&mindate=2006-03-02%2018:00&maxdate=2006-03-02%2018:02

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to