• hsum's avatar
    Enable Dynamic Adjustment of TDD Table Based on Configuration · a42dd041
    hsum authored
    - Enhanced `pack_nr_config_request` and `unpack_nr_config_request` functions in `nfapi_p5.c`:
      - Removed static assertion for TDD period value.
      - Introduced dynamic calculation of the TDD table size based on `dl_UL_TransmissionPeriodicity` and subcarrier spacing.
      - Added detailed logging for the TDD table content.
    - Refactored `nr_slot_select` function in `phy_frame_config_nr.c` to streamline the selection logic for different slot types, removing outdated code handling alternating frames.
    
    Now, the TDD table can be dynamically adjusted based on the `dl_UL_TransmissionPeriodicity` settings in the configuration file. Each transmission will pack and send a complete TDD table.
    a42dd041
nr_common.c 33.1 KB