Lines Matching defs:elems
1962 static int supp_rates_11b_only(struct ieee802_11_elems *elems)
1967 if (elems->supp_rates == NULL && elems->ext_supp_rates == NULL)
1970 for (i = 0; elems->supp_rates && i < elems->supp_rates_len; i++) {
1971 if (is_11b(elems->supp_rates[i]))
1977 for (i = 0; elems->ext_supp_rates && i < elems->ext_supp_rates_len;
1979 if (is_11b(elems->ext_supp_rates[i]))
1993 struct ieee802_11_elems elems;
2004 if (ieee802_11_parse_elems((u8 *) ie, ie_len, &elems, 0) ==
2010 if (elems.p2p == NULL) {
2027 if (elems.ssid == NULL || elems.ssid_len != P2P_WILDCARD_SSID_LEN ||
2028 os_memcmp(elems.ssid, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) !=
2034 if (supp_rates_11b_only(&elems)) {