1 /* 2 * Copyright (c) 2017 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef _MACRX_ABORT_REQUEST_INFO_H_ 20 #define _MACRX_ABORT_REQUEST_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 25 // ################ START SUMMARY ################# 26 // 27 // Dword Fields 28 // 0 macrx_abort_reason[7:0], reserved_0[15:8] 29 // 30 // ################ END SUMMARY ################# 31 32 #define NUM_OF_WORDS_MACRX_ABORT_REQUEST_INFO 1 33 34 struct macrx_abort_request_info { 35 uint16_t macrx_abort_reason : 8, //[7:0] 36 reserved_0 : 8; //[15:8] 37 }; 38 39 /* 40 41 macrx_abort_reason 42 43 <enum 0 macrx_abort_sw_initiated> 44 45 <enum 1 macrx_abort_obss_reception> Upon receiving ths 46 abort reason, PHY should stop reception of the current frame 47 and go back into a search mode 48 49 <enum 2 macrx_abort_other> 50 51 52 53 <legal 0-2> 54 55 reserved_0 56 57 <legal 0> 58 */ 59 60 61 /* Description MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON 62 63 <enum 0 macrx_abort_sw_initiated> 64 65 <enum 1 macrx_abort_obss_reception> Upon receiving ths 66 abort reason, PHY should stop reception of the current frame 67 and go back into a search mode 68 69 <enum 2 macrx_abort_other> 70 71 72 73 <legal 0-2> 74 */ 75 #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_OFFSET 0x00000000 76 #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_LSB 0 77 #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_MASK 0x000000ff 78 79 /* Description MACRX_ABORT_REQUEST_INFO_0_RESERVED_0 80 81 <legal 0> 82 */ 83 #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_OFFSET 0x00000000 84 #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_LSB 8 85 #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_MASK 0x0000ff00 86 87 88 #endif // _MACRX_ABORT_REQUEST_INFO_H_ 89