rfkill_set_sw_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ rfkill_set_sw_state πŸŽ€

okay so bestie, this is the Kernel API Manual page for rfkill_set_sw_state, and it's literally about setting the internal rfkill software block state. no cap, that's the whole assignment. πŸ’…


🌸 NAME 🌸

rfkill_set_sw_state β€” Set the internal rfkill software block state. iconic, concise, we love her.

✨ SYNOPSIS ✨

bool rfkill_set_sw_state (struct rfkill *rfkill , bool blocked );

πŸŽ€ ARGUMENTS πŸŽ€

  • rfkill β€” pointer to the rfkill class to modify. that's the thing you're touching, bestie.
  • blocked β€” the current software block state to set. the state you're serving up.

πŸ’… DESCRIPTION πŸ’…

rfkill drivers that get events when the soft-blocked state changes β€” yes, some platforms directly act on input but allow changing again β€” use this function to notify the rfkill core (and through that also userspace) of the current state. communication queen behavior. πŸ’–

Drivers should also call this function after resume if the state has been changed by the user. This only makes sense for "persistent" devices (see rfkill_init_sw_state). iykyk.

This function can be called in any context, even from within rfkill callbacks. flexible, unbothered, moisturised. ✨

The function returns the combined block state (true if transmitter should be blocked). so true means block that transmitter, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page's source/version is ./include/linux, it's dated October 2026, and it's the rfkill_set_sw_state(9) entry from the Kernel API Manual. byeee bestie 🫢🌸

πŸ“¦ where this page comes from