Return-path: Received: from mail-ie0-f174.google.com ([209.85.223.174]:51504 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819Ab2JMCsf (ORCPT ); Fri, 12 Oct 2012 22:48:35 -0400 Received: by mail-ie0-f174.google.com with SMTP id k13so5701053iea.19 for ; Fri, 12 Oct 2012 19:48:35 -0700 (PDT) Message-ID: <5078D67F.20208@lwfinger.net> (sfid-20121013_044846_774823_1ACBBD9C) Date: Fri, 12 Oct 2012 21:48:31 -0500 From: Larry Finger MIME-Version: 1.0 To: Arend van Spriel CC: "John W. Linville" , Linux Wireless List , Kalle Valo , Jouni Malinen , Stanislav Yakovlev , Dan Williams , Bing Zhao 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> In-Reply-To: <1350037696-23747-2-git-send-email-arend@broadcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 10/12/2012 05:28 AM, 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. > > Cc: Kalle Valo > Cc: Jouni Malinen > Cc: Stanislav Yakovlev > Cc: Dan Williams > Cc: Bing Zhao > Cc: Larry Finger > Signed-off-by: Arend van Spriel > --- > The prism54 and rtl8712 drivers use WLAN_EID_GENERIC as well, but have > their own definition so those are not changed. They may consider using > linux/ieee80211.h. Arend, Thanks for the r8712u suggestion. Larry