Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: > rtw8703b_query_rx_desc(), rtw8723d_query_rx_desc(), > rtw8821c_query_rx_desc(), rtw8822b_query_rx_desc(), and > rtw8822c_query_rx_desc() are almost identical, so replace them all with > a single function, rtw_rx_query_rx_desc(). > > Also, access the RX descriptor using a struct with __le32 members and > le32_get_bits(). > > Tested with RTL8811CU, RTL8811AU, and RTL8812AU. I also tested with RTL8723DE and RTL8822CE, so Tested-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> # RTL8723DE and RTL8822CE > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>