rtw88: report RX power for each antenna
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 12 Sep 2019 06:39:15 +0000 (14:39 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 15:07:19 +0000 (18:07 +0300)
commit98ab76ef6b6d16f3fcb5e13ed19448bcc7de83d2
tree47f5969c2b1b841f199186dd9bf19b80954cfbd3
parente9afa2dc4090390e64fd1564c0f20d09f3cf0c92
rtw88: report RX power for each antenna

Report chains and chain_signal in ieee80211_rx_status.
It is useful for program such as tcpdump to see if the
antennas are well connected/placed.

8822C is able to receive CCK rates with 2 antennas, while
8822B can only use 1 antenna path to receive CCK rates.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822c.c
drivers/net/wireless/realtek/rtw88/rx.c