]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add a get lmac id function
authorNathan Errera <nathan.errera@intel.com>
Thu, 8 Oct 2020 15:09:46 +0000 (18:09 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 8 Oct 2020 17:09:36 +0000 (20:09 +0300)
commitf8dc4ffb83477e5b45c5bdbad3219d4f547e1380
tree311e6acf0445050333ec4826826241ca6823d7ad
parent402640f7d6f674cdbdc0ac971115234cd2cb06fb
iwlwifi: mvm: add a get lmac id function

As some functions need to check which lmac id to use, add
a new function to find the lmac id instead of open coding it
in every function.

Signed-off-by: Nathan Errera <nathan.errera@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201008180656.ac3b43e97aa8.I308f8ed2238e32d5eef9c35ad7962f0e8b9c1902@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/binding.h
drivers/net/wireless/intel/iwlwifi/mvm/binding.c
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c