Changes between Version 8 and Version 9 of 802.11/wlan_exp/app_notes/tutorial_token_mac/extensions


Ignore:
Timestamp:
Jul 15, 2015, 9:27:40 AM (9 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/app_notes/tutorial_token_mac/extensions

    v8 v9  
    1313=== MAC High Framework ===
    1414
    15 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/wlan_mac_high.c wlan_mac_high.c] and [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/include/wlan_mac_high.h wlan_mac_high.h].
     15Changes should be made to {{{wlan_mac_high.c}}} and {{{wlan_mac_high.h}}} in the project SDK workspace zip.
    1616
    1717----
     
    6565----
    6666
    67 Next, we need to make a small addition to an existing struct definition that tracks details about each associated device to an AP. The reasons behind this addition will be clear once we make our changes to the AP code. In the meantime, find the definition of {{{station_info}}} in [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/include/wlan_mac_high.h wlan_mac_high.h]. Simply add the following element somewhere after the {{{MY_STATION_INFO_COMMON_FIELDS}}}:
     67Next, we need to make a small addition to an existing struct definition that tracks details about each associated device to an AP. The reasons behind this addition will be clear once we make our changes to the AP code. In the meantime, find the definition of {{{station_info}}} in {{{wlan_mac_high.h}}}. Simply add the following element somewhere after the {{{MY_STATION_INFO_COMMON_FIELDS}}}:
    6868
    6969{{{
     
    7272}}}
    7373
    74 Next, let us add a few new definitions that will act as parameters for our new TokenMAC extensions. The easiest place to add these is to the top of {{{[browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/include/wlan_mac_high.h wlan_mac_high.h]}}}. This will ensure that both the MAC High Framework as well as the AP has visibility of these definitions.
     74Next, let us add a few new definitions that will act as parameters for our new TokenMAC extensions. The easiest place to add these is to the top of {{{wlan_mac_high.h}}}. This will ensure that both the MAC High Framework as well as the AP has visibility of these definitions.
    7575
    7676{{{
     
    103103=== Access Point (AP) ===
    104104
    105 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_ap/wlan_mac_ap.c wlan_mac_ap.c].
     105Changes should be made to {{{wlan_mac_ap.c}}} in the project SDK workspace zip.
    106106
    107107----
     
    274274
    275275When the STA stops transmitting, we see that the final part of its reservation period goes idle. There was still enough receptions during this time for the AP to justify continuing to give the STA a {{{TOKEN_RES_MULT_FACTOR_MAX}}} multiplication factor for the next reservation. When this reservation period goes unused, the AP drops the STA's multiplication factor back to {{{TOKEN_RES_MULT_FACTOR_MIN}}}, thereby increasing the relative duty cycle of the AP's own transmissions.
    276