<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/driver-ops.h, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-09-05T11:54:07Z</updated>
<entry>
<title>mac80211: extend set_coverage_class signature</title>
<updated>2014-09-05T11:54:07Z</updated>
<author>
<name>Lorenzo Bianconi</name>
</author>
<published>2014-09-04T21:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4bcaf5556da649f0160e60fa7b4bb2c29801c12'/>
<id>urn:sha1:a4bcaf5556da649f0160e60fa7b4bb2c29801c12</id>
<content type='text'>
Extend mac80211 set_coverage_class API in order to enable ACK timeout
estimation algorithm (dynack) passing coverage class equals to -1
to lower drivers. Synchronize set_coverage_class routine signature with
mac80211 function pointer for p54, ath9k, ath9k_htc and ath5k drivers.

Signed-off-by: Lorenzo Bianconi &lt;lorenzo.bianconi83@gmail.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: split sched scan IEs</title>
<updated>2014-06-25T07:10:43Z</updated>
<author>
<name>David Spinadel</name>
</author>
<published>2014-02-06T14:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=633e27132625a0692440c4db58b901fb3cb67c55'/>
<id>urn:sha1:633e27132625a0692440c4db58b901fb3cb67c55</id>
<content type='text'>
Split sched scan IEs to band specific and not band specific
blocks. Common IEs blocks may be sent to the FW once per command,
instead of per band.

This allows optimization of size of the command, which may be
required by some drivers (eg. iwlmvm with newer firmware version).

As this changes the mac80211 API, update all drivers to use the
new version correctly, even if they don't (yet) make use of the
split data.

Signed-off-by: David Spinadel &lt;david.spinadel@intel.com&gt;
Reviewed-by: Alexander Bondar &lt;alexander.bondar@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: support more than one band in scan request</title>
<updated>2014-06-25T07:10:42Z</updated>
<author>
<name>David Spinadel</name>
</author>
<published>2014-02-05T13:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c56ef6725068c0ce499e517409c0da226ef51b08'/>
<id>urn:sha1:c56ef6725068c0ce499e517409c0da226ef51b08</id>
<content type='text'>
Some drivers (such as iwlmvm) can handle multiple bands in a single
HW scan request. Add a HW flag to indicate that the driver support
this. To hold the required data, create a separate structure for
HW scan request that holds cfg scan request and data about
different parts of the scan IEs.

As this changes the mac80211 API, update all drivers using it to
use the correct new function type/argument.

Signed-off-by: David Spinadel &lt;david.spinadel@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: protect TDLS discovery session</title>
<updated>2014-06-23T12:28:19Z</updated>
<author>
<name>Arik Nemtsov</name>
</author>
<published>2014-06-11T14:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee10f2c779b28c1d6e87ac3e1bbb1aa8b62fa891'/>
<id>urn:sha1:ee10f2c779b28c1d6e87ac3e1bbb1aa8b62fa891</id>
<content type='text'>
After sending a TDLS discovery-request, we expect a reply to arrive on
the AP's channel. We must stay on the channel (no PSM, scan, etc.), since
a TDLS setup-response is a direct packet not buffered by the AP.
Add a new mac80211 driver callback to allow discovery session protection.

Signed-off-by: Arik Nemtsov &lt;arikx.nemtsov@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: add a single-transaction driver op to switch contexts</title>
<updated>2014-05-26T09:04:41Z</updated>
<author>
<name>Luciano Coelho</name>
</author>
<published>2014-05-23T11:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a5f0c13d1a8808c2bdd00630818ed491e1719f5'/>
<id>urn:sha1:1a5f0c13d1a8808c2bdd00630818ed491e1719f5</id>
<content type='text'>
In some cases, when the driver is already using all the channel
contexts it can handle at once, we have to do an in-place switch
(ie. we cannot afford using an extra context temporarily for the
transaction).  But some drivers may not support switching the channel
context assigned to a vif on the fly (ie. without unassigning and
assigning it) while others may only work if the context is changed on
the fly, without unassigning it first.

To allow these different scenarios, add a new driver operation that
let's the driver decide how to handle an in-place switch.

Signed-off-by: Luciano Coelho &lt;luciano.coelho@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: export the expected throughput</title>
<updated>2014-05-21T07:15:16Z</updated>
<author>
<name>Antonio Quartulli</name>
</author>
<published>2014-05-19T19:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cca674d47e59665630f3005291b61bb883015fc5'/>
<id>urn:sha1:cca674d47e59665630f3005291b61bb883015fc5</id>
<content type='text'>
Add get_expected_throughput() API to mac80211 so that each
driver can implement its own version based on the RC
algorithm they are using (might be using an HW RC algo).
The API returns a value expressed in Kbps.

Also, add the new get_expected_throughput() member
to the rate_control_ops structure in order to be
able to query the RC algorithm (this patch provides an
implementation of this API for both minstrel and
minstrel_ht).

The related member in the station_info object is now
filled accordingly when dumping a station.

Cc: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: Antonio Quartulli &lt;antonio@open-mesh.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: handle failed restart/resume better</title>
<updated>2014-05-09T10:21:34Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2014-04-30T12:19:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6837ba8c98afcf28ec25f6863a8597274aeefd6'/>
<id>urn:sha1:f6837ba8c98afcf28ec25f6863a8597274aeefd6</id>
<content type='text'>
When the driver fails during HW restart or resume, the whole
stack goes into a very confused state with interfaces being
up while the hardware is down etc.

Address this by shutting down everything; we'll run into a
lot of warnings in the process but that's better than having
the whole stack get messed up.

Reviewed-by: Arik Nemtsov &lt;arik@wizery.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: add vif to flush call</title>
<updated>2014-04-09T08:55:29Z</updated>
<author>
<name>Emmanuel Grumbach</name>
</author>
<published>2014-03-27T09:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77be2c54c5bd26279abc13807398771d80cda37a'/>
<id>urn:sha1:77be2c54c5bd26279abc13807398771d80cda37a</id>
<content type='text'>
This will allow the low level driver to make decision based
on the vif such as queues etc...
Since the vif might be NULL, we can't add it to the tracing
functions.

Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
[fix staging rtl8821ae driver]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: allow driver to return error from sched_scan_stop</title>
<updated>2014-02-20T15:09:54Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2014-02-17T09:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37e3308cb2b6933019d9d9c2045877d6d68d9c5a'/>
<id>urn:sha1:37e3308cb2b6933019d9d9c2045877d6d68d9c5a</id>
<content type='text'>
In order to solve races with sched_scan_stop, it is necessary
for the driver to be able to return an error to propagate that
to cfg80211 so it doesn't send an event.

Reviewed-by: Alexander Bondar &lt;alexander.bondar@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: add pre-RCU-sync sta removal driver operation</title>
<updated>2013-12-16T10:29:44Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2013-12-04T21:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a9d1b91f34df1935bc0ad98114801a44db0f98c'/>
<id>urn:sha1:6a9d1b91f34df1935bc0ad98114801a44db0f98c</id>
<content type='text'>
Currently, mac80211 allows drivers to keep RCU-protected station
references that are cleared when the station is removed from the
driver and consequently needs to synchronize twice, once before
removing the station from the driver (so it can guarantee that
the station is no longer used in TX towards the driver) and once
after the station is removed from the driver.

Add a new pre-RCU-synchronisation station removal operation to
the API to allow drivers to clear/invalidate their RCU-protected
station pointers before the RCU synchronisation.

This will allow removing the second synchronisation by changing
the driver API so that the driver may no longer assume a valid
RCU-protected pointer after sta_remove/sta_state returns.

The alternative to this would be to synchronize_rcu() in all the
drivers that currently rely on this behaviour (only iwlmvm) but
that would defeat the purpose.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
</feed>
