]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6764304e99c342c151da31c9896730a81172ea45
tree70e51ddbe3abb38d09ee112248e446641287d2db
parentb99f241f3d225e7e22bcca6ae1ee574471538bdc
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