blob: 44dc9a2ef3e9d348ca16c513ab7cf74a18f550b9 [file] [log] [blame]
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +00001/*
Girish Gowdraa707e7c2019-11-07 11:36:13 +05302 * Copyright 2018-present Open Networking Foundation
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +00003
Girish Gowdraa707e7c2019-11-07 11:36:13 +05304 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +00007
Girish Gowdraa707e7c2019-11-07 11:36:13 +05308 * http://www.apache.org/licenses/LICENSE-2.0
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +00009
Girish Gowdraa707e7c2019-11-07 11:36:13 +053010 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000016
17#ifndef __VENDOR_H__
18#define __VENDOR_H__
19#define VENDOR_ID "EdgeCore"
20#define ASGVOLT64
21#define MODEL_ID "asgvolt64"
22#define MAX_SUPPORTED_PON 64
Jason Huang1d9cfce2020-05-20 22:58:47 +080023#define ONU_BIT_TRANSMISSION_DELAY 0.8038585/1000 /* unit: ns to us */
24#define MINIMUM_ONU_RESPONSE_RANGING_TIME 198075 /* hardcore: this is ranging time for the shortest distance, typically 35us */
Girish Gowdra252f4972020-09-07 21:24:01 -070025
26// DeviceInfo definitions
27
28#define ONU_ID_START 1
29#define ONU_ID_END 32
30#define MAX_ONUS_PER_PON ONU_ID_END
31
32#define ALLOC_ID_START 256
33#define ALLOC_ID_END 767
34
35#define GEM_PORT_ID_START 256
36#define GEM_PORT_ID_END 4095
37
38#define FLOW_ID_START 1
39#define FLOW_ID_END 65535
40#define MAX_FLOW_ID FLOW_ID_END
41#define INVALID_FLOW_ID 0
42
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000043#endif