]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: Use secondary channel offset enumeration
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 30 Jan 2020 05:31:11 +0000 (13:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:20:39 +0000 (18:20 +0200)
commit516797eeb3499e9e95c443f91df82f0366e3c832
treeb2513c0a1939daf561a52a7595b3180c29271393
parentbd3db6e0604fddc96d62f77ddf150ff8c99803d6
rtw88: Use secondary channel offset enumeration

The hardware value of secondary channel offset isn't very intuitive. This
commit adds enumeration, so we can easier to check the logic with the
suffix of enumeration name, likes _UPPER or _LOWER.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
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/mac.c
drivers/net/wireless/realtek/rtw88/main.c
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822c.c