Re: [Bug 1437913] Re: 8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel 7265

2015-06-04 Thread Seth Forshee
On Thu, Jun 04, 2015 at 03:45:32PM -, Jason Gerard DeRose wrote:
 @sforshee - I'm trying to better understand the consequences of Ubuntu
 currently having an an old regulatory database version, as some
 System76 customers are having WiFi problems when connecting to AC
 routers with an Intel 7265 and `sudo iw reg set US` seems to fix their
 issues.
 
 In particular, should a regulatory domain be set automatically once the
 database is updated? Currently I'm seeing the world-regulatory domain
 (ie, not set), which seems to be an intersection of all domains and
 means some band that could be used aren't (in the US anyway).

The answer is a bit complicated. iwlwifi will actually read out a set of
custom regulatory rules from the firmware and supply those to the
wireless core. This becomes the default set of rules rather than the
generic world domain when no specific regulatory domain has been
supplied. This could be a similarly conservative set of rules meant to
be safe around the world, or it could reflect the rules of the country
where the device was intended to be sold (I'm not sure off the top of my
head which it is for this card, but my best recollection is that it's
the former).

To emphasize the point - even though the kernel has retrieved the world
domain from crda, prints them in dmesg, and outputs them in response to
'iw reg get', these rules are *not* being used for an Intel wireless
card unless the user has manually loaded those rules (e.g. 'iw reg set
00'). Instead the kernel is using the rules it was given by the device's
firmware.

When a specific regulatory domain is set a process in userspace (crda)
will read the rules for that domain from the regulatory database and
load them into the kernel, and those rules will be used instead of the
ones the driver supplied. Sometimes the access point will broadcast
information about the regulatory domain in its beacon frames, in which
case the regulatory rules for the country will be loaded automatically
when connecting to that AP. More often (in my experience at least) the
AP does not provide this information.

The update to the database will change nothing about this process. The
same rules are going to be supplied by iwlwifi, and country-specific
rules will still be loaded or not loaded automatically based on what the
AP is broadcasting exactly as before. All it will change is the rules
which get loaded into the kernel for a given regulatory domain.

You aren't specific about what kind of problems your customers are
experiencing. One possibility is that the AP is using a channel that the
default rules says is not allowed but the US rules do allow, and that
loading the US rules opens up use on that channel. If this is the
problem then it will not be fixed by updating the database.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437913

Title:
  8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
  7265

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1437913] Re: 8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel 7265

2015-06-03 Thread flickerfly
Thanks Andy

On Wed, Jun 3, 2015, 9:11 AM Seth Forshee seth.forshee...@canonical.com
wrote:

 ** Changed in: wireless-regdb (Ubuntu)
  Assignee: (unassigned) = Andy Whitcroft (apw)

 ** Changed in: wireless-regdb (Ubuntu Vivid)
  Assignee: (unassigned) = Andy Whitcroft (apw)

 ** Changed in: wireless-regdb (Ubuntu)
Importance: Medium = High

 ** Changed in: wireless-regdb (Ubuntu Vivid)
Importance: Medium = High

 ** Also affects: linux (Ubuntu Trusty)
Importance: Undecided
Status: New

 ** Also affects: wireless-regdb (Ubuntu Trusty)
Importance: Undecided
Status: New

 ** Also affects: linux (Ubuntu Wily)
Importance: High
Status: Invalid

 ** Also affects: wireless-regdb (Ubuntu Wily)
Importance: High
  Assignee: Andy Whitcroft (apw)
Status: Confirmed

 ** Changed in: linux (Ubuntu Trusty)
Status: New = Invalid

 ** Changed in: wireless-regdb (Ubuntu Trusty)
Status: New = Confirmed

 ** Changed in: wireless-regdb (Ubuntu Trusty)
Importance: Undecided = High

 ** Changed in: wireless-regdb (Ubuntu Trusty)
  Assignee: (unassigned) = Andy Whitcroft (apw)

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1437913

 Title:
   8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
   7265

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437913

Title:
  8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
  7265

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1437913] Re: 8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel 7265

2015-06-01 Thread flickerfly
Marvin, thanks for that regulatory database hint. I hadn't seen that yet.
I'll try it next time I get my laptop out. I've sadly been booting up
Windows frequently due to this bug and really want to stop that. :-)

On Mon, Jun 1, 2015 at 10:41 AM Seth Forshee seth.forshee...@canonical.com
wrote:

 ** Changed in: wireless-regdb (Ubuntu Vivid)
Importance: Undecided = Medium

 ** Changed in: wireless-regdb (Ubuntu Vivid)
Status: New = Confirmed

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1437913

 Title:
   8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
   7265

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437913

Title:
  8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
  7265

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1437913] Re: 8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel 7265

2015-05-31 Thread flickerfly
No, it isn't stable. It often fails again rapidly.

On Sun, May 31, 2015, 8:50 AM Benjamin Geese 1437...@bugs.launchpad.net
wrote:

 @flickerfly: Does is this fix permanent in that your internet keeps
 working after that disable/reenable until the next boot?

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1437913

 Title:
   8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
   7265

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437913

Title:
  8086:095b [Lenovo ThinkPad X250] Wifi unstable on vivid with Intel
  7265

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1437913/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs