Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dap_config.c95 #define ecw2cw(ecw) ((1 << (ecw)) - 1) in hostapd_config_defaults() macro
109 { 7, ecw2cw(aCWmin), ecw2cw(aCWmax), 0 }; in hostapd_config_defaults()
111 { 3, ecw2cw(aCWmin), 4 * (ecw2cw(aCWmin) + 1) - 1, 0}; in hostapd_config_defaults()
113 { 1, (ecw2cw(aCWmin) + 1) / 2 - 1, ecw2cw(aCWmin), 30}; in hostapd_config_defaults()
115 { 1, (ecw2cw(aCWmin) + 1) / 4 - 1, in hostapd_config_defaults()
116 (ecw2cw(aCWmin) + 1) / 2 - 1, 15}; in hostapd_config_defaults()
118 #undef ecw2cw in hostapd_config_defaults()
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c121 static int ecw2cw(int ecw)
182 params.cw_max = ecw2cw((pos[1] & 0xf0) >> 4); in ieee80211_sta_wmm_params()
183 params.cw_min = ecw2cw(pos[1] & 0x0f); in ieee80211_sta_wmm_params()