]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite190f87eaf3a6df715fbd14cf36db25b86dad0dc
treeb4542fe5ff3f08ead64dde2bf523167f97ec8fa1
parent13ba842ae04219560d4748f9110ccf5de348c620
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