iwlwifi: mvm: add vendor commands needed for iwlmei
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 12 Nov 2021 06:28:13 +0000 (08:28 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:31:48 +0000 (18:31 +0200)
commitbfcfdb59b6699053541d3fda60ef021f4708caa5
tree9f0afe4acdad1eb83feb23ed464736991e80744d
parent6d19a5eba5cda26310f83f5ea87eef54e68afc34
iwlwifi: mvm: add vendor commands needed for iwlmei

Add the vendor commands that must be used by the network manager
to allow proper operation of iwlmei.

* Send information on the AP CSME is connected to
* Notify the userspace when roaming is forbidden
* Allow the userspace to require ownership

Co-Developed-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
v6: remove the VENDOR_CMDS Kconfig option and make the whole infra
    depend on IWLMEI directly
v7: remove // comments
    remove an unneeded function
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211112062814.7502-5-emmanuel.grumbach@intel.com
drivers/net/wireless/intel/iwlwifi/mvm/Makefile
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/vendor-cmd.c [new file with mode: 0644]