fw-api: peach: E3.0: E3R44: WCSS_VERSION 2544 Add peach hw header files

Add HW header files to bring-in support for Peach WIFI.

Change-Id: I73ee0a2c4f22a90013b441ecd5e666d673d77ae0
CRs-Fixed: 3580269
This commit is contained in:
Prakash Manjunathappa
2022-12-19 13:50:51 -08:00
committed by Rahul Choudhary
parent c7f4741902
commit 2d29d9afc7
205 changed files with 49594 additions and 0 deletions

57
hw/peach/v1/rx_preamble.h Normal file
View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _RX_PREAMBLE_H_
#define _RX_PREAMBLE_H_
#define NUM_OF_DWORDS_RX_PREAMBLE 1
struct rx_preamble {
#ifndef WIFI_BIT_ORDER_BIG_ENDIAN
uint32_t num_users : 6,
pkt_type : 4,
direction : 1,
reserved_0a : 21;
#else
uint32_t reserved_0a : 21,
direction : 1,
pkt_type : 4,
num_users : 6;
#endif
};
#define RX_PREAMBLE_NUM_USERS_OFFSET 0x00000000
#define RX_PREAMBLE_NUM_USERS_LSB 0
#define RX_PREAMBLE_NUM_USERS_MSB 5
#define RX_PREAMBLE_NUM_USERS_MASK 0x0000003f
#define RX_PREAMBLE_PKT_TYPE_OFFSET 0x00000000
#define RX_PREAMBLE_PKT_TYPE_LSB 6
#define RX_PREAMBLE_PKT_TYPE_MSB 9
#define RX_PREAMBLE_PKT_TYPE_MASK 0x000003c0
#define RX_PREAMBLE_DIRECTION_OFFSET 0x00000000
#define RX_PREAMBLE_DIRECTION_LSB 10
#define RX_PREAMBLE_DIRECTION_MSB 10
#define RX_PREAMBLE_DIRECTION_MASK 0x00000400
#define RX_PREAMBLE_RESERVED_0A_OFFSET 0x00000000
#define RX_PREAMBLE_RESERVED_0A_LSB 11
#define RX_PREAMBLE_RESERVED_0A_MSB 31
#define RX_PREAMBLE_RESERVED_0A_MASK 0xfffff800
#endif