<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/kernel/mac80211, branch v17.01.5</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>mac80211: rt2x00: no longer use TXOP_BACKOFF for probe frames</title>
<updated>2018-06-15T18:37:17+00:00</updated>
<author>
<name>Daniel Golle</name>
<email>daniel@makrotopia.org</email>
</author>
<published>2018-05-28T13:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7fc94b2a25bb92c886b5de0433284b28c6a1df9a'/>
<id>7fc94b2a25bb92c886b5de0433284b28c6a1df9a</id>
<content type='text'>
Import a revert-commit from Stanislaw Gruszka which significantly
improves WiFi performance on rt2x00 based hardware.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
(cherry-picked from commit f4a639a3d7d40b4f63c431c2d554c479fbcc6b74)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Import a revert-commit from Stanislaw Gruszka which significantly
improves WiFi performance on rt2x00 based hardware.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
(cherry-picked from commit f4a639a3d7d40b4f63c431c2d554c479fbcc6b74)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: brcmfmac: add support for BCM4366E chipset</title>
<updated>2018-04-03T11:11:43+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-04-03T11:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fe3db683f9437eadd9fad23d85b7658329395c6b'/>
<id>fe3db683f9437eadd9fad23d85b7658329395c6b</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: brcmfmac: backport commit dropping IAPP packets by default</title>
<updated>2018-03-21T08:36:39+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-03-21T08:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fad29d2c3dea9af148b50acdb9f6dc2a200c8ca9'/>
<id>fad29d2c3dea9af148b50acdb9f6dc2a200c8ca9</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: don't pass the hostapd ctrl iface in adhoc</title>
<updated>2017-12-13T15:51:12+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2012-11-09T14:23:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0f175041ad03d381a575e2c2b1a1c9ca76fe0e99'/>
<id>0f175041ad03d381a575e2c2b1a1c9ca76fe0e99</id>
<content type='text'>
Passing the ctrl iface to wpa_supplicant will automatically cause wpa_supplicant
to send "STOP_AP" messages to the hostapd. This breaks the AP interfaces.

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
(cherry picked from commit 0da54fa6428ea98d31b49f5d9a4a272214f5d188)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passing the ctrl iface to wpa_supplicant will automatically cause wpa_supplicant
to send "STOP_AP" messages to the hostapd. This breaks the AP interfaces.

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
(cherry picked from commit 0da54fa6428ea98d31b49f5d9a4a272214f5d188)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: gracefully handle preexisting VIF</title>
<updated>2017-12-13T14:29:01+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2017-05-14T17:47:07+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f0a493160cbc3feb683b6efb23ec80e0564d1be2'/>
<id>f0a493160cbc3feb683b6efb23ec80e0564d1be2</id>
<content type='text'>
Gracefully handle cases where the to-be-created wireless interface already
exists on the system which might commonly happen with non-multi-SSID capable
wireless drivers.

This fixes commit 8301e613655c2d95fa5430a1a57d92d966fdc70b which caused
previously ignored "Too many open files in system (-23)" errors to fail the
wireless setup procedure.

With the updated approach we'll still try recreating the vif after one
second if the first attempt to do so failed with ENFILE but we will now
consider the operation successfull if a second attempt still yields ENFILE
with the requested ifname already existing on the system.

Fixes FS#664, FS#704.

Suggested-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 4a033475453b63d0d5ae41489e7c395882567698)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gracefully handle cases where the to-be-created wireless interface already
exists on the system which might commonly happen with non-multi-SSID capable
wireless drivers.

This fixes commit 8301e613655c2d95fa5430a1a57d92d966fdc70b which caused
previously ignored "Too many open files in system (-23)" errors to fail the
wireless setup procedure.

With the updated approach we'll still try recreating the vif after one
second if the first attempt to do so failed with ENFILE but we will now
consider the operation successfull if a second attempt still yields ENFILE
with the requested ifname already existing on the system.

Fixes FS#664, FS#704.

Suggested-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 4a033475453b63d0d5ae41489e7c395882567698)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: Fix race condition leading to wifi interfaces not coming up at boot sometimes.</title>
<updated>2017-12-13T13:52:24+00:00</updated>
<author>
<name>Vittorio Gambaletta</name>
<email>openwrt@vittgam.net</email>
</author>
<published>2017-03-14T13:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=62a8252a0f32d6c148e4565354fd6a99da13fa41'/>
<id>62a8252a0f32d6c148e4565354fd6a99da13fa41</id>
<content type='text'>
In the drv_mac80211_setup function, mac80211_interface_cleanup
is called to ask the kernel to delete all existing interfaces
for the phy that is being configured via netlink.

Later in the first function, mac80211_prepare_vif is called to
set up the new interfaces as required.

But sometimes, when mac80211_prepare_vif (and so the relevant
`iw phy x interface add y` command) runs, the kernel might still
be cleaning up the old interface with the same ifname. It usually
takes very few time to do that; possibly a few milliseconds of
sleep in the script after detecting this error condition could be
enough, but the busybox sh does not support sub-second sleep
intervals.

When this happens, iw obviously fails to create the new interface;
and the following message is printed in the system log, followed by
subsequent failure messages from hostapd in case this would have been
an AP interface.

Tue Mar 14 04:21:57 2017 daemon.notice netifd: radio1 (2767): command failed: Too many open files in system (-23)

This was a long-standing issue existing since at least OpenWrt Backfire,
and today I finally managed to debug and (hopefully) solve it.
It was happening very few times on most devices; but it was happening
a lot more frequently on fast platforms with multiple radios, such as
the powerpc-based dual-ath9k-radio tl-wdr4900-v1.

Signed-off-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
(cherry picked from commit 8301e613655c2d95fa5430a1a57d92d966fdc70b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the drv_mac80211_setup function, mac80211_interface_cleanup
is called to ask the kernel to delete all existing interfaces
for the phy that is being configured via netlink.

Later in the first function, mac80211_prepare_vif is called to
set up the new interfaces as required.

But sometimes, when mac80211_prepare_vif (and so the relevant
`iw phy x interface add y` command) runs, the kernel might still
be cleaning up the old interface with the same ifname. It usually
takes very few time to do that; possibly a few milliseconds of
sleep in the script after detecting this error condition could be
enough, but the busybox sh does not support sub-second sleep
intervals.

When this happens, iw obviously fails to create the new interface;
and the following message is printed in the system log, followed by
subsequent failure messages from hostapd in case this would have been
an AP interface.

Tue Mar 14 04:21:57 2017 daemon.notice netifd: radio1 (2767): command failed: Too many open files in system (-23)

This was a long-standing issue existing since at least OpenWrt Backfire,
and today I finally managed to debug and (hopefully) solve it.
It was happening very few times on most devices; but it was happening
a lot more frequently on fast platforms with multiple radios, such as
the powerpc-based dual-ath9k-radio tl-wdr4900-v1.

Signed-off-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
(cherry picked from commit 8301e613655c2d95fa5430a1a57d92d966fdc70b)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: backport kernel fix for CVE-2017-13080</title>
<updated>2017-10-16T22:57:05+00:00</updated>
<author>
<name>Stijn Tintel</name>
<email>stijn@linux-ipv6.be</email>
</author>
<published>2017-10-16T22:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a5e1f7f5ef63eb4036d7f1299d1da97687719ca1'/>
<id>a5e1f7f5ef63eb4036d7f1299d1da97687719ca1</id>
<content type='text'>
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
(cherry picked from commit 2f701194c29da50bfda968a83c6609843f74a7f4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
(cherry picked from commit 2f701194c29da50bfda968a83c6609843f74a7f4)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: Update wireless-regdb to master-2017-03-07</title>
<updated>2017-10-16T11:22:18+00:00</updated>
<author>
<name>Ryan Mounce</name>
<email>ryan@mounce.com.au</email>
</author>
<published>2017-03-07T13:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=707305a19dbd235a55fe5fee45d92485f40022b8'/>
<id>707305a19dbd235a55fe5fee45d92485f40022b8</id>
<content type='text'>
The short log of changes since the 2016-06-10 release is below.

Jouni Malinen (1):
      wireless-regdb: Remove DFS requirement for India (IN)

Ryan Mounce (1):
      wireless-regdb: Update rules for Australia (AU) and add 60GHz rules

Seth Forshee (2):
      wireless-regdb: Update 5 GHz rules for Canada
      wireless-regdb: update regulatory.bin based on preceding changes

Signed-off-by: Ryan Mounce &lt;ryan@mounce.com.au&gt;
(cherry picked from commit 8b12e62e9cd6ba2e3bb2e7f2555180df0173c7c6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The short log of changes since the 2016-06-10 release is below.

Jouni Malinen (1):
      wireless-regdb: Remove DFS requirement for India (IN)

Ryan Mounce (1):
      wireless-regdb: Update rules for Australia (AU) and add 60GHz rules

Seth Forshee (2):
      wireless-regdb: Update 5 GHz rules for Canada
      wireless-regdb: update regulatory.bin based on preceding changes

Signed-off-by: Ryan Mounce &lt;ryan@mounce.com.au&gt;
(cherry picked from commit 8b12e62e9cd6ba2e3bb2e7f2555180df0173c7c6)
</pre>
</div>
</content>
</entry>
<entry>
<title>brcmfmac: backport length check in brcmf_cfg80211_escan_handler()</title>
<updated>2017-10-16T11:02:04+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2017-10-16T10:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=bff16304b0bf5ebc98a6599235cc19512d051888'/>
<id>bff16304b0bf5ebc98a6599235cc19512d051888</id>
<content type='text'>
Fixes CVE-2017-0786

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes CVE-2017-0786

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: fix shellscript syntax errors/typos</title>
<updated>2017-09-13T06:07:39+00:00</updated>
<author>
<name>Lorenzo Santina</name>
<email>lorenzo.santina@edu.unito.it</email>
</author>
<published>2017-09-11T13:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d33f7905dfb39458ff2127237be22a54e806bdc9'/>
<id>d33f7905dfb39458ff2127237be22a54e806bdc9</id>
<content type='text'>
Fix multiple syntax errors in shelscripts (of packages only)
These errors were causing many conditions to not working properly

Signed-off-by: Lorenzo Santina &lt;lorenzo.santina@edu.unito.it&gt;
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin &lt;dev@kresin.em&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix multiple syntax errors in shelscripts (of packages only)
These errors were causing many conditions to not working properly

Signed-off-by: Lorenzo Santina &lt;lorenzo.santina@edu.unito.it&gt;
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin &lt;dev@kresin.em&gt;
</pre>
</div>
</content>
</entry>
</feed>
