rfkill: expose hardware-only block state
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Changes in v1 from the cover letter
- Initial version.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | rfkill: add rfkill_hard_blocked() helperinclude/ net/ | +25 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/1] rfkill: expose hardware-only block state
This series adds a public rfkill helper for querying the hardware-only block state.
The existing rfkill_blocked() helper reports the effective state, which is set when either hardware or software rfkill is active. Callers that need to distinguish those cases currently cannot do so because struct rfkill is opaque.
Add rfkill_hard_blocked(), protected by the rfkill lock and available with a CONFIG_RFKILL-disabled stub. The helper is used by a follow-up Bluetooth debugfs test hook, which must verify hardware rfkill state without confusing it with a software block.
The follow-up Bluetooth series will be submitted separately to bluetooth-next and depends on this patch.
The patch has been prepared against wireless-next/main.
Changes in v1:
- Initial version.
Sai Teja Aluvala (1):
rfkill: add rfkill_hard_blocked() helper
include/linux/rfkill.h | 12 ++++++++++++ net/rfkill/core.c | 13 +++++++++++++ 2 files changed, 25 insertions(+)
base-commit: 21b4248bfa0f410fa22202fc2c82f4808d672cda
Signature · 1 line
2.53.0