- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/tx/txl/txl_frame_shared.c

Go to the documentation of this file.

    00001
    00020 /*
    00021  * INCLUDE FILES
    00022  ****************************************************************************************
    00023  */
    00024 #include "txl_buffer.h"
    00025 #include "txl_cntrl.h"
    00026 #include "compiler.h"
    00027
    00028 #if (NX_P2P_GO)
    00029 #include "p2p.h"
    00030 #endif //(NX_P2P_GO)
    00031
    00032 #if (NX_UMAC_PRESENT && RW_MESH_EN)
    00033 #include "mesh.h"
    00034 #endif //(NX_UMAC_PRESENT && RW_MESH_EN)
    00035
    00036 #if NX_TX_FRAME
    00037 /*
    00038  * GLOBAL VARIABLES
    00039  ****************************************************************************************
    00040  */
    00041 uint32_t txl_frame_pool[NX_TXFRAME_CNT][(sizeof(struct txl_buffer_tag) + NX_TXFRAME_LEN) / 4] __SHAREDRAM;
    00042
    00043 #if (NX_BCN_AUTONOMOUS_TX)
    00044 uint32_t txl_tim_ie_pool[NX_VIRT_DEV_MAX][CO_ALIGN4_HI(MAC_TIM_BMP_OFT + 1)/4] __SHAREDRAM;
    00045 uint32_t txl_tim_bitmap_pool[NX_VIRT_DEV_MAX][CO_ALIGN4_HI(MAC_TIM_SIZE)/4] __SHAREDRAM;
    00046 struct tx_pbd txl_tim_desc[NX_VIRT_DEV_MAX][2] __SHAREDRAM;
    00047 uint32_t txl_bcn_pool[NX_VIRT_DEV_MAX][(sizeof(struct txl_buffer_tag) + NX_BCNFRAME_LEN) / 4] __SHAREDRAM;
    00048 struct tx_hw_desc txl_bcn_hwdesc_pool[NX_VIRT_DEV_MAX] __SHAREDRAM;
    00049 struct tx_pbd txl_bcn_end_desc[NX_VIRT_DEV_MAX] __SHAREDRAM;
    00050 #if NX_UMAC_PRESENT
    00051 struct txl_buffer_control txl_bcn_buf_ctrl[NX_VIRT_DEV_MAX] __SHAREDRAM;
    00052 #endif
    00053 #if (NX_P2P_GO)
    00055 struct tx_pbd txl_p2p_noa_desc[NX_VIRT_DEV_MAX] __SHAREDRAM;
    00057 uint16_t txl_p2p_noa_ie_pool[NX_VIRT_DEV_MAX][P2P_NOA_IE_BUFFER_LEN] __SHAREDRAM;
    00058 #endif //(NX_P2P_GO)
    00059
    00060 #if (NX_UMAC_PRESENT && RW_MESH_EN)
    00061 // Payload Descriptor for additional IEs of Mesh Beacon
    00062 struct tx_pbd txl_mesh_add_ies_desc[RW_MESH_VIF_NB] __SHAREDRAM;
    00063 // Buffer containing the additional IEs of Mesh Beacon
    00064 struct mesh_add_ies_tag txl_mesh_add_ies[RW_MESH_VIF_NB] __SHAREDRAM;
    00065 #endif //(NX_UMAC_PRESENT && RW_MESH_EN)
    00066 #endif //(NX_BCN_AUTONOMOUS_TX)
    00067
    00068 struct tx_hw_desc txl_frame_hwdesc_pool[NX_TXFRAME_CNT] __SHAREDRAM;
    00069
    00070 #if (NX_UMAC_PRESENT)
    00072 struct txl_buffer_control txl_buffer_control_24G __SHAREDRAM;
    00074 struct txl_buffer_control txl_buffer_control_5G __SHAREDRAM;
    00075 #if (RW_BFMER_EN)
    00077 struct txl_buffer_control txl_buffer_control_ndpa_brp __SHAREDRAM;
    00079 struct txl_buffer_control txl_buffer_control_ndp __SHAREDRAM;
    00080 #endif //(RW_BFMER_EN)
    00081 #else
    00083 struct tx_policy_tbl txl_frame_pol_24G __SHAREDRAM;
    00085 struct tx_policy_tbl txl_frame_pol_5G __SHAREDRAM;
    00086 #if (RW_BFMER_EN)
    00088 struct tx_policy_tbl txl_frame_pol_ndpa_brp __SHAREDRAM;
    00090 struct tx_policy_tbl txl_frame_pol_ndp __SHAREDRAM;
    00091 #endif //(RW_BFMER_EN)
    00092 #endif //(NX_UMAC_PRESENT)
    00093
    00094 #if (NX_UMAC_PRESENT)
    00095 struct txl_buffer_control txl_frame_buf_ctrl[NX_TXFRAME_CNT] __SHAREDRAM;
    00096 #endif //(NX_UMAC_PRESENT)
    00097
    00098 #endif
    00099