-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phy: initial PUSCH processor capabilities
- Loading branch information
Xavier Arteaga
authored and
codebot
committed
Oct 18, 2024
1 parent
b297de3
commit 18b5539
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
include/srsran/phy/upper/channel_processors/pusch/pusch_processor_phy_capabilities.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* | ||
* Copyright 2021-2024 Software Radio Systems Limited | ||
* | ||
* By using this file, you agree to the terms and conditions set | ||
* forth in the LICENSE file which can be found at the top level of | ||
* the distribution. | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
/// \file | ||
/// \brief Declaration of the physical layer PUSCH processor capabilities. | ||
|
||
namespace srsran { | ||
|
||
/// Physical layer PUSCH processor capabilities. | ||
struct pusch_processor_phy_capabilities { | ||
/// Maximum number of layers. | ||
unsigned max_nof_layers; | ||
}; | ||
|
||
/// Gets the physical layer PUSCH processor capabilities. | ||
pusch_processor_phy_capabilities get_pusch_processor_phy_capabilities(); | ||
|
||
} // namespace srsran |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
lib/phy/upper/channel_processors/pusch/pusch_processor_phy_capabilities.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* | ||
* Copyright 2021-2024 Software Radio Systems Limited | ||
* | ||
* By using this file, you agree to the terms and conditions set | ||
* forth in the LICENSE file which can be found at the top level of | ||
* the distribution. | ||
* | ||
*/ | ||
|
||
#include "srsran/phy/upper/channel_processors/pusch/pusch_processor_phy_capabilities.h" | ||
#include "srsran/support/compiler.h" | ||
|
||
using namespace srsran; | ||
|
||
SRSRAN_WEAK_SYMB pusch_processor_phy_capabilities srsran::get_pusch_processor_phy_capabilities() | ||
{ | ||
return {.max_nof_layers = 1}; | ||
} |