]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit010b9d9c1f9808e5b818ae0b64d8482ffeba52b4
treef2804f4495c7dd166e447d4dc840defed9e9cfbe
parentaf2e8663af8dcaf3381756f107a17bdeb96acbc8
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