Lines Matching refs:ileft
1545 unsigned int ileft; in handle_assoc() local
1550 ileft = *u; in handle_assoc()
1553 if (ileft > left || ileft > MAX_SSID_LEN) { in handle_assoc()
1559 if (ileft != strlen(local->essid) || in handle_assoc()
1560 memcmp(local->essid, u, ileft) != 0) { in handle_assoc()
1566 u += ileft; in handle_assoc()
1567 left -= ileft; in handle_assoc()
1572 ileft = *u; in handle_assoc()
1575 if (ileft > left || ileft == 0 || in handle_assoc()
1576 ileft > WLAN_SUPP_RATES_MAX) { in handle_assoc()
1584 memcpy(sta->supported_rates, u, ileft); in handle_assoc()
1587 u += ileft; in handle_assoc()
1588 left -= ileft; in handle_assoc()
2021 unsigned int ileft; in handle_beacon() local
2026 ileft = *u; in handle_beacon()
2029 if (ileft > left || ileft > MAX_SSID_LEN) { in handle_beacon()
2035 (ileft != strlen(local->essid) || in handle_beacon()
2036 memcmp(local->essid, u, ileft) != 0)) { in handle_beacon()
2042 ssid_len = ileft; in handle_beacon()
2044 u += ileft; in handle_beacon()
2045 left -= ileft; in handle_beacon()
2050 ileft = *u; in handle_beacon()
2053 if (ileft > left || ileft == 0 || ileft > 8) { in handle_beacon()
2059 supp_rates_len = ileft; in handle_beacon()
2061 u += ileft; in handle_beacon()
2062 left -= ileft; in handle_beacon()
2067 ileft = *u; in handle_beacon()
2070 if (ileft > left || ileft != 1) { in handle_beacon()
2077 u += ileft; in handle_beacon()
2078 left -= ileft; in handle_beacon()