Network Indicator sometime shows APs that aren't available in scan results

Bug #1188174 reported by Pat McGowan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Network Menu
Expired
Medium
Unassigned
touch-preview-images
Invalid
Medium
Ted Gould

Bug Description

Resuming the device in a new location with new access points does not result in the currently available access points displayed in the network pulldown

The nm demon may need to react to the events from powerd, although I am surprised there is no periodic rescan when no connection is active

Tags: dogfood
Revision history for this message
Josh Leverette (coder543) wrote :

What about rescanning when pulling down the network list in addition to powerd events? By the time the user pulls down the network list, they may have just gotten off of a moving vehicle after reading an ebook for the past half hour and decided that there is a nearby network, regardless of the fact that they haven't caused any powerd events to fire recently.

Rescanning by powerd would ensure a high probability of the network list already being accurate, but refreshing on pull down would give the user the desired results a few moments later if the powerd-triggered scan hadn't already done so.

Tony Espy (awe)
Changed in touch-preview-images:
status: New → Incomplete
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → Pat McGowan (pat-mcgowan)
Revision history for this message
Tony Espy (awe) wrote :

@Pat

Can you please add a build # and device to your description?

Also, how did you put the device to sleep? Did you verify that it actually went into suspend? AFAIK, we have a bug where the mako never actually suspends due to a driver wake_lock. I haven't tested the latest images with maguro, but will give it a try to tomorrow.

That said, I'm pretty sure this is an indicator bug, not a Network Manager bug. I created an upstart job with a simple script which sleeps for 10 seconds, and then runs the command 'nmcli dev wifi' to grab the latest scan list. I rebooted the phone, then took a walk around the block. When I came back inside, I had a good ~10-15m worth of scan output logged to /var/log/upstart/wifi-scan.out. Looking at the output, the scan list is indeed being updated as expected. My guess is that backend indicator network code ( ie. chewie-network ) isn't doing the right thing, and never cleans up APs that are no longer available in the scan results.

You do bring up a good point about Powerd and NM reacting to events from it. This is something that still needs to be looked at.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This was reported in build 153 on a mako
testing on saucy-19 today and cannot reproduce it.

Changed in touch-preview-images:
status: Incomplete → Invalid
Revision history for this message
Tony Espy (awe) wrote :

Re-opened and assigning to Ted for now.

I *think* this may be an issue where it always shows previously connected APs in the list, even if they are no longer present in the scan list.

Changed in touch-preview-images:
status: Invalid → Confirmed
assignee: Pat McGowan (pat-mcgowan) → Ted Gould (ted)
summary: - wifi aps not refreshed after resume
+ Network Indicator sometime shows APs that aren't available in scan
+ results
Tony Espy (awe)
Changed in touch-preview-images:
importance: Critical → Medium
Revision history for this message
Ted Gould (ted) wrote :

I don't think we're showing anything other than scan results. Though it would take us a bit to update after suspend, it seems unlike that was it. Considering the age of this bug, I think it might actually be a QMenuModel issue. Though we've since switched to Unity Menu Model. Can anyone recreate this on a modern image?

Changed in indicator-network:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Incomplete
Changed in touch-preview-images:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Network Menu because there has been no activity for 60 days.]

Changed in indicator-network:
status: Incomplete → Expired
Changed in touch-preview-images:
status: Incomplete → Invalid
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.