[gutsy] network-manager should set wlan to "essid off channel 0" if it disabled

Bug #164827 reported by Oleksij Rempel
2
Affects Status Importance Assigned to Milestone
NetworkManager
Fix Released
Medium
network-manager (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: network-manager

Short version:
If you disable "Wireles Network" with network-manager
it seems to set:
    iwconfig eth1 essid on

powertop report that ipw2200 have about 29 wps.

but should:
    iwconfig eth1 essid off channel 0
this will put ipw2200 to powersave mode and reduce wakeups count to 0.

Long version:

After Ubutnu init=1. Network-manager is not started. ipw2200 enabled but don't use any power.

eth1 unassociated ESSID:off/any
          Mode:Managed Channel=0 Access Point: Not-Associated
          Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
          Retry limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------------------------------------------------------------------------------------------
Ubuntu init=2. User is not logged. n-m set:
iwconfig eth1 essid on
i think it is OK

eth1 unassociated ESSID:""
          Mode:Managed Channel=0 Access Point: Not-Associated
          Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
          Retry limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------------------------------------------------------------------------------------------
After AP was connected.
Every think is OK.

eth1 IEEE 802.11g ESSID:"bla"
          Mode:Managed Frequency:2.457 GHz Access Point: 55:55:55:55:55:55
          Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
          Retry limit:7 RTS thr:off Fragment thr:off
          Encryption key:bla-bla-bla Security mode:open
          Power Management:off
          Link Quality=78/100 Signal level=-51 dBm Noise level=-91 dBm
          Rx invalid nwid:0 Rx invalid crypt:8 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
After n-m "Wireles Network" was disabled
it seems to set:
    iwconfig eth1 essid on
but should:
    iwconfig eth1 essid off channel 0
this will put ipw2200 to powersave mode

eth1 unassociated ESSID:""
          Mode:Managed Frequency=2.457 GHz Access Point: Not-Associated
          Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
          Retry limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:8 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Oleksij Rempel (olerem)
description: updated
Revision history for this message
Alexander Sack (asac) wrote :

i think ipw2200 kernel is loaded with associate=1 ... can you try to load it with =0 and see if you still get the power-consumption?

Changed in network-manager:
status: New → Incomplete
Revision history for this message
Oleksij Rempel (olerem) wrote : Re: [Bug 164827] Re: [gutsy] network-manager should set wlan to "essid off channel 0" if it disabled

Alexander Sack schrieb:
> i think ipw2200 kernel is loaded with associate=1 ... can you try to
> load it with =0 and see if you still get the power-consumption?
>
> ** Changed in: network-manager (Ubuntu)
> Status: New => Incomplete
>

yes, i tested it at first place and one more time with upstream version
 - no results.
Sorry i forgot it report.

"essid off channel 0" will/should not set the card to powersaving mode.
but it will reduce count of wakeups. May be for other cards too.

Regards,
Alex

Revision history for this message
Oleksij Rempel (olerem) wrote :

Alexander Sack schrieb:
> i think ipw2200 kernel is loaded with associate=1 ... can you try to
> load it with =0 and see if you still get the power-consumption?
>
> ** Changed in: network-manager (Ubuntu)
> Status: New => Incomplete
>
May be with this patch, will be no need to do this any more.
http://thread.gmane.org/gmane.linux.drivers.ipw2100.devel/8131

Changed in network-manager:
status: Unknown → New
Changed in network-manager:
status: New → Fix Released
Revision history for this message
Basilio Kublik (sourcercito) wrote :

I'm closing this report since this issue has been fixed upstream for some time now, so is already shipped by default in the current version of the application

Changed in network-manager:
importance: Undecided → Wishlist
status: Incomplete → Fix Released
Changed in network-manager:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.