qcacld-3.0: Add ipa_uc_rx_ring_elem_t for 32-bit platform

ipa_uc_rx_ring_elem_t structure is platform specific and current
definition cannot be used on 32-bit ARM platform where IPA 3.5
is attached. Add IPA 3.5 and 32-bit ARM compatible structure to
avoid IPA crash when data traffic is running

Change-Id: Ia5c141c9405675a64f59ba4c09f1ffd911158c9b
CRs-Fixed: 2046905
This commit is contained in:
wadesong
2017-05-13 20:02:35 +08:00
committed by snandini
부모 28fbb56b5d
커밋 1885d2c685

파일 보기

@@ -176,11 +176,19 @@ struct htt_ipa_uc_rx_resource_t {
* @vdev_id: virtual interface id
* @rx_packet_leng: packet length
*/
#if HTT_PADDR64
struct ipa_uc_rx_ring_elem_t {
target_paddr_t rx_packet_paddr;
uint32_t vdev_id;
uint32_t rx_packet_leng;
};
#else
struct ipa_uc_rx_ring_elem_t {
target_paddr_t rx_packet_paddr;
uint16_t vdev_id;
uint16_t rx_packet_leng;
};
#endif
struct htt_tx_credit_t {
qdf_atomic_t bus_delta;