rtlwifi: Use 6 bits as sequence number of TX report
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 29 Jan 2018 03:26:34 +0000 (11:26 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:15:17 +0000 (18:15 +0200)
commit5f380ceff5f5c84039cd399120c5cb11f39376a8
tree04584a6dfecffc511f265c5e27dce463af4955b6
parent1ca72c3047aa1146fe22b1e79be713ac90572827
rtlwifi: Use 6 bits as sequence number of TX report

In new design, SW_DEFINE[1:0] of tx desc are used by firmware, and the TX
report only contains SW_DEFINE[7:0]. To satisfy with all cases, driver uses
SW_DEFINE[7:2] as sequence number.
Besides, the format of tx report have been changed, so a new flag
RTL_SPEC_EXT_C2H is used to access report.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/base.c
drivers/net/wireless/realtek/rtlwifi/wifi.h