03.11.2012 Views

Medium Access Control (MAC) and Physical Layer (PHY) - CISE

Medium Access Control (MAC) and Physical Layer (PHY) - CISE

Medium Access Control (MAC) and Physical Layer (PHY) - CISE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4-June-07 P1901_PRO_016_r0<br />

Open connection<br />

Learn source <strong>MAC</strong><br />

address<br />

Last data block<br />

received (empty)<br />

Close connection<br />

Client<br />

<strong>MAC</strong>_x<br />

PTTP.DATA(N)<br />

Empty<br />

PTTP.RRQ<br />

DST: DS2 Multicast<br />

SRC: <strong>MAC</strong>_x<br />

Preforwarded to<br />

active ports<br />

PTTP.DATA(1)<br />

DST: <strong>MAC</strong>_x<br />

SRC: <strong>MAC</strong>_y<br />

PTTP.ACK(1)<br />

DST: <strong>MAC</strong>_y<br />

SRC: <strong>MAC</strong>_x<br />

PTTP.DATA(2)<br />

PTTP.ACK(2)<br />

PTTP.ACK(N)<br />

Figure 153 Usual PTTP operation.<br />

Server<br />

<strong>MAC</strong>_y<br />

Open connection<br />

Learn source <strong>MAC</strong><br />

address<br />

Last block ACK<br />

received<br />

Close connection<br />

Since PTTP protocol operates directly over BPL <strong>and</strong> Ethernet protocols, it must h<strong>and</strong>le itself lost <strong>and</strong> duplicated<br />

packets. PTTP implements the stop-<strong>and</strong>-wait protocol described before. For this purpose, two timers are needed per<br />

each connection: DATA <strong>and</strong> ACK timers. The DATA timer is in the client, whereas the ACK timer is located in the<br />

server.<br />

If a duplicated DATA or ACK message arrives, it is simply discarded, because its Block Number field will not<br />

match the expected one. If a DATA or ACK message is lost, the ACK timer will expire in the server <strong>and</strong> this will<br />

retransmit the last DATA message.<br />

There is defined a Maximum Number of Retransmissions, which in case of being exceeded, the connection will be<br />

closed on the server side. Moreover, the connection will be closed on the client side too, because its DATA timer<br />

will expire.<br />

Submission page 364 UPA-OPERA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!