Re: more CVS 2-2 NMApplet



NetworkManagerDevice.c has two calls to nm_wireless_qual_to_percent, one in the function nm_device_update_signal_strength and one in nm_device_wireless_process_scan_results.

I have put two syslog prints in nm_device_update_signal_strength, one right after the call to nm_wireless_qual_to_percent and one right after

dev->options.wireless.strength = percent;

Both of these print are producing the same numbers as iwconfig produces for link quality.

I have put a syslog print in nm_device_wireless_process_scan_results right after the call to nm_wireless_qual_to_percent. This print always produce the value 0. I can't understand this. Beginning with ipw2200-0.21 scan stats are being reported by ipw2200. I am currently running ipw2200-1.0.0. I reinstalled ipw2200-0.21 but this made no change in the results. Here are the syslog prints.

Feb 3 17:55:56 localhost NetworkManager: Activation (eth1) successful, device activated. Feb 3 17:55:58 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:55:58 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:03 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:03 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:06 localhost NetworkManager: nm_device_wireless_process_scan_results after call to qual_to percent=0 Feb 3 17:56:06 localhost NetworkManager: nm_device_wireless_process_scan_results after call to qual_to percent=0 Feb 3 17:56:08 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:08 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:13 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:13 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:18 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:18 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:23 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:23 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:28 localhost NetworkManager: nm_device_wireless_process_scan_results after call to qual_to percent=0 Feb 3 17:56:28 localhost NetworkManager: nm_device_wireless_process_scan_results after call to qual_to percent=0 Feb 3 17:56:28 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=80 Feb 3 17:56:28 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=80 Feb 3 17:56:33 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:33 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86 Feb 3 17:56:38 localhost NetworkManager: nm_device_update_signal_strength after call qual_to percent=86 Feb 3 17:56:38 localhost NetworkManager: nm_device_update_signal_strength after dev->options percent=86

--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]