<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/realtek/rtw89/phy.h, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-11-22T10:15:30Z</updated>
<entry>
<title>wifi: rtw89: switch BANDEDGE and TX_SHAPE based on OFDMA trigger frame</title>
<updated>2022-11-22T10:15:30Z</updated>
<author>
<name>Eric Huang</name>
<email>echuang@realtek.com</email>
</author>
<published>2022-11-17T06:30:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=29136c95fdc5d9bbfb56131408388fefdba4ed95'/>
<id>urn:sha1:29136c95fdc5d9bbfb56131408388fefdba4ed95</id>
<content type='text'>
There are some registers for transmit waveform control, two of them used
in this change are for BANDEDGE and TX_SHAPE control. BANDEDGE controls
whether to apply band edge filter to transmit waveform. TX_SHAPE controls
whether to apply triangular mask to transmit waveform. It is found for
some chip, these two should be turned off during OFDMA UL traffic for
better performance.

Signed-off-by: Eric Huang &lt;echuang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20221117063001.42967-3-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: collect and send RF parameters to firmware for WoWLAN</title>
<updated>2022-11-01T09:26:12Z</updated>
<author>
<name>Chih-Kang Chang</name>
<email>gary.chang@realtek.com</email>
</author>
<published>2022-10-27T05:27:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d9112042d9942648825d3ebe837dd33dbd7c6ddb'/>
<id>urn:sha1:d9112042d9942648825d3ebe837dd33dbd7c6ddb</id>
<content type='text'>
For WoWLAN mode, we only collect and send RF parameters to Firmware
without writing RF registers. So we add one function to practice it.

Signed-off-by: Chih-Kang Chang &lt;gary.chang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20221027052707.14605-2-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: phy: add dummy C2H handler to avoid warning message</title>
<updated>2022-10-19T05:57:51Z</updated>
<author>
<name>Ping-Ke Shih</name>
<email>pkshih@realtek.com</email>
</author>
<published>2022-10-14T06:02:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3b66519b023b9de3239576b938bbdf43f95bc862'/>
<id>urn:sha1:3b66519b023b9de3239576b938bbdf43f95bc862</id>
<content type='text'>
The C2H class 2 function 3 is to report retry count of low rate, but driver
doesn't implement yet, so add a dummy case to avoid message:

  rtw89_8852be 0000:03:00.0: c2h class 2 not support

Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20221014060237.29050-4-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: 8852b: add chip_ops::set_channel</title>
<updated>2022-10-11T16:45:20Z</updated>
<author>
<name>Ping-Ke Shih</name>
<email>pkshih@realtek.com</email>
</author>
<published>2022-10-05T08:32:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6b0698984eb02f3e0dfd3c152df69f87c903e07f'/>
<id>urn:sha1:6b0698984eb02f3e0dfd3c152df69f87c903e07f</id>
<content type='text'>
set_channel is main function to configure channel and bandwidth for all
layers, namely MAC, BB and RF. Additionally, MAC layer enables CCK rate
checking to avoid wrong rate from driver. BB layer configures SCO
(Sample Clock Offset) for CCK, TX gain error/offset, and reset baseband
hardware circuit after all configurations done.

Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20221005083212.45683-7-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: make generic functions to convert subband gain index</title>
<updated>2022-10-11T16:45:20Z</updated>
<author>
<name>Ping-Ke Shih</name>
<email>pkshih@realtek.com</email>
</author>
<published>2022-10-05T08:32:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6e5125bcbaf810520969c121c7f12f20b8f3987d'/>
<id>urn:sha1:6e5125bcbaf810520969c121c7f12f20b8f3987d</id>
<content type='text'>
The gain tables use different domain index, so we need to convert the index
from subband of chandef. Since these conversion functions can share with
8852b, make generic functions for further use.

Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20221005083212.45683-6-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: phy: make generic txpwr setting functions</title>
<updated>2022-10-04T07:17:37Z</updated>
<author>
<name>Zong-Zhe Yang</name>
<email>kevin_yang@realtek.com</email>
</author>
<published>2022-09-28T08:43:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9b43bd1ac0a8e29b678768f93645cc1b39571278'/>
<id>urn:sha1:9b43bd1ac0a8e29b678768f93645cc1b39571278</id>
<content type='text'>
Previously, we thought control registers or setting things for TX power
series may change according to chip. So, setting functions are implemented
chip by chip. However, until now, the functions keep the same among chips,
at least 8852A, 8852C, and 8852B. There is a sufficient number of chips to
share generic setting functions. So, we now remake them including TX power
by rate, TX power offset, TX power limit, and TX power limit RU as generic
ones in phy.c.

Besides, there are some code refinements in the generic ones, but almost
all of the logic doesn't change.

Signed-off-by: Zong-Zhe Yang &lt;kevin_yang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220928084336.34981-5-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: support TX diversity for 1T2R chipset</title>
<updated>2022-09-12T11:51:44Z</updated>
<author>
<name>Ping-Ke Shih</name>
<email>pkshih@realtek.com</email>
</author>
<published>2022-09-08T07:41:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7dbdf65525b365261904d427978009fe22f937b3'/>
<id>urn:sha1:7dbdf65525b365261904d427978009fe22f937b3</id>
<content type='text'>
Check RSSI strength to decide which path is better, and then set TX path
accordingly.

Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220908074140.39776-6-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: enlarge the CFO tracking boundary</title>
<updated>2022-09-02T08:36:31Z</updated>
<author>
<name>Cheng-Chieh Hsieh</name>
<email>cj.hsieh@realtek.com</email>
</author>
<published>2022-08-24T06:14:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9bea5761750caafceb88771babdbf87367ad3908'/>
<id>urn:sha1:9bea5761750caafceb88771babdbf87367ad3908</id>
<content type='text'>
The calibration value of XTAL offset may be too large in some wifi
modules, that the CFO tracking mechanism under the existing tracking
boundary can not adjust the CFO to the tolerable range. So we enlarge it.

Signed-off-by: Cheng-Chieh Hsieh &lt;cj.hsieh@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220824061425.13764-1-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: txpwr: concentrate channel related control to top</title>
<updated>2022-09-02T08:29:01Z</updated>
<author>
<name>Zong-Zhe Yang</name>
<email>kevin_yang@realtek.com</email>
</author>
<published>2022-08-09T10:49:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=07ef5f2fa3f350e911710e6b4102601bd974e817'/>
<id>urn:sha1:07ef5f2fa3f350e911710e6b4102601bd974e817</id>
<content type='text'>
For future support on multiple channels, it would be disturbing if we
still allow scattered leaf functions of TX power to query and manage
channel related control by themselves.

So, query rtw89_chan only on top functions. Then, pass it via functions
to make sure that the values coming from the same struct rtw89_chan.

Besides, fix rtw8852a_set_txpwr_offset() from rtw8852a_set_txpwr_ctrl()
to rtw8852a_set_txpwr(). TX power offset should consider current band,
so move it to chip_ops::set_txpwr() which will be called every time that
channel is set.

Signed-off-by: Zong-Zhe Yang &lt;kevin_yang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220809104952.61355-6-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: introduce rtw89_chan for channel stuffs</title>
<updated>2022-09-02T08:29:00Z</updated>
<author>
<name>Zong-Zhe Yang</name>
<email>kevin_yang@realtek.com</email>
</author>
<published>2022-08-09T10:49:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3e5831cac1e66f2e545b550424173d51ad9a3736'/>
<id>urn:sha1:3e5831cac1e66f2e545b550424173d51ad9a3736</id>
<content type='text'>
Introduce struct rtw89_chan ahead to encapsulate stuffs from struct
rtw89_channel_params. These stuffs have a clone in HAL and are used
throughout driver. After multiple channels support, it's expected that
each channel instance has a configuration of them. So, we refine them
with struct rtw89_chan by precise type first, and will re-arrange HAL
by struct rtw89_chan in the following as well.

(No logic has changed.)

Signed-off-by: Zong-Zhe Yang &lt;kevin_yang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220809104952.61355-3-pkshih@realtek.com
</content>
</entry>
</feed>
