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

11 12 13
config PTP_SLAVE_ONLY
	depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED="n" 
	bool "slaveOnly" 
14
	default n
15 16 17
	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
18
	  For more details please refer to the IEEE 1588-2019 (clause 9.2.2.1)
19

20 21
menu "PORT 1"

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

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.
40 41 42 43 44 45 46 47 48 49 50

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"
51
	depends on PORT01_INSTANCE_COUNT_1
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 78
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"
79
    default PORT01_INST01_PROFILE_WR
80 81 82
    config PORT01_INST01_PROFILE_PTP
        bool "PTP"
    config PORT01_INST01_PROFILE_WR
Jean-Claude BAU's avatar
Jean-Claude BAU committed
83
        bool "White Rabbit"
84
endchoice
85 86 87 88 89 90 91 92 93 94 95 96 97 98

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

99
config PORT01_INST01_ASYMMETRY_CORRECTION_ENABLE
100
	depends on !PORT01_INST01_PROFILE_HA && !PORT01_INST01_PROFILE_WR
101
    bool "asymmetryCorrectionPortDS.enable"
102
    default y
103 104 105 106
	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.

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

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

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

130 131 132 133 134 135
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)

136
config PORT01_INST01_ANNOUNCE_INTERVAL
137
	int "logAnnounceInterval" 
138 139 140 141 142 143 144 145
	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
146
	int "announceReceiptTimeout"
147 148 149
	default 3
	range 2 255
	help
150
	  The announceReceiptTimeout specifies the number of announceIntervals 
151 152 153 154 155 156
	  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
157
	int "logSyncInterval"
158 159 160 161 162 163 164 165 166
	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
167 168
	depends on PORT01_INST01_MECHANISM_E2E  
	int "minDelayRequestInterval"
169 170 171
	default 0
	range 0 5
	help
172
	  The minDelayRequestInterval specifies the minimum permitted
173 174 175 176 177
	  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
178 179
	depends on PORT01_INST01_MECHANISM_P2P  
	int "minPDelayRequestInterval"
180 181 182
	default 0
	range 0 5
	help
183
	  The minPDelayRequestInterval specifies the minimum permitted
184 185 186 187
	  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

188
endmenu
189

190
endmenu
191

192
menu "PORT 2"
193

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

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

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

213 214 215 216 217 218 219 220
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
221

222 223
menu "Instance 1"
	depends on PORT02_INSTANCE_COUNT_1
224

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

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

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

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

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

270 271
config PORT02_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT02_INST01_PROFILE_HA && !PORT02_INST01_PROFILE_WR
272
    bool "asymmetryCorrectionPortDS.enable"
273
    default y
274 275 276 277
	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.

278 279 280
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
281 282 283
    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
284
        bool "MasterOnly"
285
    config PORT02_INST01_BMODE_AUTO
286 287 288
        bool "Auto"
endchoice

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

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

301 302 303 304 305 306
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)

307
config PORT02_INST01_ANNOUNCE_INTERVAL
308
	int "logAnnounceInterval" 
309 310 311 312 313 314 315
	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.

316
config PORT02_INST01_ANNOUNCE_RECEIPT_TIMEOUT
317
	int "announceReceiptTimeout"
318 319 320
	default 3
	range 2 255
	help
321
	  The announceReceiptTimeout specifies the number of announceIntervals 
322 323 324 325 326
	  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

327
config PORT02_INST01_SYNC_INTERVAL
328
	int "logSyncInterval"
329 330 331 332 333 334 335 336
	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

337 338
config PORT02_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT02_INST01_MECHANISM_E2E  
339
	int "minDelayRequestInterval"
340 341 342
	default 0
	range 0 5
	help
343
	  The minDelayRequestInterval specifies the minimum permitted
344 345 346 347
	  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

348 349
config PORT02_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT02_INST01_MECHANISM_P2P  
350
	int "minPDelayRequestInterval"
351 352 353
	default 0
	range 0 5
	help
354
	  The minPDelayRequestInterval specifies the minimum permitted
355 356 357 358 359 360 361 362
	  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

363
menu "PORT 3"
364

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

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

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

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

menu "Instance 1"
394
	depends on PORT03_INSTANCE_COUNT_1
395

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

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

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

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

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

441 442
config PORT03_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT03_INST01_PROFILE_HA && !PORT03_INST01_PROFILE_WR
443
    bool "asymmetryCorrectionPortDS.enable"
444
    default y
445 446 447 448
	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.

449 450 451
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
452 453 454
    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
455
        bool "MasterOnly"
456
    config PORT03_INST01_BMODE_AUTO
457 458 459
        bool "Auto"
endchoice

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

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

472 473 474 475 476 477
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)

478
config PORT03_INST01_ANNOUNCE_INTERVAL
479
	int "logAnnounceInterval" 
480 481 482 483 484 485 486
	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.

487
config PORT03_INST01_ANNOUNCE_RECEIPT_TIMEOUT
488
	int "announceReceiptTimeout"
489 490 491
	default 3
	range 2 255
	help
492
	  The announceReceiptTimeout specifies the number of announceIntervals 
493 494 495 496 497
	  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

498
config PORT03_INST01_SYNC_INTERVAL
499
	int "logSyncInterval"
500 501 502 503 504 505 506 507
	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

508 509
config PORT03_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT03_INST01_MECHANISM_E2E  
510
	int "minDelayRequestInterval"
511 512 513
	default 0
	range 0 5
	help
514
	  The minDelayRequestInterval specifies the minimum permitted
515 516 517 518
	  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

519 520
config PORT03_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT03_INST01_MECHANISM_P2P  
521
	int "minPDelayRequestInterval"
522 523 524
	default 0
	range 0 5
	help
525
	  The minPDelayRequestInterval specifies the minimum permitted
526 527 528 529
	  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

530
endmenu
531

532
endmenu
533

534
menu "PORT 4"
535

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

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

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

555 556 557 558 559 560 561 562
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
563

564 565
menu "Instance 1"
	depends on PORT04_INSTANCE_COUNT_1
566

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

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

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

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

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

612 613
config PORT04_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT04_INST01_PROFILE_HA && !PORT04_INST01_PROFILE_WR
614
    bool "asymmetryCorrectionPortDS.enable"
615
    default y
616 617 618 619
	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.

620 621 622
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
623 624 625
    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
626
        bool "MasterOnly"
627
    config PORT04_INST01_BMODE_AUTO
628 629 630
        bool "Auto"
endchoice

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

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

643 644 645 646 647 648
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)

649
config PORT04_INST01_ANNOUNCE_INTERVAL
650
	int "logAnnounceInterval" 
651 652 653 654 655 656 657
	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.

658
config PORT04_INST01_ANNOUNCE_RECEIPT_TIMEOUT
659
	int "announceReceiptTimeout"
660 661 662
	default 3
	range 2 255
	help
663
	  The announceReceiptTimeout specifies the number of announceIntervals 
664 665 666 667 668
	  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

669
config PORT04_INST01_SYNC_INTERVAL
670
	int "logSyncInterval"
671 672 673 674 675 676 677 678
	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

679 680
config PORT04_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT04_INST01_MECHANISM_E2E  
681
	int "minDelayRequestInterval"
682 683 684
	default 0
	range 0 5
	help
685
	  The minDelayRequestInterval specifies the minimum permitted
686 687 688 689
	  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

690 691
config PORT04_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT04_INST01_MECHANISM_P2P  
692
	int "minPDelayRequestInterval"
693 694 695
	default 0
	range 0 5
	help
696
	  The minPDelayRequestInterval specifies the minimum permitted
697 698 699 700 701 702 703 704
	  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

705
menu "PORT 5"
706

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

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

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

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

menu "Instance 1"
736
	depends on PORT05_INSTANCE_COUNT_1
737

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

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

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

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

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

783 784
config PORT05_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT05_INST01_PROFILE_HA && !PORT05_INST01_PROFILE_WR
785
    bool "asymmetryCorrectionPortDS.enable"
786
    default y
787 788 789 790
	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.

791 792 793
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
794 795 796
    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
797
        bool "MasterOnly"
798
    config PORT05_INST01_BMODE_AUTO
799 800 801
        bool "Auto"
endchoice

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

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

814 815 816 817 818 819
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)

820
config PORT05_INST01_ANNOUNCE_INTERVAL
821
	int "logAnnounceInterval" 
822 823 824 825 826 827 828
	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.

829
config PORT05_INST01_ANNOUNCE_RECEIPT_TIMEOUT
830
	int "announceReceiptTimeout"
831 832 833
	default 3
	range 2 255
	help
834
	  The announceReceiptTimeout specifies the number of announceIntervals 
835 836 837 838 839
	  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

840
config PORT05_INST01_SYNC_INTERVAL
841
	int "logSyncInterval"
842 843 844 845 846 847 848 849
	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

850 851
config PORT05_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT05_INST01_MECHANISM_E2E  
852
	int "minDelayRequestInterval"
853 854 855
	default 0
	range 0 5
	help
856
	  The minDelayRequestInterval specifies the minimum permitted
857 858 859 860
	  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

861 862
config PORT05_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT05_INST01_MECHANISM_P2P  
863
	int "minPDelayRequestInterval"
864 865 866
	default 0
	range 0 5
	help
867
	  The minPDelayRequestInterval specifies the minimum permitted
868 869 870 871
	  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

872
endmenu
873

874
endmenu
875

876
menu "PORT 6"
877

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

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

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

897 898 899 900 901 902 903 904
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
905

906 907
menu "Instance 1"
	depends on PORT06_INSTANCE_COUNT_1
908

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

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

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

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

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

954 955
config PORT06_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT06_INST01_PROFILE_HA && !PORT06_INST01_PROFILE_WR
956
    bool "asymmetryCorrectionPortDS.enable"
957
    default y
958 959 960 961
	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.

962 963 964
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
965 966 967
    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
968
        bool "MasterOnly"
969
    config PORT06_INST01_BMODE_AUTO
970 971 972
        bool "Auto"
endchoice

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

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

985 986 987 988 989 990
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)

991
config PORT06_INST01_ANNOUNCE_INTERVAL
992
	int "logAnnounceInterval" 
993 994 995 996 997 998 999
	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.

1000
config PORT06_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1001
	int "announceReceiptTimeout"
1002 1003 1004
	default 3
	range 2 255
	help
1005
	  The announceReceiptTimeout specifies the number of announceIntervals 
1006 1007 1008 1009 1010
	  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

1011
config PORT06_INST01_SYNC_INTERVAL
1012
	int "logSyncInterval"
1013 1014 1015 1016 1017 1018 1019 1020
	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

1021 1022
config PORT06_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT06_INST01_MECHANISM_E2E  
1023
	int "minDelayRequestInterval"
1024 1025 1026
	default 0
	range 0 5
	help
1027
	  The minDelayRequestInterval specifies the minimum permitted
1028 1029 1030 1031
	  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

1032 1033
config PORT06_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT06_INST01_MECHANISM_P2P  
1034
	int "minPDelayRequestInterval"
1035 1036 1037
	default 0
	range 0 5
	help
1038
	  The minPDelayRequestInterval specifies the minimum permitted
1039 1040 1041 1042 1043 1044 1045 1046
	  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

1047
menu "PORT 7"
1048

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

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

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

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

menu "Instance 1"
1078
	depends on PORT07_INSTANCE_COUNT_1
1079

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

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

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

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

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

1125 1126
config PORT07_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT07_INST01_PROFILE_HA && !PORT07_INST01_PROFILE_WR
1127
    bool "asymmetryCorrectionPortDS.enable"
1128
    default y
1129 1130 1131 1132
	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.

1133 1134 1135
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
1136 1137 1138
    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
1139
        bool "MasterOnly"
1140
    config PORT07_INST01_BMODE_AUTO
1141 1142 1143
        bool "Auto"
endchoice

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

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

1156 1157 1158 1159 1160 1161
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)

1162
config PORT07_INST01_ANNOUNCE_INTERVAL
1163
	int "logAnnounceInterval" 
1164 1165 1166 1167 1168 1169 1170
	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.

1171
config PORT07_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1172
	int "announceReceiptTimeout"
1173 1174 1175
	default 3
	range 2 255
	help
1176
	  The announceReceiptTimeout specifies the number of announceIntervals 
1177 1178 1179 1180 1181
	  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

1182
config PORT07_INST01_SYNC_INTERVAL
1183
	int "logSyncInterval"
1184 1185 1186 1187 1188 1189 1190 1191
	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

1192 1193
config PORT07_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT07_INST01_MECHANISM_E2E  
1194
	int "minDelayRequestInterval"
1195 1196 1197
	default 0
	range 0 5
	help
1198
	  The minDelayRequestInterval specifies the minimum permitted
1199 1200 1201 1202
	  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

1203 1204
config PORT07_INST01_MIN_PDELAY_REQ_INTERVAL
	depends on PORT07_INST01_MECHANISM_P2P  
1205
	int "minPDelayRequestInterval"
1206 1207 1208
	default 0
	range 0 5
	help
1209
	  The minPDelayRequestInterval specifies the minimum permitted
1210 1211 1212 1213
	  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

1214
endmenu
1215

1216
endmenu
1217

1218
menu "PORT 8"
1219

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

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

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

1239 1240 1241 1242 1243 1244 1245 1246
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
1247

1248 1249
menu "Instance 1"
	depends on PORT08_INSTANCE_COUNT_1
1250

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

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

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

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

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

1296 1297
config PORT08_INST01_ASYMMETRY_CORRECTION_ENABLE
	depends on !PORT08_INST01_PROFILE_HA && !PORT08_INST01_PROFILE_WR
1298
    bool "asymmetryCorrectionPortDS.enable"
1299
    default y
1300 1301 1302 1303
	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.

1304 1305 1306
choice
    prompt "BMCA mode"
    depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED!=y
1307 1308 1309
    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
1310
        bool "MasterOnly"
1311
    config PORT08_INST01_BMODE_AUTO
1312 1313 1314
        bool "Auto"
endchoice

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

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

1327 1328 1329 1330 1331 1332
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)

1333
config PORT08_INST01_ANNOUNCE_INTERVAL
1334
	int "logAnnounceInterval" 
1335 1336 1337 1338 1339 1340 1341
	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.

1342
config PORT08_INST01_ANNOUNCE_RECEIPT_TIMEOUT
1343
	int "announceReceiptTimeout"
1344 1345 1346
	default 3
	range 2 255
	help
1347
	  The announceReceiptTimeout specifies the number of announceIntervals 
1348 1349 1350 1351 1352
	  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

1353
config PORT08_INST01_SYNC_INTERVAL
1354
	int "logSyncInterval"
1355 1356 1357 1358 1359 1360 1361 1362
	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

1363 1364
config PORT08_INST01_MIN_DELAY_REQ_INTERVAL
	depends on PORT08_INST01_MECHANISM_E2E