1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for any 5*5113495bSYour Name * purpose with or without fee is hereby granted, provided that the above 6*5113495bSYour Name * copyright notice and this permission notice appear in all copies. 7*5113495bSYour Name * 8*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9*5113495bSYour Name * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10*5113495bSYour Name * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11*5113495bSYour Name * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12*5113495bSYour Name * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13*5113495bSYour Name * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14*5113495bSYour Name * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15*5113495bSYour Name */ 16*5113495bSYour Name 17*5113495bSYour Name 18*5113495bSYour Name #ifndef _NO_ACK_REPORT_H_ 19*5113495bSYour Name #define _NO_ACK_REPORT_H_ 20*5113495bSYour Name 21*5113495bSYour Name #define NUM_OF_DWORDS_NO_ACK_REPORT 4 22*5113495bSYour Name 23*5113495bSYour Name struct no_ack_report { 24*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 25*5113495bSYour Name uint32_t no_ack_transmit_reason : 4, 26*5113495bSYour Name macrx_abort_reason : 4, 27*5113495bSYour Name phyrx_abort_reason : 8, 28*5113495bSYour Name frame_control : 16; 29*5113495bSYour Name uint32_t rx_ppdu_duration : 24, 30*5113495bSYour Name sr_ppdu_during_obss : 1, 31*5113495bSYour Name selfgen_response_reason_to_sr_ppdu : 4, 32*5113495bSYour Name reserved_1 : 3; 33*5113495bSYour Name uint32_t pre_bt_broadcast_status_details : 12, 34*5113495bSYour Name first_bt_broadcast_status_details : 12, 35*5113495bSYour Name reserved_2 : 8; 36*5113495bSYour Name uint32_t second_bt_broadcast_status_details : 12, 37*5113495bSYour Name reserved_3 : 20; 38*5113495bSYour Name #else 39*5113495bSYour Name uint32_t frame_control : 16, 40*5113495bSYour Name phyrx_abort_reason : 8, 41*5113495bSYour Name macrx_abort_reason : 4, 42*5113495bSYour Name no_ack_transmit_reason : 4; 43*5113495bSYour Name uint32_t reserved_1 : 3, 44*5113495bSYour Name selfgen_response_reason_to_sr_ppdu : 4, 45*5113495bSYour Name sr_ppdu_during_obss : 1, 46*5113495bSYour Name rx_ppdu_duration : 24; 47*5113495bSYour Name uint32_t reserved_2 : 8, 48*5113495bSYour Name first_bt_broadcast_status_details : 12, 49*5113495bSYour Name pre_bt_broadcast_status_details : 12; 50*5113495bSYour Name uint32_t reserved_3 : 20, 51*5113495bSYour Name second_bt_broadcast_status_details : 12; 52*5113495bSYour Name #endif 53*5113495bSYour Name }; 54*5113495bSYour Name 55*5113495bSYour Name #define NO_ACK_REPORT_NO_ACK_TRANSMIT_REASON_OFFSET 0x00000000 56*5113495bSYour Name #define NO_ACK_REPORT_NO_ACK_TRANSMIT_REASON_LSB 0 57*5113495bSYour Name #define NO_ACK_REPORT_NO_ACK_TRANSMIT_REASON_MSB 3 58*5113495bSYour Name #define NO_ACK_REPORT_NO_ACK_TRANSMIT_REASON_MASK 0x0000000f 59*5113495bSYour Name 60*5113495bSYour Name #define NO_ACK_REPORT_MACRX_ABORT_REASON_OFFSET 0x00000000 61*5113495bSYour Name #define NO_ACK_REPORT_MACRX_ABORT_REASON_LSB 4 62*5113495bSYour Name #define NO_ACK_REPORT_MACRX_ABORT_REASON_MSB 7 63*5113495bSYour Name #define NO_ACK_REPORT_MACRX_ABORT_REASON_MASK 0x000000f0 64*5113495bSYour Name 65*5113495bSYour Name #define NO_ACK_REPORT_PHYRX_ABORT_REASON_OFFSET 0x00000000 66*5113495bSYour Name #define NO_ACK_REPORT_PHYRX_ABORT_REASON_LSB 8 67*5113495bSYour Name #define NO_ACK_REPORT_PHYRX_ABORT_REASON_MSB 15 68*5113495bSYour Name #define NO_ACK_REPORT_PHYRX_ABORT_REASON_MASK 0x0000ff00 69*5113495bSYour Name 70*5113495bSYour Name #define NO_ACK_REPORT_FRAME_CONTROL_OFFSET 0x00000000 71*5113495bSYour Name #define NO_ACK_REPORT_FRAME_CONTROL_LSB 16 72*5113495bSYour Name #define NO_ACK_REPORT_FRAME_CONTROL_MSB 31 73*5113495bSYour Name #define NO_ACK_REPORT_FRAME_CONTROL_MASK 0xffff0000 74*5113495bSYour Name 75*5113495bSYour Name #define NO_ACK_REPORT_RX_PPDU_DURATION_OFFSET 0x00000004 76*5113495bSYour Name #define NO_ACK_REPORT_RX_PPDU_DURATION_LSB 0 77*5113495bSYour Name #define NO_ACK_REPORT_RX_PPDU_DURATION_MSB 23 78*5113495bSYour Name #define NO_ACK_REPORT_RX_PPDU_DURATION_MASK 0x00ffffff 79*5113495bSYour Name 80*5113495bSYour Name #define NO_ACK_REPORT_SR_PPDU_DURING_OBSS_OFFSET 0x00000004 81*5113495bSYour Name #define NO_ACK_REPORT_SR_PPDU_DURING_OBSS_LSB 24 82*5113495bSYour Name #define NO_ACK_REPORT_SR_PPDU_DURING_OBSS_MSB 24 83*5113495bSYour Name #define NO_ACK_REPORT_SR_PPDU_DURING_OBSS_MASK 0x01000000 84*5113495bSYour Name 85*5113495bSYour Name #define NO_ACK_REPORT_SELFGEN_RESPONSE_REASON_TO_SR_PPDU_OFFSET 0x00000004 86*5113495bSYour Name #define NO_ACK_REPORT_SELFGEN_RESPONSE_REASON_TO_SR_PPDU_LSB 25 87*5113495bSYour Name #define NO_ACK_REPORT_SELFGEN_RESPONSE_REASON_TO_SR_PPDU_MSB 28 88*5113495bSYour Name #define NO_ACK_REPORT_SELFGEN_RESPONSE_REASON_TO_SR_PPDU_MASK 0x1e000000 89*5113495bSYour Name 90*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_1_OFFSET 0x00000004 91*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_1_LSB 29 92*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_1_MSB 31 93*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_1_MASK 0xe0000000 94*5113495bSYour Name 95*5113495bSYour Name #define NO_ACK_REPORT_PRE_BT_BROADCAST_STATUS_DETAILS_OFFSET 0x00000008 96*5113495bSYour Name #define NO_ACK_REPORT_PRE_BT_BROADCAST_STATUS_DETAILS_LSB 0 97*5113495bSYour Name #define NO_ACK_REPORT_PRE_BT_BROADCAST_STATUS_DETAILS_MSB 11 98*5113495bSYour Name #define NO_ACK_REPORT_PRE_BT_BROADCAST_STATUS_DETAILS_MASK 0x00000fff 99*5113495bSYour Name 100*5113495bSYour Name #define NO_ACK_REPORT_FIRST_BT_BROADCAST_STATUS_DETAILS_OFFSET 0x00000008 101*5113495bSYour Name #define NO_ACK_REPORT_FIRST_BT_BROADCAST_STATUS_DETAILS_LSB 12 102*5113495bSYour Name #define NO_ACK_REPORT_FIRST_BT_BROADCAST_STATUS_DETAILS_MSB 23 103*5113495bSYour Name #define NO_ACK_REPORT_FIRST_BT_BROADCAST_STATUS_DETAILS_MASK 0x00fff000 104*5113495bSYour Name 105*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_2_OFFSET 0x00000008 106*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_2_LSB 24 107*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_2_MSB 31 108*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_2_MASK 0xff000000 109*5113495bSYour Name 110*5113495bSYour Name #define NO_ACK_REPORT_SECOND_BT_BROADCAST_STATUS_DETAILS_OFFSET 0x0000000c 111*5113495bSYour Name #define NO_ACK_REPORT_SECOND_BT_BROADCAST_STATUS_DETAILS_LSB 0 112*5113495bSYour Name #define NO_ACK_REPORT_SECOND_BT_BROADCAST_STATUS_DETAILS_MSB 11 113*5113495bSYour Name #define NO_ACK_REPORT_SECOND_BT_BROADCAST_STATUS_DETAILS_MASK 0x00000fff 114*5113495bSYour Name 115*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_3_OFFSET 0x0000000c 116*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_3_LSB 12 117*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_3_MSB 31 118*5113495bSYour Name #define NO_ACK_REPORT_RESERVED_3_MASK 0xfffff000 119*5113495bSYour Name 120*5113495bSYour Name #endif 121