lbs_ps_confirm_sleep(9)
π€ lbs_ps_confirm_sleep β a Kernel API Manual moment (section 9, bestie)
okay so first of all, we're in the Kernel API Manual, section 9, and today's main character is lbs_ps_confirm_sleep. say hi π because this little function is out here doing a whole vibe check on your power-save situation before it lets the firmware know anything. no cap.
β¨ NAME β¨
lbs_ps_confirm_sleep β checks condition and prepares to send sleep confirm command to firmware if ok
like, it checks the condition first (iconic behavior honestly), and then gets everything ready to send the sleep confirm command off to the firmware β but only if it's ok. boundaries! we love them π
πΈ SYNOPSIS πΈ
void lbs_ps_confirm_sleep (struct lbs_private *priv );
that's it, that's the whole signature. returns nothing, takes one thing, slays quietly β¨
π¦ ARGUMENTS π¦
privβ A pointer tostruct lbs_privatestructure. yes it's a pointer, yes it's to astruct lbs_private, yes we're being thorough, this is a manpage π
π RETURN π
n/a β nothing comes back, it's giving void, it's giving "I don't owe you a return value," it's giving peace π«Ά
π₯ SEE ALSO π₯
bestie. buckle up. the friend group is LARGE and every single one of them is gonna be at the function party:
lbs_cmd_copyback(9)lbs_cmd_async_callback(9)is_command_allowed_in_ps(9)lbs_update_hw_spec(9)lbs_set_ps_mode(9)lbs_set_snmp_mib(9)lbs_get_tx_power(9)lbs_set_monitor_mode(9)lbs_get_channel(9)lbs_set_channel(9)lbs_get_rssi(9)lbs_set_11d_domain_info(9)lbs_get_reg(9)lbs_set_reg(9)lbs_allocate_cmd_buffer(9)lbs_free_cmd_buffer(9)lbs_get_free_cmd_node(9)lbs_execute_next_command(9)
and where does all this live? right here, in the kernel file ./drivers/net/wireless/marvell/libertas/cmd.c β go read it, it's giving lore π
ngl if you're poking at libertas power-save stuff, read is_command_allowed_in_ps(9) too, that's the one doing the actual "are we allowed" gatekeeping energy. the two of them are besties fr fr π iykyk
and that's the whole page, mwah π this cutie came out of ./drivers/net/wireless/marvell... and it's stamped October 2026, page lbs_ps_confirm_sleep(9) β stan a kernel API that knows exactly what it is πβπ§
π¦ 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