rfkill_set_hw_state_reason(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ rfkill_set_hw_state_reason πŸ¦‹

okay bestie, welcome to the rfkill_set_hw_state_reason(9) page from the Kernel API Manual β€” manual name folded in right here, cute and tidy. This is the one that sets the internal rfkill hardware block state and lets you pass a reason. πŸ’…

✨ NAME ✨

rfkill_set_hw_state_reason β€” set the internal rfkill hardware block state with a reason. πŸŽ€

✨ SYNOPSIS ✨

bool rfkill_set_hw_state_reason (struct rfkill *rfkill , bool blocked ,
       enum rfkill_hard_block_reasons reason );

🌸 ARGUMENTS 🌸

  • rfkill β€” pointer to the rfkill class to modify. πŸ› οΈ
  • blocked β€” the current hardware block state to set. πŸ”’
  • reason β€” one of enum rfkill_hard_block_reasons. 🧠

πŸ’– DESCRIPTION πŸ’–

Prefer to use rfkill_set_hw_state if you don't need any special reason. That's the vibe the page is giving: no special reason needed? Then bestie, go use rfkill_set_hw_state. ✨

🌈 SEE ALSO 🌈


okay that's the whole page, bestie β€” mwah πŸ’‹. Source/version is ./include/linux, date is October 2026, and the page handle is rfkill_set_hw_state_reason(9). 🫢

πŸ“¦ where this page comes from