diff options
author | Sara Sharon <sara.sharon@intel.com> | 2018-10-29 11:23:45 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-01-29 16:10:30 +0200 |
commit | 698478c49294eb3d4d64f7a3b61d460495826078 (patch) | |
tree | 687d4530ae4b6ebf883da1d2d531a2f68fb586e6 /drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | |
parent | fefbf85305ecd28c383c2d83694b147217605059 (diff) | |
download | linux-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