nl80211: vendor command support

Add support for vendor-specific commands to nl80211. This is
intended to be used for really vendor-specific functionality
that can't be implemented in a generic fashion for any reason.
It's *NOT* intended to be used for any normal/generic feature
or any optimisations that could be implemented across drivers.
Currently, only vendor commands (with replies) are supported,
no dump operations or vendor-specific notifications.
Also add a function wdev_to_ieee80211_vif() to mac80211 which
is needed for mac80211-based drivers wanting to implement any
vendor commands.

Change-Id: If73cf90d152ca0888a563cf4ae685aad9cec6443
CRs-fixed: 576020
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: ad7e718c9b4f717823fd920a0103f7b0fb06183f
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git
Signed-off-by: Leo Chang <leochang@codeaurora.org>
nl80211: support vendor-specific events

In addition to vendor-specific commands, also support vendor-specific
events. These must be registered with cfg80211 before they can be used.
They're also advertised in nl80211 in the wiphy information so that
userspace knows can be expected. The events themselves are sent on a
new multicast group called "vendor".

Change-Id: I184aaa9f9e8461aee572f7d0a35916cd668c2218
CRs-fixed: 576020
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 567ffc3509b2d3f965a49a18631d3da7f9a96d4f
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git
Signed-off-by: Leo Chang <leochang@codeaurora.org>
mondrianwifi: prima: Initial import of kk_3.5_rb4.1

Change-Id: Ia7d218f7a9e03c56b1f3ac62293f2359bc30758f
mondrianwifi: prima: Build support in drivers/net/wireless

Change-Id: I8b4f92f0b41bb50fc3e8672b4f28350cf1583dea
mondrianwifi: Enable prima pronto driver

Change-Id: Ia8937beefba0e7edb0b25aefda882a112608629b
mondrianwifi: prima:  Increase MAX_CFG_INI_ITEMS

MAX_CFG_INI_ITEMS too small, must be at least 345

Change-Id: I4d30b59e9392a2014ce53710f798f2268f20fc2b
prima: Fix Kbuild's use of CONFIG_CONFIG_ENABLE_LINUX_REG

Change-Id: Id8086809c030f0e5a005db1df1de82c8961b2da1
Revert "mondrianwifi: Allow the proprietary wlan driver to be loaded"

This reverts commit 76275b29746dfeab37efeab6c2787af9acd3394c.