Bitterblue Smith
66ef0289ac
wifi: rtlwifi: rtl8821ae: Fix media status report
RTL8821AE is stuck transmitting at the lowest rate allowed by the rate
mask. This is because the firmware doesn't know the device is connected
to a network.
Fix the macros SET_H2CCMD_MSRRPT_PARM_OPMODE and
SET_H2CCMD_MSRRPT_PARM_MACID_IND to work on the first byte of __cmd,
not the second. Now the firmware is correctly notified when the device
is connected to a network and it activates the rate control.
Before (MCS3):
[ 5] 0.00-1.00 sec 12.5 MBytes 105 Mbits/sec 0 339 KBytes
[ 5] 1.00-2.00 sec 10.6 MBytes 89.1 Mbits/sec 0 339 KBytes
[ 5] 2.00-3.00 sec 10.6 MBytes 89.1 Mbits/sec 0 386 KBytes
[ 5] 3.00-4.00 sec 10.6 MBytes 89.1 Mbits/sec 0 386 KBytes
[ 5] 4.00-5.00 sec 10.2 MBytes 86.0 Mbits/sec 0 427 KBytes
After (MCS9):
[ 5] 0.00-1.00 sec 33.9 MBytes 284 Mbits/sec 0 771 KBytes
[ 5] 1.00-2.00 sec 31.6 MBytes 265 Mbits/sec 0 865 KBytes
[ 5] 2.00-3.00 sec 29.9 MBytes 251 Mbits/sec 0 963 KBytes
[ 5] 3.00-4.00 sec 28.2 MBytes 237 Mbits/sec 0 963 KBytes
[ 5] 4.00-5.00 sec 26.8 MBytes 224 Mbits/sec 0 963 KBytes
Fixes: 39f40710d0 ("rtlwifi: rtl88821ae: Remove usage of private bit manipulation macros")
Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/754785b3-8a78-4554-b80d-de5f603b410b@gmail.com
2024-12-23 15:56:14 +08:00
..
2024-11-28 09:28:09 -08:00
2024-11-12 16:41:45 +00:00
2024-11-29 11:58:27 -08:00
2024-11-26 18:05:44 -08:00
2024-11-20 12:55:41 -08:00
2024-11-29 11:43:29 -08:00
2024-11-30 15:47:29 -08:00
2024-11-21 08:28:08 -08:00
2024-11-29 11:58:27 -08:00
2024-11-10 10:53:21 +01:00
2024-11-29 11:58:27 -08:00
2024-11-22 17:02:25 -08:00
2024-11-13 13:49:33 +01:00
2024-11-07 08:25:08 +01:00
2024-11-23 10:44:31 -08:00
2024-11-27 11:19:09 -08:00
2024-11-26 18:05:44 -08:00
2024-11-29 11:43:29 -08:00
2024-11-25 18:31:48 -08:00
2024-11-27 13:25:47 -08:00
2024-11-23 10:44:31 -08:00
2024-11-25 17:12:54 -08:00
2024-11-29 11:58:27 -08:00
2024-11-29 11:58:27 -08:00
2024-11-29 11:43:29 -08:00
2024-11-29 13:06:06 -08:00
2024-11-25 09:21:47 -08:00
2024-11-24 07:36:47 -08:00
2024-11-27 12:23:43 +01:00
2024-11-18 14:29:13 +01:00
2024-11-11 15:48:50 +01:00
2024-11-29 11:58:27 -08:00
2024-11-29 11:43:29 -08:00
2024-11-25 10:31:39 -08:00
2024-11-27 14:24:34 -08:00
2024-12-01 12:37:58 -08:00
2024-11-09 09:14:12 -08:00
2024-11-22 16:25:20 -08:00
2024-11-14 22:54:28 +11:00
2024-11-30 09:03:16 -08:00
2024-11-30 15:47:29 -08:00
2024-11-20 14:05:34 -08:00
2024-11-06 20:46:07 -05:00
2024-11-22 16:19:47 -08:00
2024-11-30 09:03:16 -08:00
2024-11-20 12:51:32 -08:00
2024-11-30 10:32:47 -08:00
2024-12-23 15:56:14 +08:00
2024-11-27 13:11:58 -08:00
2024-11-30 15:47:29 -08:00
2024-11-29 11:58:27 -08:00
2024-12-01 13:38:24 -08:00
2024-11-27 14:40:33 -08:00
2024-11-30 18:23:05 -08:00
2024-11-09 14:55:33 +01:00
2024-11-30 14:33:44 -08:00
2024-11-29 11:43:29 -08:00
2024-11-29 11:43:29 -08:00
2024-12-01 13:38:24 -08:00
2024-11-12 19:46:51 +01:00
2024-11-28 09:28:09 -08:00
2024-11-15 00:32:29 +11:00
2024-11-07 12:03:39 +01:00
2024-11-28 09:40:53 -08:00
2024-11-15 20:36:27 -08:00
2024-11-22 17:02:25 -08:00
2024-11-26 18:36:55 -08:00
2024-11-30 11:18:16 -08:00
2024-11-29 11:43:29 -08:00
2024-11-29 11:43:29 -08:00
2024-11-30 14:45:29 -08:00
2024-11-21 08:28:08 -08:00
2024-11-27 13:38:09 -08:00
2024-11-28 10:06:00 -08:00
2024-11-10 10:56:46 +01:00
2024-12-04 16:14:46 +01:00
2024-11-25 18:50:55 -08:00
2024-11-12 15:48:08 +01:00
2024-11-27 14:36:00 -08:00
2024-11-29 11:19:31 -08:00
2024-11-30 09:03:16 -08:00
2024-11-25 18:50:55 -08:00
2024-11-29 11:58:27 -08:00
2024-11-30 13:41:50 -08:00
2024-11-12 18:05:05 -05:00
2024-11-27 12:57:03 -08:00
2024-11-11 10:56:27 -08:00
2024-11-25 12:07:45 -08:00
2024-11-19 12:21:35 -08:00
2024-11-27 13:11:58 -08:00
2024-11-20 15:13:02 -08:00
2024-11-19 15:54:19 -08:00