From 7abfbb26977efc99f86140ccc0de5402ac8f5c7e Mon Sep 17 00:00:00 2001 From: Nandha Kishore Easwaran Date: Wed, 2 Feb 2022 12:51:51 +0530 Subject: [PATCH] fw-api: Add Big endian support in headers Add Big endian support in HW headers for qcn9224 Change-Id: I807a2859ff3019933ad97db79dd9c058ddd545d6 --- hw/qcn9224/rx_mpdu_info.h | 2 +- hw/qcn9224/rx_mpdu_start.h | 2 +- hw/qcn9224/rx_msdu_desc_info.h | 2 +- hw/qcn9224/rx_msdu_end.h | 2 +- hw/qcn9224/rxpt_classify_info.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/qcn9224/rx_mpdu_info.h b/hw/qcn9224/rx_mpdu_info.h index 3997d555cfe4..3a21aa299c5b 100644 --- a/hw/qcn9224/rx_mpdu_info.h +++ b/hw/qcn9224/rx_mpdu_info.h @@ -33,7 +33,7 @@ struct rx_mpdu_info { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST struct rxpt_classify_info rxpt_classify_info_details; uint32_t rx_reo_queue_desc_addr_31_0 : 32; uint32_t rx_reo_queue_desc_addr_39_32 : 8, diff --git a/hw/qcn9224/rx_mpdu_start.h b/hw/qcn9224/rx_mpdu_start.h index 812c667da64d..c19311311449 100644 --- a/hw/qcn9224/rx_mpdu_start.h +++ b/hw/qcn9224/rx_mpdu_start.h @@ -35,7 +35,7 @@ struct rx_mpdu_start { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST struct rx_mpdu_info rx_mpdu_info_details; #else struct rx_mpdu_info rx_mpdu_info_details; diff --git a/hw/qcn9224/rx_msdu_desc_info.h b/hw/qcn9224/rx_msdu_desc_info.h index b982268931a6..2826e5d7558c 100644 --- a/hw/qcn9224/rx_msdu_desc_info.h +++ b/hw/qcn9224/rx_msdu_desc_info.h @@ -32,7 +32,7 @@ struct rx_msdu_desc_info { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST uint32_t first_msdu_in_mpdu_flag : 1, last_msdu_in_mpdu_flag : 1, msdu_continuation : 1, diff --git a/hw/qcn9224/rx_msdu_end.h b/hw/qcn9224/rx_msdu_end.h index 53182070b3fe..418c648ff921 100644 --- a/hw/qcn9224/rx_msdu_end.h +++ b/hw/qcn9224/rx_msdu_end.h @@ -34,7 +34,7 @@ struct rx_msdu_end { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST uint32_t rxpcu_mpdu_filter_in_category : 2, sw_frame_group_id : 7, reserved_0 : 7, diff --git a/hw/qcn9224/rxpt_classify_info.h b/hw/qcn9224/rxpt_classify_info.h index 333ec3a50f7e..e21d907f4ecd 100644 --- a/hw/qcn9224/rxpt_classify_info.h +++ b/hw/qcn9224/rxpt_classify_info.h @@ -32,7 +32,7 @@ struct rxpt_classify_info { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST uint32_t reo_destination_indication : 5, lmac_peer_id_msb : 2, use_flow_id_toeplitz_clfy : 1,