kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi/rtl8192de
Bitterblue Smith a42814b8fc wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path
commit 2f228d364da95ab58f63a3fedc00d5b2b7db16ab upstream.

Structs rx_desc_92d and rx_fwinfo_92d will not work for big endian
systems.

Delete rx_desc_92d because it's big and barely used, and instead use
the get_rx_desc_rxmcs and get_rx_desc_rxht functions, which work on big
endian systems too.

Fix rx_fwinfo_92d by duplicating four of its members in the correct
order.

Tested only with RTL8192DU, which will use the same code.
Tested only on a little endian system.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/698463da-5ef1-40c7-b744-fa51ad847caf@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 12:27:16 +01:00
..
def.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c wifi: rtlwifi: rtl8192de: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
phy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trx.c wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-11-19 12:27:16 +01:00
trx.h wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-11-19 12:27:16 +01:00