rfkill_set_hw_state_reason(9)
π¦ 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 ofenum 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 π
- Kernel file
./include/linux/rfkill.h struct rfkill_ops(9)rfkill_alloc(9)rfkill_register(9)rfkill_pause_polling(9)rfkill_resume_polling(9)rfkill_unregister(9)rfkill_destroy(9)rfkill_set_hw_state(9)rfkill_set_sw_state(9)rfkill_init_sw_state(9)rfkill_set_states(9)rfkill_blocked(9)rfkill_soft_blocked(9)rfkill_find_type(9)rfkill_get_led_trigger_name(9)rfkill_set_led_trigger_name(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms