1. 06 May, 2024 3 commits
    • Ming-Hong Hsu's avatar
      ba129aa9
    • hsum's avatar
      Refactor DL TTI request handling and improve code clarity · 967b7b43
      hsum authored
      This commit refactors the DL TTI request handling in the PNF P7 module and enhances code clarity.
      
      Changes made:
      - Updated the definition of `dl_tti_req` in the `nfapi_pnf_interface.h` header file to directly store the `nfapi_nr_dl_tti_request_t` structure instead of a pointer.
      - Refactored DL TTI request processing in the `pnf_handle_dl_tti_request` function in `pnf_p7.c` to simplify the code structure and improve readability.
      - Introduced a static function, `cp_nr_dl_tti_req`, to copy DL TTI request structures, improving code modularity and reducing duplication.
      - Updated DL TTI request handling to utilize the refactored logic.
      - Removed unnecessary deallocation of DL TTI request in error handling path to prevent double deallocation.
      967b7b43
    • hsum's avatar
      Refactor UL TTI request handling and add clarity to function logic · 125b5338
      hsum authored
      This commit refactors the UL TTI request handling in the PNF P7 module and improves the clarity of function logic.
      
      Changes made:
      - Refactored UL TTI request handling to simplify code structure and improve readability.
      - Introduced a static function, `cp_nr_ul_tti_req`, to copy UL TTI request structures, improving code modularity and reducing duplication.
      - Updated UL TTI request processing to utilize the refactored logic.
      - Removed unnecessary deallocation of UL TTI request in error handling path to prevent double deallocation.
      
      Additionally, the commit enhances comments and debug traces for better understanding of the code flow and debugging.
      125b5338
  2. 23 Apr, 2024 4 commits
    • hsum's avatar
      Refactor is_nr_p7_request_in_window function for clarity and efficiency · 4c410608
      hsum authored
      The function now utilizes simpler variable names and logic to determine if a given NR P7 request falls within the timing window.
      
      The logic for determining if a request is within the timing window is as follows:
      - The function calculates the absolute difference between the current and received SFN slots, taking into account the possibility of wraparound.
      - If the absolute difference is greater than half of the maximum SFN slot value, it subtracts this difference from the maximum SFN slot value to get the actual difference.
      - The function then checks if this difference is less than or equal to the specified timing window. If it is, the request is considered to be within the window.
      
      Additionally, the commit updates the function signature to return a boolean value for better readability and consistency.
      
      Changes made:
      - Simplified variable names for readability
      - Improved logic for handling wraparound scenarios
      - Updated function signature to return a boolean value
      4c410608
    • chenyi's avatar
      do not allocate ul_dci on heap, introduces huge delay · 21d6cf57
      chenyi authored
      - Process ul_dci whenever the number of ul_dci PDUs in the buffer > 0.
      - Replace dynamic allocation on the heap with stack allocation.
      - New function, **`cp_nr_ul_dci_req`**, to copy the **`ul_dci_req`**.
      21d6cf57
    • hsum's avatar
      Revert "Let UL_TTI speed up and newly developed cp_nr_ul_tti_req" · e9cb8b1c
      hsum authored
      This reverts commit a05184e8.
      e9cb8b1c
    • hsum's avatar
  3. 22 Apr, 2024 2 commits
  4. 19 Apr, 2024 1 commit
    • hsum's avatar
      remove · 868eadd0
      hsum authored
      868eadd0
  5. 18 Apr, 2024 1 commit
  6. 17 Apr, 2024 2 commits
  7. 16 Apr, 2024 3 commits
  8. 15 Apr, 2024 9 commits
  9. 12 Apr, 2024 5 commits
  10. 11 Apr, 2024 4 commits
  11. 10 Apr, 2024 1 commit
    • hsum's avatar
      print log SR UE · 72298adc
      hsum authored
      note that UCI.indication has both PUCCH for Harq ack/nack and SR, but we need to check for SR
      72298adc
  12. 09 Apr, 2024 5 commits