Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
OpenXG-RAN
Commits
2c4258fd
Commit
2c4258fd
authored
Jul 21, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement CschedUeReleaseCnf
parent
bb9d2c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
openair2/LAYER2/MAC/ff-mac.c
openair2/LAYER2/MAC/ff-mac.c
+30
-1
No files found.
openair2/LAYER2/MAC/ff-mac.c
View file @
2c4258fd
...
...
@@ -37,6 +37,7 @@ struct fapi {
struct
SchedUlConfigIndParameters
SchedUlConfigIndParameters
;
struct
CschedUeConfigCnfParameters
CschedUeConfigCnfParameters
;
struct
CschedLcConfigCnfParameters
CschedLcConfigCnfParameters
;
struct
CschedUeReleaseCnfParameters
CschedUeReleaseCnfParameters
;
};
#define LOCK(fi, fn) do { \
...
...
@@ -202,21 +203,36 @@ void CschedLcConfigCnf(fapi_interface_t *_fi, struct CschedLcConfigCnfParameters
void
CschedLcReleaseCnf
(
fapi_interface_t
*
_fi
,
struct
CschedLcReleaseCnfParameters
*
params
)
{
int
fn
=
CSCHED_LC_RELEASE_CNF
;
abort
();
}
void
CschedUeReleaseCnf
(
fapi_interface_t
*
_fi
,
struct
CschedUeReleaseCnfParameters
*
params
)
{
struct
fapi
*
fi
=
(
struct
fapi
*
)
_fi
;
int
fn
=
CSCHED_UE_RELEASE_CNF
;
LOG_D
(
MAC
,
"%s enter
\n
"
,
__FUNCTION__
);
LOCK
(
fi
,
fn
);
WAIT
(
fi
,
fn
);
*
params
=
fi
->
CschedUeReleaseCnfParameters
;
DONE_wrapper
(
fi
,
fn
);
UNLOCK
(
fi
,
fn
);
LOG_D
(
MAC
,
"%s leave
\n
"
,
__FUNCTION__
);
}
void
CschedUeConfigUpdateInd
(
fapi_interface_t
*
_fi
,
struct
CschedUeConfigUpdateIndParameters
*
params
)
{
int
fn
=
CSCHED_UE_CONFIG_UPDATE_IND
;
abort
();
}
void
CschedCellConfigUpdateInd
(
fapi_interface_t
*
_fi
,
struct
CschedCellConfigUpdateIndParameters
*
params
)
{
int
fn
=
CSCHED_CELL_CONFIG_UPDATE_IND
;
abort
();
}
/************************************************************************/
...
...
@@ -377,8 +393,21 @@ abort();
void
CschedUeReleaseCnf_callback
(
void
*
callback_data
,
const
struct
CschedUeReleaseCnfParameters
*
params
)
{
struct
fapi
*
fi
=
callback_data
;
int
fn
=
CSCHED_UE_RELEASE_CNF
;
abort
();
LOG_D
(
MAC
,
"%s enter
\n
"
,
__FUNCTION__
);
LOCK
(
fi
,
fn
);
CHECK
(
fi
,
fn
);
/* copy from params to local structure */
fi
->
CschedUeReleaseCnfParameters
.
rnti
=
params
->
rnti
;
fi
->
CschedUeReleaseCnfParameters
.
result
=
params
->
result
;
DONE_callback
(
fi
,
fn
);
UNLOCK
(
fi
,
fn
);
LOG_D
(
MAC
,
"%s leave
\n
"
,
__FUNCTION__
);
}
void
CschedUeConfigUpdateInd_callback
(
void
*
callback_data
,
const
struct
CschedUeConfigUpdateIndParameters
*
params
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment