From: Johannes Berg Date: Wed, 20 Jan 2010 11:02:33 +0000 (+0100) Subject: cfg80211: export multiple MAC addresses in sysfs X-Git-Tag: v2.6.34-rc1~233^2~421^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef15aac6073b27fd4f70007784d2d52ed394bf43;p=pandora-kernel.git cfg80211: export multiple MAC addresses in sysfs If a device has multiple MAC addresses, userspace will need to know about that. Similarly, if it allows the MAC addresses to vary by a bitmask. If a driver exports multiple addresses, it is assumed that it will be able to deal with that many different addresses, which need not necessarily match the ones programmed into the device; if a mask is set then the device should deal addresses within that mask based on an arbitrary "base address". To test it all and show how it is used, add support to hwsim even though it can't actually deal with addresses different from the default. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed