|
26 |
|
26 |
|
27 |
namespace ns3 { |
27 |
namespace ns3 { |
28 |
namespace dot11s { |
28 |
namespace dot11s { |
29 |
NS_OBJECT_ENSURE_REGISTERED (PeerLinkFrameStart); |
29 |
NS_OBJECT_ENSURE_REGISTERED (PeerLinkOpenStart); |
30 |
|
30 |
|
31 |
PeerLinkFrameStart::PeerLinkFrameStart () : |
31 |
PeerLinkOpenStart::PeerLinkOpenStart () : |
32 |
m_subtype (255), m_capability (0), m_aid (0), m_rates (SupportedRates ()), m_meshId (), |
32 |
m_subtype ((uint8_t)(WifiActionHeader::PEER_LINK_OPEN)), m_capability (0), m_aid (0), m_rates (SupportedRates ()), m_meshId (), |
33 |
m_config (IeConfiguration ()) |
33 |
m_config (IeConfiguration ()) |
34 |
{ |
34 |
{ |
35 |
} |
35 |
} |
36 |
void |
36 |
void |
37 |
PeerLinkFrameStart::SetPlinkFrameSubtype (uint8_t subtype) |
37 |
PeerLinkOpenStart::SetPlinkOpenStart (PeerLinkOpenStart::PlinkOpenStartFields fields) |
38 |
{ |
|
|
39 |
m_subtype = subtype; |
40 |
} |
41 |
void |
42 |
PeerLinkFrameStart::SetPlinkFrameStart (PeerLinkFrameStart::PlinkFrameStartFields fields) |
43 |
{ |
38 |
{ |
44 |
m_subtype = fields.subtype; |
39 |
m_subtype = fields.subtype; |
45 |
|
40 |
|
|
68 |
//reasonCode not used here |
63 |
//reasonCode not used here |
69 |
} |
64 |
} |
70 |
} |
65 |
} |
71 |
PeerLinkFrameStart::PlinkFrameStartFields |
66 |
PeerLinkOpenStart::PlinkOpenStartFields |
72 |
PeerLinkFrameStart::GetFields () const |
67 |
PeerLinkOpenStart::GetFields () const |
73 |
{ |
68 |
{ |
74 |
PlinkFrameStartFields retval; |
69 |
PlinkOpenStartFields retval; |
75 |
/// \todo protocol version: |
70 |
/// \todo protocol version: |
76 |
retval.subtype = m_subtype; |
71 |
retval.subtype = m_subtype; |
77 |
retval.capability = m_capability; |
72 |
retval.capability = m_capability; |
|
83 |
return retval; |
78 |
return retval; |
84 |
} |
79 |
} |
85 |
TypeId |
80 |
TypeId |
86 |
PeerLinkFrameStart::GetTypeId () |
81 |
PeerLinkOpenStart::GetTypeId () |
87 |
{ |
82 |
{ |
88 |
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkFrameStart") |
83 |
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkOpenStart") |
89 |
.SetParent<Header> () |
84 |
.SetParent<Header> () |
90 |
.SetGroupName ("Mesh") |
85 |
.SetGroupName ("Mesh") |
91 |
.AddConstructor<PeerLinkFrameStart> () |
86 |
.AddConstructor<PeerLinkOpenStart> () |
92 |
; |
87 |
; |
93 |
return tid; |
88 |
return tid; |
94 |
} |
89 |
} |
95 |
TypeId |
90 |
TypeId |
96 |
PeerLinkFrameStart::GetInstanceTypeId () const |
91 |
PeerLinkOpenStart::GetInstanceTypeId () const |
97 |
{ |
92 |
{ |
98 |
return GetTypeId (); |
93 |
return GetTypeId (); |
99 |
} |
94 |
} |
100 |
void |
95 |
void |
101 |
PeerLinkFrameStart::Print (std::ostream &os) const |
96 |
PeerLinkOpenStart::Print (std::ostream &os) const |
102 |
{ |
97 |
{ |
103 |
os << "subtype = " << (uint16_t) m_subtype << std::endl << "capability = " << m_capability << std::endl << "laid = " |
98 |
os << "subtype = " << (uint16_t) m_subtype << std::endl << "capability = " << m_capability << std::endl << "laid = " |
104 |
<< (uint16_t) m_aid << std::endl << "rates = " << m_rates << std::endl << "meshId = "; |
99 |
<< (uint16_t) m_aid << std::endl << "rates = " << m_rates << std::endl << "meshId = "; |
|
108 |
os << std::endl << "reason code = " << m_reasonCode; |
103 |
os << std::endl << "reason code = " << m_reasonCode; |
109 |
} |
104 |
} |
110 |
uint32_t |
105 |
uint32_t |
111 |
PeerLinkFrameStart::GetSerializedSize () const |
106 |
PeerLinkOpenStart::GetSerializedSize () const |
112 |
{ |
107 |
{ |
113 |
uint32_t size =0; //Peering protocol |
108 |
uint32_t size =0; //Peering protocol |
114 |
NS_ASSERT (m_subtype < 4); |
109 |
NS_ASSERT (m_subtype < 4); |
|
140 |
return size; |
135 |
return size; |
141 |
} |
136 |
} |
142 |
void |
137 |
void |
143 |
PeerLinkFrameStart::Serialize (Buffer::Iterator start) const |
138 |
PeerLinkOpenStart::Serialize (Buffer::Iterator start) const |
144 |
{ |
139 |
{ |
145 |
Buffer::Iterator i = start; |
140 |
Buffer::Iterator i = start; |
146 |
NS_ASSERT (m_subtype < 4); |
141 |
NS_ASSERT (m_subtype < 4); |
|
172 |
} |
167 |
} |
173 |
} |
168 |
} |
174 |
uint32_t |
169 |
uint32_t |
175 |
PeerLinkFrameStart::Deserialize (Buffer::Iterator start) |
170 |
PeerLinkOpenStart::Deserialize (Buffer::Iterator start) |
176 |
{ |
171 |
{ |
177 |
Buffer::Iterator i = start; |
172 |
Buffer::Iterator i = start; |
178 |
NS_ASSERT (m_subtype < 4); |
173 |
NS_ASSERT (m_subtype < 4); |
|
219 |
return i.GetDistanceFrom (start); |
214 |
return i.GetDistanceFrom (start); |
220 |
} |
215 |
} |
221 |
bool |
216 |
bool |
222 |
operator== (const PeerLinkFrameStart & a, const PeerLinkFrameStart & b) |
217 |
operator== (const PeerLinkOpenStart & a, const PeerLinkOpenStart & b) |
|
|
218 |
{ |
219 |
return ((a.m_subtype == b.m_subtype) && (a.m_capability == b.m_capability) && (a.m_aid == b.m_aid) |
220 |
&& (a.m_meshId.IsEqual (b.m_meshId)) && (a.m_config == b.m_config)); |
221 |
|
222 |
} |
223 |
NS_OBJECT_ENSURE_REGISTERED (PeerLinkCloseStart); |
224 |
|
225 |
PeerLinkCloseStart::PeerLinkCloseStart () : |
226 |
m_subtype ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)), m_capability (0), m_aid (0), m_rates (SupportedRates ()), m_meshId (), |
227 |
m_config (IeConfiguration ()) |
228 |
{ |
229 |
} |
230 |
void |
231 |
PeerLinkCloseStart::SetPlinkCloseStart (PeerLinkCloseStart::PlinkCloseStartFields fields) |
232 |
{ |
233 |
m_subtype = fields.subtype; |
234 |
|
235 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
236 |
{ |
237 |
m_capability = fields.capability; |
238 |
} |
239 |
if (m_subtype == (uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM)) |
240 |
{ |
241 |
m_aid = fields.aid; |
242 |
} |
243 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
244 |
{ |
245 |
m_rates = fields.rates; |
246 |
} |
247 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM)) |
248 |
{ |
249 |
m_meshId = fields.meshId; |
250 |
} |
251 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
252 |
{ |
253 |
m_config = fields.config; |
254 |
} |
255 |
else |
256 |
{ |
257 |
//reasonCode not used here |
258 |
} |
259 |
} |
260 |
PeerLinkCloseStart::PlinkCloseStartFields |
261 |
PeerLinkCloseStart::GetFields () const |
262 |
{ |
263 |
PlinkCloseStartFields retval; |
264 |
/// \todo protocol version: |
265 |
retval.subtype = m_subtype; |
266 |
retval.capability = m_capability; |
267 |
retval.aid = m_aid; |
268 |
retval.rates = m_rates; |
269 |
retval.meshId = m_meshId; |
270 |
retval.config = m_config; |
271 |
|
272 |
return retval; |
273 |
} |
274 |
TypeId |
275 |
PeerLinkCloseStart::GetTypeId () |
276 |
{ |
277 |
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkCloseStart") |
278 |
.SetParent<Header> () |
279 |
.SetGroupName ("Mesh") |
280 |
.AddConstructor<PeerLinkCloseStart> () |
281 |
; |
282 |
return tid; |
283 |
} |
284 |
TypeId |
285 |
PeerLinkCloseStart::GetInstanceTypeId () const |
286 |
{ |
287 |
return GetTypeId (); |
288 |
} |
289 |
void |
290 |
PeerLinkCloseStart::Print (std::ostream &os) const |
291 |
{ |
292 |
os << "subtype = " << (uint16_t) m_subtype << std::endl << "capability = " << m_capability << std::endl << "laid = " |
293 |
<< (uint16_t) m_aid << std::endl << "rates = " << m_rates << std::endl << "meshId = "; |
294 |
m_meshId.Print (os); |
295 |
os << std::endl << "configuration = "; |
296 |
m_config.Print (os); |
297 |
os << std::endl << "reason code = " << m_reasonCode; |
298 |
} |
299 |
uint32_t |
300 |
PeerLinkCloseStart::GetSerializedSize () const |
301 |
{ |
302 |
uint32_t size =0; //Peering protocol |
303 |
NS_ASSERT (m_subtype < 4); |
304 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
305 |
{ |
306 |
size += 2; //capability |
307 |
} |
308 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
309 |
{ |
310 |
size += 2; //AID of remote peer |
311 |
} |
312 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
313 |
{ |
314 |
size += m_rates.GetSerializedSize (); |
315 |
size += m_rates.extended.GetSerializedSize (); |
316 |
} |
317 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
318 |
{ |
319 |
size += m_meshId.GetInformationFieldSize () + 2; |
320 |
} |
321 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
322 |
{ |
323 |
size += m_config.GetInformationFieldSize () + 2; |
324 |
} |
325 |
else |
326 |
{ |
327 |
//reasonCode not used here |
328 |
} |
329 |
return size; |
330 |
} |
331 |
void |
332 |
PeerLinkCloseStart::Serialize (Buffer::Iterator start) const |
333 |
{ |
334 |
Buffer::Iterator i = start; |
335 |
NS_ASSERT (m_subtype < 4); |
336 |
|
337 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
338 |
{ |
339 |
i.WriteHtolsbU16 (m_capability); |
340 |
} |
341 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
342 |
{ |
343 |
i.WriteHtolsbU16 (m_aid); |
344 |
} |
345 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
346 |
{ |
347 |
i = m_rates.Serialize (i); |
348 |
i = m_rates.extended.Serialize (i); |
349 |
} |
350 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
351 |
{ |
352 |
i = m_meshId.Serialize (i); |
353 |
} |
354 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
355 |
{ |
356 |
i = m_config.Serialize (i); |
357 |
} |
358 |
else |
359 |
{ |
360 |
//reasonCode not used here |
361 |
} |
362 |
} |
363 |
uint32_t |
364 |
PeerLinkCloseStart::Deserialize (Buffer::Iterator start) |
365 |
{ |
366 |
Buffer::Iterator i = start; |
367 |
NS_ASSERT (m_subtype < 4); |
368 |
|
369 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
370 |
{ |
371 |
m_capability = i.ReadLsbtohU16 (); |
372 |
} |
373 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
374 |
{ |
375 |
m_aid = i.ReadLsbtohU16 (); |
376 |
} |
377 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
378 |
{ |
379 |
i = m_rates.Deserialize (i); |
380 |
i = m_rates.extended.DeserializeIfPresent (i); |
381 |
} |
382 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
383 |
{ |
384 |
uint8_t id = i.ReadU8 (); |
385 |
uint8_t length = i.ReadU8 (); |
386 |
m_meshId.DeserializeInformationField (i, length); |
387 |
if ((m_meshId.ElementId () != (WifiInformationElementId) id) || (m_meshId.GetInformationFieldSize () != length)) |
388 |
{ |
389 |
NS_FATAL_ERROR ("Broken frame: Element ID does not match IE itself!"); |
390 |
} |
391 |
i.Next (m_meshId.GetInformationFieldSize ()); |
392 |
} |
393 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
394 |
{ |
395 |
uint8_t id = i.ReadU8 (); |
396 |
uint8_t length = i.ReadU8 (); |
397 |
m_config.DeserializeInformationField (i, length); |
398 |
if ((m_config.ElementId () != (WifiInformationElementId) id) || (m_config.GetInformationFieldSize () != length)) |
399 |
{ |
400 |
NS_FATAL_ERROR ("Broken frame: Element ID does not match IE itself!"); |
401 |
} |
402 |
i.Next (m_config.GetInformationFieldSize ()); |
403 |
} |
404 |
else |
405 |
{ |
406 |
//reasonCode not used here |
407 |
} |
408 |
return i.GetDistanceFrom (start); |
409 |
} |
410 |
bool |
411 |
operator== (const PeerLinkCloseStart & a, const PeerLinkCloseStart & b) |
412 |
{ |
413 |
return ((a.m_subtype == b.m_subtype) && (a.m_capability == b.m_capability) && (a.m_aid == b.m_aid) |
414 |
&& (a.m_meshId.IsEqual (b.m_meshId)) && (a.m_config == b.m_config)); |
415 |
|
416 |
} |
417 |
NS_OBJECT_ENSURE_REGISTERED (PeerLinkConfirmStart); |
418 |
|
419 |
PeerLinkConfirmStart::PeerLinkConfirmStart () : |
420 |
m_subtype ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM)), m_capability (0), m_aid (0), m_rates (SupportedRates ()), m_meshId (), |
421 |
m_config (IeConfiguration ()) |
422 |
{ |
423 |
} |
424 |
void |
425 |
PeerLinkConfirmStart::SetPlinkConfirmStart (PeerLinkConfirmStart::PlinkConfirmStartFields fields) |
426 |
{ |
427 |
m_subtype = fields.subtype; |
428 |
|
429 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
430 |
{ |
431 |
m_capability = fields.capability; |
432 |
} |
433 |
if (m_subtype == (uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM)) |
434 |
{ |
435 |
m_aid = fields.aid; |
436 |
} |
437 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
438 |
{ |
439 |
m_rates = fields.rates; |
440 |
} |
441 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM)) |
442 |
{ |
443 |
m_meshId = fields.meshId; |
444 |
} |
445 |
if (m_subtype != (uint8_t)(WifiActionHeader::PEER_LINK_CLOSE)) |
446 |
{ |
447 |
m_config = fields.config; |
448 |
} |
449 |
else |
450 |
{ |
451 |
//reasonCode not used here |
452 |
} |
453 |
} |
454 |
PeerLinkConfirmStart::PlinkConfirmStartFields |
455 |
PeerLinkConfirmStart::GetFields () const |
456 |
{ |
457 |
PlinkConfirmStartFields retval; |
458 |
/// \todo protocol version: |
459 |
retval.subtype = m_subtype; |
460 |
retval.capability = m_capability; |
461 |
retval.aid = m_aid; |
462 |
retval.rates = m_rates; |
463 |
retval.meshId = m_meshId; |
464 |
retval.config = m_config; |
465 |
|
466 |
return retval; |
467 |
} |
468 |
TypeId |
469 |
PeerLinkConfirmStart::GetTypeId () |
470 |
{ |
471 |
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkConfirmStart") |
472 |
.SetParent<Header> () |
473 |
.SetGroupName ("Mesh") |
474 |
.AddConstructor<PeerLinkConfirmStart> () |
475 |
; |
476 |
return tid; |
477 |
} |
478 |
TypeId |
479 |
PeerLinkConfirmStart::GetInstanceTypeId () const |
480 |
{ |
481 |
return GetTypeId (); |
482 |
} |
483 |
void |
484 |
PeerLinkConfirmStart::Print (std::ostream &os) const |
485 |
{ |
486 |
os << "subtype = " << (uint16_t) m_subtype << std::endl << "capability = " << m_capability << std::endl << "laid = " |
487 |
<< (uint16_t) m_aid << std::endl << "rates = " << m_rates << std::endl << "meshId = "; |
488 |
m_meshId.Print (os); |
489 |
os << std::endl << "configuration = "; |
490 |
m_config.Print (os); |
491 |
os << std::endl << "reason code = " << m_reasonCode; |
492 |
} |
493 |
uint32_t |
494 |
PeerLinkConfirmStart::GetSerializedSize () const |
495 |
{ |
496 |
uint32_t size =0; //Peering protocol |
497 |
NS_ASSERT (m_subtype < 4); |
498 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
499 |
{ |
500 |
size += 2; //capability |
501 |
} |
502 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
503 |
{ |
504 |
size += 2; //AID of remote peer |
505 |
} |
506 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
507 |
{ |
508 |
size += m_rates.GetSerializedSize (); |
509 |
size += m_rates.extended.GetSerializedSize (); |
510 |
} |
511 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
512 |
{ |
513 |
size += m_meshId.GetInformationFieldSize () + 2; |
514 |
} |
515 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
516 |
{ |
517 |
size += m_config.GetInformationFieldSize () + 2; |
518 |
} |
519 |
else |
520 |
{ |
521 |
//reasonCode not used here |
522 |
} |
523 |
return size; |
524 |
} |
525 |
void |
526 |
PeerLinkConfirmStart::Serialize (Buffer::Iterator start) const |
527 |
{ |
528 |
Buffer::Iterator i = start; |
529 |
NS_ASSERT (m_subtype < 4); |
530 |
|
531 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
532 |
{ |
533 |
i.WriteHtolsbU16 (m_capability); |
534 |
} |
535 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
536 |
{ |
537 |
i.WriteHtolsbU16 (m_aid); |
538 |
} |
539 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
540 |
{ |
541 |
i = m_rates.Serialize (i); |
542 |
i = m_rates.extended.Serialize (i); |
543 |
} |
544 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
545 |
{ |
546 |
i = m_meshId.Serialize (i); |
547 |
} |
548 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
549 |
{ |
550 |
i = m_config.Serialize (i); |
551 |
} |
552 |
else |
553 |
{ |
554 |
//reasonCode not used here |
555 |
} |
556 |
} |
557 |
uint32_t |
558 |
PeerLinkConfirmStart::Deserialize (Buffer::Iterator start) |
559 |
{ |
560 |
Buffer::Iterator i = start; |
561 |
NS_ASSERT (m_subtype < 4); |
562 |
|
563 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
564 |
{ |
565 |
m_capability = i.ReadLsbtohU16 (); |
566 |
} |
567 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) == m_subtype) |
568 |
{ |
569 |
m_aid = i.ReadLsbtohU16 (); |
570 |
} |
571 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
572 |
{ |
573 |
i = m_rates.Deserialize (i); |
574 |
i = m_rates.extended.DeserializeIfPresent (i); |
575 |
} |
576 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CONFIRM) != m_subtype) |
577 |
{ |
578 |
uint8_t id = i.ReadU8 (); |
579 |
uint8_t length = i.ReadU8 (); |
580 |
m_meshId.DeserializeInformationField (i, length); |
581 |
if ((m_meshId.ElementId () != (WifiInformationElementId) id) || (m_meshId.GetInformationFieldSize () != length)) |
582 |
{ |
583 |
NS_FATAL_ERROR ("Broken frame: Element ID does not match IE itself!"); |
584 |
} |
585 |
i.Next (m_meshId.GetInformationFieldSize ()); |
586 |
} |
587 |
if ((uint8_t)(WifiActionHeader::PEER_LINK_CLOSE) != m_subtype) |
588 |
{ |
589 |
uint8_t id = i.ReadU8 (); |
590 |
uint8_t length = i.ReadU8 (); |
591 |
m_config.DeserializeInformationField (i, length); |
592 |
if ((m_config.ElementId () != (WifiInformationElementId) id) || (m_config.GetInformationFieldSize () != length)) |
593 |
{ |
594 |
NS_FATAL_ERROR ("Broken frame: Element ID does not match IE itself!"); |
595 |
} |
596 |
i.Next (m_config.GetInformationFieldSize ()); |
597 |
} |
598 |
else |
599 |
{ |
600 |
//reasonCode not used here |
601 |
} |
602 |
return i.GetDistanceFrom (start); |
603 |
} |
604 |
bool |
605 |
operator== (const PeerLinkConfirmStart & a, const PeerLinkConfirmStart & b) |
223 |
{ |
606 |
{ |
224 |
return ((a.m_subtype == b.m_subtype) && (a.m_capability == b.m_capability) && (a.m_aid == b.m_aid) |
607 |
return ((a.m_subtype == b.m_subtype) && (a.m_capability == b.m_capability) && (a.m_aid == b.m_aid) |
225 |
&& (a.m_meshId.IsEqual (b.m_meshId)) && (a.m_config == b.m_config)); |
608 |
&& (a.m_meshId.IsEqual (b.m_meshId)) && (a.m_config == b.m_config)); |