<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ral, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r278551:</title>
<updated>2015-02-22T15:27:02+00:00</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2015-02-22T15:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9ba452ffda938eaea60a6a6a4e3ee99aa4199a4f'/>
<id>9ba452ffda938eaea60a6a6a4e3ee99aa4199a4f</id>
<content type='text'>
Add preliminary support for the Ralink RT5390 and RT5392 chipsets.
Committed over the D-Link DWA-525 rev A2 on amd64 with WPA.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add preliminary support for the Ralink RT5390 and RT5392 chipsets.
Committed over the D-Link DWA-525 rev A2 on amd64 with WPA.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r260061</title>
<updated>2014-04-25T22:04:40+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2014-04-25T22:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ac73391f521ac205cf65c39348bbe4366816be04'/>
<id>ac73391f521ac205cf65c39348bbe4366816be04</id>
<content type='text'>
- Add support for using MSI instead of INTx, controllable via the tunable
  hw.ral.msi_disable (defaulting to using MSI).
- Probe with BUS_PROBE_DEFAULT instead of 0.
- Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0
  devices.
- Use PCIR_BAR instead of a homegrown macro.
- There's no need to keep track of resource IDs.
- Release resources again in case attaching fails.
- Quiesce the interrupt before detaching.
- Sprinkle const.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
- Trim headers.
- Nuke dupe $FreeBSD$.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add support for using MSI instead of INTx, controllable via the tunable
  hw.ral.msi_disable (defaulting to using MSI).
- Probe with BUS_PROBE_DEFAULT instead of 0.
- Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0
  devices.
- Use PCIR_BAR instead of a homegrown macro.
- There's no need to keep track of resource IDs.
- Release resources again in case attaching fails.
- Quiesce the interrupt before detaching.
- Sprinkle const.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
- Trim headers.
- Nuke dupe $FreeBSD$.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r260444:</title>
<updated>2014-02-17T01:36:53+00:00</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2014-02-17T01:36:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=434976f6cd42b5bf4e4b90394940bf104607befe'/>
<id>434976f6cd42b5bf4e4b90394940bf104607befe</id>
<content type='text'>
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by:	adrian, rpaulo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by:	adrian, rpaulo
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r258779,r258780,r258787,r258822:</title>
<updated>2014-02-04T03:36:42+00:00</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-02-04T03:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eca45e57193faeac9fd7a519ed8aef106f2234b5'/>
<id>eca45e57193faeac9fd7a519ed8aef106f2234b5</id>
<content type='text'>
Fix undefined behavior: (1 &lt;&lt; 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U &lt;&lt; 31) which gets the
expected result.

Similar to the (1 &lt;&lt; 31) case it is not defined to do (2 &lt;&lt; 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix undefined behavior: (1 &lt;&lt; 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U &lt;&lt; 31) which gets the
expected result.

Similar to the (1 &lt;&lt; 31) case it is not defined to do (2 &lt;&lt; 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement basic 802.11n awareness in the PHY and AMRR rate control code.</title>
<updated>2013-07-04T21:16:49+00:00</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2013-07-04T21:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f8bf74f232252ad22e499b12b9b23fc3729abc68'/>
<id>f8bf74f232252ad22e499b12b9b23fc3729abc68</id>
<content type='text'>
* Add 802.11n 2ghz and 5ghz tables, including legacy rates and up to
  MCS23 rates (3x3.)

* Populate the rate code -&gt; rate index lookup table with MCS _and_
  normal rates, but _not_ the basic rate flag.  Since the basic rate flag
  is the same as the MCS flag, we can only use one.

* Introduce some accessor inlines that do PLCP and rate table lookup/access
  and enforce that it doesn't set the basic rate bit.  They're not
  designed for MCS rates, so it will panic.

* Start converting drivers that use the rate table stuff to use the
  accessor inlines and strip the basic flag.

* Teach AMRR about basic 11n - it's still as crap for MCS as it is
  being used by iwn, so it's not a step _backwardS_.

* Convert iwn over to accept 11n MCS rates rather than 'translate' legacy
  to MCS rates.  It doesn't use a lookup table any longer; instead it's a
  function which takes the current node (for HT parameters) and the
  rate code, and returns the hardware PLCP code to use.

Tested:

* ath - it's a no-op, and it works that way
* iwn - both 11n and non-11n
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add 802.11n 2ghz and 5ghz tables, including legacy rates and up to
  MCS23 rates (3x3.)

* Populate the rate code -&gt; rate index lookup table with MCS _and_
  normal rates, but _not_ the basic rate flag.  Since the basic rate flag
  is the same as the MCS flag, we can only use one.

* Introduce some accessor inlines that do PLCP and rate table lookup/access
  and enforce that it doesn't set the basic rate bit.  They're not
  designed for MCS rates, so it will panic.

* Start converting drivers that use the rate table stuff to use the
  accessor inlines and strip the basic flag.

* Teach AMRR about basic 11n - it's still as crap for MCS as it is
  being used by iwn, so it's not a step _backwardS_.

* Convert iwn over to accept 11n MCS rates rather than 'translate' legacy
  to MCS rates.  It doesn't use a lookup table any longer; instead it's a
  function which takes the current node (for HT parameters) and the
  rate code, and returns the hardware PLCP code to use.

Tested:

* ath - it's a no-op, and it works that way
* iwn - both 11n and non-11n
</pre>
</div>
</content>
</entry>
<entry>
<title>Mechanically substitute flags from historic mbuf allocator with</title>
<updated>2012-12-04T09:32:43+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-12-04T09:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c6499eccad497913a5025fbde8ae76da70e08043'/>
<id>c6499eccad497913a5025fbde8ae76da70e08043</id>
<content type='text'>
malloc(9) flags in sys/dev.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
malloc(9) flags in sys/dev.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for Ralink RT2800/RT3000 chipsets.</title>
<updated>2012-05-10T17:41:16+00:00</updated>
<author>
<name>Bernhard Schmidt</name>
<email>bschmidt@FreeBSD.org</email>
</author>
<published>2012-05-10T17:41:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4310d6deb27da04d3fe079a0584edd557a764e21'/>
<id>4310d6deb27da04d3fe079a0584edd557a764e21</id>
<content type='text'>
Thanks to ray@, Sevan and Sergey Dyatko for feedback and testing!

Obtained from:	OpenBSD
MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to ray@, Sevan and Sergey Dyatko for feedback and testing!

Obtained from:	OpenBSD
MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some net80211 enum nits:</title>
<updated>2011-12-17T10:23:17+00:00</updated>
<author>
<name>Bernhard Schmidt</name>
<email>bschmidt@FreeBSD.org</email>
</author>
<published>2011-12-17T10:23:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fcd9500f91d73a30f2ea8167a6d5e330e7d9e92f'/>
<id>fcd9500f91d73a30f2ea8167a6d5e330e7d9e92f</id>
<content type='text'>
- ic_vap_create() uses an ieee80211_opmode argument
- ieee80211_rate2media() takes an ieee80211_phymode argument
- ieee80211_plcp2rate() takes an ieee80211_phytype argument
- cast to enum ieee80211_protmode and ieee80211_roamingmode to silence
  compiler warnings

Submitted by:	arundel@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ic_vap_create() uses an ieee80211_opmode argument
- ieee80211_rate2media() takes an ieee80211_phymode argument
- ieee80211_plcp2rate() takes an ieee80211_phytype argument
- cast to enum ieee80211_protmode and ieee80211_roamingmode to silence
  compiler warnings

Submitted by:	arundel@
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't hardcode assumptions about basic rates, similar to what the rt2661</title>
<updated>2011-04-09T14:45:50+00:00</updated>
<author>
<name>Bernhard Schmidt</name>
<email>bschmidt@FreeBSD.org</email>
</author>
<published>2011-04-09T14:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=139127ce5ee9a5c038c8e1a44d96fb96bda23345'/>
<id>139127ce5ee9a5c038c8e1a44d96fb96bda23345</id>
<content type='text'>
support code does. While here remove an unnecessary loop.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
support code does. While here remove an unnecessary loop.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull ieee80211_ratectl_node_init() calls from drivers into net80211.</title>
<updated>2011-01-17T20:15:15+00:00</updated>
<author>
<name>Bernhard Schmidt</name>
<email>bschmidt@FreeBSD.org</email>
</author>
<published>2011-01-17T20:15:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bd56e71b4b4e072ef14689259d450a8d675e51c7'/>
<id>bd56e71b4b4e072ef14689259d450a8d675e51c7</id>
<content type='text'>
This fixes hostap mode for at least ral(4) and run(4), because there is
no sufficient call into drivers which could be used initialize the node
related ratectl variables.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes hostap mode for at least ral(4) and run(4), because there is
no sufficient call into drivers which could be used initialize the node
related ratectl variables.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
</feed>
