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


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

--

Legend:

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

    v8 v9  
    1313
    1414=== Code Common to CPU_HIGH and CPU_LOW ===
    15 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_common/include/wlan_mac_ipc_util.h wlan_mac_ipc_util.h].
     15Changes should be made to {{{wlan_mac_ipc_util.h}}} in the project SDK workspace zip.
    1616
    1717----
    1818
    19 We need to define two new types of IPC messages between CPU_LOW and CPU_HIGH. The first, which we will call {{{TOKEN_NEW_RESERVATION}}}, will primarily be used by an AP when it decrees that a token reservation period now belongs to one of the devices on its network. The second, which we will call {{{TOKEN_END_RESERVATION}}}, will primarily be used by an AP's CPU_LOW project to indicate to the AP that the current reservation period has ended and it should move on to the next device in its association table. Add the following snippet of code to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_common/include/wlan_mac_ipc_util.h wlan_mac_ipc_util.h]:
     19We need to define two new types of IPC messages between CPU_LOW and CPU_HIGH. The first, which we will call {{{TOKEN_NEW_RESERVATION}}}, will primarily be used by an AP when it decrees that a token reservation period now belongs to one of the devices on its network. The second, which we will call {{{TOKEN_END_RESERVATION}}}, will primarily be used by an AP's CPU_LOW project to indicate to the AP that the current reservation period has ended and it should move on to the next device in its association table. Add the following snippet of code to {{{wlan_mac_ipc_util.h}}}:
    2020
    2121{{{
     
    4444
    4545=== Access Point (AP) ===
    46 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_ap/wlan_mac_ap.c wlan_mac_ap.c].
     46Changes should be made to {{{wlan_mac_ap.c}}} in the project SDK workspace zip.
    4747
    4848----
     
    145145
    146146=== MAC High Framework ===
    147 Changes should be made to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/wlan_mac_high.c wlan_mac_high.c].
     147Changes should be made to {{{wlan_mac_high.c]}}} in the project SDK workspace zip.
    148148
    149149----
    150150
    151 The first thing we need to do implement the callback structure that we assumed in our AP modifications. First, we should add a new top-level global to [browser:ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/wlan_mac_high.c wlan_mac_high.c] at the top of the file:
     151The first thing we need to do implement the callback structure that we assumed in our AP modifications. First, we should add a new top-level global to {{{wlan_mac_high.c]}}} at the top of the file:
    152152
    153153{{{
     
    192192
    193193
    194