ath5k_cw_validate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ath5k_cw_validate(9) πŸ’–

okay bestie, welcome to the Kernel API Manual corner 🫢 this one is short, sweet, and very "math check but make it wireless" ✨


🌸 NAME 🌸

ath5k_cw_validate β€” Make sure the given cw is valid πŸ’…


✨ SYNOPSIS ✨

u16 ath5k_cw_validate (u16 cw_req );

πŸŽ€ ARGUMENTS πŸŽ€

  • cw_req β€” The contention window value to check πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

Make sure cw is a power of 2 minus 1 and smaller than 1024 πŸ”₯

like, that's the whole vibe check: power-of-2-minus-1? valid. smaller than 1024? valid. slay βœ…


🌈 SEE ALSO 🌈


mwah πŸ’‹ sign-off time: this cutie comes from source ./drivers/net/wireless/ath/ath5k, dated October 2026, and the page is literally ath5k_cw_validate(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from