<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/wireless/reg.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-02-17T23:14:02Z</updated>
<entry>
<title>cfg80211: fix disabling channels based on hints</title>
<updated>2011-02-17T23:14:02Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2010-10-20T17:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90e0a215116242010646915ecd0951307fcce45c'/>
<id>urn:sha1:90e0a215116242010646915ecd0951307fcce45c</id>
<content type='text'>
commit ca4ffe8f2848169a8ded0ea8a60b2d81925564c9 upstream.

After a module loads you will have loaded the world roaming regulatory
domain or a custom regulatory domain. Further regulatory hints are
welcomed and should be respected unless the regulatory hint is coming
from a country IE as the IEEE spec allows for a country IE to be a subset
of what is allowed by the local regulatory agencies.

So disable all channels that do not fit a regulatory domain sent
from a unless the hint is from a country IE and the country IE had
no information about the band we are currently processing.

This fixes a few regulatory issues, for example for drivers that depend
on CRDA and had no 5 GHz freqencies allowed were not properly disabling
5 GHz at all, furthermore it also allows users to restrict devices
further as was intended.

If you recieve a country IE upon association we will also disable the
channels that are not allowed if the country IE had at least one
channel on the respective band we are procesing.

This was the original intention behind this design but it was
completely overlooked...

Cc: David Quan &lt;david.quan@atheros.com&gt;
Cc: Jouni Malinen &lt;jouni.malinen@atheros.com&gt;
cc: Easwar Krishnan &lt;easwar.krishnan@atheros.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cfg80211: fix allowing country IEs for WIPHY_FLAG_STRICT_REGULATORY</title>
<updated>2011-02-17T23:14:02Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2010-10-20T17:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ccdd7260400862eb08b1ece43d08e21a4f4406e'/>
<id>urn:sha1:9ccdd7260400862eb08b1ece43d08e21a4f4406e</id>
<content type='text'>
commit 749b527b21465fb079796c03ffb4302584dc31c1 upstream.

We should be enabling country IE hints for WIPHY_FLAG_STRICT_REGULATORY
even if we haven't yet recieved regulatory domain hint for the driver
if it needed one. Without this Country IEs are not passed on to drivers
that have set WIPHY_FLAG_STRICT_REGULATORY, today this is just all
Atheros chipset drivers: ath5k, ath9k, ar9170, carl9170.

This was part of the original design, however it was completely
overlooked...

Cc: Easwar Krishnan &lt;easwar.krishnan@atheros.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cfg80211: pass the reg hint initiator to helpers</title>
<updated>2011-02-17T23:14:02Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2010-10-20T17:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3f8c70a0a137e1487f2a306be0bebd9ff11d21e'/>
<id>urn:sha1:f3f8c70a0a137e1487f2a306be0bebd9ff11d21e</id>
<content type='text'>
commit 7ca43d03b1291481bdf894bbaec5d580e7684e7d upstream.

This is required later.

Cc: Easwar Krishnan &lt;easwar.krishnan@atheros.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cfg80211: fix regression on processing country IEs</title>
<updated>2010-10-25T18:43:14Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2010-10-19T00:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a171fba491f54216e356efa46096171a7ed01d10'/>
<id>urn:sha1:a171fba491f54216e356efa46096171a7ed01d10</id>
<content type='text'>
The patch 4f366c5:

	wireless: only use alpha2 regulatory information from country IE

removed some complex intersection we were always doing between the AP's
country IE info and what we got from CRDA. When CRDA sent us back a
regulatory domain we would do some sanity checks on that regulatory
domain response we just got. Part of these sanity checks included
checking that we already had performed an intersection for the
request of NL80211_REGDOM_SET_BY_COUNTRY_IE type.

This mean that cfg80211 was only processing country IEs for cases
where we already had an intersection, but since we removed enforcing
this this is no longer required, we should just apply the country
IE country hint with the data received from CRDA.

This patch has fixes intended for kernels &gt;= 2.6.36.

Cc: stable@kernel.org
Reported-by: Easwar Krishnan &lt;easwar.krishnan@atheros.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>cfg80211/mac80211: use lockdep_assert_held</title>
<updated>2010-09-16T19:46:00Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-09-15T11:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46a5ebaf02d69e26ee0f47a0b8d2d9bc619240d4'/>
<id>urn:sha1:46a5ebaf02d69e26ee0f47a0b8d2d9bc619240d4</id>
<content type='text'>
Instead of using a WARN_ON(!mutex_is_locked())
use lockdep_assert_held() which compiles away
completely when lockdep isn't enabled, and
also is a more accurate assertion since it
checks that the current thread is holding the
mutex.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>wireless: upcase alpha2 values in queue_regulatory_request</title>
<updated>2010-08-16T18:39:47Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-08-05T18:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c61029c77fb68d7a182c0ae010f0f9dcae4e196c'/>
<id>urn:sha1:c61029c77fb68d7a182c0ae010f0f9dcae4e196c</id>
<content type='text'>
This provides a little more flexibility for human users, and it allows
us to use isalpha rather than the custom is_alpha_upper.

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: Update of regulatory request initiator handling</title>
<updated>2010-07-28T20:24:01Z</updated>
<author>
<name>Yuri Ershov</name>
</author>
<published>2010-06-29T11:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4c322941ce0d7e2b7b8794ad70683123d9cb26a'/>
<id>urn:sha1:c4c322941ce0d7e2b7b8794ad70683123d9cb26a</id>
<content type='text'>
In some cases there could be possible dereferencing freed pointer. The
update is intended to avoid this issue.

Signed-off-by: Yuri Ershov &lt;ext-yuri.ershov@nokia.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>wireless: remove unneeded variable from regulatory_hint_11d()</title>
<updated>2010-07-26T19:32:41Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-07-22T11:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9f9b6e3e3128e2b4d01a6e5ed0bb73cbb9a0a37'/>
<id>urn:sha1:f9f9b6e3e3128e2b4d01a6e5ed0bb73cbb9a0a37</id>
<content type='text'>
The "rd" variable isn't needed any more since 4f366c5dabcb
"wireless: only use alpha2 regulatory information from country IE"

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>wireless: remove unnecessary reg_same_country_ie_hint</title>
<updated>2010-07-20T20:49:41Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-07-20T19:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34782e9e1e58810183f2c1201124e45314b37130'/>
<id>urn:sha1:34782e9e1e58810183f2c1201124e45314b37130</id>
<content type='text'>
"Might as well remove  reg_same_country_ie_hint() completely since we
already dealt with suspend/resume through the regulatory hint
disconnect." -- Luis

Reported-by: Luis R. Rodriguez &lt;mcgrof@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>wireless: only use alpha2 regulatory information from country IE</title>
<updated>2010-07-20T20:44:35Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-07-15T18:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f366c5dabcb936dd5754a35188bd699181fe1ce'/>
<id>urn:sha1:4f366c5dabcb936dd5754a35188bd699181fe1ce</id>
<content type='text'>
The meaning and/or usage of the country IE is somewhat poorly defined.
In practice, this means that regulatory rulesets in a country IE are
often incomplete and might be untrustworthy.  This removes the code
associated with interpreting those rulesets while preserving respect
for country "alpha2" codes also contained in the country IE.

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
