Skip to content

Commit

Permalink
phy: initial PUSCH processor capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Arteaga authored and codebot committed Oct 18, 2024
1 parent b297de3 commit 18b5539
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
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
5 changes: 3 additions & 2 deletions lib/phy/upper/channel_processors/pusch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
#

add_library(srsran_pusch_processor STATIC
factories.cpp
pusch_codeblock_decoder.cpp
pusch_decoder_empty_impl.cpp
pusch_decoder_hw_impl.cpp
pusch_decoder_impl.cpp
pusch_demodulator_impl.cpp
factories.cpp
pusch_processor_impl.cpp
pusch_processor_phy_capabilities.cpp
pusch_processor_validator_impl.cpp
pusch_decoder_hw_impl.cpp
ulsch_demultiplex_impl.cpp)
set(SRSRAN_PUSCH_LIBS srsran_upper_phy_support srsran_ran)

Expand Down
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};
}

0 comments on commit 18b5539

Please sign in to comment.