<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/ralink, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-02T15:13:45Z</updated>
<entry>
<title>rt2x00: pci: use generic power management</title>
<updated>2020-08-02T15:13:45Z</updated>
<author>
<name>Vaibhav Gupta</name>
</author>
<published>2020-07-17T11:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=560a218d1ce6ea36df6fb943a1065181df90a4d6'/>
<id>urn:sha1:560a218d1ce6ea36df6fb943a1065181df90a4d6</id>
<content type='text'>
Drivers using legacy PM have to manage PCI states and device's PM states
themselves. They also need to take care of configuration registers.

With improved and powerful support of generic PM, PCI Core takes care of
above mentioned, device-independent, jobs.

The callbacks make use of PCI helper functions like
pci_save/restore_state(), pci_enable/disable_device() and
pci_set_power_state() to do required operations. In generic mode, they are
no longer needed.

Change function parameter in both .suspend() and .resume() to
"struct device*" type. Use dev_get_drvdata() to get drv data.

The .suspend() callback is invoking rt2x00lib_suspend() which needs to be
modified as generic rt2x00pci_suspend() has no pm_message_t type argument,
passed to it, which is required by it according to its declaration.
Although this variable remained unused in the function body. Hence, remove
it from the function definition &amp; declaration.

rt2x00lib_suspend() is also invoked by rt2x00usb_suspend() and
rt2x00soc_suspend(). Thus, modify the functional call accordingly in their
function body.

Earlier, .suspend() &amp; .resume() were exported and were used by the
following drivers:
    - drivers/net/wireless/ralink/rt2x00/rt2400pci.c
    - drivers/net/wireless/ralink/rt2x00/rt2500pci.c
    - drivers/net/wireless/ralink/rt2x00/rt2800pci.c
    - drivers/net/wireless/ralink/rt2x00/rt61pci.c

Now, we only need to bind "struct dev_pm_ops" variable to
"struct pci_driver". Thus, make the callbacks static. Declare an
"extern const struct dev_pm_ops" variable and bind PM callbacks to it. Now,
export the variable instead and use it in respective drivers.

Compile-tested only.

Signed-off-by: Vaibhav Gupta &lt;vaibhavgupta40@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20200717110928.454867-1-vaibhavgupta40@gmail.com
</content>
</entry>
<entry>
<title>treewide: replace '---help---' in Kconfig files with 'help'</title>
<updated>2020-06-13T16:57:21Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2020-06-13T16:50:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7f7f6248d9740d710fd6bd190293fe5e16410ac'/>
<id>urn:sha1:a7f7f6248d9740d710fd6bd190293fe5e16410ac</id>
<content type='text'>
Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.

This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.

There are a variety of indentation styles found.

  a) 4 spaces + '---help---'
  b) 7 spaces + '---help---'
  c) 8 spaces + '---help---'
  d) 1 space + 1 tab + '---help---'
  e) 1 tab + '---help---'    (correct indentation)
  f) 1 tab + 1 space + '---help---'
  g) 1 tab + 2 spaces + '---help---'

In order to convert all of them to 1 tab + 'help', I ran the
following commend:

  $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>rt2800: enable MFP support unconditionally</title>
<updated>2020-05-29T15:42:28Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2020-05-25T13:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6b15e20421fefae9f78274f9fef80bc97bf5d5c'/>
<id>urn:sha1:b6b15e20421fefae9f78274f9fef80bc97bf5d5c</id>
<content type='text'>
This gives us WPA3 support out of the box without having to manually disable
hardware crypto. The driver will fall back to software crypto if the connection
requires management frame protection.

Suggested-by: Stanislaw Gruszka &lt;stf_xl@wp.pl&gt;
Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Acked-by: Stanislaw Gruszka &lt;stf_xl@wp.pl&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20200525134906.1672-1-rsalvaterra@gmail.com
</content>
</entry>
<entry>
<title>rt2x00usb: Fix a warning message in 'rt2x00usb_watchdog_tx_dma()'</title>
<updated>2019-12-18T18:58:48Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2019-12-04T05:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffc7b2826a3cd48369e0676b4dc083080ef96d7c'/>
<id>urn:sha1:ffc7b2826a3cd48369e0676b4dc083080ef96d7c</id>
<content type='text'>
'forced' is duplicated in the message, axe one of them.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rt2x00: use RESET state bit to prevent IV changes on restart</title>
<updated>2019-12-18T18:55:56Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2019-11-28T09:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d52378a0ad0c2c3e8a2572aa883da46ddfaac4e'/>
<id>urn:sha1:2d52378a0ad0c2c3e8a2572aa883da46ddfaac4e</id>
<content type='text'>
We can not set IV when we are under reset. Previously we read previous
IV value from registers and zeroed IV registers when key was deleted,
but this could possibly not work if DEL_KEY command was not performed.

Now when we have -&gt;reconfig_complete ops and we fully mark mac80211
reset state via DEVICE_STATE_RESET flag, we can just skip setting IV
when keys are set during reset.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rt2x00: implement reconfig_complete</title>
<updated>2019-12-18T18:55:55Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2019-11-28T09:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57f9807d1ea2bd1154d9f58c39670fbc49b1975e'/>
<id>urn:sha1:57f9807d1ea2bd1154d9f58c39670fbc49b1975e</id>
<content type='text'>
mac80211 has .reconfig_complete that can be used as indicator of
HW restart end. This will allow to configure keys/IV differently
for HW restart and normal configuration.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>drivers: net: Fix Kconfig indentation, continued</title>
<updated>2019-11-21T19:54:09Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2019-11-21T13:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5421cf84af69a94ebb179fec252f3772c4681cca'/>
<id>urn:sha1:5421cf84af69a94ebb179fec252f3772c4681cca</id>
<content type='text'>
Adjust indentation from spaces to tab (+optional two spaces) as in
coding style.  This fixes various indentation mixups (seven spaces,
tab+one space, etc).

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>rt2800: remove errornous duplicate condition</title>
<updated>2019-11-06T17:57:00Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2019-11-02T17:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1f7c2cabf701a17b1a05d6526bbdadc3d05e05c'/>
<id>urn:sha1:a1f7c2cabf701a17b1a05d6526bbdadc3d05e05c</id>
<content type='text'>
On 2019-10-28 06:07, wbob wrote:
&gt; Hello Roman,
&gt;
&gt; while reading around drivers/net/wireless/ralink/rt2x00/rt2800lib.c
&gt; I stumbled on what I think is an edit of yours made in error in march
&gt; 2017:
&gt;
&gt; https://github.com/torvalds/linux/commit/41977e86#diff-dae5dc10da180f3b055809a48118e18aR5281
&gt;
&gt; RT6352 in line 5281 should not have been introduced as the "else if"
&gt; below line 5291 can then not take effect for a RT6352 device. Another
&gt; possibility is for line 5291 to be not for RT6352, but this seems
&gt; very unlikely. Are you able to clarify still after this substantial time?
&gt;
&gt; 5277: static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev)
&gt; ...
&gt; 5279:  } else if (rt2x00_rt(rt2x00dev, RT5390) ||
&gt; 5280:         rt2x00_rt(rt2x00dev, RT5392) ||
&gt; 5281:         rt2x00_rt(rt2x00dev, RT6352)) {
&gt; ...
&gt; 5291:  } else if (rt2x00_rt(rt2x00dev, RT6352)) {
&gt; ...

Hence remove errornous line 5281 to make the driver actually
execute the correct initialization routine for MT7620 chips.

As it was requested by Stanislaw Gruszka remove setting values of
MIMO_PS_CFG and TX_PIN_CFG. MIMO_PS_CFG is responsible for MIMO
power-safe mode (which is disabled), hence we can drop setting it.
TX_PIN_CFG is set correctly in other functions, and as setting this
value breaks some devices, rather don't set it here during init, but
only modify it later on.

Fixes: 41977e86c984 ("rt2x00: add support for MT7620")
Reported-by: wbob &lt;wbob@jify.de&gt;
Reported-by: Roman Yeryomin &lt;roman@advem.lv&gt;
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Acked-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2019-10-20T17:43:00Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2019-10-20T05:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f184393e0c2d409c62262f57f2a57efdf9370b8'/>
<id>urn:sha1:2f184393e0c2d409c62262f57f2a57efdf9370b8</id>
<content type='text'>
Several cases of overlapping changes which were for the most
part trivially resolvable.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>rt2x00: remove input-polldev.h header</title>
<updated>2019-10-08T15:49:22Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2019-10-02T21:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=98d22b01f9f6f85eb8870290006241b316829fd3'/>
<id>urn:sha1:98d22b01f9f6f85eb8870290006241b316829fd3</id>
<content type='text'>
The driver does not use input subsystem so we do not need this header,
and it is being removed, so stop pulling it in.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
</feed>
