<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/kernel, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-10-20T22:19:43Z</updated>
<entry>
<title>ath10k-ct: update to version from 2021-09-22</title>
<updated>2021-10-20T22:19:43Z</updated>
<author>
<name>Andrew Robbins</name>
</author>
<published>2021-10-05T15:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=284f8a64b735e703aa00baa2a5fc4e5629bbf988'/>
<id>urn:sha1:284f8a64b735e703aa00baa2a5fc4e5629bbf988</id>
<content type='text'>
Add in a fix for 160Mhz dfs on 5.10 and higher.
Add support for 5.13 and 5.15 kernels.
Add of_get_mac_address support for 5.15 driver.

Signed-off-by: Andrew Robbins &lt;andrew@robbinsa.me&gt;
(cherry picked from commit 1d2bc94f786434e89bc87003b2a2202e92ad84e7)
</content>
</entry>
<entry>
<title>mac80211: Update to backports-5.10.68</title>
<updated>2021-09-22T20:36:15Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-09-14T21:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=65835e0d5fcd7d688a5e5161d3b8ecf8cbd30b79'/>
<id>urn:sha1:65835e0d5fcd7d688a5e5161d3b8ecf8cbd30b79</id>
<content type='text'>
Refresh all patches.
The removed patches were integrated upstream.

This contains fixes for CVE-2020-3702

1. These patches (ath, ath9k, mac80211)  were included in kernel
versions since 4.14.245 and 4.19.205. They fix security vulnerability
CVE-2020-3702 [1] similar to KrØØk, which was found by ESET [2].

Thank you Josef Schlehofer for reporting this problem.

[1] https://nvd.nist.gov/vuln/detail/CVE-2020-3702
[2] https://www.welivesecurity.com/2020/08/06/beyond-kr00k-even-more-wifi-chips-vulnerable-eavesdropping/

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>ath10k-ct: fix typo in Makefile</title>
<updated>2021-07-02T14:19:33Z</updated>
<author>
<name>Michael Yartys</name>
</author>
<published>2021-06-21T11:37:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=86f617178885c59665cc6ce01c570f128c06d151'/>
<id>urn:sha1:86f617178885c59665cc6ce01c570f128c06d151</id>
<content type='text'>
Add forgotten colon to Makefile.

Signed-off-by: Michael Yartys &lt;michael.yartys@protonmail.com&gt;
(cherry picked from commit f0f1d68d528402b4d51a1dd08d2e2c9034167f92)
</content>
</entry>
<entry>
<title>ath10k-ct: update to latest version</title>
<updated>2021-07-02T14:19:33Z</updated>
<author>
<name>Michael Yartys</name>
</author>
<published>2021-06-03T21:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=24cfa5005eb475d5a182f5e82dbfa469ccc7c071'/>
<id>urn:sha1:24cfa5005eb475d5a182f5e82dbfa469ccc7c071</id>
<content type='text'>
Changelog:
- ath10k-ct: Add security fixes.
- ath10k-ct: Add 5.12 kernel version.
- ath10k-ct: Fix the beacon/mcast/bcast override issue
- ath10k-ct 5.7: Fix setting mcast/bcast/beacon rate from debugfs.
- ath10k-ct: Add 5.11 driver.

Delete upstreamed patch and refresh the rest. Also, use the opportunity to
set PKG_RELEASE to $(AUTORELEASE).

Runtime-tested on ipq806x (Netgear R7800).

Signed-off-by: Michael Yartys &lt;michael.yartys@protonmail.com&gt;
(cherry picked from commit 2e10ed925e1e07c28570731a429efa5e7de3b826)
</content>
</entry>
<entry>
<title>kernel/modules: move act_gact into kmod-sched-core</title>
<updated>2021-07-02T11:31:11Z</updated>
<author>
<name>DENG Qingfang</name>
</author>
<published>2021-04-09T04:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=69c10497c7fe4fada202c40825903fe9a033ade3'/>
<id>urn:sha1:69c10497c7fe4fada202c40825903fe9a033ade3</id>
<content type='text'>
As the name suggests, act_gact has the generic actions such as dropping
and accepting packets, so move it into kmod-sched-core.

Signed-off-by: DENG Qingfang &lt;dqfext@gmail.com&gt;
(cherry-picked from commit 10aacb9a6ce3445cdee39573f4120e7888beb022)
</content>
</entry>
<entry>
<title>mac80211: print an error if wifi teardown fails</title>
<updated>2021-06-30T17:24:55Z</updated>
<author>
<name>Bob Cantor</name>
</author>
<published>2021-06-24T18:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6f13a390355d15bc1ecff59eba769d0189d05083'/>
<id>urn:sha1:6f13a390355d15bc1ecff59eba769d0189d05083</id>
<content type='text'>
drv_mac80211_teardown fails silently if the device to be torn down is
not defined.  This commit prints an error message.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor &lt;coxede6557@w3boats.com&gt;
(cherry-picked from commit 3933e29d1b87c713167cf4730b68e5f18af4f140)
</content>
</entry>
<entry>
<title>mac80211: always call wireless_set_data  (FS#3784)</title>
<updated>2021-06-30T17:24:55Z</updated>
<author>
<name>Bob Cantor</name>
</author>
<published>2021-06-24T18:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9302e63d1a3589f764e61caf0b3ecdad524458ea'/>
<id>urn:sha1:9302e63d1a3589f764e61caf0b3ecdad524458ea</id>
<content type='text'>
When wifi is turned off, drv_mac80211_teardown sometimes fails (silently)
because the device to be torn down is not defined.

This situation arises if drv_mac80211_setup was called twice when
wifi was turned on.

This commit ensures that the device to be torn down is always defined
in drv_mac80211_teardown.

Steps to reproduce:

1) Use /sbin/wifi to turn on wifi.
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

2) Use /sbin/wifi to turn off wifi.
   uci set wireless.@wifi-device[0].disabled=1
   uci commit
   wifi

3) Observe that wifi is still up.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor &lt;coxede6557@w3boats.com&gt;
(cherry-picked from commit d515f6b6cde357bf480d32a7387f07ea40e85e52)
</content>
</entry>
<entry>
<title>mac80211: fix no_reload logic (FS#3902)</title>
<updated>2021-06-30T17:24:55Z</updated>
<author>
<name>Bob Cantor</name>
</author>
<published>2021-06-24T17:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=bea9380149d58e79bed4bf4b8298066bd36edde8'/>
<id>urn:sha1:bea9380149d58e79bed4bf4b8298066bd36edde8</id>
<content type='text'>
If drv_mac80211_setup is called twice with the same wifi configuration,
then the second call returns early with error HOSTAPD_START_FAILED.
(wifi works nevertheless, despite the fact that setup is incomplete.  But
"ubus call network.wireless status" erroneously reports that radio0 is down.)

The relevant part of drv_mac80211_setup is,

if [ "$no_reload" != "0" ]; then
        add_ap=1
        ubus wait_for hostapd
        local hostapd_res="$(ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}")"
        ret="$?"
        [ "$ret" != 0 -o -z "$hostapd_res" ] &amp;&amp; {
                wireless_setup_failed HOSTAPD_START_FAILED
                return
        }
        wireless_add_process "$(jsonfilter -s "$hostapd_res" -l 1 -e @.pid)" "/usr/sbin/hostapd" 1 1
fi

This commit sets no_reload = 0 during the second call of drv_mac80211_setup.

It is perhaps worth providing a way to reproduce the situation
where drv_mac80211_setup is called twice.

When /sbin/wifi is used to turn on wifi,
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

/sbin/wifi makes the following ubus calls,
   ubus call network reload
   ubus call network.wireless down
   ubus call network.wireless up

The first and third ubus calls both call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel.
So the call sequence becomes,

   drv_mac80211_setup
   wireless_device_setup_cancel
   drv_mac80211_setup

In contrast, when LuCI is used to turn on wifi only a single call
is made to drv_mac80211_setup.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor &lt;coxede6557@w3boats.com&gt;
(cherry-picked from commit a29ab3b79affb62fda82e0825ed811eaf482dd3c)
</content>
</entry>
<entry>
<title>mac80211: backport fix for nl80211 control port tx (fixes FS#3857)</title>
<updated>2021-06-30T17:24:55Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-06-30T17:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ccbe535604e3e4ad6017e57865ed140ae4926be6'/>
<id>urn:sha1:ccbe535604e3e4ad6017e57865ed140ae4926be6</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry-picked from commit de499573006ab4f32ded9fd66a62ec5e0c183e8a)
</content>
</entry>
<entry>
<title>mac80211: add support for 802.3 encap offload with software rate control</title>
<updated>2021-06-30T17:24:55Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-06-06T18:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=4c29ff7cb8fcfd4ba26942019837656ed0258cfb'/>
<id>urn:sha1:4c29ff7cb8fcfd4ba26942019837656ed0258cfb</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry-picked from commit f2c6d892cacb5d884bdd638bc7574c1ee98514a5)
</content>
</entry>
</feed>
