Lines Matching defs:parse
1016 /* 0 is the first index - add 1 to parse only once */
1477 struct key_parse parse;
1498 memset(&parse, 0, sizeof(parse));
1499 parse.idx = -1;
1501 err = nl80211_parse_key_new(info, key, &parse);
1505 if (!parse.p.key)
1507 if (parse.idx < 0 || parse.idx > 3) {
1511 if (parse.def) {
1518 result->def = parse.idx;
1519 if (!parse.def_uni || !parse.def_multi)
1521 } else if (parse.defmgmt)
1523 err = cfg80211_validate_key_settings(rdev, &parse.p,
1524 parse.idx, false, NULL);
1527 if (parse.p.cipher != WLAN_CIPHER_SUITE_WEP40 &&
1528 parse.p.cipher != WLAN_CIPHER_SUITE_WEP104) {
1533 result->params[parse.idx].cipher = parse.p.cipher;
1534 result->params[parse.idx].key_len = parse.p.key_len;
1535 result->params[parse.idx].key = result->data[parse.idx];
1536 memcpy(result->data[parse.idx], parse.p.key, parse.p.key_len);
3031 /* ignore parse errors for backward compatibility */
5750 * HT/VHT requirements/capabilities, we parse them out of the IEs for the
6326 /* if present, parse the old attribute */
7058 /* parse WME attributes if present */
13036 /* and parse parameters if given */
13073 /* parse additional setup parameters if given */
15107 /* 0 is the first index - add 1 to parse only once */