wcn36xx: calculate DXE control registers values
authorRamon Fried <rfried@codeaurora.org>
Sun, 4 Mar 2018 16:31:34 +0000 (18:31 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Mar 2018 15:25:13 +0000 (18:25 +0300)
commit6ced7958168fa77bdf9cca2ee8c7dcef5965a5cf
tree7a4da81d21f36877df4d0e8172dab95d8d4596d6
parent1fb148f51e6ceb367e3b5e1fccbd3756bf48e9fd
wcn36xx: calculate DXE control registers values

DXE descriptor control registers used hardcoded magic values.  Added bit
definitions of the control register and calculate this values in compilation
for clarity. No functional changes.

Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/dxe.c
drivers/net/wireless/ath/wcn36xx/dxe.h