OSDN Git Service

ath10k: add support for qca6174 Rx descriptors
authorMichal Kazior <michal.kazior@tieto.com>
Sat, 24 Jan 2015 10:14:48 +0000 (12:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Jan 2015 13:59:34 +0000 (15:59 +0200)
commit3ec79e3a75ed062cb0c13ceef0690929b777cf59
tree5254b7813c58e3351ca705b8103e3859789ecee5
parent1a7fecb766c83dace747f42b25bbb544b00a0163
ath10k: add support for qca6174 Rx descriptors

The QCA6174 chip has an extra 4 bytes in
rx_ppdu_end structure which is used in htt_rx_desc
and HTT Rx ring offset setup. This is necessary
for correct Rx for QCA6174 (otherwise Rx
descriptors are overwritten and corrupted).

This means QCA988X will have an extra 4 byte
padding in Rx descriptor layout which is harmless.

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