AM64x MCU+ SDK  08.02.00
PN_ReceiveDecisionTable.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifndef PN_RECEIVE_DECISION_TABLE_H_
34 #define PN_RECEIVE_DECISION_TABLE_H_
35 
36 /* ========================================================================== */
37 /* Include Files */
38 /* ========================================================================== */
39 
40 /* ========================================================================== */
41 /* Global Variables */
42 /* ========================================================================== */
43 
44 /* Each row in table represent 32 MAC Addresses which are listed on right side */
45 /* There is one bit for each of 32 MAC Addresses in a row */
46 /* If value of bit is 1 that means frame with corresponding MAC Address will be received otherwise it is dropped */
47 /* Following MAC Addresses are parsed separately by the PRU Firmware. For these MAC Addresses decision table is not referred */
48 /* 01-0E-CF-00-01-01 (RTC3 Frames), 01-0E-CF-00-04-20 (PTCP-RTSyncPDU Frames with Follow Up) */
49 /* 01-0E-CF 00-04-40 (PTCP-FollowUpPDU Frames), 01-0E-CF 00-04-80 (PTCP-RTSyncPDU Frames) */
50 
51 const uint32_t PN_Receive_Decision_Table[] =
52 {
53  0x00000003, /* 01-0E-CF-00-00-00 .. 01-0E-CF-00-00-1F */
54  0x00000000, /* 01-0E-CF-00-00-20 .. 01-0E-CF-00-00-3F */
55  0x00000000, /* 01-0E-CF-00-00-40 .. 01-0E-CF-00-00-5F */
56  0x00000000, /* 01-0E-CF-00-00-60 .. 01-0E-CF-00-00-7F */
57  0x00000000, /* 01-0E-CF-00-00-80 .. 01-0E-CF-00-00-9F */
58  0x00000000, /* 01-0E-CF-00-00-A0 .. 01-0E-CF-00-00-BF */
59  0x00000000, /* 01-0E-CF-00-00-C0 .. 01-0E-CF-00-00-DF */
60  0x00000000, /* 01-0E-CF-00-00-E0 .. 01-0E-CF-00-00-FF */
61  0x00000000, /* 01-0E-CF-00-01-00 .. 01-0E-CF-00-01-1F */
62  0x00000000, /* 01-0E-CF-00-01-20 .. 01-0E-CF-00-01-3F */
63  0x00000000, /* 01-0E-CF-00-01-40 .. 01-0E-CF-00-01-5F */
64  0x00000000, /* 01-0E-CF-00-01-60 .. 01-0E-CF-00-01-7F */
65  0x00000000, /* 01-0E-CF-00-01-80 .. 01-0E-CF-00-01-9F */
66  0x00000000, /* 01-0E-CF-00-01-A0 .. 01-0E-CF-00-01-BF */
67  0x00000000, /* 01-0E-CF-00-01-C0 .. 01-0E-CF-00-01-DF */
68  0x00000000, /* 01-0E-CF-00-01-E0 .. 01-0E-CF-00-01-FF */
69  0x00000000, /* 01-0E-CF-00-02-00 .. 01-0E-CF-00-02-1F */
70  0x00000000, /* 01-0E-CF-00-02-20 .. 01-0E-CF-00-02-3F */
71  0x00000000, /* 01-0E-CF-00-02-40 .. 01-0E-CF-00-02-5F */
72  0x00000000, /* 01-0E-CF-00-02-60 .. 01-0E-CF-00-02-7F */
73  0x00000000, /* 01-0E-CF-00-02-80 .. 01-0E-CF-00-02-9F */
74  0x00000000, /* 01-0E-CF-00-02-A0 .. 01-0E-CF-00-02-BF */
75  0x00000000, /* 01-0E-CF-00-02-C0 .. 01-0E-CF-00-02-DF */
76  0x00000000, /* 01-0E-CF-00-02-E0 .. 01-0E-CF-00-02-FF */
77  0x00000000, /* 01-0E-CF-00-03-00 .. 01-0E-CF-00-03-1F */
78  0x00000000, /* 01-0E-CF-00-03-20 .. 01-0E-CF-00-03-3F */
79  0x00000000, /* 01-0E-CF-00-03-40 .. 01-0E-CF-00-03-5F */
80  0x00000000, /* 01-0E-CF-00-03-60 .. 01-0E-CF-00-03-7F */
81  0x00000000, /* 01-0E-CF-00-03-80 .. 01-0E-CF-00-03-9F */
82  0x00000000, /* 01-0E-CF-00-03-A0 .. 01-0E-CF-00-03-BF */
83  0x00000000, /* 01-0E-CF-00-03-C0 .. 01-0E-CF-00-03-DF */
84  0x00000000, /* 01-0E-CF-00-03-E0 .. 01-0E-CF-00-03-FF */
85  0x00000001, /* 01-0E-CF-00-04-00 .. 01-0E-CF-00-04-1F */
86  0x00000000, /* 01-0E-CF-00-04-20 .. 01-0E-CF-00-04-3F */
87  0x00000000, /* 01-0E-CF-00-04-40 .. 01-0E-CF-00-04-5F */
88  0x00000000, /* 01-0E-CF-00-04-60 .. 01-0E-CF-00-04-7F */
89  0x00000000, /* 01-0E-CF-00-04-80 .. 01-0E-CF-00-04-9F */
90  0x00000000, /* 01-0E-CF-00-04-A0 .. 01-0E-CF-00-04-BF */
91  0x00000000, /* 01-0E-CF-00-04-C0 .. 01-0E-CF-00-04-DF */
92  0x00000000, /* 01-0E-CF-00-04-E0 .. 01-0E-CF-00-04-FF */
93  0x00000000, /* 01-0E-CF-00-05-00 .. 01-0E-CF-00-05-1F */
94  0x00000000, /* 01-0E-CF-00-05-20 .. 01-0E-CF-00-05-3F */
95  0x00000000, /* 01-0E-CF-00-05-40 .. 01-0E-CF-00-05-5F */
96  0x00000000, /* 01-0E-CF-00-05-60 .. 01-0E-CF-00-05-7F */
97  0x00000000, /* 01-0E-CF-00-05-80 .. 01-0E-CF-00-05-9F */
98  0x00000000, /* 01-0E-CF-00-05-A0 .. 01-0E-CF-00-05-BF */
99  0x00000000, /* 01-0E-CF-00-05-C0 .. 01-0E-CF-00-05-DF */
100  0x00000000, /* 01-0E-CF-00-05-E0 .. 01-0E-CF-00-05-FF */
101  0xffffffff, /* 01-15-4E-00-00-00 .. 01-15-4E-00-00-1F */
102  0xffffffff /* 01-80-C2-00-00-00 .. 01-80-C2-00-00-1F */
103 };
104 
105 #endif /* PN_RECEIVE_DECISION_TABLE_H_ */
PN_Receive_Decision_Table
const uint32_t PN_Receive_Decision_Table[]
Definition: PN_ReceiveDecisionTable.h:51