kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi
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
..
btcoexist
rtl8188ee wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192c wifi: rtlwifi: rtl8192c: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192ce wifi: rtlwifi: rtl8192ce: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192cu wifi: rtlwifi: rtl8192cu: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192de wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-11-19 12:27:16 +01:00
rtl8192ee wifi: rtlwifi: rtl8192ee: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192se wifi: rtlwifi: rtl8192se: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8723ae wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() 2024-11-18 12:13:16 +01:00
rtl8723be wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() 2024-11-18 12:13:16 +01:00
rtl8723com
rtl8821ae
base.c
base.h
cam.c
cam.h
core.c
core.h
debug.c
debug.h
efuse.c
efuse.h
Kconfig
Makefile
pci.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
pci.h wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code 2024-11-18 12:12:47 +01:00
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c
regd.h
stats.c
stats.h
usb.c
usb.h
wifi.h wifi: rtlwifi: add calculate_bit_shift() 2024-11-18 12:12:37 +01:00