]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath10k: fix some of the macro definitions of HTT_RX_IND message
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Tue, 7 Jun 2016 12:47:03 +0000 (15:47 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 14 Jun 2016 11:51:43 +0000 (14:51 +0300)
commitdc73787b8b8a78acbbbb81f0d7eaf80aaf9c3ce1
tree86c8e99455b67cbefd4bb82726ce286f8119e0a3
parent6847f967339179b72eab690d46bc6e88ff847844
ath10k: fix some of the macro definitions of HTT_RX_IND message

Only five bits are defined to pass tid information in HTT_RX_IND
message, so the mask which can be used to extract tid should be 0x1f
instead of the current 0x3f. Also, macros which can be used to extract
flush_valid and release_valid bits have to be left shifted one bit less
because these information follow the tid right after. This patch does
not really fix anything functionally because these macros are not used
currently.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h