diff --git a/target/inc/wmi_tlv_defs.h b/target/inc/wmi_tlv_defs.h index d7645fa8cacf..6633321b27cb 100644 --- a/target/inc/wmi_tlv_defs.h +++ b/target/inc/wmi_tlv_defs.h @@ -613,6 +613,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_bpf_del_vdev_instructions_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_vdev_delete_resp_event_fixed_param, WMITLV_TAG_STRUC_wmi_peer_delete_resp_event_fixed_param, + WMITLV_TAG_STRUC_wmi_roam_dense_thres_param, } WMITLV_TAG_ID; @@ -1107,7 +1108,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_MODE); #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_THRESHOLD(id,op,buf,len) \ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_roam_scan_rssi_threshold_fixed_param, wmi_roam_scan_rssi_threshold_fixed_param, fixed_param, WMITLV_SIZE_FIX)\ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_extended_threshold_param, extended_param, WMITLV_SIZE_VAR) \ - WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_earlystop_rssi_thres_param, earlystop_param, WMITLV_SIZE_VAR) + WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_earlystop_rssi_thres_param, earlystop_param, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_dense_thres_param, dense_param, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_THRESHOLD); diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 563ea90e65ff..1a8ca58ec6c1 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -6056,6 +6056,7 @@ typedef struct { /* The TLVs will follow. * wmi_roam_scan_extended_threshold_param extended_param; * wmi_roam_earlystop_rssi_thres_param earlystop_param; + * wmi_roam_dense_thres_param dense_param; */ } wmi_roam_scan_rssi_threshold_fixed_param; @@ -6228,6 +6229,24 @@ typedef struct { A_UINT32 roam_earlystop_thres_max; } wmi_roam_earlystop_rssi_thres_param; +typedef struct { + /* TLV tag and len; + * tag equals WMITLV_TAG_STRUC_wmi_roam_dense_thres_param + */ + A_UINT32 tlv_header; + /* rssi threshold offset under trffic and dense env */ + A_UINT32 roam_dense_rssi_thres_offset; + /* minimum number of APs to determine dense env */ + A_UINT32 roam_dense_min_aps; + /* initial dense status detected by host + * at the time of initial connection */ + A_UINT32 roam_dense_status; + /* traffic threshold to enable aggressive roaming in dense env; + * units are percent of medium occupancy, 0 - 100 + */ + A_UINT32 roam_dense_traffic_thres; +} wmi_roam_dense_thres_param; + /** Beacon filter wmi command info */ #define BCN_FLT_MAX_SUPPORTED_IES 256