Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:2521 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109Ab2JLL2Y (ORCPT ); Fri, 12 Oct 2012 07:28:24 -0400 Message-ID: <5077FCC4.5010909@qca.qualcomm.com> (sfid-20121012_132828_317442_3D11077F) Date: Fri, 12 Oct 2012 14:19:32 +0300 From: Kalle Valo MIME-Version: 1.0 To: Arend van Spriel CC: "John W. Linville" , Linux Wireless List , Jouni Malinen , Stanislav Yakovlev , Dan Williams , Bing Zhao , Larry Finger Subject: Re: [PATCH 1/3] wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC References: <1350037696-23747-1-git-send-email-arend@broadcom.com> <1350037696-23747-2-git-send-email-arend@broadcom.com> <5077F4F3.8030409@qca.qualcomm.com> In-Reply-To: <5077F4F3.8030409@qca.qualcomm.com> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-wireless-owner@vger.kernel.org List-ID: On 10/12/2012 01:46 PM, Kalle Valo wrote: > On 10/12/2012 01:28 PM, Arend van Spriel wrote: >> The include file linux/ieee80211.h contains three definitions for >> the same thing in enum ieee80211_eid due to historic changes: >> >> /* Information Element IDs */ >> enum ieee80211_eid { >> : >> WLAN_EID_WPA = 221, >> WLAN_EID_GENERIC = 221, >> WLAN_EID_VENDOR_SPECIFIC = 221, >> : >> }; >> >> The standard refers to this as "vendor specific" element so the >> other two definitions are better not used. This patch changes the >> wireless drivers to use one definition, ie. WLAN_EID_VENDOR_SPECIFIC. > > Why not remove _WPA and _GENERIC from ieee80211.h at the same time so > that nobody else won't use them in the future? Ah, you did that in patch 3. Forget what I said :) Kalle