Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1813)

Unified Diff: src/lte/model/cqa-ff-mac-scheduler.cc

Issue 315450043: LTE module corrections for doxygen warnings (Closed)
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lte/model/cqa-ff-mac-scheduler.h ('k') | src/lte/model/epc-enb-application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lte/model/cqa-ff-mac-scheduler.cc
===================================================================
--- a/src/lte/model/cqa-ff-mac-scheduler.cc
+++ b/src/lte/model/cqa-ff-mac-scheduler.cc
@@ -43,6 +43,7 @@
NS_LOG_COMPONENT_DEFINE ("CqaFfMacScheduler");
+/// CGA Type 0 Allocation
static const int CqaType0AllocationRbg[4] = {
10, // RGB size 1
26, // RGB size 2
@@ -54,42 +55,57 @@
NS_OBJECT_ENSURE_REGISTERED (CqaFfMacScheduler);
+/// qos_rb_and_CQI_assigned_to_lc
struct qos_rb_and_CQI_assigned_to_lc
{
- uint16_t resource_block_index; //Resource block indexHOL_GROUP_index
- uint8_t cqi_value_for_lc; // CQI indicator value
+ uint16_t resource_block_index; ///< Resource block indexHOL_GROUP_index
+ uint8_t cqi_value_for_lc; ///< CQI indicator value
};
+/// CQI value comparator
bool CQIValueDescComparator (uint8_t key1, uint8_t key2)
{
return key1>key2;
}
+/// CGA group comparator
bool CqaGroupDescComparator (int key1, int key2)
{
return key1>key2;
}
+/// CQI value typedef
typedef uint8_t CQI_value;
+/// RBG index typedef
typedef int RBG_index;
+/// HOL group typedef
typedef int HOL_group;
+/// CQI value map typedef
typedef std::map<CQI_value,LteFlowId_t,bool(*)(uint8_t,uint8_t)> t_map_CQIToUE; //sorted
+/// RBG index map typedef
typedef std::map<RBG_index,t_map_CQIToUE> t_map_RBGToCQIsSorted;
+/// HOL group map typedef
typedef std::map<HOL_group,t_map_RBGToCQIsSorted> t_map_HOLGroupToRBGs;
+/// CQI value map iterator typedef
typedef std::map<CQI_value,LteFlowId_t,bool(*)(uint8_t,uint8_t)>::iterator t_it_CQIToUE; //sorted
+/// RBG index map iterator typedef
typedef std::map<RBG_index,t_map_CQIToUE>::iterator t_it_RBGToCQIsSorted;
+/// HOL group map iterator typedef
typedef std::map<HOL_group,t_map_RBGToCQIsSorted>::iterator t_it_HOLGroupToRBGs;
+/// HOL group map typedef
typedef std::multimap<HOL_group,std::set<LteFlowId_t>,bool(*)(int,int)> t_map_HOLgroupToUEs;
+/// HOL group multi map iterator typedef
typedef std::map<HOL_group,std::set<LteFlowId_t> >::iterator t_it_HOLgroupToUEs;
//typedef std::map<RBG_index,CQI_value> map_RBG_to_CQI;
//typedef std::map<LteFlowId_t,map_RBG_to_CQI> map_flowId_to_CQI_map;
+/// CGA key comparator
bool CqaKeyDescComparator (uint16_t key1, uint16_t key2)
{
return key1>key2;
« no previous file with comments | « src/lte/model/cqa-ff-mac-scheduler.h ('k') | src/lte/model/epc-enb-application.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b