Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: Understanding Pry-Fi and 802.1…
3rd February 2014, 08:26 AM |#10  
Senior Member
Flag Montreal
Thanks Meter: 135
 
More
Quote:
Originally Posted by cernekee

On tuna this should set the random (or not-so-random) MAC from rand_mac, then return 0:

https://github.com/CyanogenMod/andro...na-wifi.c#L288

But Tegra doesn't implement the get_mac_addr() callback, so bcmdhd will fall through to the -EOPNOTSUPP case and then query the firmware:

https://android.googlesource.com/ker...rouper-sdhci.c

you can may be copy it ?
(it doesn;t seem to do much except filling a buffer with data)

(as does the one from LGE msm for hammerhead, but reads from a file in /persiste/wifi/)