lbs_set_snmp_mib(9)
π lbs_set_snmp_mib(9) β like, the Kernel API Manual entry, bestie β¨
okay so this is lbs_set_snmp_mib from the Linux Kernel API Manual, and honestly? it's giving "tiny function, big responsibilities." she's short, she's sweet, she sets an SNMP MIB value in the firmware. no cap. π
πΈ NAME πΈ
lbs_set_snmp_mib β set an SNMP MIB value π
β¨ SYNOPSIS β¨
int lbs_set_snmp_mib (struct lbs_private *priv , u32 oid , u16 val );
like literally that's the whole signature. three args, returns an int, we love a concise queen π
π¦ ARGUMENTS π¦
privβ a pointer tostruct lbs_privatestructure. yes bestie, the whole private struct, she needs context πoidβ the OID to set in the firmware. it's au32, it's the what π―valβ value to set the OID to. it's au16, it's the what-what π
π RETURN π
0 on success, error on failure. that's it. that's the vibe check β zero means slay, anything else means π
π SEE ALSO π
the kernel file that started it all, plus her entire friend group (the whole libertas command squad, fr fr):
- Kernel file
./drivers/net/wireless/marvell/libertas/cmd.c 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_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)lbs_ps_confirm_sleep(9)
ok that's the whole page, no filler, no gatekeeping π«Ά go set that MIB, main character ππ₯
source: ./drivers/net/wireless/marvell... β’ dated October 2026 β mwah, and that's the sign-off, lbs_set_snmp_mib(9) out π
π§π
π¦ 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