drivers: net: wireless: add HTC's bcmdhd_4335_mcc
From m7stockui-3.4.10-gef77362.
Modifications from stock HTC driver:
* Remove poorly commented-out CFLAGS section from Makefile
* Make CONFIG_BCMDHD_4335_MCC select WIRELESS_EXT, WEXT_PRIV
* Fix msm_watchdog.h include in dhd_sdio.c
* Our kernel does not need OLD_CFG_80211; removing this flag also
required the following fixes in wl_cfg80211.c
- L292: ifdef out used_default_ssid
- L6698-6702: ifdef out usage of wl_cfg80211_hostapd_sec()
Changes outside of driver: Make necessary additions (and block with
CONFIG_BCMDHD_4335_MCC where appropriate) in:
* drivers/mmc/host/msm_sdcc.c
* include/linux/ieee80211.h
* include/linux/nl80211.h
* include/linux/wlan_plat.h
Change-Id: I405010d3ae0fc3586de2a2aa3ffaab01909ddcde
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index dbcb8c8..1537bd8 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -2748,6 +2748,9 @@
enum nl80211_wpa_versions {
NL80211_WPA_VERSION_1 = 1 << 0,
NL80211_WPA_VERSION_2 = 1 << 1,
+#ifdef CONFIG_BCMDHD_4335_MCC
+ NL80211_WAPI_VERSION_1 = 1 << 2,
+#endif
};
/**