ath10k: use idr api for msdu_ids
authorMichal Kazior <michal.kazior@tieto.com>
Sat, 24 Jan 2015 10:14:51 +0000 (12:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Jan 2015 14:16:59 +0000 (16:16 +0200)
commit89d6d83565e9a18ae77f4542348d8a34c264c9b1
tree1786a6a36372f48289ea7a7f5e6f69da4e7fbf1c
parent20de2229c634382777eb3b8fc54a34be9669ff8a
ath10k: use idr api for msdu_ids

HTT Tx protocol uses arbitrary host assigned ids
too associate with MSDUs when delivering
completions.

Instead of rolling out own id generation scheme
use the tools provided in kernel.

This should have little to no effect on
performance.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/txrx.c