Changes between Version 8 and Version 9 of 802.11/wlan_exp/app_notes/tutorial_token_mac/extensions
- Timestamp:
- Jul 15, 2015, 9:27:40 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/app_notes/tutorial_token_mac/extensions
v8 v9 13 13 === MAC High Framework === 14 14 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].15 Changes should be made to {{{wlan_mac_high.c}}} and {{{wlan_mac_high.h}}} in the project SDK workspace zip. 16 16 17 17 ---- … … 65 65 ---- 66 66 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}}}: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 {{{wlan_mac_high.h}}}. Simply add the following element somewhere after the {{{MY_STATION_INFO_COMMON_FIELDS}}}: 68 68 69 69 {{{ … … 72 72 }}} 73 73 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.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 {{{wlan_mac_high.h}}}. This will ensure that both the MAC High Framework as well as the AP has visibility of these definitions. 75 75 76 76 {{{ … … 103 103 === Access Point (AP) === 104 104 105 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_ap/wlan_mac_ap.c wlan_mac_ap.c].105 Changes should be made to {{{wlan_mac_ap.c}}} in the project SDK workspace zip. 106 106 107 107 ---- … … 274 274 275 275 When 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