]> git.baikalelectronics.ru Git - kernel.git/commit
qtnfmac: convert channel width from bitfiled to simple enum
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Thu, 21 Sep 2017 21:34:29 +0000 (14:34 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Sep 2017 08:27:13 +0000 (11:27 +0300)
commit0d93afc81cc095cf32144e227a84ae4dae78c3b6
tree3054685d82d35e7185dec9babfad698f496713c8
parent3b514e8ca2d68445ad7e54fa2a1949de9a8225e3
qtnfmac: convert channel width from bitfiled to simple enum

This will allow to use qlink channel width values to specify BW setting
corresponding to enum nl80211_chan_width.
Current user is converted to apply BIT() macro manually to each individual
qlink_channel_width enumeration value.

Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/qlink.h
drivers/net/wireless/quantenna/qtnfmac/qlink_util.c