lbs_get_tx_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lbs_get_tx_power(9) πŸ’–

okay so welcome to the Kernel API Manual bestie, we're literally about to learn how to peek at your wifi card's transmit power levels and honestly? it's giving main character energy 🌟


✨ NAME ✨

lbs_get_tx_power β€” get the min, max, and current TX power 🫢

🌸 SYNOPSIS 🌸

int lbs_get_tx_power (struct lbs_private *priv , s16 *curlevel , s16
*minlevel , s16 *maxlevel );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” a pointer to the struct lbs_private structure πŸ’… like, the whole driver's vibe lives in there
  • curlevel β€” the current power level, in dBm πŸ”₯
  • minlevel β€” the minimum supported power level, in dBm β€” and bestie, this one is optional ✨
  • maxlevel β€” the maximum supported power level, in dBm β€” also optional, no pressure king πŸ‘‘

πŸŽ€ RETURN πŸŽ€

0 on success, an error on failure 😭 (iykyk, always check your return values)

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, no cap:

./drivers/net/wireless/marvell/libertas/cmd.c

and the whole friend group shows up too:

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_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)


lowkey this page came straight out of ./drivers/net/wireless/marvell... and it's dated October 2026 πŸ—“οΈ β€” shoutout to the source, mwah πŸ’‹, and that's the tea on lbs_get_tx_power(9) πŸ“πŸ§šπŸ’œ
πŸ“¦ where this page comes from