Changes between Version 10 and Version 11 of OFDM/MIMO/Docs/AutoResponse


Ignore:
Timestamp:
Aug 29, 2009, 3:26:16 PM (15 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OFDM/MIMO/Docs/AutoResponse

    v10 v11  
    7474 * {{{pktBuf_tx_ACK}}}: is the index (in [1,30]) of a PHY packet buffer used for transmitting ACKs
    7575 * {{{pktBuf_rx}}}: is the index (in [1,30]) of the PHY packet buffer where received packets are written
     76 * {{{templatePkt}}}: a struct of type {{{Macframe}}} (see [source:/PlatformSupport/WARPMAC/warpmac.h])
    7677
    7778=== Automatic ACKs ===
     
    9596//Create a template ACK packet
    9697templatePkt.header.fullRate = pktFullRate;
    97 templatePkt.header.codeRate = pktCodeRate;
    9898templatePkt.header.length = 0;
    99 templatePkt.header.srcAddr = (unsigned short)(NODEID_TO_ADDR(myID));
     99templatePkt.header.srcAddr = MY_ADDR;
    100100templatePkt.header.pktType = ACKPACKET;
    101101
     
    125125#!C
    126126//Configure match unit 0 to search for packets whose relay address matches this node's address
    127 // Looks for 2 bytes starting at index PKTHEADER_INDX_RELAYADDR with value MY_ADDR
     127// Looks for 2 bytes starting at index PKTHEADER_INDX_RELADDR with value MY_ADDR
    128128mimo_ofdmTxRx_setMatch0( PHY_AUTORESPONSE_MATCH_CONFIG(PKTHEADER_INDX_RELADDR, 2, MY_ADDR) );
    129129
     
    136136PHY_HEADERTRANSLATE_SET(pktBuf_rx, (PKTHEADER_INDX_SRCADDR+1), pktBuf_rx, (PKTHEADER_INDX_RELADDR+1));
    137137
    138 //Configure actor 0 to transit the received packet using the header translator
    139 // after 5µs when the PHY receives a good data packet using this node as a relay
     138//Configure actor 0 to transit the received packet using the header translator after 5µs when the PHY receives a good data packet using this node as a relay
    140139mimo_ofdmTxRx_setAction0(
    141140        PHY_AUTORESPONSE_TXACTION_CONFIG(pktBuf_rx, PHY_AUTORESPONSE_ACT_TRANS_HDR, 20,