Changes between Version 6 and Version 7 of OFDM/MIMO/Docs/AutoResponse


Ignore:
Timestamp:
Aug 29, 2009, 2:25:52 PM (15 years ago)
Author:
murphpo
Comment:

--

Legend:

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

    v6 v7  
    77
    88=== Actors ===
    9 The actors are configured to trigger a transmission when a received packet meets programmed conditions, including any combination of match unit outputs. 
     9The actors are configured to trigger a transmission when a received packet meets programmed conditions, including any combination of match unit outputs.
    1010
    1111'''Important:''' user code must guarantee that the conditions applied to each actor are mutually exclusive. No more than one actor should be triggered by a single packet reception. This requirement is '''not''' enforced in hardware. Results will be unpredictable if multiple actors are triggered at once. Unused actors should be disabled.
     
    1515
    1616== Configuring the Auto Response System ==
    17 C macros are provided in [src:/PlatformSupport/warpmac/warpphy.h warphphy.h] to help configure the match units, actors and header translator.
     17C macros are provided in [source:/PlatformSupport/warpmac/warpphy.h warphphy.h] to help configure the match units, actors and header translator.
    1818
    19 Match unit configuration:
     19'''Match unit configuration:'''
     20
    2021 * PHY_AUTORESPONSE_MATCH_CONFIG(''addr'', ''len'', ''val''): Configure the match unit to check whether ''len'' header bytes starting at ''addr'' match value ''val''
    2122
    22 Actor condition requirements:
     23'''Actor condition requirements:'''
     24
    2325 * PHY_AUTORESPONSE_REQ_GOODHDR: Packet currently being received is decoded without header errors
    2426 * PHY_AUTORESPONSE_REQ_BADPKT: Packet currently being received has errors in payload but not header
    2527 * PHY_AUTORESPONSE_REQ_GOODPKT: Packet currently being received is decoded without errors in header and payload
    26  * PHY_AUTORESPONSE_REQ_FLAGA   : Flag A is set (set during previous reception)
    27  * PHY_AUTORESPONSE_REQ_FLAGB:  Flag A is set (set during previous reception)
     28 * PHY_AUTORESPONSE_REQ_FLAGA: Flag A is set (set during previous reception)
     29 * PHY_AUTORESPONSE_REQ_FLAGB:  Flag B is set (set during previous reception)
    2830 * PHY_AUTORESPONSE_REQ_MATCH0: Match unit 0 conditions are met by the current packet header
    29  * PHY_AUTORESPONSE_REQ_MATCH1: Match unit 1 conditions are met by the current packet header   
     31 * PHY_AUTORESPONSE_REQ_MATCH1: Match unit 1 conditions are met by the current packet header
    3032 * PHY_AUTORESPONSE_REQ_MATCH2: Match unit 2 conditions are met by the current packet header
    3133 * PHY_AUTORESPONSE_REQ_MATCH3: Match unit 3 conditions are met by the current packet header
     
    3335 * PHY_AUTORESPONSE_REQ_MATCH5: Match unit 5 conditions are met by the current packet header
    3436
    35 Actor options:
     37'''Actor options:'''
     38
    3639 * PHY_AUTORESPONSE_ACT_TRANS_HDR: Use the header translator for the auto-triggered transmission
    3740
    38 Header translator:
    39  * PHY_HEADERTRANSLATE_SET(''actionBuf'', ''txByteNum'', ''srcBuf'', ''srcByteNum''): Configure the translator to send the byte at index ''srcByteNum'' from the packet buffer ''srcBuf'' as byte number ''txByteNum'' for packets transmitted from the packet buffer ''actionBuf''
     41'''Header translator:'''
    4042
    41 Actor configuration:
    42  * PHY_AUTORESPONSE_TXACTION_CONFIG(''pktBuf'', ''translateHdr'', ''delay'', ''conditions''): Configure the actor to automatically transmit
     43 * PHY_HEADERTRANSLATE_SET(''actionBuf'', ''txByteNum'', ''srcBuf'', ''srcByteNum''): Configure the translator to send the byte at index ''srcByteNum'' from the packet buffer ''srcBuf'' as byte number ''txByteNum'' for packets automatically transmitted from packet buffer ''actionBuf''
     44
     45'''Actor configuration:'''
     46
     47 * PHY_AUTORESPONSE_TXACTION_CONFIG(''pktBuf'', ''translateHdr'', ''delay'', ''conditions''): Configure the actor to automatically transmit:
    4348   * ''pktBuf'': index (in ![1,31]) of the packet buffer from which to automatically transmit the packet
    44    * ''translateHdr'': enable the header translator when this actor triggers a transmission ('''PHY_AUTORESPONSE_ACT_TRANS_HDR''': use the translator; '''0''': disable the translator)
     49   * ''translateHdr'': enable the header translator when this actor triggers a transmission 'PHY_AUTORESPONSE_ACT_TRANS_HDR: use the translator; 0: disable the translator)
    4550   * ''delay'': number of 0.25µs increments to delay the automatic transmission. The time starts when the final byte of the incoming packet is decoded, even if the actor doesn't depend on the payload error status
    4651   * ''conditions'': bitwise OR'd combination of actor condition flags; every condition must be met by a given reception to trigger the actor.
     
    4954
    5055== Sample Code ==
    51 
    5256{{{
    5357#!C