Graph Description:
RSU OBU
********* **********
*Layer7* <------------> *Layer7
*********
**********
*Layer2* <------------> *Layer2
*********
**********
*Physical(antenna) Physical(antena)
=============================================================
Problem Description:
1,
Layer2 is rightly under layer7, layer2 uses a stop-wait protocol,
which has one sequence number. Layer7 supports fragmentation. Now
there are two peers: RSU and OBU. RSU's Layer7 fragment a PDU into 2
fragments. So layer7 call layer2 primitive to send fragment 1 with
sequence number 0. OBU receives fragment 1, and OBU's layer7 finds
it's a fragmented PDU, so it waits for fragment2. However, RSU's
layer7 won't send fragment2 since RSU's layer2 is waiting for response
from OBU(layer2 is a stop-wait protocol). This scenario will lead to
deadlock!!!!!!
2,
Also, if RSU's layer7 sends a non-fragmented PDU to OBU, and OBU needs
to send back 2 fragments, this will also leads to incorrect sequence
number maintenance since Layer2 is a stop-wait protocol with one
sequence number maintained.
Am I right? How to deal with such problem?
================================================================
Related resources:
1, 802.2 Standard. (the layer2 uses type3 service of LLC)
2, STF282(DSRC Conformance Testing in support of Interoperability)
http://portal.etsi.org/stfs/STF_HomePages/STF282/STF282.asp
3, DSRC Home: http://www.leearmstrong.com/DSRC/DSRCHomeset.htm
Thanks very much for your attention!!!!
Regards. Tom
> 2,
> Also, if RSU's layer7 sends a non-fragmented PDU to OBU, and OBU needs
> to send back 2 fragments, this will also leads to incorrect sequence
> number maintenance since Layer2 is a stop-wait protocol with one
> sequence number maintained.
>
This is the same as above. Layer 7 and layer 2 are completely
independent of each other.
> Am I right? How to deal with such problem?
>
> ================================================================
> Related resources:
> 1, 802.2 Standard. (the layer2 uses type3 service of LLC)
> 2, STF282(DSRC Conformance Testing in support of Interoperability)http://portal.etsi.org/stfs/STF_HomePages/STF282/STF282.asp
Thanks really for replying!!
I'm sorry, maybe I didn't clearly describe the scenario.
1, There is no layer6/5/4/3, only layer7 and layer2;
2, The layer2 uses Type3 service of 802.2, which means if Layer7 want
to exchange data, receiver's ack should be piggybacked with the
response from peer layer7, layer2 won't send an independent ack!!
802.2 standard:
http://standards.ieee.org/getieee802/download/802.2-1998.pdf