#6211 BLOC Future : patch for support of per packet mesh ttl

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 18 14:48:35 EST 2008


#6211: patch for support of per packet mesh ttl
--------------------------+-------------------------------------------------
  Reporter:  mbletsas     |       Owner:  dwmw2                         
      Type:  enhancement  |      Status:  new                           
  Priority:  blocker      |   Milestone:  Future Release                
 Component:  wireless     |     Version:                                
Resolution:               |    Keywords:  libertas, ttl, mesh, Update.1?
  Verified:  0            |    Blocking:                                
 Blockedby:               |  
--------------------------+-------------------------------------------------

Comment(by jcardona):

 Replying to [comment:23 dilinger]:
 > Replying to [comment:19 jcardona]:
 > > Replying to [comment:13 dilinger]:
 > > > Hm, tx_packet_location needs to go away..
 > >
 > > Why?  Each frame has a variable size prefix followed by the 802.3
 frame.  That field is used to indicate the start of the 802.3 frame.
 > >
 >
 > Yes, but it's not actually *used*.  It could happily go away without
 distrupting anything.

 I'm not sure I understand the change you propose.  tx_packet_location is
 part of the transmission packet descriptor that precedes each frame sent
 to the device.

 {{{
 /* TxPD descriptor */
 struct txpd {
         ...
         __le32 tx_packet_location;
         ...
 }
 }}}

 It is set to {{{sizeof(struct txpd)}}} or to {{{sizeof(struct txpd) + 3}}}
 depending on whether the descriptor includes per-frame options or not.
 The firmware will inspect that field to find the start of the 802.11
 header.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6211#comment:24>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list