Fixing white space and added a TODO comment

This commit is contained in:
Melissa Elkadi
2021-10-28 15:02:14 -07:00
parent 26ddb9eabe
commit 733279689f
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -407,8 +407,8 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
nr_phy_channel_params_t *ch_info = get_queue(&nr_chan_param_queue);
if (!slot_ind && !ch_info)
{
LOG_D(MAC, "get nr_sfn_slot_queue and nr_chan_param_queue == NULL!\n");
continue;
LOG_D(MAC, "get nr_sfn_slot_queue and nr_chan_param_queue == NULL!\n");
continue;
}
if (slot_ind) {
sfn_slot = *slot_ind;
+5 -1
View File
@@ -2061,7 +2061,11 @@ static float get_bler_val(uint8_t mcs, int sinr)
static inline bool is_channel_modeling(void)
{
/* TODO: For now we enable channel modeling based on the node_number.
Replace with a command line option to enable/disable channel modeling. */
Replace with a command line option to enable/disable channel modeling.
The LTE UE will crash when channel modeling is conducted for NSA
mode. It does not crash for LTE mode. We have not implemented channel
modeling for NSA mode yet. For now, we ensure only do do chanel modeling
in LTE mode. */
return node_number == 0 && !get_softmodem_params()->nsa;
}