[PATCH] Hex Value should be instead of Decimal value as per the P2P Technical Specifications

Jouni Malinen j
Wed Feb 26 06:53:47 PST 2014


On Wed, Feb 26, 2014 at 11:31:34AM +0000, Rahul Jain wrote:
> In P2P Specifications, line "WFA Vendor Extension attribute is a Vendor Extension attribute (ID 0x1049) that uses
> Vendor ID 0x00372A and contains one or more subelements" is mentioned
> 
> It is good if we follow the specifications in general. It will create less confusion.

I don't think it makes much of a difference here. The authoritative
source of SMI network management private enterprise codes is the IANA
registry here:
http://www.iana.org/assignments/enterprise-numbers/enterprise-numbers

This registry uses decimal values for the vendor ids. Sure, some of the
WFA specifications use the hexadecimal version of this, but I'd rather
go with the IANA allocation.

(And this is all really quite theoretical.. We could even include both
values with one of them as the comment if that makes it easier to
understand which value is used here. None of this has any difference for
the actual behavior.)

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list