Lines Matching refs:key_info
808 int key_info, ver;
842 key_info = WPA_KEY_INFO_REQUEST | ver;
844 key_info |= WPA_KEY_INFO_MIC;
846 key_info |= WPA_KEY_INFO_ERROR;
848 key_info |= WPA_KEY_INFO_KEY_TYPE;
849 reply->key_info = BE_16(key_info);
857 if (key_info & WPA_KEY_INFO_MIC) {
953 reply->key_info = BE_16(ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_MIC);
1112 int key_info, ie_len = 0, keylen, gtk_len = 0;
1120 key_info = BE_16(key->key_info);
1140 if (!(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
1223 reply->key_info = BE_16(ver | WPA_KEY_INFO_KEY_TYPE |
1224 WPA_KEY_INFO_MIC | (key_info & WPA_KEY_INFO_SECURE));
1248 if (key_info & WPA_KEY_INFO_INSTALL) {
1286 wpa_printf(MSG_DEBUG, "%s: key_info=%x gtk=%p\n",
1287 "wpa_supplicant_process_3_of_4", key_info, gtk);
1305 int key_info, keylen, keydatalen, maxkeylen, keyidx, key_rsc_len = 0;
1315 key_info = BE_16(key->key_info);
1333 if (!(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
1421 keyidx = (key_info & WPA_KEY_INFO_KEY_INDEX_MASK) >>
1441 tx = !!(key_info & WPA_KEY_INFO_TXRX);
1503 reply->key_info =
1505 (key_info & WPA_KEY_INFO_KEY_INDEX_MASK));
1639 int key_info, ver;
1682 key_info = BE_16(key->key_info);
1683 ver = key_info & WPA_KEY_INFO_TYPE_MASK;
1696 !(key_info & WPA_KEY_INFO_KEY_TYPE)) {
1717 if (!(key_info & WPA_KEY_INFO_ACK)) {
1718 wpa_printf(MSG_INFO, "WPA: No Ack bit in key_info");
1722 if (key_info & WPA_KEY_INFO_REQUEST) {
1728 if ((key_info & WPA_KEY_INFO_MIC) &&
1737 (key_info & WPA_KEY_INFO_ENCR_KEY_DATA) &&
1741 if (key_info & WPA_KEY_INFO_KEY_TYPE) {
1742 if (key_info & WPA_KEY_INFO_KEY_INDEX_MASK) {
1747 if (key_info & WPA_KEY_INFO_MIC) {
1757 if (key_info & WPA_KEY_INFO_MIC) {