Skip to content

Commit

Permalink
ath11k: Change masking and shifting in htt stats
Browse files Browse the repository at this point in the history
In debugfs_htt_stats.c, masking and shifting is done to get
stats values. Instead use GENMASK and FIELD_GET to improve
code readability and maintenance.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01105-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan <seevalam@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210913223148.208026-5-jouni@codeaurora.org
  • Loading branch information
Seevalamuthu Mariappan authored and Kalle Valo committed Sep 28, 2021
1 parent 74327ba commit 6ed7318
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 136 deletions.
Loading

0 comments on commit 6ed7318

Please sign in to comment.