new thread model
This commit is contained in:
@@ -43,10 +43,10 @@
|
||||
|
||||
/*!\brief UE layer 2 status */
|
||||
typedef enum {
|
||||
CONNECTION_OK = 0,
|
||||
CONNECTION_LOST,
|
||||
PHY_RESYNCH,
|
||||
PHY_HO_PRACH
|
||||
UE_CONNECTION_OK = 0,
|
||||
UE_CONNECTION_LOST,
|
||||
UE_PHY_RESYNCH,
|
||||
UE_PHY_HO_PRACH
|
||||
} NR_UE_L2_STATE_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
* \warning
|
||||
*/
|
||||
|
||||
#ifndef __LAYER2_MAC_PROTO_H__
|
||||
#define __LAYER2_MAC_PROTO_H__
|
||||
#ifndef __LAYER2_MAC_UE_PROTO_H__
|
||||
#define __LAYER2_MAC_UE_PROTO_H__
|
||||
|
||||
#include "mac_defs.h"
|
||||
#include "mac.h"
|
||||
|
||||
@@ -686,7 +686,7 @@ NR_UE_L2_STATE_t nr_ue_scheduler(
|
||||
mac->scheduled_response.dl_config = dl_config;
|
||||
|
||||
|
||||
return CONNECTION_OK;
|
||||
return UE_CONNECTION_OK;
|
||||
}
|
||||
|
||||
//////////////
|
||||
|
||||
@@ -102,13 +102,13 @@ int nr_ue_ul_indication(nr_uplink_indication_t *ul_info){
|
||||
0, 0); // TODO check tx/rx frame/slot is need for NR version
|
||||
|
||||
switch(ret){
|
||||
case CONNECTION_OK:
|
||||
case UE_CONNECTION_OK:
|
||||
break;
|
||||
case CONNECTION_LOST:
|
||||
case UE_CONNECTION_LOST:
|
||||
break;
|
||||
case PHY_RESYNCH:
|
||||
case UE_PHY_RESYNCH:
|
||||
break;
|
||||
case PHY_HO_PRACH:
|
||||
case UE_PHY_HO_PRACH:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user