Kconfig_port_timing.in 83.4 KB
Newer Older
1 2 3
menu "Port Timing Configuration"
config PTP_OPT_EXT_PORT_CONFIG_ENABLED
	bool "externalPortConfigurationEnabled" 
4
	default false
5 6
	help
	  This option is used by the high accuracy profile to force the port state.
Jean-Claude BAU's avatar
Jean-Claude BAU committed
7
	  When set, BMCA is disabled.
Adam Wujek's avatar
Adam Wujek committed
8
	  For more details please refer to the IEEE 1588-2019 (clause 17.6.2)
9

10 11 12
config PTP_SLAVE_ONLY
	depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED="n" 
	bool "slaveOnly" 
13
	default n
14 15 16
	help
	  A slaveOnly Ordinary Clock utilizes the slaveOnly state machine
	  which does not enable transition to MASTER state.
Adam Wujek's avatar
Adam Wujek committed
17
	  For more details please refer to the IEEE 1588-2019 (clause 9.2.2.1)
18

19 20
menu "PORT 1"

21 22 23
config PORT01_IFACE
	string "Network interface"
	default "wri1"
24
	help
25
	  Used to set the physical port interface name: "wri[1-18]"
26 27 28 29 30 31 32 33 34 35 36 37 38

config PORT01_FIBER
	int  "Fiber type"
	default 0
	help
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)

config PORT01_CONSTANT_ASYMMETRY
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
	help
	   Used to set the constant delay asymmetry.
39 40 41 42 43 44 45 46 47 48 49

choice
	prompt "Number of port instances"
	default PORT01_INSTANCE_COUNT_1
	config PORT01_INSTANCE_COUNT_0
	  bool "0"
	config PORT01_INSTANCE_COUNT_1
	  bool "1"
endchoice

menu "Instance 1"
50
	depends on PORT01_INSTANCE_COUNT_1
51

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
choice
    prompt "Network protocol"
    default PORT01_INST01_PROTOCOL_RAW
    config PORT01_INST01_PROTOCOL_RAW
        bool "IEEE 802.3"
    config PORT01_INST01_PROTOCOL_UDP_IPV4
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
    default PORT01_INST01_MECHANISM_E2E
    config PORT01_INST01_MECHANISM_E2E
        bool "End-to-end"
    config PORT01_INST01_MECHANISM_P2P
        bool "Peer-to-peer"
endchoice

config PORT01_INST01_MONITOR
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
78
    default PORT01_INST01_PROFILE_WR
79 80 81
    config PORT01_INST01_PROFILE_PTP
        bool "PTP"
    config PORT01_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
82
        bool "White Rabbit"
83
endchoice
84 85 86 87 88 89 90 91 92 93 94 95 96 97

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
    default PORT01_INST01_DESIRADE_STATE_SLAVE if TIME_BC
    default PORT01_INST01_DESIRADE_STATE_MASTER
    config PORT01_INST01_DESIRADE_STATE_MASTER
        bool "Master"
    config PORT01_INST01_DESIRADE_STATE_SLAVE
        bool "Slave"
    config PORT01_INST01_DESIRADE_STATE_PASSIVE
        bool "Passive"
endchoice

98
config PORT01_INST01_ASYMMETRY_CORRECTION_ENABLE
99
	depends on !PORT01_INST01_PROFILE_HA && !PORT01_INST01_PROFILE_WR
100
    bool "asymmetryCorrectionPortDS.enable"
101
    default y
102 103 104 105
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

106 107 108
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
109 110
    default PORT01_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT01_INST01_BMODE_AUTO if TIME_BC
111 112 113 114 115 116
    config PORT01_INST01_BMODE_MASTER_ONLY
        bool "MasterOnly"
    config PORT01_INST01_BMODE_AUTO
        bool "Auto"
endchoice

117 118
config PORT01_INST01_EGRESS_LATENCY
    int "timestampCorrectionPortDS.egressLatency (ps)"
119
    default 238903
120 121 122 123 124
 help
	 Defines the transmission constant delay (ps)

config PORT01_INST01_INGRESS_LATENCY
    int "timestampCorrectionPortDS.ingressLatency (ps)"
125
    default 275901
126 127 128
 help
	 Defines the reception constant delay (ps)

129 130 131 132 133 134
config PORT01_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 13600
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

135
config PORT01_INST01_ANNOUNCE_INTERVAL
136
	int "logAnnounceInterval" 
137 138 139 140 141 142 143 144
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

config PORT01_INST01_ANNOUNCE_RECEIPT_TIMEOUT
145
	int "announceReceiptTimeout"
146 147 148
	default 3
	range 2 255
	help
149
	  The announceReceiptTimeout specifies the number of announceIntervals 
150 151 152 153 154 155
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

config PORT01_INST01_SYNC_INTERVAL
156
	int "logSyncInterval"
157 158 159 160 161 162 163 164 165
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

config PORT01_INST01_MIN_DELAY_REQ_INTERVAL
166 167
	depends on PORT01_INST01_MECHANISM_E2E  
	int "minDelayRequestInterval"
168 169 170
	default 0
	range 0 5
	help
171
	  The minDelayRequestInterval specifies the minimum permitted
172 173 174 175 176
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

config PORT01_INST01_MIN_PDELAY_REQ_INTERVAL
177 178
	depends on PORT01_INST01_MECHANISM_P2P  
	int "minPDelayRequestInterval"
179 180 181
	default 0
	range 0 5
	help
182
	  The minPDelayRequestInterval specifies the minimum permitted
183 184 185 186
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

187
endmenu
188

189
endmenu
190

191
menu "PORT 2"
192

193 194 195
config PORT02_IFACE
	string "Network interface"
	default "wri2"
196
	help
197
	  Used to set the physical port interface name: "wri[1-18]"
198

199 200 201
config PORT02_FIBER
	int  "Fiber type"
	default 0
202
	help
203 204
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)
205

206 207 208
config PORT02_CONSTANT_ASYMMETRY
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
209
	help
210
	   Used to set the constant delay asymmetry.
211

212 213 214 215 216 217 218 219
choice
	prompt "Number of port instances"
	default PORT02_INSTANCE_COUNT_1
	config PORT02_INSTANCE_COUNT_0
	  bool "0"
	config PORT02_INSTANCE_COUNT_1
	  bool "1"
endchoice
220

221 222
menu "Instance 1"
	depends on PORT02_INSTANCE_COUNT_1
223

224 225
choice
    prompt "Network protocol"
226 227
    default PORT02_INST01_PROTOCOL_RAW
    config PORT02_INST01_PROTOCOL_RAW
228
        bool "IEEE 802.3"
229
    config PORT02_INST01_PROTOCOL_UDP_IPV4
230 231 232 233 234
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
235 236
    default PORT02_INST01_MECHANISM_E2E
    config PORT02_INST01_MECHANISM_E2E
237
        bool "End-to-end"
238
    config PORT02_INST01_MECHANISM_P2P
239 240 241
        bool "Peer-to-peer"
endchoice

242
config PORT02_INST01_MONITOR
243 244 245 246 247 248 249
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
250 251
    default PORT02_INST01_PROFILE_WR
    config PORT02_INST01_PROFILE_PTP
252
        bool "PTP"
253
    config PORT02_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
254
        bool "White Rabbit"
255
endchoice
256 257 258 259

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
260 261
    default PORT02_INST01_DESIRADE_STATE_MASTER
    config PORT02_INST01_DESIRADE_STATE_MASTER
262
        bool "Master"
263
    config PORT02_INST01_DESIRADE_STATE_SLAVE
264
        bool "Slave"
265
    config PORT02_INST01_DESIRADE_STATE_PASSIVE
266 267 268
        bool "Passive"
endchoice

269 270
config PORT02_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT02_INST01_PROFILE_HA && !PORT02_INST01_PROFILE_WR
271
    bool "asymmetryCorrectionPortDS.enable"
272
    default y
273 274 275 276
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

277 278 279
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
280 281 282
    default PORT02_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT02_INST01_BMODE_AUTO if TIME_BC
    config PORT02_INST01_BMODE_MASTER_ONLY
283
        bool "MasterOnly"
284
    config PORT02_INST01_BMODE_AUTO
285 286 287
        bool "Auto"
endchoice

288
config PORT02_INST01_EGRESS_LATENCY
289
    int "timestampCorrectionPortDS.egressLatency (ps)"
290
    default 239923
291 292 293
 help
	 Defines the transmission constant delay (ps)

294
config PORT02_INST01_INGRESS_LATENCY
295
    int "timestampCorrectionPortDS.ingressLatency (ps)"
296
    default 278835
297 298 299
 help
	 Defines the reception constant delay (ps)

300 301 302 303 304 305
config PORT02_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 10800
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

306
config PORT02_INST01_ANNOUNCE_INTERVAL
307
	int "logAnnounceInterval" 
308 309 310 311 312 313 314
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

315
config PORT02_INST01_ANNOUNCE_RECEIPT_TIMEOUT
316
	int "announceReceiptTimeout"
317 318 319
	default 3
	range 2 255
	help
320
	  The announceReceiptTimeout specifies the number of announceIntervals 
321 322 323 324 325
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

326
config PORT02_INST01_SYNC_INTERVAL
327
	int "logSyncInterval"
328 329 330 331 332 333 334 335
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

336 337
config PORT02_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT02_INST01_MECHANISM_E2E  
338
	int "minDelayRequestInterval"
339 340 341
	default 0
	range 0 5
	help
342
	  The minDelayRequestInterval specifies the minimum permitted
343 344 345 346
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

347 348
config PORT02_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT02_INST01_MECHANISM_P2P  
349
	int "minPDelayRequestInterval"
350 351 352
	default 0
	range 0 5
	help
353
	  The minPDelayRequestInterval specifies the minimum permitted
354 355 356 357 358 359 360 361
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

endmenu

endmenu

362
menu "PORT 3"
363

364
config PORT03_IFACE
365
	string "Network interface"
366
	default "wri3"
367
	help
368
	  Used to set the physical port interface name: "wri[1-18]"
369

370
config PORT03_FIBER
371 372 373 374 375 376
	int  "Fiber type"
	default 0
	help
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)

377
config PORT03_CONSTANT_ASYMMETRY
378 379
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
380
	help
381
	   Used to set the constant delay asymmetry.
382 383 384

choice
	prompt "Number of port instances"
385 386
	default PORT03_INSTANCE_COUNT_1
	config PORT03_INSTANCE_COUNT_0
387
	  bool "0"
388
	config PORT03_INSTANCE_COUNT_1
389 390 391 392
	  bool "1"
endchoice

menu "Instance 1"
393
	depends on PORT03_INSTANCE_COUNT_1
394

395 396
choice
    prompt "Network protocol"
397 398
    default PORT03_INST01_PROTOCOL_RAW
    config PORT03_INST01_PROTOCOL_RAW
399
        bool "IEEE 802.3"
400
    config PORT03_INST01_PROTOCOL_UDP_IPV4
401 402 403 404 405
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
406 407
    default PORT03_INST01_MECHANISM_E2E
    config PORT03_INST01_MECHANISM_E2E
408
        bool "End-to-end"
409
    config PORT03_INST01_MECHANISM_P2P
410 411 412
        bool "Peer-to-peer"
endchoice

413
config PORT03_INST01_MONITOR
414 415 416 417 418 419 420
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
421 422
    default PORT03_INST01_PROFILE_WR
    config PORT03_INST01_PROFILE_PTP
423
        bool "PTP"
424
    config PORT03_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
425
        bool "White Rabbit"
426
endchoice
427 428 429 430

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
431 432
    default PORT03_INST01_DESIRADE_STATE_MASTER
    config PORT03_INST01_DESIRADE_STATE_MASTER
433
        bool "Master"
434
    config PORT03_INST01_DESIRADE_STATE_SLAVE
435
        bool "Slave"
436
    config PORT03_INST01_DESIRADE_STATE_PASSIVE
437 438 439
        bool "Passive"
endchoice

440 441
config PORT03_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT03_INST01_PROFILE_HA && !PORT03_INST01_PROFILE_WR
442
    bool "asymmetryCorrectionPortDS.enable"
443
    default y
444 445 446 447
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

448 449 450
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
451 452 453
    default PORT03_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT03_INST01_BMODE_AUTO if TIME_BC
    config PORT03_INST01_BMODE_MASTER_ONLY
454
        bool "MasterOnly"
455
    config PORT03_INST01_BMODE_AUTO
456 457 458
        bool "Auto"
endchoice

459
config PORT03_INST01_EGRESS_LATENCY
460
    int "timestampCorrectionPortDS.egressLatency (ps)"
461
    default 238566
462 463 464
 help
	 Defines the transmission constant delay (ps)

465
config PORT03_INST01_INGRESS_LATENCY
466
    int "timestampCorrectionPortDS.ingressLatency (ps)"
467
    default 277396
468 469 470
 help
	 Defines the reception constant delay (ps)

471 472 473 474 475 476
config PORT03_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 13650
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

477
config PORT03_INST01_ANNOUNCE_INTERVAL
478
	int "logAnnounceInterval" 
479 480 481 482 483 484 485
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

486
config PORT03_INST01_ANNOUNCE_RECEIPT_TIMEOUT
487
	int "announceReceiptTimeout"
488 489 490
	default 3
	range 2 255
	help
491
	  The announceReceiptTimeout specifies the number of announceIntervals 
492 493 494 495 496
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

497
config PORT03_INST01_SYNC_INTERVAL
498
	int "logSyncInterval"
499 500 501 502 503 504 505 506
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

507 508
config PORT03_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT03_INST01_MECHANISM_E2E  
509
	int "minDelayRequestInterval"
510 511 512
	default 0
	range 0 5
	help
513
	  The minDelayRequestInterval specifies the minimum permitted
514 515 516 517
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

518 519
config PORT03_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT03_INST01_MECHANISM_P2P  
520
	int "minPDelayRequestInterval"
521 522 523
	default 0
	range 0 5
	help
524
	  The minPDelayRequestInterval specifies the minimum permitted
525 526 527 528
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

529
endmenu
530

531
endmenu
532

533
menu "PORT 4"
534

535 536 537
config PORT04_IFACE
	string "Network interface"
	default "wri4"
538
	help
539
	  Used to set the physical port interface name: "wri[1-18]"
540

541 542 543
config PORT04_FIBER
	int  "Fiber type"
	default 0
544
	help
545 546
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)
547

548 549 550
config PORT04_CONSTANT_ASYMMETRY
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
551
	help
552
	   Used to set the constant delay asymmetry.
553

554 555 556 557 558 559 560 561
choice
	prompt "Number of port instances"
	default PORT04_INSTANCE_COUNT_1
	config PORT04_INSTANCE_COUNT_0
	  bool "0"
	config PORT04_INSTANCE_COUNT_1
	  bool "1"
endchoice
562

563 564
menu "Instance 1"
	depends on PORT04_INSTANCE_COUNT_1
565

566 567
choice
    prompt "Network protocol"
568 569
    default PORT04_INST01_PROTOCOL_RAW
    config PORT04_INST01_PROTOCOL_RAW
570
        bool "IEEE 802.3"
571
    config PORT04_INST01_PROTOCOL_UDP_IPV4
572 573 574 575 576
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
577 578
    default PORT04_INST01_MECHANISM_E2E
    config PORT04_INST01_MECHANISM_E2E
579
        bool "End-to-end"
580
    config PORT04_INST01_MECHANISM_P2P
581 582 583
        bool "Peer-to-peer"
endchoice

584
config PORT04_INST01_MONITOR
585 586 587 588 589 590 591
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
592 593
    default PORT04_INST01_PROFILE_WR
    config PORT04_INST01_PROFILE_PTP
594
        bool "PTP"
595
    config PORT04_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
596
        bool "White Rabbit"
597
endchoice
598 599 600 601

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
602 603
    default PORT04_INST01_DESIRADE_STATE_MASTER
    config PORT04_INST01_DESIRADE_STATE_MASTER
604
        bool "Master"
605
    config PORT04_INST01_DESIRADE_STATE_SLAVE
606
        bool "Slave"
607
    config PORT04_INST01_DESIRADE_STATE_PASSIVE
608 609 610
        bool "Passive"
endchoice

611 612
config PORT04_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT04_INST01_PROFILE_HA && !PORT04_INST01_PROFILE_WR
613
    bool "asymmetryCorrectionPortDS.enable"
614
    default y
615 616 617 618
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

619 620 621
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
622 623 624
    default PORT04_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT04_INST01_BMODE_AUTO if TIME_BC
    config PORT04_INST01_BMODE_MASTER_ONLY
625
        bool "MasterOnly"
626
    config PORT04_INST01_BMODE_AUTO
627 628 629
        bool "Auto"
endchoice

630
config PORT04_INST01_EGRESS_LATENCY
631
    int "timestampCorrectionPortDS.egressLatency (ps)"
632
    default 239491
633 634 635
 help
	 Defines the transmission constant delay (ps)

636
config PORT04_INST01_INGRESS_LATENCY
637
    int "timestampCorrectionPortDS.ingressLatency (ps)"
638
    default 277469
639 640 641
 help
	 Defines the reception constant delay (ps)

642 643 644 645 646 647
config PORT04_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 12150
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

648
config PORT04_INST01_ANNOUNCE_INTERVAL
649
	int "logAnnounceInterval" 
650 651 652 653 654 655 656
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

657
config PORT04_INST01_ANNOUNCE_RECEIPT_TIMEOUT
658
	int "announceReceiptTimeout"
659 660 661
	default 3
	range 2 255
	help
662
	  The announceReceiptTimeout specifies the number of announceIntervals 
663 664 665 666 667
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

668
config PORT04_INST01_SYNC_INTERVAL
669
	int "logSyncInterval"
670 671 672 673 674 675 676 677
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

678 679
config PORT04_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT04_INST01_MECHANISM_E2E  
680
	int "minDelayRequestInterval"
681 682 683
	default 0
	range 0 5
	help
684
	  The minDelayRequestInterval specifies the minimum permitted
685 686 687 688
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

689 690
config PORT04_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT04_INST01_MECHANISM_P2P  
691
	int "minPDelayRequestInterval"
692 693 694
	default 0
	range 0 5
	help
695
	  The minPDelayRequestInterval specifies the minimum permitted
696 697 698 699 700 701 702 703
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

endmenu

endmenu

704
menu "PORT 5"
705

706
config PORT05_IFACE
707
	string "Network interface"
708
	default "wri5"
709
	help
710
	  Used to set the physical port interface name: "wri[1-18]"
711

712
config PORT05_FIBER
713 714 715 716 717 718
	int  "Fiber type"
	default 0
	help
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)

719
config PORT05_CONSTANT_ASYMMETRY
720 721 722 723
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
	help
	   Used to set the constant delay asymmetry.
724 725 726

choice
	prompt "Number of port instances"
727 728
	default PORT05_INSTANCE_COUNT_1
	config PORT05_INSTANCE_COUNT_0
729
	  bool "0"
730
	config PORT05_INSTANCE_COUNT_1
731 732 733 734
	  bool "1"
endchoice

menu "Instance 1"
735
	depends on PORT05_INSTANCE_COUNT_1
736

737 738
choice
    prompt "Network protocol"
739 740
    default PORT05_INST01_PROTOCOL_RAW
    config PORT05_INST01_PROTOCOL_RAW
741
        bool "IEEE 802.3"
742
    config PORT05_INST01_PROTOCOL_UDP_IPV4
743 744 745 746 747
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
748 749
    default PORT05_INST01_MECHANISM_E2E
    config PORT05_INST01_MECHANISM_E2E
750
        bool "End-to-end"
751
    config PORT05_INST01_MECHANISM_P2P
752 753 754
        bool "Peer-to-peer"
endchoice

755
config PORT05_INST01_MONITOR
756 757 758 759 760 761 762
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
763 764
    default PORT05_INST01_PROFILE_WR
    config PORT05_INST01_PROFILE_PTP
765
        bool "PTP"
766
    config PORT05_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
767
        bool "White Rabbit"
768
endchoice
769 770 771 772

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
773 774
    default PORT05_INST01_DESIRADE_STATE_MASTER
    config PORT05_INST01_DESIRADE_STATE_MASTER
775
        bool "Master"
776
    config PORT05_INST01_DESIRADE_STATE_SLAVE
777
        bool "Slave"
778
    config PORT05_INST01_DESIRADE_STATE_PASSIVE
779 780 781
        bool "Passive"
endchoice

782 783
config PORT05_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT05_INST01_PROFILE_HA && !PORT05_INST01_PROFILE_WR
784
    bool "asymmetryCorrectionPortDS.enable"
785
    default y
786 787 788 789
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

790 791 792
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
793 794 795
    default PORT05_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT05_INST01_BMODE_AUTO if TIME_BC
    config PORT05_INST01_BMODE_MASTER_ONLY
796
        bool "MasterOnly"
797
    config PORT05_INST01_BMODE_AUTO
798 799 800
        bool "Auto"
endchoice

801
config PORT05_INST01_EGRESS_LATENCY
802
    int "timestampCorrectionPortDS.egressLatency (ps)"
803
    default 238040
804 805 806
 help
	 Defines the transmission constant delay (ps)

807
config PORT05_INST01_INGRESS_LATENCY
808
    int "timestampCorrectionPortDS.ingressLatency (ps)"
809
    default 277694
810 811 812
 help
	 Defines the reception constant delay (ps)

813 814 815 816 817 818
config PORT05_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 13550
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

819
config PORT05_INST01_ANNOUNCE_INTERVAL
820
	int "logAnnounceInterval" 
821 822 823 824 825 826 827
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

828
config PORT05_INST01_ANNOUNCE_RECEIPT_TIMEOUT
829
	int "announceReceiptTimeout"
830 831 832
	default 3
	range 2 255
	help
833
	  The announceReceiptTimeout specifies the number of announceIntervals 
834 835 836 837 838
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

839
config PORT05_INST01_SYNC_INTERVAL
840
	int "logSyncInterval"
841 842 843 844 845 846 847 848
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

849 850
config PORT05_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT05_INST01_MECHANISM_E2E  
851
	int "minDelayRequestInterval"
852 853 854
	default 0
	range 0 5
	help
855
	  The minDelayRequestInterval specifies the minimum permitted
856 857 858 859
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

860 861
config PORT05_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT05_INST01_MECHANISM_P2P  
862
	int "minPDelayRequestInterval"
863 864 865
	default 0
	range 0 5
	help
866
	  The minPDelayRequestInterval specifies the minimum permitted
867 868 869 870
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

871
endmenu
872

873
endmenu
874

875
menu "PORT 6"
876

877 878 879
config PORT06_IFACE
	string "Network interface"
	default "wri6"
880
	help
881
	  Used to set the physical port interface name: "wri[1-18]"
882

883 884 885
config PORT06_FIBER
	int  "Fiber type"
	default 0
886
	help
887 888
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)
889

890 891 892
config PORT06_CONSTANT_ASYMMETRY
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
893
	help
894
	   Used to set the constant delay asymmetry.
895

896 897 898 899 900 901 902 903
choice
	prompt "Number of port instances"
	default PORT06_INSTANCE_COUNT_1
	config PORT06_INSTANCE_COUNT_0
	  bool "0"
	config PORT06_INSTANCE_COUNT_1
	  bool "1"
endchoice
904

905 906
menu "Instance 1"
	depends on PORT06_INSTANCE_COUNT_1
907

908 909
choice
    prompt "Network protocol"
910 911
    default PORT06_INST01_PROTOCOL_RAW
    config PORT06_INST01_PROTOCOL_RAW
912
        bool "IEEE 802.3"
913
    config PORT06_INST01_PROTOCOL_UDP_IPV4
914 915 916 917 918
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
919 920
    default PORT06_INST01_MECHANISM_E2E
    config PORT06_INST01_MECHANISM_E2E
921
        bool "End-to-end"
922
    config PORT06_INST01_MECHANISM_P2P
923 924 925
        bool "Peer-to-peer"
endchoice

926
config PORT06_INST01_MONITOR
927 928 929 930 931 932 933
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
934 935
    default PORT06_INST01_PROFILE_WR
    config PORT06_INST01_PROFILE_PTP
936
        bool "PTP"
937
    config PORT06_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
938
        bool "White Rabbit"
939
endchoice
940 941 942 943

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
944 945
    default PORT06_INST01_DESIRADE_STATE_MASTER
    config PORT06_INST01_DESIRADE_STATE_MASTER
946
        bool "Master"
947
    config PORT06_INST01_DESIRADE_STATE_SLAVE
948
        bool "Slave"
949
    config PORT06_INST01_DESIRADE_STATE_PASSIVE
950 951 952
        bool "Passive"
endchoice

953 954
config PORT06_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT06_INST01_PROFILE_HA && !PORT06_INST01_PROFILE_WR
955
    bool "asymmetryCorrectionPortDS.enable"
956
    default y
957 958 959 960
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

961 962 963
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
964 965 966
    default PORT06_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT06_INST01_BMODE_AUTO if TIME_BC
    config PORT06_INST01_BMODE_MASTER_ONLY
967
        bool "MasterOnly"
968
    config PORT06_INST01_BMODE_AUTO
969 970 971
        bool "Auto"
endchoice

972
config PORT06_INST01_EGRESS_LATENCY
973
    int "timestampCorrectionPortDS.egressLatency (ps)"
974
    default 237334
975 976 977
 help
	 Defines the transmission constant delay (ps)

978
config PORT06_INST01_INGRESS_LATENCY
979
    int "timestampCorrectionPortDS.ingressLatency (ps)"
980
    default 277146
981 982 983
 help
	 Defines the reception constant delay (ps)

984 985 986 987 988 989
config PORT06_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 14500
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

990
config PORT06_INST01_ANNOUNCE_INTERVAL
991
	int "logAnnounceInterval" 
992 993 994 995 996 997 998
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

999
config PORT06_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1000
	int "announceReceiptTimeout"
1001 1002 1003
	default 3
	range 2 255
	help
1004
	  The announceReceiptTimeout specifies the number of announceIntervals 
1005 1006 1007 1008 1009
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

1010
config PORT06_INST01_SYNC_INTERVAL
1011
	int "logSyncInterval"
1012 1013 1014 1015 1016 1017 1018 1019
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

1020 1021
config PORT06_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT06_INST01_MECHANISM_E2E  
1022
	int "minDelayRequestInterval"
1023 1024 1025
	default 0
	range 0 5
	help
1026
	  The minDelayRequestInterval specifies the minimum permitted
1027 1028 1029 1030
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

1031 1032
config PORT06_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT06_INST01_MECHANISM_P2P  
1033
	int "minPDelayRequestInterval"
1034 1035 1036
	default 0
	range 0 5
	help
1037
	  The minPDelayRequestInterval specifies the minimum permitted
1038 1039 1040 1041 1042 1043 1044 1045
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

endmenu

endmenu

1046
menu "PORT 7"
1047

1048
config PORT07_IFACE
1049
	string "Network interface"
1050
	default "wri7"
1051
	help
1052
	  Used to set the physical port interface name: "wri[1-18]"
1053

1054
config PORT07_FIBER
1055 1056 1057 1058 1059 1060
	int  "Fiber type"
	default 0
	help
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)

1061
config PORT07_CONSTANT_ASYMMETRY
1062 1063
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
1064
	help
1065
	   Used to set the constant delay asymmetry.
1066 1067 1068

choice
	prompt "Number of port instances"
1069 1070
	default PORT07_INSTANCE_COUNT_1
	config PORT07_INSTANCE_COUNT_0
1071
	  bool "0"
1072
	config PORT07_INSTANCE_COUNT_1
1073 1074 1075 1076
	  bool "1"
endchoice

menu "Instance 1"
1077
	depends on PORT07_INSTANCE_COUNT_1
1078

1079 1080
choice
    prompt "Network protocol"
1081 1082
    default PORT07_INST01_PROTOCOL_RAW
    config PORT07_INST01_PROTOCOL_RAW
1083
        bool "IEEE 802.3"
1084
    config PORT07_INST01_PROTOCOL_UDP_IPV4
1085 1086 1087 1088 1089
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
1090 1091
    default PORT07_INST01_MECHANISM_E2E
    config PORT07_INST01_MECHANISM_E2E
1092
        bool "End-to-end"
1093
    config PORT07_INST01_MECHANISM_P2P
1094 1095 1096
        bool "Peer-to-peer"
endchoice

1097
config PORT07_INST01_MONITOR
1098 1099 1100 1101 1102 1103 1104
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
1105 1106
    default PORT07_INST01_PROFILE_WR
    config PORT07_INST01_PROFILE_PTP
1107
        bool "PTP"
1108
    config PORT07_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
1109
        bool "White Rabbit"
1110
endchoice
1111 1112 1113 1114

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
1115 1116
    default PORT07_INST01_DESIRADE_STATE_MASTER
    config PORT07_INST01_DESIRADE_STATE_MASTER
1117
        bool "Master"
1118
    config PORT07_INST01_DESIRADE_STATE_SLAVE
1119
        bool "Slave"
1120
    config PORT07_INST01_DESIRADE_STATE_PASSIVE
1121 1122 1123
        bool "Passive"
endchoice

1124 1125
config PORT07_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT07_INST01_PROFILE_HA && !PORT07_INST01_PROFILE_WR
1126
    bool "asymmetryCorrectionPortDS.enable"
1127
    default y
1128 1129 1130 1131
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

1132 1133 1134
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
1135 1136 1137
    default PORT07_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT07_INST01_BMODE_AUTO if TIME_BC
    config PORT07_INST01_BMODE_MASTER_ONLY
1138
        bool "MasterOnly"
1139
    config PORT07_INST01_BMODE_AUTO
1140 1141 1142
        bool "Auto"
endchoice

1143
config PORT07_INST01_EGRESS_LATENCY
1144
    int "timestampCorrectionPortDS.egressLatency (ps)"
1145
    default 237543
1146 1147 1148
 help
	 Defines the transmission constant delay (ps)

1149
config PORT07_INST01_INGRESS_LATENCY
1150
    int "timestampCorrectionPortDS.ingressLatency (ps)"
1151
    default 278371
1152 1153 1154
 help
	 Defines the reception constant delay (ps)

1155 1156 1157 1158 1159 1160
config PORT07_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 13950
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

1161
config PORT07_INST01_ANNOUNCE_INTERVAL
1162
	int "logAnnounceInterval" 
1163 1164 1165 1166 1167 1168 1169
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

1170
config PORT07_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1171
	int "announceReceiptTimeout"
1172 1173 1174
	default 3
	range 2 255
	help
1175
	  The announceReceiptTimeout specifies the number of announceIntervals 
1176 1177 1178 1179 1180
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

1181
config PORT07_INST01_SYNC_INTERVAL
1182
	int "logSyncInterval"
1183 1184 1185 1186 1187 1188 1189 1190
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

1191 1192
config PORT07_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT07_INST01_MECHANISM_E2E  
1193
	int "minDelayRequestInterval"
1194 1195 1196
	default 0
	range 0 5
	help
1197
	  The minDelayRequestInterval specifies the minimum permitted
1198 1199 1200 1201
	  mean time interval between successive Delay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

1202 1203
config PORT07_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT07_INST01_MECHANISM_P2P  
1204
	int "minPDelayRequestInterval"
1205 1206 1207
	default 0
	range 0 5
	help
1208
	  The minPDelayRequestInterval specifies the minimum permitted
1209 1210 1211 1212
	  mean time interval between successive Pdelay_Req messages.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 5

1213
endmenu
1214

1215
endmenu
1216

1217
menu "PORT 8"
1218

1219 1220 1221
config PORT08_IFACE
	string "Network interface"
	default "wri8"
1222
	help
1223
	  Used to set the physical port interface name: "wri[1-18]"
1224

1225 1226 1227
config PORT08_FIBER
	int  "Fiber type"
	default 0
1228
	help
1229 1230
	  Used to set the type of fiber (number referring to the corresponding 
	  FIBERXX_PARAMS)
1231

1232 1233 1234
config PORT08_CONSTANT_ASYMMETRY
	int "asymmetryCorrectionPortDS.constantAsymmetry"
	default 0
1235
	help
1236
	   Used to set the constant delay asymmetry.
1237

1238 1239 1240 1241 1242 1243 1244 1245
choice
	prompt "Number of port instances"
	default PORT08_INSTANCE_COUNT_1
	config PORT08_INSTANCE_COUNT_0
	  bool "0"
	config PORT08_INSTANCE_COUNT_1
	  bool "1"
endchoice
1246

1247 1248
menu "Instance 1"
	depends on PORT08_INSTANCE_COUNT_1
1249

1250 1251
choice
    prompt "Network protocol"
1252 1253
    default PORT08_INST01_PROTOCOL_RAW
    config PORT08_INST01_PROTOCOL_RAW
1254
        bool "IEEE 802.3"
1255
    config PORT08_INST01_PROTOCOL_UDP_IPV4
1256 1257 1258 1259 1260
        bool "UDP/Ipv4"
endchoice

choice
    prompt "Delay mechanism"
1261 1262
    default PORT08_INST01_MECHANISM_E2E
    config PORT08_INST01_MECHANISM_E2E
1263
        bool "End-to-end"
1264
    config PORT08_INST01_MECHANISM_P2P
1265 1266 1267
        bool "Peer-to-peer"
endchoice

1268
config PORT08_INST01_MONITOR
1269 1270 1271 1272 1273 1274 1275
	bool "SNMP monitoring"
	default y
	help
	  Option to disable or enable triggering errors in SNMP on a port

choice
    prompt "Profile"
1276 1277
    default PORT08_INST01_PROFILE_WR
    config PORT08_INST01_PROFILE_PTP
1278
        bool "PTP"
1279
    config PORT08_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
1280
        bool "White Rabbit"
1281
endchoice
1282 1283 1284 1285

choice
    prompt "Desired state"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED
1286 1287
    default PORT08_INST01_DESIRADE_STATE_MASTER
    config PORT08_INST01_DESIRADE_STATE_MASTER
1288
        bool "Master"
1289
    config PORT08_INST01_DESIRADE_STATE_SLAVE
1290
        bool "Slave"
1291
    config PORT08_INST01_DESIRADE_STATE_PASSIVE
1292 1293 1294
        bool "Passive"
endchoice

1295 1296
config PORT08_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT08_INST01_PROFILE_HA && !PORT08_INST01_PROFILE_WR
1297
    bool "asymmetryCorrectionPortDS.enable"
1298
    default y
1299 1300 1301 1302
	help
	  When supported, the value TRUE shall indicate that the mechanism of for the calculation
	  of the <delayAsymmetry> for certain media is enabled on the PTP port.

1303 1304 1305
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
1306 1307 1308
    default PORT08_INST01_BMODE_MASTER_ONLY if TIME_GM || TIME_FM
    default PORT08_INST01_BMODE_AUTO if TIME_BC
    config PORT08_INST01_BMODE_MASTER_ONLY
1309
        bool "MasterOnly"
1310
    config PORT08_INST01_BMODE_AUTO
1311 1312 1313
        bool "Auto"
endchoice

1314
config PORT08_INST01_EGRESS_LATENCY
1315
    int "timestampCorrectionPortDS.egressLatency (ps)"
1316
    default 237687
1317 1318 1319
 help
	 Defines the transmission constant delay (ps)

1320
config PORT08_INST01_INGRESS_LATENCY
1321
    int "timestampCorrectionPortDS.ingressLatency (ps)"
1322
    default 278687
1323 1324 1325
 help
	 Defines the reception constant delay (ps)

1326 1327 1328 1329 1330 1331
config PORT08_INST01_T24P_TRANS_POINT
    int "timestampCorrectionPortDS.t24p_trans_point (ps)"
    default 14450
 help
	 Defines the phase transition point for reception timestamps t2/t4 (ps)

1332
config PORT08_INST01_ANNOUNCE_INTERVAL
1333
	int "logAnnounceInterval" 
1334 1335 1336 1337 1338 1339 1340
	default 1
	range 0 4
	help
	  The mean time interval between transmissions of successive
	  Announce messages. The value is the logarithm to the base 2.
	  The configurable range shall be 0 to 4.

1341
config PORT08_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1342
	int "announceReceiptTimeout"
1343 1344 1345
	default 3
	range 2 255
	help
1346
	  The announceReceiptTimeout specifies the number of announceIntervals 
1347 1348 1349 1350 1351
	  that must pass without receipt of an Announce message before the 
	  occurrence of the event ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES.
	  The value is the logarithm to the base 2.
	  The configurable range shall be 2 to 255

1352
config PORT08_INST01_SYNC_INTERVAL
1353
	int "logSyncInterval"
1354 1355 1356 1357 1358 1359 1360 1361
	default 0
	range -1 1
	help
	  The mean time interval between transmission of successive
	  Sync messages, i.e., the sync-interval, when transmitted
	  as multicast messages. The value is the logarithm to the base 2.
	  The configurable range shall be -1 to +1

1362 1363
config PORT08_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT08_INST01_MECHANISM_E2E