<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/net/wireless/realtek, branch jd/bump-compilers</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/net/wireless/realtek?h=jd%2Fbump-compilers</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/net/wireless/realtek?h=jd%2Fbump-compilers'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2024-09-09T12:32:33Z</updated>
<entry>
<title>Merge tag 'rtw-next-2024-09-05' of https://github.com/pkshih/rtw</title>
<updated>2024-09-09T12:32:33Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@kernel.org</email>
</author>
<published>2024-09-09T12:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=0af2b1b20292736108edb4e508370fa8e1efc262'/>
<id>urn:sha1:0af2b1b20292736108edb4e508370fa8e1efc262</id>
<content type='text'>
rtw-next patches for v6.12

The rtw89 is continuously adjusting code to support MLO. The major changes
are listed below:

rtw88:

 * fix USB not transmitting beacon in AP mode

rtw89:

 * complete BT-coexistence code for RTL8852BT
 * fix throughput degrade of VHT rate for RTL8851B/8852A/8852B/8852BT
 * enable WoWLAN net-detect for more one chip, RTL8922A
</content>
</entry>
<entry>
<title>wifi: rtw89: avoid reading out of bounds when loading TX power FW elements</title>
<updated>2024-09-05T01:13:44Z</updated>
<author>
<name>Zong-Zhe Yang</name>
<email>kevin_yang@realtek.com</email>
</author>
<published>2024-09-02T01:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=ed2e4bb17a4884cf29c3347353d8aabb7265b46c'/>
<id>urn:sha1:ed2e4bb17a4884cf29c3347353d8aabb7265b46c</id>
<content type='text'>
Because the loop-expression will do one more time before getting false from
cond-expression, the original code copied one more entry size beyond valid
region.

Fix it by moving the entry copy to loop-body.

Signed-off-by: Zong-Zhe Yang &lt;kevin_yang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240902015803.20420-1-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: use frequency domain RSSI</title>
<updated>2024-09-05T00:55:02Z</updated>
<author>
<name>Eric Huang</name>
<email>echuang@realtek.com</email>
</author>
<published>2024-08-28T05:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c9ac071e30ba4f2e770a0705564790502a7b931f'/>
<id>urn:sha1:c9ac071e30ba4f2e770a0705564790502a7b931f</id>
<content type='text'>
To get more accurate RSSI, this commit includes frequency domain RSSI
info in RSSI calculation. Add correspond physts parsing and macro to
get frequency domain RSSI information for supported IC.

Signed-off-by: Eric Huang &lt;echuang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240828055217.10263-3-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: adjust DIG threshold to reduce false alarm</title>
<updated>2024-09-05T00:50:47Z</updated>
<author>
<name>Eric Huang</name>
<email>echuang@realtek.com</email>
</author>
<published>2024-08-28T05:52:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9ecb64ed07efda833608d1095a5c0ee92179f035'/>
<id>urn:sha1:9ecb64ed07efda833608d1095a5c0ee92179f035</id>
<content type='text'>
Use RSSI without subtracting offset as packet detection lower bound and
set an absolute minimal threshold. It's equivalent to setting a higher
noise floor, thereby reducing false alarm and improving interference
endurance.

Signed-off-by: Eric Huang &lt;echuang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240828055217.10263-2-pkshih@realtek.com
</content>
</entry>
<entry>
<title>Merge tag 'wireless-next-2024-09-04' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next</title>
<updated>2024-09-05T00:20:14Z</updated>
<author>
<name>Jakub Kicinski</name>
<email>kuba@kernel.org</email>
</author>
<published>2024-09-05T00:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=43b7724487109368363bb5cda034b3f600278d14'/>
<id>urn:sha1:43b7724487109368363bb5cda034b3f600278d14</id>
<content type='text'>
Kalle Valo says:

====================
pull-request: wireless-next-2024-09-04

here's a pull request to net-next tree, more info below. Please let me know if
there are any problems.
====================

Conflicts:

drivers/net/wireless/ath/ath12k/hw.c
  38055789d151 ("wifi: ath12k: use 128 bytes aligned iova in transmit path for WCN7850")
  8be12629b428 ("wifi: ath12k: restore ASPM for supported hardwares only")
https://lore.kernel.org/87msldyj97.fsf@kernel.org

Link: https://patch.msgid.link/20240904153205.64C11C4CEC2@smtp.kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: rtw89: wow: add scan interval option for net-detect</title>
<updated>2024-09-02T01:15:02Z</updated>
<author>
<name>Chin-Yen Lee</name>
<email>timlee@realtek.com</email>
</author>
<published>2024-08-26T09:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=30ce797d4654015c179a8909ef6945f0c0d64e7e'/>
<id>urn:sha1:30ce797d4654015c179a8909ef6945f0c0d64e7e</id>
<content type='text'>
The scan interval option is the period in unit of second for WoWLAN
firmware to do each scan. We get the option from cfg80211 and practice it.
If the interval is too short for firmware to finish one scan, the firmware
will start next scan immediately after finishing one and the WiFi chip
could never enter idle mode to reduce power consumption.

Signed-off-by: Chin-Yen Lee &lt;timlee@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240826090439.17242-5-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: wow: add net-detect support for 8922ae</title>
<updated>2024-09-02T01:14:53Z</updated>
<author>
<name>Chin-Yen Lee</name>
<email>timlee@realtek.com</email>
</author>
<published>2024-08-26T09:04:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=1de40069417e0f2b9779eb4781fb4852f3d87680'/>
<id>urn:sha1:1de40069417e0f2b9779eb4781fb4852f3d87680</id>
<content type='text'>
Enable net-detect in WoWLAN stub of 8922a, and declare net-detect
support up to 8 SSIDs.

Signed-off-by: Chin-Yen Lee &lt;timlee@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240826090439.17242-4-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: wow: add wait for H2C of FW-IPS mode</title>
<updated>2024-09-02T01:13:33Z</updated>
<author>
<name>Chin-Yen Lee</name>
<email>timlee@realtek.com</email>
</author>
<published>2024-08-26T09:04:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f6409a8a0aab2ffc5df5ecbd0e73c9be1f84af4e'/>
<id>urn:sha1:f6409a8a0aab2ffc5df5ecbd0e73c9be1f84af4e</id>
<content type='text'>
The C2H packet of FW-IPS mode is not handled by driver in the suspend
flow, and lead to WoWLAN firmware fail to enter PS mode and even some
SER happen. So add wait function for H2C of FW-IPS mode to check driver
handle the C2H packet before disabling interrupt and make the net-detect
function work fine.

Signed-off-by: Chin-Yen Lee &lt;timlee@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240826090439.17242-3-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw89: wow: fix wait condition for AOAC report request</title>
<updated>2024-09-02T01:12:16Z</updated>
<author>
<name>Zong-Zhe Yang</name>
<email>kevin_yang@realtek.com</email>
</author>
<published>2024-08-26T09:04:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=d9dd3ac77cf7cabd35732893f3aefba1daa1c2e1'/>
<id>urn:sha1:d9dd3ac77cf7cabd35732893f3aefba1daa1c2e1</id>
<content type='text'>
Each condition binding to the same wait should be unique. AOAC code misused
the wait of FW offload series and broke the above rule. It added another
macro to generate wait condition of WoWLAN/AOAC, but the results conflict
to the ones of FW offload series. It means that we might be completed
wrongly in logic. We don't want things work/read like this and should
have avoided this.

Fix this by adding another wait which aims for WoWLAN functions.

Fixes: ff53fce5c78b ("wifi: rtw89: wow: update latest PTK GTK info to mac80211 after resume")
Signed-off-by: Zong-Zhe Yang &lt;kevin_yang@realtek.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240826090439.17242-2-pkshih@realtek.com
</content>
</entry>
<entry>
<title>wifi: rtw88: assign mac_id for vif/sta and update to TX desc</title>
<updated>2024-09-02T00:44:54Z</updated>
<author>
<name>Ping-Ke Shih</name>
<email>pkshih@realtek.com</email>
</author>
<published>2024-08-19T02:52:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=902cb7b11f9a7ff07233cc4c626b54c3e4703149'/>
<id>urn:sha1:902cb7b11f9a7ff07233cc4c626b54c3e4703149</id>
<content type='text'>
A mac_id as an instance in firmware has to be assigned for each station
including AP and connected stations. Firmware will use the mac_id to
control TX rate and do statistics.

Assignment rule is to assign mac_id to each vif when adding vif.
For station mode, sta-&gt;mac_id will reuse vif-&gt;mac_id. For AP mode,
dynamically allocate an sta-&gt;mac_id to a station, and vif-&gt;mac_id is
used to send broadcast/multicast packets which are not belong to
a station. For example,

                  vif-&gt;mac_id      sta-&gt;mac_id
vif0 (STA mode)        0               0
vif1 (AP mode)         1               2...

By the way, remove unused RTW_BC_MC_MACID, which was planed to send
broadcast/multicast packets on fixed mac_id.

Tested-on RTL8822CE with STA + AP SCC mode.

Link: https://lore.kernel.org/linux-wireless/e4be0a75-43b2-4ae5-9aab-5c4a88e78097@gmail.com/
Cc: Bitterblue Smith &lt;rtl8821cerfe2@gmail.com&gt;
Signed-off-by: Ping-Ke Shih &lt;pkshih@realtek.com&gt;
Link: https://patch.msgid.link/20240819025248.17939-1-pkshih@realtek.com
</content>
</entry>
</feed>
