]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: report FTM start time TSF when applicable
authorAvraham Stern <avraham.stern@intel.com>
Tue, 12 Mar 2019 09:48:56 +0000 (11:48 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Apr 2019 15:42:45 +0000 (18:42 +0300)
commitee6c486ff27cf9e4b0c28915e442efb6359729ce
treeefec27605e62c1ddb591d70f6c893e9cb01c1ec8
parentebc5e1dd38f88810436578c42beae04d3065c622
iwlwifi: mvm: report FTM start time TSF when applicable

When the interface that is requesting an FTM measurement is connected
to a BSS, it is possible that the FTM request was originated by an
RRM request from the AP. In this case the station needs to report
the measurement start time in terms of the TSF of the AP.

Since there is no indication in the FTM request itself if the TSF
is needed, always report the TSF if the station is associated.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c