<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/chan.c, 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>2015-01-08T18:30:23Z</updated>
<entry>
<title>mac80211: copy chandef from AP vif to VLANs</title>
<updated>2015-01-08T18:30:23Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-11-24T17:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a6626aa24f5edf7a0e3db92015565f79d8bb466'/>
<id>urn:sha1:0a6626aa24f5edf7a0e3db92015565f79d8bb466</id>
<content type='text'>
commit 2967e031d4d737d9cc8252d878a17924d7b704f0 upstream.

Instead of keeping track of all those special cases where
VLAN interfaces have no bss_conf.chandef, just make sure
they have the same as the AP interface they belong to.

Among others, this fixes a crash getting a VLAN's channel
from userspace since a NULL channel is returned as a good
result (return value 0) for VLANs since the commit below.

Fixes: c12bc4885f4b3 ("mac80211: return the vif's chandef in ieee80211_cfg_get_channel()")
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
[rewrite commit log]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless</title>
<updated>2014-09-08T15:14:56Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2014-09-08T15:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61a3d4f9d52c00b2016bc27fc66b10a194043f76'/>
<id>urn:sha1:61a3d4f9d52c00b2016bc27fc66b10a194043f76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge tag 'mac80211-next-for-john-2014-08-29' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next</title>
<updated>2014-09-04T17:41:33Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2014-09-04T17:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef4ead3f29256ed83991cd77b39334aadd25672a'/>
<id>urn:sha1:ef4ead3f29256ed83991cd77b39334aadd25672a</id>
<content type='text'>
Johannes Berg &lt;johannes@sipsolutions.net&gt; says:

"Not that much content this time. Some RCU cleanups, crypto
performance improvements, and various patches all over,
rather than listing them one might as well look into the
git log instead."

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;

Conflicts:
	drivers/net/wireless/ath/wil6210/wmi.c
</content>
</entry>
<entry>
<title>Merge tag 'mac80211-for-john-2014-08-29' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211</title>
<updated>2014-09-04T17:08:24Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2014-09-04T17:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=190355cc06eb4b3e2d3f06a8f7ba5ea433d77998'/>
<id>urn:sha1:190355cc06eb4b3e2d3f06a8f7ba5ea433d77998</id>
<content type='text'>
Johannes Berg &lt;johannes@sipsolutions.net&gt; says:

"Here are a few fixes for mac80211. One has been discussed for a while
and adds a terminating NUL-byte to the alpha2 sent to userspace, which
shouldn't be necessary but since many places treat it as a string we
couldn't move to just sending two bytes.

In addition to that, we have two VLAN fixes from Felix, a mesh fix, a
fix for the recently introduced RX aggregation offload, a revert for
a broken patch (that luckily didn't really cause any harm) and a small
fix for alignment in debugfs."

Signed-off-by: John W. Linville &lt;linville@redhat.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix chantype recalc warning</title>
<updated>2014-08-29T11:06:01Z</updated>
<author>
<name>Michal Kazior</name>
</author>
<published>2014-07-28T13:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a00f4f6e048dff90e64c6d1bde2bb4587c6d2234'/>
<id>urn:sha1:a00f4f6e048dff90e64c6d1bde2bb4587c6d2234</id>
<content type='text'>
When a device driver is unloaded local-&gt;interfaces
list is cleared. If there was more than 1
interface running and connected (bound to a
chanctx) then chantype recalc was called and it
ended up with compat being NULL causing a call
trace warning.

Warn if compat becomes NULL as a result of
incompatible bss_conf.chandef of interfaces bound
to a given channel context only.

The call trace looked like this:

 WARNING: CPU: 2 PID: 2594 at /devel/src/linux/net/mac80211/chan.c:557 ieee80211_recalc_chanctx_chantype+0x2cd/0x2e0()
 Modules linked in: ath10k_pci(-) ath10k_core ath
 CPU: 2 PID: 2594 Comm: rmmod Tainted: G        W     3.16.0-rc1+ #150
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
  0000000000000009 ffff88001ea279c0 ffffffff818dfa93 0000000000000000
  ffff88001ea279f8 ffffffff810514a8 ffff88001ce09cd0 ffff88001e03cc58
  0000000000000000 ffff88001ce08840 ffff88001ce09cd0 ffff88001ea27a08
 Call Trace:
  [&lt;ffffffff818dfa93&gt;] dump_stack+0x4d/0x66
  [&lt;ffffffff810514a8&gt;] warn_slowpath_common+0x78/0xa0
  [&lt;ffffffff81051585&gt;] warn_slowpath_null+0x15/0x20
  [&lt;ffffffff818a407d&gt;] ieee80211_recalc_chanctx_chantype+0x2cd/0x2e0
  [&lt;ffffffff818a3dda&gt;] ? ieee80211_recalc_chanctx_chantype+0x2a/0x2e0
  [&lt;ffffffff818a4919&gt;] ieee80211_assign_vif_chanctx+0x1a9/0x770
  [&lt;ffffffff818a6220&gt;] __ieee80211_vif_release_channel+0x70/0x130
  [&lt;ffffffff818a6dd3&gt;] ieee80211_vif_release_channel+0x43/0xb0
  [&lt;ffffffff81885f4e&gt;] ieee80211_stop_ap+0x21e/0x5a0
  [&lt;ffffffff8184b9b5&gt;] __cfg80211_stop_ap+0x85/0x520
  [&lt;ffffffff8181c188&gt;] __cfg80211_leave+0x68/0x120
  [&lt;ffffffff8181c268&gt;] cfg80211_leave+0x28/0x40
  [&lt;ffffffff8181c5f3&gt;] cfg80211_netdev_notifier_call+0x373/0x6b0
  [&lt;ffffffff8107f965&gt;] notifier_call_chain+0x55/0x110
  [&lt;ffffffff8107fa41&gt;] raw_notifier_call_chain+0x11/0x20
  [&lt;ffffffff816a8dc0&gt;] call_netdevice_notifiers_info+0x30/0x60
  [&lt;ffffffff816a8eb9&gt;] __dev_close_many+0x59/0xf0
  [&lt;ffffffff816a9021&gt;] dev_close_many+0x81/0x120
  [&lt;ffffffff816aa1c5&gt;] rollback_registered_many+0x115/0x2a0
  [&lt;ffffffff816aa3a6&gt;] unregister_netdevice_many+0x16/0xa0
  [&lt;ffffffff8187d841&gt;] ieee80211_remove_interfaces+0x121/0x1b0
  [&lt;ffffffff8185e0e6&gt;] ieee80211_unregister_hw+0x56/0x110
  [&lt;ffffffffa0011ac4&gt;] ath10k_mac_unregister+0x14/0x60 [ath10k_core]
  [&lt;ffffffffa0014fe7&gt;] ath10k_core_unregister+0x27/0x40 [ath10k_core]
  [&lt;ffffffffa003b1f4&gt;] ath10k_pci_remove+0x44/0xa0 [ath10k_pci]
  [&lt;ffffffff81373138&gt;] pci_device_remove+0x28/0x60
  [&lt;ffffffff814cb534&gt;] __device_release_driver+0x64/0xd0
  [&lt;ffffffff814cbcc8&gt;] driver_detach+0xb8/0xc0
  [&lt;ffffffff814cb23a&gt;] bus_remove_driver+0x4a/0xb0
  [&lt;ffffffff814cc697&gt;] driver_unregister+0x27/0x50

Signed-off-by: Michal Kazior &lt;michal.kazior@tieto.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: make ieee80211_vif_use_reserved_switch static</title>
<updated>2014-08-26T09:15:35Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2014-07-25T13:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=649b2a4da5d8a39c4d7be2fd228cf797819656f9'/>
<id>urn:sha1:649b2a4da5d8a39c4d7be2fd228cf797819656f9</id>
<content type='text'>
Reorder some code to make ieee80211_vif_use_reserved_switch()
static, no other changes.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: ignore AP_VLAN in ieee80211_recalc_chanctx_chantype</title>
<updated>2014-08-26T09:12:37Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-07-25T14:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e67c13667a72093aa3ef3cb54dd521e34e500fc'/>
<id>urn:sha1:0e67c13667a72093aa3ef3cb54dd521e34e500fc</id>
<content type='text'>
When bringing down the AP, a WARN_ON is hit because the bss config chandef
is empty here.
Since AP_VLAN channel settings do not matter for anything chanctx related
(always inherits the settings from the AP interface), let's just ignore
it here.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix channel switch for chanctx-based drivers</title>
<updated>2014-08-22T21:45:49Z</updated>
<author>
<name>Michal Kazior</name>
</author>
<published>2014-08-18T11:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47e4df94d129cbca84de252ff63c4ded08a513e7'/>
<id>urn:sha1:47e4df94d129cbca84de252ff63c4ded08a513e7</id>
<content type='text'>
The new_ctx pointer is set only for non-chanctx drivers.  This yielded a
crash for chanctx-based drivers during channel switch finalization:

  BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
  IP: ieee80211_vif_use_reserved_switch+0x71c/0xb00 [mac80211]

Use an adequate chanctx pointer to fix this.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Michal Kazior &lt;michal.kazior@tieto.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>mac80211: suppress unused variable warning without lockdep</title>
<updated>2014-07-18T07:47:26Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2014-07-18T07:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d4cc30c86301543a09ff4118a36044546c7cfa1'/>
<id>urn:sha1:1d4cc30c86301543a09ff4118a36044546c7cfa1</id>
<content type='text'>
When lockdep isn't compiled, a local variable isn't used
(it's only in a macro argument), annotate it to suppress
the compiler warning.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: use chanctx reservation for STA CSA</title>
<updated>2014-06-25T16:06:20Z</updated>
<author>
<name>Michal Kazior</name>
</author>
<published>2014-06-25T10:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c3ebc56d7561526524ec62c61aa3e2040b71f6e'/>
<id>urn:sha1:4c3ebc56d7561526524ec62c61aa3e2040b71f6e</id>
<content type='text'>
Channel switch finalization is now 2-step. First
step is when driver calls chswitch_done(), the
other is when reservation is actually finalized
(which be defered for in-place reservation).

It is now safe to call ieee80211_chswitch_done()
more than once.

Also remove the ieee80211_vif_change_channel()
because it is no longer used.

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