1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
2<head>
3<?xml version="1.0" encoding="Shift_JIS"?>
4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5
6<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" />
7<meta http-equiv="Content-style-type" content="css/text; charset=Shift_JIS" />
8<meta http-equiv="Content-Script-Type" content="text/javascript" />
9<title>Wireless Communication Time Calculation Sheet</title>
10
11</head>
12<body>
13<!-- Contents are from here -->
14<script language="JavaScript">
15<!--
16function calcMPTime()
17{
18  var seed     = document.seed ;
19  var cond     = document.MP ;
20
21  var preamble   = parseInt( seed.Preamble.value ) ; // C21
22  var header     = parseInt( seed.Header.value ) ;   // C22
23  var fcs        = parseInt( seed.FCS.value ) ;      // C23
24  var txop       = parseInt( seed.TXOP.value ) ;     // C24
25  var sifs       = parseInt( seed.SIFS.value ) ;     // C25
26
27  var wmHeader   = parseInt( seed.wmHeader.value ) ;       // C27
28  var wmFooterP  = parseInt( seed.wmFooterParent.value ) ; // C28
29  var wmFooterC  = parseInt( seed.wmFooterChild.value ) ;  // C29
30
31  var parent     = parseInt( cond.parent.value ) ;  // B3
32  var child      = parseInt( cond.child.value ) ;   // C3
33  var num        = parseInt( cond.num.value ) ;     // D3
34
35  // (C21 + (C22+C23+C24+B3+C27+C28) * 4 )
36  //  + (C25 + C21 + (C22+C23+C3+C27+C29) * 4 + 6 ) * D3
37  //  + C25 + C21 + (C22+C23+C24) * 4
38  cond.result.value =
39     (preamble + ( header + fcs + txop + parent + wmHeader + wmFooterP ) * 4 )
40      + (sifs + preamble + ( header + fcs + child + wmHeader + wmFooterC ) * 4 + 6 ) * num
41      + sifs + preamble + ( header + fcs + txop ) * 4 ;
42}
43
44function calcMPKeyTime()
45{
46  var seed     = document.seed ;
47  var cond     = document.MPKey ;
48
49  var preamble   = parseInt( seed.Preamble.value ) ; // C21
50  var header     = parseInt( seed.Header.value ) ;   // C22
51  var fcs        = parseInt( seed.FCS.value ) ;      // C23
52  var txop       = parseInt( seed.TXOP.value ) ;     // C24
53  var sifs       = parseInt( seed.SIFS.value ) ;     // C25
54
55  var wmHeader   = parseInt( seed.wmHeader.value ) ;       // C27
56  var wmFooterP  = parseInt( seed.wmFooterParent.value ) ; // C28
57  var wmFooterC  = parseInt( seed.wmFooterChild.value ) ;  // C29
58
59  var wmKeySP    = parseInt( seed.KeySharingParent.value ) ; // C31
60  var wmKeySC    = parseInt( seed.KeySharingChild.value ) ;  // C32
61
62  var addHeader  = parseInt( seed.additionalHeader.value ) ;       // C34
63  var addFooterP = parseInt( seed.additionalFooterParent.value ) ; // C35
64  var addFooterC = parseInt( seed.additionalFooterChild.value ) ;  // C36
65
66  var parent     = parseInt( cond.parent.value ) ;  // B9
67  var child      = parseInt( cond.child.value ) ;   // C9
68  var num        = parseInt( cond.num.value ) ;     // D9
69
70  // (C21 + (C22+C23+C24+B9+C27+C28+C31+C34+C35) * 4)
71  //  + (C25 + C21 + (C22+C23+C9+C27+C29+C32+C34+C36) * 4 + 6 ) * D9
72  //  + C25 + C21 + (C22+C23+C24) * 4
73  cond.result.value =
74     (preamble + ( header + fcs + txop + parent + wmHeader + wmFooterP + wmKeySP + addHeader + addFooterP ) * 4 )
75      + (sifs + preamble + ( header + fcs + child + wmHeader + wmFooterC + wmKeySC + addHeader + addFooterC ) * 4 + 6 ) * num
76      + sifs + preamble + ( header + fcs + txop ) * 4 ;
77}
78
79function calcMPDataTime()
80{
81  var seed     = document.seed ;
82  var cond     = document.MPData ;
83
84  var preamble   = parseInt( seed.Preamble.value ) ; // C21
85  var header     = parseInt( seed.Header.value ) ;   // C22
86  var fcs        = parseInt( seed.FCS.value ) ;      // C23
87  var txop       = parseInt( seed.TXOP.value ) ;     // C24
88  var sifs       = parseInt( seed.SIFS.value ) ;     // C25
89
90  var wmHeader   = parseInt( seed.wmHeader.value ) ;       // C27
91  var wmFooterP  = parseInt( seed.wmFooterParent.value ) ; // C28
92  var wmFooterC  = parseInt( seed.wmFooterChild.value ) ;  // C29
93
94  var addHeader  = parseInt( seed.additionalHeader.value ) ;       // C34
95  var addFooterP = parseInt( seed.additionalFooterParent.value ) ; // C35
96  var addFooterC = parseInt( seed.additionalFooterChild.value ) ;  // C36
97
98  var parent     = parseInt( cond.parent.value ) ;  // B15
99  var child      = parseInt( cond.child.value ) ;   // C15
100  var num        = parseInt( cond.num.value ) ;     // D15
101  var share      = parseInt( cond.share.value ) ;   // B17
102
103  // (C21 + (C22+C23+C24+B15+C27+C28+( B17 * ( D15 + 1 ) + 4 )+C34+C35) * 4)
104  // + (C25 + C21 + (C22+C23+C15+C27+C29+B17+C34+C36) * 4 + 6) * D15
105  // + C25 + C21 + (C22+C23+C24) * 4
106  cond.result.value =
107     (preamble + ( header + fcs + txop + parent + wmHeader + wmFooterP + ( share * ( num + 1 ) + 4 ) + addHeader + addFooterP ) * 4 )
108      + (sifs + preamble + ( header + fcs + child + wmHeader + wmFooterC + share + addHeader + addFooterC ) * 4 + 6 ) * num
109      + sifs + preamble + ( header + fcs + txop ) * 4 ;
110}
111//-->
112</script>
113<h2>Wireless Communication Time Calculation Sheet</h2>
114<h3>MP Communication</h3>
115<div>
116<form name="MP">
117<table>
118<tr>
119<th>Parent Size
120<td><input size=6 style="text-align:right;" type=text name="parent" value=128 onChange="calcMPTime()">Bytes
121<tr>
122<th>Child Size
123<td><input size=6 style="text-align:right;" type=text name="child" value=16 onChange="calcMPTime()">Bytes
124<tr>
125<th>Number of Children
126<td><input size=6 style="text-align:right;" type=text name="num" value=15 onChange="calcMPTime()">device(s)
127<tr>
128<th>Required Time
129<td><input size=6 readonly style="text-align:right;" type=text name="result" value=5554>&micro;s
130</table>
131</form>
132</div>
133<!--
134<h3>MP Communication (when using key sharing)</h3>
135<div>
136<form name="MPKey">
137<table>
138<tr>
139<th>Parent Size
140<td><input size=6 style="text-align:right;" type=text name="parent" value=96 onChange="calcMPKeyTime()">Bytes
141<tr>
142<th>Child Size
143<td><input size=6 style="text-align:right;" type=text name="child" value=10 onChange="calcMPKeyTime()">Bytes
144<tr>
145<th>Number of Children
146<td><input size=6 style="text-align:right;" type=text name="num" value=15 onChange="calcMPKeyTime()">device(s)
147<tr>
148<th>Required Time
149<td><input size=6 readonly style="text-align:right;" type=text name="result" value=5594>&micro;s
150</table>
151</form>
152</div>
153-->
154<h3>MP Communication (when using data sharing)</h3>
155<div>
156<form name="MPData">
157<table>
158<tr>
159<th>Common Data Size for Data Sharing
160<td><input size=6 style="text-align:right;" type=text name="share" value=4 onChange="calcMPDataTime()">Bytes
161<tr>
162<th>Send Data Size for the Parent (excluding the above)
163<td><input size=6 style="text-align:right;" type=text name="parent" value=64 onChange="calcMPDataTime()">Bytes
164<tr>
165<th>Send Data Size for the Child (excluding the above)
166<td><input size=6 style="text-align:right;" type=text name="child" value=8 onChange="calcMPDataTime()">Bytes
167<tr>
168<th>Number of Children
169<td><input size=6 style="text-align:right;" type=text name="num" value=15 onChange="calcMPDataTime()">device(s)
170<tr>
171<th>Required Time
172<td><input size=6 readonly style="text-align:right;" type=text name="result" value=5594>&micro;s
173</table>
174</form>
175</div>
176<h3>Calculation Data</h3>
177<div>
178<form name="seed">
179<table>
180<tr>
181<th>Preamble<td><input size=6 style="text-align:right;" type=text name="Preamble" value=96 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">&micro;s
182<tr>
183<th>802.11Header<td><input size=6 style="text-align:right;" type=text name="Header" value=24 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
184<tr>
185<th>FCS<td><input size=6 style="text-align:right;" type=text name="FCS" value=4 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
186<tr>
187<th>TXOP+PollBitmap<td><input size=6 style="text-align:right;" type=text name="TXOP" value=4 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
188<tr>
189<th>SIFS<td><input size=6 style="text-align:right;" type=text name="SIFS" value=10 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">&micro;s
190
191<tr>
192<th>wmHeader<td><input size=6 style="text-align:right;" type=text name="wmHeader" value=2 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
193<tr>
194<th>wmFooterParent<td><input size=6 style="text-align:right;" type=text name="wmFooterParent" value=4 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
195<tr>
196<th>wmFooterChild<td><input size=6 style="text-align:right;" type=text name="wmFooterChild" value=2 onChange="calcMPTime();calcMPKeyTime();calcMPDataTime()">Bytes
197
198<tr>
199<th>KeySharingParent<td><input size=6 style="text-align:right;" type=text name="KeySharingParent" value=36 onChange="calcMPKeyTime()">Bytes
200<tr>
201<th>KeySharingChild<td><input size=6 style="text-align:right;" type=text name="KeySharingChild" value=2 onChange="calcMPKeyTime()">Bytes
202
203<tr>
204<th>additionalHeader<td><input size=6 style="text-align:right;" type=text name="additionalHeader" value=2 onChange="calcMPKeyTime();calcMPDataTime()">Bytes
205<tr>
206<th>additionalFooterParent<td><input size=6 style="text-align:right;" type=text name="additionalFooterParent" value=4 onChange="calcMPKeyTime();calcMPDataTime()">Bytes
207<tr>
208<th>additionalFooterChild<td><input size=6 style="text-align:right;" type=text name="additionalFooterChild" value=2 onChange="calcMPKeyTime();calcMPDataTime()">Bytes
209</table>
210</form>
211</div>
212
213<hr><p>CONFIDENTIAL</p></body>
214</html>
215
216
217