63 lines
2.0 KiB
C
Executable File
63 lines
2.0 KiB
C
Executable File
/****************************************************************************
|
|
|
|
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
|
|
|
|
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
|
|
be copied by any method or incorporated into another program without
|
|
the express written consent of Aerospace C.Power. This Information or any portion
|
|
thereof remains the property of Aerospace C.Power. The Information contained herein
|
|
is believed to be accurate and Aerospace C.Power assumes no responsibility or
|
|
liability for its use in any way and conveys no license or title under
|
|
any patent or copyright and makes no representation or warranty that this
|
|
Information is free from patent or copyright infringement.
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef PLC_MME_TF_SR_H
|
|
#define PLC_MME_TF_SR_H
|
|
|
|
/* os shim includes */
|
|
#include "os_types.h"
|
|
|
|
#include "plc_mme.h"
|
|
#include "plc_utils.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* pack for the structures in the whole file */
|
|
#pragma pack(push) // save the pack status
|
|
#pragma pack(1) // 1 byte align
|
|
|
|
typedef struct _sta_tf_sr {
|
|
uint16_t sta_tei :12,
|
|
/* reserved for future */
|
|
rsvd :4;
|
|
uint8_t dl_tf_sr; // downlink traffic succeed ratio
|
|
uint8_t ul_tf_sr; // uplink traffic succeed ratio
|
|
} sta_tf_sr_t;
|
|
|
|
typedef struct _mme_tf_sr {
|
|
uint16_t pco_tei :12, // tei of the proxy sending this packet
|
|
/* reserved for future */
|
|
rsvd :4;
|
|
uint16_t sub_sta_cnt; // downlink traffic succeed ratio
|
|
sta_tf_sr_t sta_tf_sr[0]; // traffic success ratio info
|
|
} mme_tf_sr_t;
|
|
|
|
typedef struct _spg_mme_tf_sr {
|
|
tei_t pco_tei; // tei of the proxy sending this packet
|
|
uint16_t sub_sta_cnt; // downlink traffic succeed ratio
|
|
sta_tf_sr_t sta_tf_sr[0]; // traffic success ratio info
|
|
} spg_mme_tf_sr_t;
|
|
|
|
#pragma pack(pop) // restore the pack status
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // PLC_MME_TF_SR_H
|