Add I2R and R2I 11az LTF repetition count

Add IEEE 802.11az LTF repetition count for both I2R and R2I in 11az
RTT ranging result. Also remove the LTF repetition count from RTT
capabilities and config. The reason for removing is that vendor
software can pick the optimized value without an input from
framework.

Bug: 295619650
Test: m
Change-Id: I604421cbe8b792cc5fd9f766fd5e2422bc14e5bd
This commit is contained in:
maheshkkv 2023-12-13 10:00:19 -08:00
parent 1ccf6c5f05
commit 4b094d3591

View file

@ -121,12 +121,10 @@ typedef struct {
/* RTT configuration v3 (11az support)*/
typedef struct {
wifi_rtt_config rtt_config;
byte ntb_min_measurement_time_millis; // 11az Non-Trigger-based (non-TB) minimum measurement
int ntb_min_measurement_time_millis; // 11az Non-Trigger-based (non-TB) minimum measurement
// time in milliseconds
byte ntb_max_measurement_time_millis; // 11az Non-Trigger-based (non-TB) maximum measurement
int ntb_max_measurement_time_millis; // 11az Non-Trigger-based (non-TB) maximum measurement
// time in milliseconds
byte tx_ltf_repetition_count; // Multiple transmissions of HE-LTF symbols in an HE
// Ranging NDP. A value of 1 indicates no repetition.
} wifi_rtt_config_v3;
/* RTT results */
@ -184,7 +182,12 @@ typedef struct {
/* RTT results v3 (11az support)*/
typedef struct {
wifi_rtt_result_v2 rtt_result;
int tx_ltf_repetition_count; // 11az Transmit LTF repetitions used to get this result.
byte i2r_tx_ltf_repetition_count; // Multiple transmissions of HE-LTF symbols in an HE (I2R)
// Ranging NDP. An HE-LTF repetition value of 1 indicates no
// repetitions.
byte r2i_tx_ltf_repetition_count; // Multiple transmissions of HE-LTF symbols in an HE (R2I)
// Ranging NDP. An HE-LTF repetition value of 1 indicates no
// repetitions.
int ntb_min_measurement_time_millis; // Minimum non-trigger based (non-TB) dynamic measurement
// time in milliseconds assigned by the 11az responder.
int ntb_max_measurement_time_millis; // Maximum non-trigger based (non-TB) dynamic measurement
@ -305,8 +308,6 @@ typedef struct {
byte az_bw_support; // bit mask indicates what BW is supported by 11az initiator
byte ntb_initiator_supported; // if 11az non-TB initiator is supported
byte ntb_responder_supported; // if 11az non-TB responder is supported
byte max_tx_ltf_repetition_count;// maximum HE LTF repetitions the 11az initiator is capable of
// transmitting in the preamble of I2R NDP
} wifi_rtt_capabilities_v3;
/* RTT capabilities v3 of the device (11az support) */