nl80211/cfg80211: add support for non EDCA based ranging measurement
Add support for requesting that the ranging measurement will use the trigger-based / non trigger-based flow instead of the EDCA based flow. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20200131111300.891737-2-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
95247705c4
commit
efb5520d0e
@@ -3270,6 +3270,12 @@ struct cfg80211_pmsr_result {
|
||||
* @ftmr_retries: number of retries for FTM request
|
||||
* @request_lci: request LCI information
|
||||
* @request_civicloc: request civic location information
|
||||
* @trigger_based: use trigger based ranging for the measurement
|
||||
* If neither @trigger_based nor @non_trigger_based is set,
|
||||
* EDCA based ranging will be used.
|
||||
* @non_trigger_based: use non trigger based ranging for the measurement
|
||||
* If neither @trigger_based nor @non_trigger_based is set,
|
||||
* EDCA based ranging will be used.
|
||||
*
|
||||
* See also nl80211 for the respective attribute documentation.
|
||||
*/
|
||||
@@ -3279,7 +3285,9 @@ struct cfg80211_pmsr_ftm_request_peer {
|
||||
u8 requested:1,
|
||||
asap:1,
|
||||
request_lci:1,
|
||||
request_civicloc:1;
|
||||
request_civicloc:1,
|
||||
trigger_based:1,
|
||||
non_trigger_based:1;
|
||||
u8 num_bursts_exp;
|
||||
u8 burst_duration;
|
||||
u8 ftms_per_burst;
|
||||
@@ -4435,6 +4443,8 @@ struct wiphy_iftype_ext_capab {
|
||||
* forbid using the value 15 to let the responder pick)
|
||||
* @ftm.max_ftms_per_burst: maximum FTMs per burst supported (set to 0 if
|
||||
* not limited)
|
||||
* @ftm.trigger_based: trigger based ranging measurement is supported
|
||||
* @ftm.non_trigger_based: non trigger based ranging measurement is supported
|
||||
*/
|
||||
struct cfg80211_pmsr_capabilities {
|
||||
unsigned int max_peers;
|
||||
@@ -4450,7 +4460,9 @@ struct cfg80211_pmsr_capabilities {
|
||||
asap:1,
|
||||
non_asap:1,
|
||||
request_lci:1,
|
||||
request_civicloc:1;
|
||||
request_civicloc:1,
|
||||
trigger_based:1,
|
||||
non_trigger_based:1;
|
||||
} ftm;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user