rtw88: 8723d: Add query_rx_desc
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 4 May 2020 10:50:04 +0000 (18:50 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 6 May 2020 08:34:13 +0000 (11:34 +0300)
commit158441a2bed49ea294cc79709bf88e17a7b71912
treef2804f4495c7dd166e447d4dc840defed9e9cfbe
parentdb39a9ddacada1e4c065d894faa3fa0e1100b10d
rtw88: 8723d: Add query_rx_desc

This ops is used to parse RX descriptor to know the length of received
packet and containing PHY status. If PHY status is existing, the order is
RX descriptor, PHY status and then packet.

There are two types of PHY status, named CCK and OFDM. Their size are the
same, but formats are different.

struct ieee80211_rx_status is also filled depends on above information.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200504105010.10780-3-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8723d.h