1

[DEV][WiP] Random MAC adressing with BCMDHD

view story
linux-howto

http://forum.xda-developers.com – Just wanted to share some knowledge here. The main code responsable for the random MAC wifi adress with the newer BCMDHD wifi driver is mainly due to a small peace of code : eeprom-wifi-mac.c in /tf101-kernel_whatever/arch/arm/mach-tegra. code snippet: Code: #include <linux/i2c/at24.h> #include <linux/sysfs.h> #include <linux/device.h> #include <linux/slab.h> #define EEPROM_LEN 32 static char wifi_mac[] = "ff:ff:ff:ff:ff:ff"; static ssize_t show_addr_sysfs(struct device *dev,             struct device_attribute *attr, (HowTos)