Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:26137 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754779Ab2GELgm (ORCPT ); Thu, 5 Jul 2012 07:36:42 -0400 Cc: Vladimir Kondratiev , , "Luis R . Rodriguez" From: Vladimir Kondratiev To: Johannes Berg Subject: [PATCH v1 3/4] introduce GCMP cipher Date: Thu, 5 Jul 2012 14:36:20 +0300 Message-ID: <1341488181-12542-4-git-send-email-qca_vkondrat@qca.qualcomm.com> (sfid-20120705_133721_885348_2515F59F) In-Reply-To: <1341488181-12542-1-git-send-email-qca_vkondrat@qca.qualcomm.com> References: <1341488181-12542-1-git-send-email-qca_vkondrat@qca.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: Recognize OUI and print "GCMP" name Signed-off-by: Vladimir Kondratiev --- info.c | 2 ++ scan.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/info.c b/info.c index e896eb5..50a9073 100644 --- a/info.c +++ b/info.c @@ -36,6 +36,8 @@ static char *cipher_name(__u32 c) return "CCMP (00-0f-ac:4)"; case 0x000fac06: return "CMAC (00-0f-ac:6)"; + case 0x000fac08: + return "GCMP (00-0f-ac:8)"; case 0x00147201: return "WPI-SMS4 (00-14-72:1)"; default: diff --git a/scan.c b/scan.c index 5f8ce93..7ae7929 100644 --- a/scan.c +++ b/scan.c @@ -305,6 +305,9 @@ static void print_cipher(const uint8_t *data) case 6: printf("AES-128-CMAC"); break; + case 8: + printf("GCMP"); + break; default: printf("%.02x-%.02x-%.02x:%d", data[0], data[1] ,data[2], data[3]); -- 1.7.9.5