From e37977be1abb3f9f635eefaae817bd4cc9162aa0 Mon Sep 17 00:00:00 2001 From: Nandha Kishore Easwaran Date: Fri, 3 Mar 2023 11:10:04 +0530 Subject: [PATCH] fw-api: Make changes to support Big endian Changes to support Big endian for monitor block. Change-Id: I59905545d366a35d0460188bfd5e32c49305fa50 CRs-Fixed: 3426992 --- hw/qcn9224/v1/mon_destination_ring.h | 4 ++-- hw/qcn9224/v2/mon_destination_ring.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/qcn9224/v1/mon_destination_ring.h b/hw/qcn9224/v1/mon_destination_ring.h index 98ae42071fb7..861a72aef747 100644 --- a/hw/qcn9224/v1/mon_destination_ring.h +++ b/hw/qcn9224/v1/mon_destination_ring.h @@ -1,5 +1,5 @@ -/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. +/* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -32,7 +32,7 @@ struct mon_destination_ring { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST uint32_t stat_buf_virt_addr_31_0 : 32; uint32_t stat_buf_virt_addr_63_32 : 32; uint32_t ppdu_id : 32; diff --git a/hw/qcn9224/v2/mon_destination_ring.h b/hw/qcn9224/v2/mon_destination_ring.h index 98ae42071fb7..861a72aef747 100644 --- a/hw/qcn9224/v2/mon_destination_ring.h +++ b/hw/qcn9224/v2/mon_destination_ring.h @@ -1,5 +1,5 @@ -/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. +/* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -32,7 +32,7 @@ struct mon_destination_ring { -#ifndef WIFI_BIT_ORDER_BIG_ENDIAN +#ifndef BIG_ENDIAN_HOST uint32_t stat_buf_virt_addr_31_0 : 32; uint32_t stat_buf_virt_addr_63_32 : 32; uint32_t ppdu_id : 32;