Home
last modified time | relevance | path

Searched refs:cw_req (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dqcu.c107 * @cw_req: The contention window value to check
112 ath5k_cw_validate(u16 cw_req) in ath5k_cw_validate() argument
114 cw_req = min(cw_req, (u16)1023); in ath5k_cw_validate()
116 /* Check if cw_req + 1 a power of 2 */ in ath5k_cw_validate()
117 if (is_power_of_2(cw_req + 1)) in ath5k_cw_validate()
118 return cw_req; in ath5k_cw_validate()
120 /* Check if cw_req is a power of 2 */ in ath5k_cw_validate()
121 if (is_power_of_2(cw_req)) in ath5k_cw_validate()
122 return cw_req in ath5k_cw_validate()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Dqcu.c107 * @cw_req: The contention window value to check
112 ath5k_cw_validate(u16 cw_req) in ath5k_cw_validate() argument
114 cw_req = min(cw_req, (u16)1023); in ath5k_cw_validate()
116 /* Check if cw_req + 1 a power of 2 */ in ath5k_cw_validate()
117 if (is_power_of_2(cw_req + 1)) in ath5k_cw_validate()
118 return cw_req; in ath5k_cw_validate()
120 /* Check if cw_req is a power of 2 */ in ath5k_cw_validate()
121 if (is_power_of_2(cw_req)) in ath5k_cw_validate()
122 return cw_req in ath5k_cw_validate()
[all...]

Completed in 1 milliseconds