lbs_get_tx_power(9)
π 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 thestruct lbs_privatestructure π like, the whole driver's vibe lives in therecurlevelβ 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 onlbs_get_tx_power(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