Draft
Rename ULL functions callable from LLL context to follow ull_*_lll_* convention#18
Conversation
- Renamed function declarations in lll.h (18 functions) - Renamed function definitions in ull.c (13 functions) - Renamed function definitions in ull_iso.c (4 functions) - Updated all call sites across nordic/lll and openisa/lll directories - Updated macro definitions for iso_rx_put and iso_rx_sched All functions now follow the ull_*_lll_* naming convention. Co-authored-by: cvinayak <6350656+cvinayak@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor ULL functions for LLL context clarity
Rename ULL functions callable from LLL context to follow ull_*_lll_* convention
Jan 31, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ULL functions callable from LLL (ISR) context lacked consistent naming to indicate ISR-safety. Renamed 18 functions to include
_lll_infix for immediate identification.Changes
Function naming pattern:
Scope:
ull_prepare_enqueue→ull_prepare_lll_enqueue,ull_event_done→ull_event_lll_done, etc.ull_pdu_rx_alloc*→ull_pdu_lll_rx_alloc*,ull_iso_pdu_rx_alloc*→ull_iso_pdu_lll_rx_alloc*ull_rx_put→ull_lll_rx_put,ull_rx_sched→ull_lll_rx_sched, ISO variantsull_iso_tx_ack_dequeue→ull_iso_lll_tx_ack_dequeueFiles modified:
ll_sw/lll.hll_sw/ull.c(13),ll_sw/ull_iso.c(4)Stats: 25 files, 255 insertions, 255 deletions (pure rename)
Rationale
The
_lll_infix makes architectural boundaries explicit in function names, reducing risk of calling non-ISR-safe ULL functions from ISR context.Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.