aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2018-10-29 11:23:45 +0200
committerLuca Coelho <luciano.coelho@intel.com>2019-01-29 16:10:30 +0200
commit698478c49294eb3d4d64f7a3b61d460495826078 (patch)
tree687d4530ae4b6ebf883da1d2d531a2f68fb586e6 /drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
parentfefbf85305ecd28c383c2d83694b147217605059 (diff)
downloadlinux-698478c49294eb3d4d64f7a3b61d460495826078.tar.gz
linux-698478c49294eb3d4d64f7a3b61d460495826078.tar.bz2
linux-698478c49294eb3d4d64f7a3b61d460495826078.zip
iwlwifi: mvm: add an option to dereference vif by id
Currently whenever we get firmware notification with mac id, we iterate over all the interfaces to find the ID. This is a bit cumbersome. Instead, adding an array of RCU pointers, like we have for station IDs. This is not expensive space wise since we have only up to 4 active MACs, and not complicated code wise, since we have a clear point to init and de-init it. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c')
0 files changed, 0 insertions, 0 deletions