d2: fix wpa/wpa2 tethering

This is a backport of kernel 3.4's wireless subsystem and some hacks
to disable ifdefs in our bcmdhd driver.

Change-Id: I308a0139528d255a943432cc17e683099a3548b3