rtl8xxxu: add enumeration for channel bandwidth
authorChris Chiu <chiu@endlessm.com>
Fri, 20 Mar 2020 06:38:32 +0000 (14:38 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Mar 2020 09:42:52 +0000 (11:42 +0200)
commita66b8b4108f178f34394681232c7df07e9b0f6be
treeb4542fe5ff3f08ead64dde2bf523167f97ec8fa1
parentd05550936ac87bd067351e96f781051d6a2a642e
rtl8xxxu: add enumeration for channel bandwidth

There's a data field in H2C and C2H commands which is used to
carry channel bandwidth information. Add enumeration to make it
more descriptive in code.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200320063833.1058-2-chiu@endlessm.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c