<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/mac80211, branch v3.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net/mac80211?h=v3.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/net/mac80211?h=v3.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-04-30T18:40:05Z</updated>
<entry>
<title>mac80211: fix AP mode EAP tx for VLAN stations</title>
<updated>2012-04-30T18:40:05Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-04-29T13:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=66f2c99af3d6f2d0aa1120884cf1c60613ef61c0'/>
<id>urn:sha1:66f2c99af3d6f2d0aa1120884cf1c60613ef61c0</id>
<content type='text'>
EAP frames for stations in an AP VLAN are sent on the main AP interface
to avoid race conditions wrt. moving stations.
For that to work properly, sta_info_get_bss must be used instead of
sta_info_get when sending EAP packets.
Previously this was only done for cooked monitor injected packets, so
this patch adds a check for tx-&gt;skb-&gt;protocol to the same place.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: call ieee80211_mgd_stop() on interface stop</title>
<updated>2012-04-24T18:42:42Z</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-04-23T11:45:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=afa762f6871a8cb05fbef5d0f83fac14304aa816'/>
<id>urn:sha1:afa762f6871a8cb05fbef5d0f83fac14304aa816</id>
<content type='text'>
ieee80211_mgd_teardown() is called on netdev removal, which
occurs after the vif was already removed from the low-level
driver, resulting in the following warning:

[ 4809.014734] ------------[ cut here ]------------
[ 4809.019861] WARNING: at net/mac80211/driver-ops.h:12 ieee80211_bss_info_change_notify+0x200/0x2c8 [mac80211]()
[ 4809.030388] wlan0:  Failed check-sdata-in-driver check, flags: 0x4
[ 4809.036862] Modules linked in: wlcore_sdio(-) wl12xx wlcore mac80211 cfg80211 [last unloaded: cfg80211]
[ 4809.046849] [&lt;c001bd4c&gt;] (unwind_backtrace+0x0/0x12c)
[ 4809.055937] [&lt;c047cf1c&gt;] (dump_stack+0x20/0x24)
[ 4809.065385] [&lt;c003e334&gt;] (warn_slowpath_common+0x5c/0x74)
[ 4809.075589] [&lt;c003e408&gt;] (warn_slowpath_fmt+0x40/0x48)
[ 4809.088291] [&lt;bf033630&gt;] (ieee80211_bss_info_change_notify+0x200/0x2c8 [mac80211])
[ 4809.102844] [&lt;bf067f84&gt;] (ieee80211_destroy_auth_data+0x80/0xa4 [mac80211])
[ 4809.116276] [&lt;bf068004&gt;] (ieee80211_mgd_teardown+0x5c/0x74 [mac80211])
[ 4809.129331] [&lt;bf043f18&gt;] (ieee80211_teardown_sdata+0xb0/0xd8 [mac80211])
[ 4809.141595] [&lt;c03b5e58&gt;] (rollback_registered_many+0x228/0x2f0)
[ 4809.153056] [&lt;c03b5f48&gt;] (unregister_netdevice_many+0x28/0x50)
[ 4809.165696] [&lt;bf041ea8&gt;] (ieee80211_remove_interfaces+0xb4/0xdc [mac80211])
[ 4809.179151] [&lt;bf032174&gt;] (ieee80211_unregister_hw+0x50/0xf0 [mac80211])
[ 4809.191043] [&lt;bf0bebb4&gt;] (wlcore_remove+0x5c/0x7c [wlcore])
[ 4809.201491] [&lt;c02c6918&gt;] (platform_drv_remove+0x24/0x28)
[ 4809.212029] [&lt;c02c4d50&gt;] (__device_release_driver+0x8c/0xcc)
[ 4809.222738] [&lt;c02c4e84&gt;] (device_release_driver+0x30/0x3c)
[ 4809.233099] [&lt;c02c4258&gt;] (bus_remove_device+0x10c/0x128)
[ 4809.242620] [&lt;c02c26f8&gt;] (device_del+0x11c/0x17c)
[ 4809.252150] [&lt;c02c6de0&gt;] (platform_device_del+0x28/0x68)
[ 4809.263051] [&lt;bf0df49c&gt;] (wl1271_remove+0x3c/0x50 [wlcore_sdio])
[ 4809.273590] [&lt;c03806b0&gt;] (sdio_bus_remove+0x48/0xf8)
[ 4809.283754] [&lt;c02c4d50&gt;] (__device_release_driver+0x8c/0xcc)
[ 4809.293729] [&lt;c02c4e2c&gt;] (driver_detach+0x9c/0xc4)
[ 4809.303163] [&lt;c02c3d7c&gt;] (bus_remove_driver+0xc4/0xf4)
[ 4809.312973] [&lt;c02c5a98&gt;] (driver_unregister+0x70/0x7c)
[ 4809.323220] [&lt;c03809c4&gt;] (sdio_unregister_driver+0x24/0x2c)
[ 4809.334213] [&lt;bf0df458&gt;] (wl1271_exit+0x14/0x1c [wlcore_sdio])
[ 4809.344930] [&lt;c009b1a4&gt;] (sys_delete_module+0x228/0x2a8)
[ 4809.354734] ---[ end trace 515290ccf5feb522 ]---

Rename ieee80211_mgd_teardown() to ieee80211_mgd_stop(),
and call it on ieee80211_do_stop().

Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix logic error in ibss channel type check</title>
<updated>2012-04-17T18:17:04Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-04-16T20:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6741e7f048dacc92e37c5d724ff5c64e45f6c2c9'/>
<id>urn:sha1:6741e7f048dacc92e37c5d724ff5c64e45f6c2c9</id>
<content type='text'>
The broken check leads to rate control attempting to use HT40 while
the driver is configured for HT20. This leads to interesting hardware
issues.

HT40 can only be used if the channel type is either HT40- or HT40+
and if the channel type of the cell matches the local type.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix truncated packets in cooked monitor rx</title>
<updated>2012-04-17T18:17:04Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-04-16T12:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=973ef21a676e55a8e1a100a6e109f0c116ea75e8'/>
<id>urn:sha1:973ef21a676e55a8e1a100a6e109f0c116ea75e8</id>
<content type='text'>
Cooked monitor rx was recently changed to use ieee80211_add_rx_radiotap_header
instead of generating only limited radiotap information.
ieee80211_add_rx_radiotap_header assumes that FCS info is still present if
the hardware supports receiving it, however when cooked monitor rx packets
are processed, FCS info has already been stripped.
Fix this by adding an extra flag indicating FCS presence.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix association beacon wait timeout</title>
<updated>2012-04-09T19:54:46Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-03-28T19:02:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3f9768a5d262d01d317b2a03933db3d5082fcb68'/>
<id>urn:sha1:3f9768a5d262d01d317b2a03933db3d5082fcb68</id>
<content type='text'>
The TU_TO_EXP_TIME() macro already includes the
"jiffies +" piece of the calculation, so don't
add jiffies again.

Reported-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'akpm' (Andrew's patch-bomb)</title>
<updated>2012-04-05T22:30:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-04-05T22:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5d32c88f0b94061b3af2e3ade92422407282eb12'/>
<id>urn:sha1:5d32c88f0b94061b3af2e3ade92422407282eb12</id>
<content type='text'>
Merge batch of fixes from Andrew Morton:
 "The simple_open() cleanup was held back while I wanted for laggards to
  merge things.

  I still need to send a few checkpoint/restore patches.  I've been
  wobbly about merging them because I'm wobbly about the overall
  prospects for success of the project.  But after speaking with Pavel
  at the LSF conference, it sounds like they're further toward
  completion than I feared - apparently davem is at the "has stopped
  complaining" stage regarding the net changes.  So I need to go back
  and re-review those patchs and their (lengthy) discussion."

* emailed from Andrew Morton &lt;akpm@linux-foundation.org&gt;: (16 patches)
  memcg swap: use mem_cgroup_uncharge_swap fix
  backlight: add driver for DA9052/53 PMIC v1
  C6X: use set_current_blocked() and block_sigmask()
  MAINTAINERS: add entry for sparse checker
  MAINTAINERS: fix REMOTEPROC F: typo
  alpha: use set_current_blocked() and block_sigmask()
  simple_open: automatically convert to simple_open()
  scripts/coccinelle/api/simple_open.cocci: semantic patch for simple_open()
  libfs: add simple_open()
  hugetlbfs: remove unregister_filesystem() when initializing module
  drivers/rtc/rtc-88pm860x.c: fix rtc irq enable callback
  fs/xattr.c:setxattr(): improve handling of allocation failures
  fs/xattr.c:listxattr(): fall back to vmalloc() if kmalloc() failed
  fs/xattr.c: suppress page allocation failure warnings from sys_listxattr()
  sysrq: use SEND_SIG_FORCED instead of force_sig()
  proc: fix mount -t proc -o AAA
</content>
</entry>
<entry>
<title>simple_open: automatically convert to simple_open()</title>
<updated>2012-04-05T22:25:50Z</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2012-04-05T21:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=234e340582901211f40d8c732afc49f0630ecf05'/>
<id>urn:sha1:234e340582901211f40d8c732afc49f0630ecf05</id>
<content type='text'>
Many users of debugfs copy the implementation of default_open() when
they want to support a custom read/write function op.  This leads to a
proliferation of the default_open() implementation across the entire
tree.

Now that the common implementation has been consolidated into libfs we
can replace all the users of this function with simple_open().

This replacement was done with the following semantic patch:

&lt;smpl&gt;
@ open @
identifier open_f != simple_open;
identifier i, f;
@@
-int open_f(struct inode *i, struct file *f)
-{
(
-if (i-&gt;i_private)
-f-&gt;private_data = i-&gt;i_private;
|
-f-&gt;private_data = i-&gt;i_private;
)
-return 0;
-}

@ has_open depends on open @
identifier fops;
identifier open.open_f;
@@
struct file_operations fops = {
...
-.open = open_f,
+.open = simple_open,
...
};
&lt;/smpl&gt;

[akpm@linux-foundation.org: checkpatch fixes]
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>mac80211: fix oper channel timestamp updation</title>
<updated>2012-03-28T18:25:37Z</updated>
<author>
<name>Rajkumar Manoharan</name>
<email>rmanohar@qca.qualcomm.com</email>
</author>
<published>2012-03-27T05:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de312db345f9770b64ff39ef5a7f86f6358e93cc'/>
<id>urn:sha1:de312db345f9770b64ff39ef5a7f86f6358e93cc</id>
<content type='text'>
Whenever the station informs the AP that it is about to leave the
operating channel, the timestamp should be recorded. It is handled
in scan resume but not in scan start. Fix that.

Signed-off-by: Rajkumar Manoharan &lt;rmanohar@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix possible tid_rx-&gt;reorder_timer use after free</title>
<updated>2012-03-26T19:07:29Z</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2012-03-19T15:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d72308bff5c2fa207949a5925b020bce74495e33'/>
<id>urn:sha1:d72308bff5c2fa207949a5925b020bce74495e33</id>
<content type='text'>
Is possible that we will arm the tid_rx-&gt;reorder_timer after
del_timer_sync() in ___ieee80211_stop_rx_ba_session(). We need to stop
timer after RCU grace period finish, so move it to
ieee80211_free_tid_rx(). Timer will not be armed again, as
rcu_dereference(sta-&gt;ampdu_mlme.tid_rx[tid]) will return NULL.

Debug object detected problem with the following warning:
ODEBUG: free active (active state 0) object type: timer_list hint: sta_rx_agg_reorder_timer_expired+0x0/0xf0 [mac80211]

Bug report (with all warning messages):
https://bugzilla.redhat.com/show_bug.cgi?id=804007

Reported-by: "jan p. springer" &lt;jsd@igroup.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: remove outdated comment</title>
<updated>2012-03-26T19:07:27Z</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-03-18T12:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b603c03e9534b9bec19ebf8c42bf217fd875ee65'/>
<id>urn:sha1:b603c03e9534b9bec19ebf8c42bf217fd875ee65</id>
<content type='text'>
The on-oper-channel optimization was reverted,
so remove the outdated comment as well.

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