Home
last modified time | relevance | path

Searched refs:ecw2cw (Results 1 – 2 of 2) sorted by relevance

/hostap-3.7.0/src/ap/
Dap_config.c181 #define ecw2cw(ecw) ((1 << (ecw)) - 1) in hostapd_config_defaults() macro
195 { 7, ecw2cw(aCWmin), ecw2cw(aCWmax), 0 }; in hostapd_config_defaults()
197 { 3, ecw2cw(aCWmin), 4 * (ecw2cw(aCWmin) + 1) - 1, 0}; in hostapd_config_defaults()
199 { 1, (ecw2cw(aCWmin) + 1) / 2 - 1, ecw2cw(aCWmin), 30}; in hostapd_config_defaults()
201 { 1, (ecw2cw(aCWmin) + 1) / 4 - 1, in hostapd_config_defaults()
202 (ecw2cw(aCWmin) + 1) / 2 - 1, 15}; in hostapd_config_defaults()
204 #undef ecw2cw in hostapd_config_defaults()
/hostap-3.7.0/wpa_supplicant/
Dconfig.c4356 #define ecw2cw(ecw) ((1 << (ecw)) - 1) in wpa_config_alloc_empty() macro
4369 { 7, ecw2cw(aCWmin), ecw2cw(aCWmax), 0 }; in wpa_config_alloc_empty()
4371 { 3, ecw2cw(aCWmin), 4 * (ecw2cw(aCWmin) + 1) - 1, 0 }; in wpa_config_alloc_empty()
4373 { 1, (ecw2cw(aCWmin) + 1) / 2 - 1, ecw2cw(aCWmin), 30 }; in wpa_config_alloc_empty()
4375 { 1, (ecw2cw(aCWmin) + 1) / 4 - 1, in wpa_config_alloc_empty()
4376 (ecw2cw(aCWmin) + 1) / 2 - 1, 15 }; in wpa_config_alloc_empty()
4378 #undef ecw2cw in wpa_config_alloc_empty()