소스 검색

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
wadesong 8 년 전
부모
커밋
1885d2c685
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      core/dp/htt/htt_types.h

+ 8 - 0
core/dp/htt/htt_types.h

@@ -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;