Files
openthread/examples
Abtin Keshavarzian 5a39ea6238 [mac-frame] improve type safety and helpers for MAC security fields (#13436)
This commit updates `Mac::Frame` security level and key ID mode helpers.

Specifically:
- Refactors `KeyIdMode` enum values to use raw (unshifted) 2-bit values
  (`0, 1, 2, 3`), matching the structure of `SecurityLevel`.
- Updates `GetSecurityLevel()` and `GetKeyIdMode()` to use strongly-typed
  `SecurityLevel` and `KeyIdMode` parameters.
- Introduces `HasSecurityLevel()` and `HasKeyIdMode()` predicate methods to
  simplify security checks across `Mac`, `SubMac`, and `TrelLink`.
- Adds `ReadSecurityLevel()` and `ReadKeyIdMode()` internal static helpers.
2026-07-30 14:08:00 -07:00
..