ath10k: add support for qca99x0 Rx descriptors
authorPeter Oh <poh@qca.qualcomm.com>
Thu, 16 Jul 2015 02:01:21 +0000 (19:01 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 24 Jul 2015 07:44:55 +0000 (10:44 +0300)
commit1f5dbfbb64c92e1c22305ac2b3951d6e3cf7a9a7
tree70e51ddbe3abb38d09ee112248e446641287d2db
parent05a2cb0daa49af4e240834ff3736fd35ba83320f
ath10k: add support for qca99x0 Rx descriptors

QCA99X0 chip has an extra 4 bytes in rx_msdu_start,
20 bytes in rx_msdu_end and 20 bytes in rx_ppdu_end structure
which are used in htt_rx_desc and HTT Rx ring offset setup.
This is necessary for correct Rx for QCA99X0 or Rx descriptors
will be overwritten and corrupted.

With this patch QCA988X and QCA6174 will have extra 44 bytes
padding in Rx descriptor layout which is harmless.

Signed-off-by: Peter Oh <poh@qca.qualcomm.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