<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/net/mac80211, branch linux-5.8.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2020-10-29T09:08:21+00:00</updated>
<entry>
<title>mac80211: handle lack of sband-&gt;bitrates in rates</title>
<updated>2020-10-29T09:08:21+00:00</updated>
<author>
<name>Thomas Pedersen</name>
<email>thomas@adapt-ip.com</email>
</author>
<published>2020-10-05T16:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=858c56fa3741f6f3203848e126ea12080413f596'/>
<id>urn:sha1:858c56fa3741f6f3203848e126ea12080413f596</id>
<content type='text'>
[ Upstream commit 8b783d104e7f40684333d2ec155fac39219beb2f ]

Even though a driver or mac80211 shouldn't produce a
legacy bitrate if sband-&gt;bitrates doesn't exist, don't
crash if that is the case either.

This fixes a kernel panic if station dump is run before
last_rate can be updated with a data frame when
sband-&gt;bitrates is missing (eg. in S1G bands).

Signed-off-by: Thomas Pedersen &lt;thomas@adapt-ip.com&gt;
Link: https://lore.kernel.org/r/20201005164522.18069-1-thomas@adapt-ip.com
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: do not allow bigger VHT MPDUs than the hardware supports</title>
<updated>2020-10-07T06:02:49+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-09-17T12:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f2465c7d069c12627948456ba3438af87eb0a14f'/>
<id>urn:sha1:f2465c7d069c12627948456ba3438af87eb0a14f</id>
<content type='text'>
[ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ]

Limit maximum VHT MPDU size by local capability.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Link: https://lore.kernel.org/r/20200917125031.45009-1-nbd@nbd.name
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: Fix radiotap header channel flag for 6GHz band</title>
<updated>2020-10-07T06:02:49+00:00</updated>
<author>
<name>Aloka Dixit</name>
<email>alokad@codeaurora.org</email>
</author>
<published>2020-09-11T01:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9c72951f9e9706efd7965b8fd9eddd908de0398b'/>
<id>urn:sha1:9c72951f9e9706efd7965b8fd9eddd908de0398b</id>
<content type='text'>
[ Upstream commit 412a84b5714af56f3eb648bba155107b5edddfdf ]

Radiotap header field 'Channel flags' has '2 GHz spectrum' set to
'true' for 6GHz packet.
Change it to 5GHz as there isn't a separate option available for 6GHz.

Signed-off-by: Aloka Dixit &lt;alokad@codeaurora.org&gt;
Link: https://lore.kernel.org/r/010101747ab7b703-1d7c9851-1594-43bf-81f7-f79ce7a67cc6-000000@us-west-2.amazonses.com
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: fix 80 MHz association to 160/80+80 AP on 6 GHz</title>
<updated>2020-10-01T15:36:30+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2020-09-18T11:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0c9fadf3a3c27b873557a490c0050fbbb8f996d8'/>
<id>urn:sha1:0c9fadf3a3c27b873557a490c0050fbbb8f996d8</id>
<content type='text'>
[ Upstream commit 75bcbd6913de649601f4e7d3fb6d2b5effc24e9e ]

When trying to associate to an AP support 180 or 80+80 MHz on 6 GHz with a
STA that only has 80 Mhz support the cf2 field inside the chandef will get
set causing the association to fail when trying to validate the chandef.
Fix this by checking the support flags prior to setting cf2.

Fixes: 57fa5e85d53ce ("mac80211: determine chandef from HE 6 GHz operation")
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Link: https://lore.kernel.org/r/20200918115304.1135693-1-john@phrozen.org
[reword commit message a bit]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: do not disable HE if HT is missing on 2.4 GHz</title>
<updated>2020-10-01T15:36:29+00:00</updated>
<author>
<name>Wen Gong</name>
<email>wgong@codeaurora.org</email>
</author>
<published>2020-09-11T10:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3414cdb97ce1f89d2ba990241af3e61cfac7eed6'/>
<id>urn:sha1:3414cdb97ce1f89d2ba990241af3e61cfac7eed6</id>
<content type='text'>
[ Upstream commit 780a8c9efc65f6d86acd44794495cedcd32eeb26 ]

VHT is not supported on 2.4 GHz, but HE is; don't disable HE if HT
is missing there, do that only on 5 GHz (6 GHz is only HE).

Fixes: 57fa5e85d53ce51 ("mac80211: determine chandef from HE 6 GHz operation")
Signed-off-by: Wen Gong &lt;wgong@codeaurora.org&gt;
Link: https://lore.kernel.org/r/010101747cb617f2-593c5410-1648-4a42-97a0-f3646a5a6dd1-000000@us-west-2.amazonses.com
[rewrite the commit message]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: reduce packet loss event false positives</title>
<updated>2020-09-17T11:55:34+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-08-08T17:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3a8fcf73cbf1027813828f29b24d8858f31a9755'/>
<id>urn:sha1:3a8fcf73cbf1027813828f29b24d8858f31a9755</id>
<content type='text'>
[ Upstream commit 47df8e059b49a80c179fae39256bcd7096810934 ]

When running a large number of packets per second with a high data rate
and long A-MPDUs, the packet loss threshold can be reached very quickly
when the link conditions change. This frequently shows up as spurious
disconnects.
Mitigate false positives by using a similar logic for regular stations
as the one being used for TDLS, though with a more aggressive timeout.
Packet loss events are only reported if no ACK was received for a second.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Link: https://lore.kernel.org/r/20200808172542.41628-1-nbd@nbd.name
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mac80211: fix misplaced while instead of if</title>
<updated>2020-08-21T11:14:56+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2020-08-03T09:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ea171d825ff097ea9982532db21e6675d6cfa52e'/>
<id>urn:sha1:ea171d825ff097ea9982532db21e6675d6cfa52e</id>
<content type='text'>
commit 5981fe5b0529ba25d95f37d7faa434183ad618c5 upstream.

This never was intended to be a 'while' loop, it should've
just been an 'if' instead of 'while'. Fix this.

I noticed this while applying another patch from Ben that
intended to fix a busy loop at this spot.

Cc: stable@vger.kernel.org
Fixes: b16798f5b907 ("mac80211: mark station unauthorized before key removal")
Reported-by: Ben Greear &lt;greearb@candelatech.com&gt;
Link: https://lore.kernel.org/r/20200803110209.253009ae41ff.I3522aad099392b31d5cf2dcca34cbac7e5832dde@changeid
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>mac80211: remove STA txq pending airtime underflow warning</title>
<updated>2020-07-30T08:26:04+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-07-25T08:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=04e35caa32ec9aae6b306d07f07dc2ee6d69166c'/>
<id>urn:sha1:04e35caa32ec9aae6b306d07f07dc2ee6d69166c</id>
<content type='text'>
This warning can trigger if there is a mismatch between frames that were
sent with the sta pointer set vs tx status frames reported for the sta address.

This can happen due to race conditions on re-creating stations, or even
in the case of .sta_add/remove being used instead of .sta_state, which can cause
frames to be sent to a station that has not been uploaded yet.

If there is an actual underflow issue, it should show up in the device airtime
warning below, so it is better to remove this one.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Link: https://lore.kernel.org/r/20200725084533.13829-1-nbd@nbd.name
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Fix bug in Tx ack status reporting in 802.3 xmit path</title>
<updated>2020-07-30T08:25:17+00:00</updated>
<author>
<name>Vasanthakumar Thiagarajan</name>
<email>vthiagar@codeaurora.org</email>
</author>
<published>2020-07-22T14:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e61fbfca8055eef18f11727f431e1e3e5221291e'/>
<id>urn:sha1:e61fbfca8055eef18f11727f431e1e3e5221291e</id>
<content type='text'>
Allocated ack_frame id from local-&gt;ack_status_frames is not really
stored in the tx_info for 802.3 Tx path. Due to this, tx ack status
is not reported and ack_frame id is not freed for the buffers requiring
tx ack status. Also move the memset to 0 of tx_info before
IEEE80211_TX_CTL_REQ_TX_STATUS flag assignment.

Fixes: 50ff477a8639 ("mac80211: add 802.11 encapsulation offloading support")
Signed-off-by: Vasanthakumar Thiagarajan &lt;vthiagar@codeaurora.org&gt;
Link: https://lore.kernel.org/r/1595427617-1713-1-git-send-email-vthiagar@codeaurora.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: mesh: Free pending skb when destroying a mpath</title>
<updated>2020-07-30T08:23:48+00:00</updated>
<author>
<name>Remi Pommarel</name>
<email>repk@triplefau.lt</email>
</author>
<published>2020-07-04T13:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5e43540c2af0a0c0a18e39579b1ad49541f87506'/>
<id>urn:sha1:5e43540c2af0a0c0a18e39579b1ad49541f87506</id>
<content type='text'>
A mpath object can hold reference on a list of skb that are waiting for
mpath resolution to be sent. When destroying a mpath this skb list
should be cleaned up in order to not leak memory.

Fixing that kind of leak:

unreferenced object 0xffff0000181c9300 (size 1088):
  comm "openvpn", pid 1782, jiffies 4295071698 (age 80.416s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 f9 80 36 00 00 00 00 00  ..........6.....
    02 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [&lt;000000004bc6a443&gt;] kmem_cache_alloc+0x1a4/0x2f0
    [&lt;000000002caaef13&gt;] sk_prot_alloc.isra.39+0x34/0x178
    [&lt;00000000ceeaa916&gt;] sk_alloc+0x34/0x228
    [&lt;00000000ca1f1d04&gt;] inet_create+0x198/0x518
    [&lt;0000000035626b1c&gt;] __sock_create+0x134/0x328
    [&lt;00000000a12b3a87&gt;] __sys_socket+0xb0/0x158
    [&lt;00000000ff859f23&gt;] __arm64_sys_socket+0x40/0x58
    [&lt;00000000263486ec&gt;] el0_svc_handler+0xd0/0x1a0
    [&lt;0000000005b5157d&gt;] el0_svc+0x8/0xc
unreferenced object 0xffff000012973a40 (size 216):
  comm "openvpn", pid 1782, jiffies 4295082137 (age 38.660s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 c0 06 16 00 00 ff ff 00 93 1c 18 00 00 ff ff  ................
  backtrace:
    [&lt;000000004bc6a443&gt;] kmem_cache_alloc+0x1a4/0x2f0
    [&lt;0000000023c8c8f9&gt;] __alloc_skb+0xc0/0x2b8
    [&lt;000000007ad950bb&gt;] alloc_skb_with_frags+0x60/0x320
    [&lt;00000000ef90023a&gt;] sock_alloc_send_pskb+0x388/0x3c0
    [&lt;00000000104fb1a3&gt;] sock_alloc_send_skb+0x1c/0x28
    [&lt;000000006919d2dd&gt;] __ip_append_data+0xba4/0x11f0
    [&lt;0000000083477587&gt;] ip_make_skb+0x14c/0x1a8
    [&lt;0000000024f3d592&gt;] udp_sendmsg+0xaf0/0xcf0
    [&lt;000000005aabe255&gt;] inet_sendmsg+0x5c/0x80
    [&lt;000000008651ea08&gt;] __sys_sendto+0x15c/0x218
    [&lt;000000003505c99b&gt;] __arm64_sys_sendto+0x74/0x90
    [&lt;00000000263486ec&gt;] el0_svc_handler+0xd0/0x1a0
    [&lt;0000000005b5157d&gt;] el0_svc+0x8/0xc

Fixes: 2bdaf386f99c (mac80211: mesh: move path tables into if_mesh)
Signed-off-by: Remi Pommarel &lt;repk@triplefau.lt&gt;
Link: https://lore.kernel.org/r/20200704135419.27703-1-repk@triplefau.lt
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
</feed>
