<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/kernel/mac80211, branch v18.06.0</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: backport brcmfmac fixes &amp; debugging helpers from 4.18</title>
<updated>2018-07-27T06:14:13+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-07-26T20:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=29aab93ea2a334026c0cc87414e7d1e731aedb11'/>
<id>29aab93ea2a334026c0cc87414e7d1e731aedb11</id>
<content type='text'>
The most important is probably regression fix in handling platform
NVRAM. That bug stopped hardware from being properly calibrated breaking
e.g. 5 GHz for Netgear R8000.

Other than that it triggers memory dumps when experiencing firmware
problems which is important for debugging purposes.

Fixes: 2811c97803e5 ("mac80211: backport brcmfmac firmware &amp; clm_blob loading rework")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit b26214adb53da2816ff830b6cd6e31e1dafa2635)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The most important is probably regression fix in handling platform
NVRAM. That bug stopped hardware from being properly calibrated breaking
e.g. 5 GHz for Netgear R8000.

Other than that it triggers memory dumps when experiencing firmware
problems which is important for debugging purposes.

Fixes: 2811c97803e5 ("mac80211: backport brcmfmac firmware &amp; clm_blob loading rework")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit b26214adb53da2816ff830b6cd6e31e1dafa2635)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: Expose support for ath9k Dynack</title>
<updated>2018-07-12T09:46:17+00:00</updated>
<author>
<name>Koen Vandeputte</name>
<email>koen.vandeputte@ncentric.com</email>
</author>
<published>2018-07-02T08:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=27014da237f172fc8459df34ab46d0460e9d7129'/>
<id>27014da237f172fc8459df34ab46d0460e9d7129</id>
<content type='text'>
Enables support for Dynack feature.

When a remote station is far away, we need to compensate for the distance
by allowing more time for an ACK to arrive back before issueing a retransmission.
Currently, it needs to be set fixed to indicate the maximum distance the remote
station will ever be.

While this mostly works for static antennae, it introduces 2 issues:
- If the actual distance is less, speed is reduced due to a lot of wates wait-time
- If the distance becomes greater, retries start to occur and comms can get lost.

Allowing to set it dynamically using dynack ensures the best possible tradeoff
between speed vs distance.

This feature is currently only supported in ath9k.
it is also disabled by default.

Enabling it can be done in 2 ways:
- issue cmd:  iw phy0 set distance auto
- sending the NL80211_ATTR_WIPHY_DYN_ACK flag to mac80211 driver using netlink

Disabling it can be done by providing a valid fixed value.

To give an idea of a practical example:

In my usecase, we have mesh wifi device installed on ships/platforms.
Currently, the coverage class is set at 12000m fixed.

When a vessel moved closer (ex. 1500m), the measured link capacity was a lot
lower compared to setting the coverage class fixed to 1500m

Dynack completely solved this, nearly providing double the bandwidth at closer range
compared to the fixed setting of 12000m being used.

Also when a vessel sailed to a distance greater than the fixed setting,
communication was lost as the ACK's never arrived within the max allowed timeframe.

Actual distance: 6010m
iperf 60s run avg

Fixed 12150m:  31 Mbit/s
Dynack:        58 Mbit/s

Fixed 6300m:   51 Mbit/s
Dynack:        59 Mbit/s

Fixed 3000m:   13 Mbit/s  (lots of retries)
Dynack:        58 Mbit/s

Actual distance: 1504m
iperf 60s run avg

Fixed 12150m:  31 Mbit/s
Dynack:        86 Mbit/s

Fixed 6300m:   55 Mbit/s
Dynack:        87 Mbit/s

Fixed 3000m:   67 Mbit/s
Dynack:        87 Mbit/s

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enables support for Dynack feature.

When a remote station is far away, we need to compensate for the distance
by allowing more time for an ACK to arrive back before issueing a retransmission.
Currently, it needs to be set fixed to indicate the maximum distance the remote
station will ever be.

While this mostly works for static antennae, it introduces 2 issues:
- If the actual distance is less, speed is reduced due to a lot of wates wait-time
- If the distance becomes greater, retries start to occur and comms can get lost.

Allowing to set it dynamically using dynack ensures the best possible tradeoff
between speed vs distance.

This feature is currently only supported in ath9k.
it is also disabled by default.

Enabling it can be done in 2 ways:
- issue cmd:  iw phy0 set distance auto
- sending the NL80211_ATTR_WIPHY_DYN_ACK flag to mac80211 driver using netlink

Disabling it can be done by providing a valid fixed value.

To give an idea of a practical example:

In my usecase, we have mesh wifi device installed on ships/platforms.
Currently, the coverage class is set at 12000m fixed.

When a vessel moved closer (ex. 1500m), the measured link capacity was a lot
lower compared to setting the coverage class fixed to 1500m

Dynack completely solved this, nearly providing double the bandwidth at closer range
compared to the fixed setting of 12000m being used.

Also when a vessel sailed to a distance greater than the fixed setting,
communication was lost as the ACK's never arrived within the max allowed timeframe.

Actual distance: 6010m
iperf 60s run avg

Fixed 12150m:  31 Mbit/s
Dynack:        58 Mbit/s

Fixed 6300m:   51 Mbit/s
Dynack:        59 Mbit/s

Fixed 3000m:   13 Mbit/s  (lots of retries)
Dynack:        58 Mbit/s

Actual distance: 1504m
iperf 60s run avg

Fixed 12150m:  31 Mbit/s
Dynack:        86 Mbit/s

Fixed 6300m:   55 Mbit/s
Dynack:        87 Mbit/s

Fixed 3000m:   67 Mbit/s
Dynack:        87 Mbit/s

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: initialize sinfo in cfg80211_get_station</title>
<updated>2018-07-08T21:22:17+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@openmesh.com</email>
</author>
<published>2018-06-06T09:21:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b84a07b3803bd39d0a1eb1b040718a023b8f7971'/>
<id>b84a07b3803bd39d0a1eb1b040718a023b8f7971</id>
<content type='text'>
Most of the implementations behind cfg80211_get_station will not initialize
sinfo to zero before manipulating it. For example, the member "filled",
which indicates the filled in parts of this struct, is often only modified
by enabling certain bits in the bitfield while keeping the remaining bits
in their original state. A caller without a preinitialized sinfo.filled can
then no longer decide which parts of sinfo were filled in by
cfg80211_get_station (or actually the underlying implementations).

cfg80211_get_station must therefore take care that sinfo is initialized to
zero. Otherwise, the caller may tries to read information which was not
filled in and which must therefore also be considered uninitialized. In
batadv_v_elp_get_throughput's case, an invalid "random" expected throughput
may be stored for this neighbor and thus the B.A.T.M.A.N V algorithm may
switch to non-optimal neighbors for certain destinations.

Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@openmesh.com&gt;
(cherry picked from commit 87493dac11f3c7bbbc1fed9aef1cf9ff62053ab0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the implementations behind cfg80211_get_station will not initialize
sinfo to zero before manipulating it. For example, the member "filled",
which indicates the filled in parts of this struct, is often only modified
by enabling certain bits in the bitfield while keeping the remaining bits
in their original state. A caller without a preinitialized sinfo.filled can
then no longer decide which parts of sinfo were filled in by
cfg80211_get_station (or actually the underlying implementations).

cfg80211_get_station must therefore take care that sinfo is initialized to
zero. Otherwise, the caller may tries to read information which was not
filled in and which must therefore also be considered uninitialized. In
batadv_v_elp_get_throughput's case, an invalid "random" expected throughput
may be stored for this neighbor and thus the B.A.T.M.A.N V algorithm may
switch to non-optimal neighbors for certain destinations.

Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@openmesh.com&gt;
(cherry picked from commit 87493dac11f3c7bbbc1fed9aef1cf9ff62053ab0)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: make rtl8xxxu build again</title>
<updated>2018-06-26T14:01:50+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2018-06-26T14:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ecee5bf1a1e5a61907b933459f6772ca2bc68f4f'/>
<id>ecee5bf1a1e5a61907b933459f6772ca2bc68f4f</id>
<content type='text'>
we only wanted to drop rtl8xxxue support

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
(cherry picked from commit d8981133b27e7deebc79dc5fc51beb06b3b0a221)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we only wanted to drop rtl8xxxue support

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
(cherry picked from commit d8981133b27e7deebc79dc5fc51beb06b3b0a221)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: rtl8xxxu: drop support patches</title>
<updated>2018-06-26T13:46:26+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2018-06-26T13:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=cff16587bdcdb13bfa1fd076a77891091b08e387'/>
<id>cff16587bdcdb13bfa1fd076a77891091b08e387</id>
<content type='text'>
After a very enlightening but unfortunately far too short exchange with Jes
we mutually agreed to drop the patches. They are unfortunately not ready
yet.

Acked-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
(cherry picked from commit 66c5696cdf9599ccef652a651f52c0f7f53da44a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After a very enlightening but unfortunately far too short exchange with Jes
we mutually agreed to drop the patches. They are unfortunately not ready
yet.

Acked-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
(cherry picked from commit 66c5696cdf9599ccef652a651f52c0f7f53da44a)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: backport brcmfmac changes from kernel 4.18</title>
<updated>2018-06-23T12:29:39+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-06-18T05:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c437adb02473accadeec252e9d87d58ce44cd6ed'/>
<id>c437adb02473accadeec252e9d87d58ce44cd6ed</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit c446e38c862201dd4d6a4fb8ea6e49172980952d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit c446e38c862201dd4d6a4fb8ea6e49172980952d)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: backport brcmfmac firmware &amp; clm_blob loading rework</title>
<updated>2018-06-23T12:29:39+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-06-18T05:09:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=2811c97803e50e9964a2c23b9d8271f0265bcdca'/>
<id>2811c97803e50e9964a2c23b9d8271f0265bcdca</id>
<content type='text'>
It backports remaining brcmfmac changes from 4.17.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 7e8eb7f309a802ba10a13ddb807c6a31fecc9183)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It backports remaining brcmfmac changes from 4.17.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 7e8eb7f309a802ba10a13ddb807c6a31fecc9183)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: backport brcmfmac data structure rework</title>
<updated>2018-06-23T12:29:39+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-06-17T20:46:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=72f6025d69ac0260b90192da481a52cd72f842fb'/>
<id>72f6025d69ac0260b90192da481a52cd72f842fb</id>
<content type='text'>
It backports brcmfmac commits from kernel 4.17.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 3c8bb92655c68a07abf5358ef23eb98422ed8d6d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It backports brcmfmac commits from kernel 4.17.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 3c8bb92655c68a07abf5358ef23eb98422ed8d6d)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: backport "brcmfmac: cleanup and some rework" from 4.17</title>
<updated>2018-06-23T12:29:29+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-06-17T20:46:29+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8cfd43d1d65aa70dff06ef2f63186a4c4285bccc'/>
<id>8cfd43d1d65aa70dff06ef2f63186a4c4285bccc</id>
<content type='text'>
It was described by Arend as:

&gt; This series is intended for 4.17 and includes following:
&gt;
&gt;  * rework bus layer attach code.
&gt;  * remove duplicate variable declaration.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 0da9303e5b444e2c98c24719c48c09f4c976c5a7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was described by Arend as:

&gt; This series is intended for 4.17 and includes following:
&gt;
&gt;  * rework bus layer attach code.
&gt;  * remove duplicate variable declaration.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 0da9303e5b444e2c98c24719c48c09f4c976c5a7)
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: fix up ath10k led patch</title>
<updated>2018-06-22T08:51:22+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2018-06-22T08:51:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=04353c3af80409f59aa9b600dfede9326678f921'/>
<id>04353c3af80409f59aa9b600dfede9326678f921</id>
<content type='text'>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
