sm6225-common: Import blobs from devon_g S2SNS32.34-60-6

Change-Id: I3baa2cce57995ea97b08e236cee21b8ef560a6d1
This commit is contained in:
Michael Bestas
2023-05-27 17:32:04 +03:00
commit f431f86d27
827 changed files with 28085 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#configuration parameters for Multi-network Wireless Quality Estimation and Management.
#Number of previous latency iterations to track to decide the better LQS interface
latency_count:3
#Threshold in ms to decide the better interface for LQS.
latency_threshold:10
#Number of tcp connections to be established in each latency session
max_tcp_connects:3
#Max waiting time for a dns query to be resolved
dns_timeout:9
#Minimum change in mwqem ratio to update the new LQA ratio
lqa_update_threshold:0.25
#Timer in msec to track the lqs updates. Only one update will be allowed
#in this duration
lqa_update_count_timer:10000
#default URL for establishing a tcp sessions
mwqem_http_url:www.qualcomm.com
+239
View File
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1.0</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1.0</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-82,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-82,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-82,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-82,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-82,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-82,-82</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1.0</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1.0</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1.0</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1.0</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1.0</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1.0</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1.0</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1.0</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-80,-80</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-80,-80</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-80,-80</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-80,-80</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-65,-65</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-65,-65</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-72</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-65,-65</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-65,-65</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-99,-99</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-99,-99</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-99,-99</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-99,-99</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-99,-99</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-99,-99</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2016-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-72,-72</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-72</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-90,-90</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-90,-90</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-87,-88</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-87,-88</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-65,-65</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-65,-65</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-65,-65</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-65,-65</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-65,-65</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-65,-65</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-80,-80</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-80,-80</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-80,-80</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-80,-80</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-80,-80</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-80,-80</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-75,-75</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-85,-85</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-85,-85</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.64</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>1</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>12</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>3</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>1</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>60</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>1</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-79</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-91</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>1</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>1</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<AndsfPolicy><Andsf>
<Version>5.1</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>true</BQE_Disabled>
<ICD_Disabled>true</ICD_Disabled>
<!-- Default bqe thresholds where no apIds are specified. -->
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">0</Threshold>
</RadioTechnology>
</BQE_Thresholds>
<Authentication>
<MaxAuthTime>60</MaxAuthTime>
<IcdBanRetest>3</IcdBanRetest>
<AuthApps>
<Appname>someauthapp1</Appname>
<Appname>someauthapp2</Appname>
<Appname>someauthapp3</Appname>
</AuthApps>
</Authentication>
<ICD config-type="disabled">
</ICD>
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>true</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>true</DBD_Disabled>
<!-- Threshold on downlink gap indicator metric -->
<DGIMThresh units="msecs">400</DGIMThresh>
<!-- DBD always returns pass when average device throughput is greater than min(DBDTputThresh,BQE_Threshold) -->
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<!-- Time window for TQE history -->
<TQETimeWindow units="secs">77</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
</TQE>
</InterfaceManager>
</WQE>
<CQE prodId="Rome">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.55</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.09</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>4</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.55</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>50</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>8</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>100</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>300</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.15</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>4</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>80</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Helium">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-79,-82</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-79,-82</RSSIDropThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.7</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.12</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>10</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>9</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>3</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.1</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>2</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.64</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>100</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>4</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>2</TX_BW_THR>
<!-- Maximum MPDU count to activate RX MPDU PER -->
<RMP_UBCNT_THR>1000</RMP_UBCNT_THR>
<!-- Maximum MPDU count to activate MPDU retry rate -->
<TMR_UBCNT_THR>1000</TMR_UBCNT_THR>
<!-- Threshold for PERAM -->
<PERAM_THR>0.22</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>20</PERAM_CNT_THR>
<!-- Maximum MPDU count to activate PERAM -->
<PERAM_UBCNT_THR>1000</PERAM_UBCNT_THR>
<!-- CQE throughput Threshold-->
<CQE_TPUT_THR>1000000</CQE_TPUT_THR>
</CQE_Thresholds>
</CQE>
<CQE prodId="Pronto">
<!-- Default node for CQE_Thresholds element -->
<CQE_Thresholds Id="128">
<!-- RSSI threshold from which all values greather than it is considered as good for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIAddThreshold units="dbm">-78,-78</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is considered as bad for wlan to be -->
<!-- a candidate for interface selection -->
<RSSIDropThreshold units="dbm">-78,-78</RSSIDropThreshold>
<!-- RSSI threshold from which to select linear model to compute CQE metric -->
<RSSIModelThreshold units="dbm">-74</RSSIModelThreshold>
<!-- Interval over whcih RSSI values are averaged -->
<RSSIAveragingInterval units="secs">5</RSSIAveragingInterval>
<!-- RSSI threshold below which MAC hysteresis timer is not started -->
<RSSIMacTimerThreshold units="dbm">-85</RSSIMacTimerThreshold>
<!-- Periodic timer to evaluate CQE parameters including RSSI and MAC stats -->
<!-- Setting CQETimer to zero disables the CQE -->
<CQETimer units="secs">2</CQETimer>
<!-- Time for which CQE is not reevaluted after it was declared bad due to MAC stats -->
<MACHysteresisTimer units="secs">120</MACHysteresisTimer>
<!-- Alpha to compute RSSI averaging based on IIR filtering mechanism -->
<MACStatsAveragingAlpha>0.47</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">8</FrameCntThreshold>
<!-- The threshold indicating the number of last samples below which valid CQE estimation can't be done -->
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MACMibThreshold2a>0.42</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.0597</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.8895</MultiRetryMetricWeight2a>
<!-- The threshold that ultimately decides the wlan is good or bad based on the combined MAC parameters -->
<!-- such as retry, multi-retry, fail and ack fail metric -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MACMibThreshold2b>0.21</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.1366</RetryMetricWeight2b>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<MultiRetryMetricWeight2b>0.5795</MultiRetryMetricWeight2b>
</CQE_Thresholds>
</CQE>
</Ext>
</Andsf></AndsfPolicy>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2020 Qualcomm Technologies, Inc.
~ All Rights Reserved.
~ Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This XML file declares which signature|privileged permissions should be
granted to privileged applications on QTI devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<exceptions>
<exception package="com.qualcomm.qti.cne">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
</exceptions>
+61
View File
@@ -0,0 +1,61 @@
<!--
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This file is configured by OEM to customize the path used by GP FS listener
service to save files, and will be located in /vendor/etc on device
"gp_data_path" and "gp_persist_path" are the /data and /persist partition
path to save files, respectively.
By default, "gp_data_path" is "/data/vendor/tzstorage/", and
"gp_persist_path" is "/mnt/vendor/persist/data/".
To replace with different paths, please also create folder in init.qcom.rc
file and update SEAndroid policy.
Take "/data/vendor/tzstorage/" as an example below,
A) rootdir/etc/init.qcom.rc:
# Create /data/vendor/tzstorage directory for SFS listener
mkdir /data/vendor/tzstorage 0770 system system
B) common/file.te:
# SFS listener data file
type data_tzstorage_file, file_type, data_file_type;
C) common/file_contexts:
/data/vendor/tzstorage(/.*)? u:object_r:data_tzstorage_file:s0
D) common/qseecomd.te:
# Allow SFS to write to data partition
allow tee data_tzstorage_file:dir create_dir_perms;
allow tee data_tzstorage_file:file create_file_perms;
"gp_whitelist_count" and "gp_whitelist_path"
Some paths needs "/data/vendor/tzstorage" appended to it at the beginning
as they do not have access/permissions on their own.
Use gp_whitelist_count and gp_whitelist_paths entries to add more such paths.
By default, we add "/data/system/users" and "/data/misc/qsee" for current use
cases.
To add an extra path, increment the count in gp_whitelist_count and add a new
gp_whitelist_path entry. It is very critical that the count matches with the
number of path entries.
-->
<sfs_path>
<gp_data_path> /data/vendor/tzstorage/ </gp_data_path>
<gp_persist_path> /mnt/vendor/persist/data/ </gp_persist_path>
<gp_whitelist_count> 4 </gp_whitelist_count>
<gp_whitelist_path> /data/system/users/ </gp_whitelist_path>
<gp_whitelist_path> /data/misc/qsee/ </gp_whitelist_path>
<gp_whitelist_path> /qwes </gp_whitelist_path>
<gp_whitelist_path> /qwes/licenses </gp_whitelist_path>
</sfs_path>
@@ -0,0 +1,5 @@
service vendor.bluetooth-1-0-qti /vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
class hal
user bluetooth
group bluetooth system wakelock oem_2901 net_raw
capabilities BLOCK_SUSPEND NET_ADMIN
@@ -0,0 +1,27 @@
#! /bin/sh
#
#Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on boot
# Add a cpuset for the camera daemon
# We want all cores for camera
mkdir /dev/cpuset/camera-daemon
write /dev/cpuset/camera-daemon/cpus 0-7
write /dev/cpuset/camera-daemon/mems 0
chown cameraserver cameraserver /dev/cpuset/camera-daemon
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
chmod 0660 /dev/cpuset/camera-daemon/tasks
service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
override
interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
class hal
user cameraserver
group audio camera input drmrpc oem_2907
ioprio rt 4
capabilities SYS_NICE
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/foreground/tasks
@@ -0,0 +1,8 @@
# Copyright (c) 2018-2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdhdcphalservice /vendor/bin/wfdhdcphalservice
class main
user system
@@ -0,0 +1,26 @@
on property:init.svc.mediadrm=running
mkdir /data/vendor/mediadrm 0770 media mediadrm
start vendor.move_data_sh
service vendor.move_data_sh /system/bin/move_widevine_data.sh
class late_start
user media
group media mediadrm system
disabled
oneshot
service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.widevine
interface android.hardware.drm@1.0::ICryptoFactory widevine
interface android.hardware.drm@1.0::IDrmFactory widevine
interface android.hardware.drm@1.1::ICryptoFactory widevine
interface android.hardware.drm@1.1::IDrmFactory widevine
interface android.hardware.drm@1.2::ICryptoFactory widevine
interface android.hardware.drm@1.2::IDrmFactory widevine
interface android.hardware.drm@1.3::ICryptoFactory widevine
interface android.hardware.drm@1.3::IDrmFactory widevine
interface android.hidl.base@1.0::IBase widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
@@ -0,0 +1,4 @@
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
class early_hal
user system
group system
@@ -0,0 +1,12 @@
on init
start vendor.keymaster-4-1
on property:vendor.keymaster.quickboot=true
stop vendor.keymaster-4-1
start vendor.keymaster-4-1
start wait_for_keymaster
service vendor.keymaster-4-1 /vendor/bin/hw/android.hardware.keymaster@4.1-service-qti
class early_hal
user system
group system drmrpc
@@ -0,0 +1,14 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
class hal
user system
group system
writepid /dev/stune/nnapi-hal/tasks
#Below changes moved from init.target.rc as part of go/FR53051
on post-fs-data
mkdir /data/vendor/nnhal 0700 system system
+4
View File
@@ -0,0 +1,4 @@
service vendor.cnd /system/vendor/bin/cnd
class main
user system
group system wifi inet radio wakelock net_admin
@@ -0,0 +1,11 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wifidisplayhalservice /vendor/bin/wifidisplayhalservice
class main
user system
group inet input audio media uhid
capabilities NET_RAW
+13
View File
@@ -0,0 +1,13 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
#start dataadpl service
service vendor.dataadpl /system/vendor/bin/adpl
class main
user radio
socket adpl_cmd_uds_file dgram 660 radio radio
group radio oem_2901 diag usb inet
disabled
+19
View File
@@ -0,0 +1,19 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
# msm specific files that need to be created on /data
on post-fs-data
#Create DATAQTI dir for logs
mkdir /data/vendor/dataqti 0770 radio radio
chmod 0770 /data/vendor/dataqti
#start dataqti service
service vendor.dataqti /system/vendor/bin/qti
class main
user radio
socket qti_dpm_uds_file dgram 660 radio radio
group radio oem_2901 diag usb inet
disabled
+17
View File
@@ -0,0 +1,17 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#start dpmQmiMgr service
service dpmQmiMgr /system/vendor/bin/dpmQmiMgr
interface com.qualcomm.qti.dpm.api@1.0::IdpmQmi dpmQmiService
class main
user system
group system
disabled
on property:persist.vendor.dpmhalservice.enable=*
start dpmQmiMgr
on property:persist.vendor.dpmhalservice.enable=0
stop dpmQmiMgr
+13
View File
@@ -0,0 +1,13 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# imsdatadaemon starts with root and UID will be downgraded to RADIO.
service vendor.ims_rtp_daemon /vendor/bin/ims_rtp_daemon
class main
user radio
group radio vendor_qti_diag inet log
on property:vendor.ims.DATA_DAEMON_STATUS=1
restart vendor.ims_rtp_daemon
+15
View File
@@ -0,0 +1,15 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# imsdatadaemon starts with root and UID will be downgraded to RADIO.
service vendor.imsdatadaemon /vendor/bin/imsdatadaemon
class main
user radio
socket ims_datad stream 0660 system radio
group radio wifi inet vendor_qti_diag log
disabled
on property:vendor.ims.QMI_DAEMON_STATUS=1
start vendor.imsdatadaemon
+10
View File
@@ -0,0 +1,10 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.imsqmidaemon /vendor/bin/imsqmidaemon
class main
user radio
socket ims_qmid stream 0660 system radio
group radio vendor_qti_diag log
+8
View File
@@ -0,0 +1,8 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.imsrcsservice /vendor/bin/imsrcsd
class main
user radio
group radio vendor_qti_diag log inet wakelock
+2
View File
@@ -0,0 +1,2 @@
on property:ro.board.platform=msmnile && property:ro.baseband=msm && property:ro.vendor.qti.va_aosp.support=1
setprop ro.telephony.iwlan_operation_mode "legacy"
+14
View File
@@ -0,0 +1,14 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on post-fs-data && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
start time_daemon
service time_daemon /vendor/bin/time_daemon
class main
user system
group system
capabilities SYS_TIME
+52
View File
@@ -0,0 +1,52 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# # Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# # Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# # Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
on early-boot
write /sys/kernel/boot_slpi/boot 1
chown system system /mnt/vendor/persist/sensors
chown system system /mnt/vendor/persist/sensors/sns.reg
chown system system /mnt/vendor/persist/sensors/sensors_list.txt
chown system system /mnt/vendor/persist/sensors/registry
chown system system /mnt/vendor/persist/sensors/registry/registry
chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry
chown system system /mnt/vendor/persist/sensors/sensors_settings
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version
chown system system /mnt/vendor/persist/sensors/registry/config
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
chown system system /sys/kernel/boot_adsp/ssr
on post-fs-data && property:ro.build.type=userdebug
#sensors log dir
mkdir /data/vendor/sensors 0777 system system
mkdir /data/vendor/sensors/scripts 0777 system system
+8
View File
@@ -0,0 +1,8 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on early-boot
write /dev/ipa 1
+77
View File
@@ -0,0 +1,77 @@
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on boot
#Create NETMGR daemon socket area
mkdir /dev/socket/netmgr 0750 radio radio
#Assign TCP buffer thresholds to be ceiling value of technology maximums
#Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 134217728
write /proc/sys/net/core/wmem_max 33554432
#Load rmnet_core driver
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_ctl
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_core
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_ctl
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_core
# msm specific files that need to be created on /data
on post-fs-data
#Create NETMGR daemon log dir
mkdir /data/vendor/netmgr 0770 radio radio
chmod 0770 /data/vendor/netmgr
# Create netmgr recovery folder
mkdir /data/vendor/netmgr/recovery 0700 radio radio
chmod 0770 /data/vendor/netmgr/recovery
write /data/vendor/netmgr/recovery/recovery_info ""
chown radio radio /data/vendor/netmgr/recovery/recovery_info
# Manage netmgrd based on value of property
on property:persist.vendor.data.mode=disabled
stop vendor.netmgrd
service vendor.netmgrd /system/vendor/bin/netmgrd
class main
on property:ro.vendor.use_data_netmgrd=false
# netmgr not supported on specific target
stop vendor.netmgrd
on property:ro.baseband=apq
stop vendor.netmgrd
on property:persist.vendor.data.shs_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_shs
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_shs
on property:persist.vendor.data.shs_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_shs
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_shs
on property:persist.vendor.data.perf_ko_load=3
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_ingress_deag=N
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_ingress_deag=N
on property:persist.vendor.data.perf_ko_load=2
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_opt_mode="udp"
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_opt_mode="udp"
on property:persist.vendor.data.perf_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_perf
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_perf
on property:persist.vendor.data.perf_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_perf
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_perf
on property:persist.vendor.data.offload_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_offload
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_offload
on property:persist.vendor.data.offload_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_offload
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_offload
+20
View File
@@ -0,0 +1,20 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on boot
#Create PORT-BRIDGE daemon socket area
mkdir /dev/socket/port-bridge 0750 radio radio
# msm specific files that need to be created on /data
on post-fs-data
#Create port-bridge log dir
mkdir /data/vendor/port_bridge 0770 radio radio
chmod 0770 /data/vendor/port_bridge
service vendor.port-bridge /system/vendor/bin/port-bridge
class main
user radio
group radio system inet
oneshot
+21
View File
@@ -0,0 +1,21 @@
service vendor.qcrild /vendor/bin/hw/qcrild
class main
user radio
disabled
socket cutback stream 660 audioserver radio
group radio cache inet misc audio log readproc wakelock oem_2901 net_raw wifi diag input
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service vendor.qcrild2 /vendor/bin/hw/qcrild -c 2
class main
user radio
disabled
group radio cache inet misc audio log readproc wakelock oem_2901
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service vendor.qcrild3 /vendor/bin/hw/qcrild -c 3
class main
user radio
disabled
group radio cache inet misc audio log readproc wakelock oem_2901
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
+12
View File
@@ -0,0 +1,12 @@
service qdcmss /vendor/bin/qdcmss
class late_start
user system
group system graphics
socket qdcmsocket stream 0660 system adb
disabled
on property:vendor.display.qdcm_socket_service=1
start qdcmss
on property:vendor.display.qdcm_socket_service=0
stop qdcmss
+12
View File
@@ -0,0 +1,12 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
on init
wait /dev/qseecom
start vendor.qseecomd
service vendor.qseecomd /vendor/bin/qseecomd
class core
user root
group root
@@ -0,0 +1,4 @@
service display-color-hal-1-0 /vendor/bin/hw/vendor.display.color@1.0-service
class hal
user system
group system
+63
View File
@@ -0,0 +1,63 @@
on fs && property:ro.boot.carrier=amxmx
setprop persist.vendor.radio.suppress_ussd_rel 1
on fs && property:ro.boot.carrier=reteu
setprop persist.vendor.radio.suppress_ussd_rel 1
on fs && property:ro.boot.carrier=reteu2
setprop persist.vendor.radio.suppress_ussd_rel 1
on fs && property:ro.boot.carrier=teleu
setprop persist.vendor.radio.suppress_ussd_rel 1
on fs && property:ro.boot.carrier=amxbr
setprop persist.vendor.radio.use_se_table_only 1
on fs && property:ro.boot.carrier=wndca
setprop persist.vendor.radio.process_sups_ind 1
on fs && property:ro.boot.carrier=retca
setprop persist.vendor.radio.process_sups_ind 1
on fs && property:ro.boot.carrier=tracfone
setprop ro.build.tf_modelnumber ${ro.boot.hardware.sku}
on property:ro.build.display.id=* && property:ro.boot.carrier=tracfone
setprop ro.build.sw_version ${ro.build.display.id}
on fs && property:ro.boot.carrier=att
setprop persist.vendor.ims.dropset_feature 0
setprop ro.mot.enable_att_messaging_ps_feature true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs_att true
on fs && property:ro.boot.carrier=attpre
setprop persist.vendor.ims.dropset_feature 0
setprop ro.mot.enable_att_messaging_ps_feature true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs_att true
on fs && property:ro.boot.carrier=cricket
setprop persist.vendor.ims.dropset_feature 0
setprop ro.mot.enable_att_messaging_ps_feature true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs_att true
on fs && property:ro.boot.carrier=tmo
setprop ro.mot.enable_tmo_messaging_ps_feature true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs_up true
on fs && property:ro.boot.carrier=metropcs
setprop ro.mot.enable_tmo_messaging_ps_feature true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs true
setprop ro.mot.enable_summit_rcs_ps_feature_mtkrcs_up true
on fs && property:ro.boot.carrier=vzw
setprop persist.vendor.rcs.singlereg.feature 0
setprop persist.rcs.supported 1
on fs && property:ro.boot.carrier=vzwpre
setprop persist.vendor.rcs.singlereg.feature 0
setprop persist.rcs.supported 1
@@ -0,0 +1,42 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.adsprpcd /vendor/bin/adsprpcd
class main
user system
group media
service vendor.adsprpcd_audiopd /vendor/bin/adsprpcd audiopd
class main
user media
group media
@@ -0,0 +1,40 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.cdsprpcd /vendor/bin/cdsprpcd
class main
user system
group system
on property:vendor.fastrpc.disable.cdsprpcd.daemon=1
stop vendor.cdsprpcd
@@ -0,0 +1,11 @@
# Copyright (c) 2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service alarm-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
interface vendor.qti.hardware.alarm@1.0::IAlarm default
class hal
user system
group system
oneshot
disabled
@@ -0,0 +1,8 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.capabilityconfigstore /vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
class hal
user system
group system
@@ -0,0 +1,14 @@
# @file io-p.c
# @brief Defination for iop service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2011-2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service iop-hal-2-0 /vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
class hal
user root
group root readproc
@@ -0,0 +1,13 @@
# @file vendor.qti.hardware.perf@2.2-service.rc
# @brief Defination perf service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service perf-hal-2-2 /vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
class hal
user root
group root readproc oem_2907
@@ -0,0 +1,8 @@
# Copyright (c) 2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service sensorscal-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service
class hal
user system
group system
@@ -0,0 +1,8 @@
# Copyright (c) 2018 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service soter-1-0 /vendor/bin/hw/vendor.qti.hardware.soter@1.0-service
class hal
user system
group system drmrpc
@@ -0,0 +1,15 @@
#==============================================================================
# vendor.qti.qspmhal@1.0-service.rc
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#===============================================================================
service qspmhal /vendor/bin/vendor.qti.qspmhal@1.0-service
class hal
user system
group system
on post-fs-data
#Create QSPM-hal deamon related dirs
mkdir /data/vendor/gaming 0770 root system
+11
View File
@@ -0,0 +1,11 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.rmt_storage /vendor/bin/rmt_storage
class core
user root
shutdown critical
ioprio rt 0
+13
View File
@@ -0,0 +1,13 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Create pddump directory
on post-fs-data
mkdir /data/vendor/pddump 0770 oem_2903 oem_2903
service vendor.tftp_server /vendor/bin/tftp_server
class core
user root
+40
View File
@@ -0,0 +1,40 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# # Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# # Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# # Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.sensors.qti /vendor/bin/sensors.qti
class core
user system
group system
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
class late_start
user root
oneshot
+37
View File
@@ -0,0 +1,37 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# # Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# # Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# # Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.sensors /vendor/bin/sscrpcd sensorspd
class early_hal
user system
group system wakelock
capabilities BLOCK_SUSPEND
shutdown critical
+10
View File
@@ -0,0 +1,10 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdvndservice /vendor/bin/wfdvndservice
class main
user system
group inet
+69
View File
@@ -0,0 +1,69 @@
<!--
/******************************************************************************
@file AdaptLaunchFeature.xml
@brief Implementation of Android Framework Learning Module
DESCRIPTION
Each feature has an xml file to define the components
===========================================================================
Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>AdaptLaunch</Name>
<Libname>libadaptlaunch.so</Libname>
<Configs>
<Enable>1</Enable>
</Configs>
<Meters>
<SamplesRequired>4</SamplesRequired>
<Meter>
<Name>VmRss</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_WORKLOAD_TYPE</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
</Trigger>
</Triggers>
<Samples>160</Samples>
<Fields>
<Field>VmRss:</Field>
</Fields>
</Meter>
</Meters>
<SpuriousHintApps>
<App>com.android.permissioncontroller</App>
</SpuriousHintApps>
</Feature>
+36
View File
@@ -0,0 +1,36 @@
<!--
/******************************************************************************
@file AppClassifierFeature.xml
@brief Implementation of Android Framework Learning Module
DESCRIPTION
Each feature has an xml file to define the components
===========================================================================
Copyright (c) 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>AppClassifier</Name>
<Configs>
<Enable>1</Enable>
</Configs>
<Libname>libappclassifier.so</Libname>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_WORKLOAD_TYPE</AsyncId>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_WORKLOAD_HEAVY</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
</Triggers>
</Feature>
+167
View File
@@ -0,0 +1,167 @@
<!--
/******************************************************************************
@file GameOptimizationFeature.xml
@brief Game Optimization feature xml
DESCRIPTION
Each feature has an xml file to define the feature components
===========================================================================
Copyright (c) 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>GameOptimization</Name>
<Libname>libgameoptfeature.so</Libname>
<Configs target="bengal">
<Enable>1</Enable>
<MIN_DDR_FREQ>1144</MIN_DDR_FREQ>
<MAX_MIN_DDR_FREQ>2086</MAX_MIN_DDR_FREQ>
</Configs>
<Configs target="scuba">
<Enable>1</Enable>
<MIN_DDR_FREQ>1144</MIN_DDR_FREQ>
<MAX_MIN_DDR_FREQ>2086</MAX_MIN_DDR_FREQ>
</Configs>
<Configs target="khaje">
<Enable>1</Enable>
<ATML1>0</ATML1>
<ATML2>1</ATML2>
<ATML3>0</ATML3>
<IDLE_SENSE>0</IDLE_SENSE>
<GROUP_UPMIGRATE_PATH>/proc/sys/kernel/sched_group_upmigrate</GROUP_UPMIGRATE_PATH>
<GROUP_DOWNMIGRATE_PATH>/proc/sys/kernel/sched_group_downmigrate</GROUP_DOWNMIGRATE_PATH>
<BIG_CLUSTER_ID>4,5,6,7</BIG_CLUSTER_ID>
<BIG_SLB_OPCODE>0x40C68000,0x40C68010,0x40C68020,0x40C68030</BIG_SLB_OPCODE>
<LITTLE_SLB_OPCODE>0x40C68100,0x40C68110,0x40C68120,0x40C68130</LITTLE_SLB_OPCODE>
<!-- SLBval, TADemand, Jank-->
<SLB_MAP>14,200,40,6,150,30,4,125,25,2,100,15,0</SLB_MAP>
<STUTTER_SCALE>10</STUTTER_SCALE>
<ENABLE_DB_L2_L3>0</ENABLE_DB_L2_L3>
<!-- This will enbale SLB clamping if Janks are zero in consistent learning window-->
<ENABLE_SLB_CLAMPER>1</ENABLE_SLB_CLAMPER>
<L3_JANK_THRESHOLD>2,12</L3_JANK_THRESHOLD>
<!-- Janky vector threshold, Total no. of Janks Threshold-->
<L1_JANK_THRESHOLD>4,8</L1_JANK_THRESHOLD>
<!-- Default slb little, Default slb big-->
<ATM_L3_DEFAULTS>-6,-6</ATM_L3_DEFAULTS>
</Configs>
<Profiles>
<Profile>
<!-- Colocation v3 1 GHz, Sched Many Wake Up Threshold 4 -->
<DEFAULT>0x4144C100,1000000,0x40C9C000,4</DEFAULT>
<!-- Colocation v3 1 GHz, Predictive Load 1, Sched Many Wake Up Threshold 4 -->
<SKEW2>0x4144C100,1000000,0x41444000,1,0x40C9C000,4</SKEW2>
</Profile>
</Profiles>
<Meters>
<SamplesRequired>4</SamplesRequired>
<Meter>
<Name>Fps</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_WORKLOAD_TYPE</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_HEADROOM_REGULATOR</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Configs>
<FPS_NODE>/sys/class/drm/sde-crtc-0/measured_fps</FPS_NODE>
<FPS_PERIODICITY_NODE>/sys/class/drm/sde-crtc-0/fps_periodicity_ms</FPS_PERIODICITY_NODE>
</Configs>
<Samples>100</Samples>
</Meter>
<Meter>
<Name>SchedParams</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_WORKLOAD_TYPE</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Samples>100</Samples>
</Meter>
</Meters>
<IgnoredApps>
<App>com.google.android.gms</App>
<App>com.android.vending</App>
<App>com.google.android.projection.gearhead</App>
</IgnoredApps>
</Feature>
+27
View File
@@ -0,0 +1,27 @@
#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
#
# LOWI Config file - default
#
# GENERAL DESCRIPTION
# This file contains the config params for LOWI
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# 2012-2013 Qualcomm Atheros, Inc.
# All Rights Reserved.
# Qualcomm Atheros Confidential and Proprietary.
#
# Export of this technology or software is regulated by the U.S. Government.
# Diversion contrary to U.S. law prohibited.
#=============================================================================*/
# X86 ONLY - UBUNTU:
# Copy this file in the same directory where the executable is
# Log level
# EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100
LOWI_LOG_LEVEL = 3
LOWI_USE_LOWI_LP = 0
+9
View File
@@ -0,0 +1,9 @@
################################################################################################################################
# Copyright (c) 2019, 2022 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
################################################################################################################################
PRIO=1,1,1,1,0,0,0,0
#arch_timer, arm-pmu, arch_mem_timer, glink_lpass
IGNORED_IRQ=19,22,39,309
+299
View File
@@ -0,0 +1,299 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group. -->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - display_off" />
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Node="/dev/cpu_dma_latency" />
<Minor OpcodeValue="0x1" Node="/sys/module/lpm_levels/system/perf/perf-l2-pc/idle_enabled" />
<Minor OpcodeValue="0x2" Node="/sys/module/lpm_levels/parameters/bias_hyst" />
<Minor OpcodeValue="0x3" Node="/sys/module/lpm_levels/parameters/ref_stddev" />
<Minor OpcodeValue="0x4" Node="/sys/module/lpm_levels/parameters/tmr_add" />
<Minor OpcodeValue="0x5" Node="/sys/module/lpm_levels/parameters/lpm_ipi_prediction" Supported="no" />
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Node="/sys/module/msm_performance/parameters/cpu_min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" Node="/proc/sys/kernel/sched_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/kernel/sched_prefer_idle" Supported="no" />
<Minor OpcodeValue="0x2" Node="/proc/sys/kernel/sched_migration_cost_ns" />
<Minor OpcodeValue="0x3" Node="/proc/sys/kernel/sched_small_task" />
<Minor OpcodeValue="0x4" Node="/proc/sys/kernel/sched_mostly_idle_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/proc/sys/kernel/sched_mostly_idle_nr_run" Supported="no" />
<Minor OpcodeValue="0x6" Node="/proc/sys/kernel/sched_init_task_load" />
<Minor OpcodeValue="0x7" Node="/proc/sys/kernel/sched_upmigrate" />
<Minor OpcodeValue="0x8" Node="/proc/sys/kernel/sched_downmigrate" />
<Minor OpcodeValue="0x9" Node="/proc/sys/kernel/sched_mostly_idle_freq" Supported="no" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - sched_add_group" />
<Minor OpcodeValue="0xB" Node="/proc/sys/kernel/sched_spill_nr_run" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/sched_static_cpu_pwr_cost" />
<Minor OpcodeValue="0xD" Node="/proc/sys/kernel/sched_restrict_cluster_spill" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - sched_freq_add_group" />
<Minor OpcodeValue="0xF" Node="/dev/cpuset/top-app/cpus" />
<Minor OpcodeValue="0x10" Node="/dev/cpuset/foreground/cpus" />
<Minor OpcodeValue="0x11" Node="/dev/cpuset/system-background/cpus" />
<Minor OpcodeValue="0x12" Node="/dev/cpuset/background/cpus" />
<Minor OpcodeValue="0x13" Node="/proc/sys/kernel/sched_freq_aggregate" />
<Minor OpcodeValue="0x14" Node="/proc/sys/kernel/sched_enable_thread_grouping" />
<Minor OpcodeValue="0x15" Node="/proc/sys/kernel/sched_group_upmigrate" />
<Minor OpcodeValue="0x16" Node="/proc/sys/kernel/sched_group_downmigrate" />
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" Node="/proc/sys/kernel/sched_freq_aggregate_threshold" />
<Minor OpcodeValue="0x18" Node="/dev/stune/top-app/schedtune.prefer_idle" />
<Minor OpcodeValue="0x19" Node="/proc/sys/kernel/sched_initial_task_util" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/cpu0/sched_load_boost" />
<Minor OpcodeValue="0x1B" Node="/proc/sys/kernel/sched_little_cluster_coloc_fmin_khz" />
<Minor OpcodeValue="0x1C" Node="/dev/stune/top-app/schedtune.boost" />
<Minor OpcodeValue="0x1D" Node="/proc/sys/kernel/sched_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x1E" Node="/proc/sys/kernel/sched_min_task_util_for_colocation" />
<Minor OpcodeValue="0x1F" Node="/proc/sys/kernel/sched_min_task_util_for_boost" />
<Minor OpcodeValue="0x20" Node="/proc/%d/sched_boost" Supported="yes"/> <!-- sched_task_boost -->
<Minor OpcodeValue="0x21" Node="/proc/sys/kernel/sched_user_hint" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" Node="/proc/sys/kernel/sched_task_unfilter_nr_windows" /> <!--sched_task_unfilter_nr_windows -->
<Minor OpcodeValue="0x23" Node="/proc/sys/kernel/sched_coloc_downmigrate_ns" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" Node="/proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x25" Node="/proc/sys/kernel/sched_coloc_busy_hyst_ns" />
<Minor OpcodeValue="0x26" Node="/proc/sys/kernel/sched_window_stats_policy" />
<Minor OpcodeValue="0x27" Node="/proc/sys/kernel/sched_many_wakeup_threshold" />
<Minor OpcodeValue="0x28" Node="/proc/sys/kernel/sched_sync_hint_enable" />
<Minor OpcodeValue="0x29" Node="/proc/sys/kernel/sched_ravg_window_nr_ticks" />
<Minor OpcodeValue="0x2A" Node="/proc/sys/kernel/sched_prefer_spread" />
<Minor OpcodeValue="0x2B" Node="/dev/cpuctl/top-app/cpu.uclamp.min" />
<Minor OpcodeValue="0x2C" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" Node="/proc/sys/walt/sched_task_unfilter_period" />
<Minor OpcodeValue="0x2F" Node="/proc/sys/walt/sched_conservative_pl" />
<Minor OpcodeValue="0x30" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_busy_pct" />
<Minor OpcodeValue="0x31" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x32" Node="/proc/sys/kernel/walt_rtg_cfs_boost_prio" />
<Minor OpcodeValue="0x33" Node="/proc/sys/kernel/sched_force_lb_enable" Supported="yes" />
<Minor OpcodeValue="0x34" Node="/proc/%d/sched_low_latency" Supported="yes" />
<Minor OpcodeValue="0x35" Node="/proc/sys/kernel/sched_min_granularity_ns" />
<Minor OpcodeValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Minor OpcodeValue="0x37" Node="/dev/stune/foreground/schedtune.prefer_idle" />
<Minor OpcodeValue="0x38" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x39" Node="/dev/stune/top-app/schedtune.colocate" Supported="no" />
<Minor OpcodeValue="0x3A" Node="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3B" Node="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3D" Node="/proc/sys/kernel/%s" Supported="no"/>
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - lock_min_cores" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - lock_max_cores" />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boost" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x7" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time" Supported="no" />
<Minor OpcodeValue="0x8" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads" Supported="no" />
<Minor OpcodeValue="0x9" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate" Supported="no" />
<Minor OpcodeValue="0xA" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack" Supported="no" />
<Minor OpcodeValue="0xB" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis" Supported="no" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load" Supported="no" />
<Minor OpcodeValue="0xD" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif" Supported="no" />
<Minor OpcodeValue="0xE" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif" Supported="no" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/pl" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us" />
<Minor OpcodeValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/rtg_boost_freq" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpubw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x3" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpubw/polling_interval" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/use_ab" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/polling_interval" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/min_freq" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/max_freq" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - handle_vid_encplay_hint" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - handle_vid_decplay_hint" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - handle_disp_hint" />
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - disable_ksm" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - set_ksm_param" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_rate" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpufreq/ondemand/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/ondemand/sync_freq" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/ondemand/optimal_freq" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpufreq/ondemand/enable_stepup" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpufreq/ondemand/max_intermediate_steps" Supported="no" />
<Minor OpcodeValue="0x7" Node="/dev/cpuctl/cpu.notify_on_migrate" Supported="no" />
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" Node="/sys/class/kgsl/kgsl-3d0/default_pwrlevel" />
<Minor OpcodeValue="0x1" Node="/sys/class/kgsl/kgsl-3d0/min_pwrlevel" />
<Minor OpcodeValue="0x2" Node="/sys/class/kgsl/kgsl-3d0/max_pwrlevel" />
<Minor OpcodeValue="0x3" Node="/sys/class/kgsl/kgsl-3d0/devfreq/min_freq" />
<Minor OpcodeValue="0x4" Node="/sys/class/kgsl/kgsl-3d0/devfreq/max_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,gpubw/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,gpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - gpu_disable_gpu_nap" />
<Minor OpcodeValue="0x8" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0x9" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0xA" Node="/sys/class/kgsl/kgsl-3d0/devfreq/mod_percent" />
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - unsupported" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - irq_balancer" />
<Minor OpcodeValue="0x2" Node="/sys/module/cpu_boost/parameters/input_boost_freq" />
<Minor OpcodeValue="0x3" Node="/proc/sys/vm/swap_ratio" />
<Minor OpcodeValue="0x4" Node="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - dummy_or_keep_alive" />
<Minor OpcodeValue="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - disable_pasr" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,llccbw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/sample_ms" />
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x9" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/polling_interval" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/idle_mbps" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/min_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/max_freq" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/use_ab" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,l3-cpu%d/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/stall_floor" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/stall_floor" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/min_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/min_freq" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/18321000.qcom,devfreq-l3:qcom,cpu%d-cpu-l3-lat/max_freq" />
<Minor OpcodeValue="0x12" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq" />
<Minor OpcodeValue="0x13" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/max_freq" />
<Minor OpcodeValue="0x14" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/max_freq" />
<Minor OpcodeValue="0x15" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/max_freq" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:prime/min_freq" />
<Minor OpcodeValue="0x17" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/min_freq" />
<Minor OpcodeValue="0x18" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/min_freq" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - npu_llcbw_hwmon_hyst_opt" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - npu_ddr_llcbw_hwmon_hyst_opt" />
<!-- npu major end -->
</PerfResources>
</ResourceConfigs>
+487
View File
@@ -0,0 +1,487 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--Ids are used in identifying the boosts, increment ids linearly,
do not modify Ids, or add in between-->
<!--follow the number format rules while specifying number, can be given
in any format-->
<BoostConfigs>
<PerfBoost>
<!--app lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1401,
0x40800100, 1305" />
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000, 1500" />
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766,
0x40800100, 1516, 0x4280C000, 1025" />
<!--app lauch boost (disabling packing)-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- Type="2", launch boost for disable packing 1.5sec -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="bengal"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="scuba"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="khaje"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<!-- config_enableLaunchBoostv3-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="3", FA launch boost of 15sec -->
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="bengal"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="scuba"
Resources="0x40408000, 0x5, 0x40C74000, 0x0F" />
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="khaje"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<!-- config_enableLaunchBoostv4-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="4", AA games only launch boost -->
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="bengal"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="scuba"
Resources="0x40408000, 0x5, 0x40C74000, 0x0F" />
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="khaje"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<!-- config_enableLaunchBoost6-->
<!-- LPM_BIAS resource opcode, val ms-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- SLB_BIG, val, SLB_BIG, val, SLB_BIG, val, SLB_BIG, val-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- MIN_FREQ_BIG, val MHz -->
<!-- CPU_DOWN_FREQ_THRESHOLD_US, val us -->
<!-- Type="6", Game Launch boost -->
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="bengal"
Resources="0x40408000, 0x63, 0x40C74000, 0xF0,
0x40C68040, 60, 0x40C68050, 60,
0x40C68060, 60, 0x40C68070, 60,
0x40C58000, 65, 0x40C54000, 71,
0x40800000, 1056,
0x41448000, 20000"/>
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="scuba"
Resources="0x40408000, 0x63, 0x40C74000, 0x0F,
0x40800000, 1056, 0x41448000, 20000"/>
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40408000, 0x63, 0x40C74000, 0xF0,
0x40C68040, 60, 0x40C68050, 60,
0x40C68060, 60, 0x40C68070, 60,
0x40C58000, 65, 0x40C54000, 71,
0x40800000, 1344,
0x41448000, 20000"/>
<!--Animation boost -->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="bengal"
Resources="0x40804000, 2016, 0x40804100, 1804, 0x40800000, 2208, 0x40800100, 1708" />
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="scuba"
Resources="0x40804000, 2016, 0x40800000, 2208" />
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="khaje"
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x4280C000, 1025" />
<!--Vertical Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="scuba"
Resources="0x41800000, 0x8c, 0x40800000, 1056" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516, 0x40C00000, 2, 0x4280C000, 1025" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516, 0x40C00000, 2, 0x4280C000, 1025" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="120"
Resources="0x43010000, 0x26, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!--Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516, 0x40C00000, 2, 0x4280C000, 1025" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516, 0x40C00000, 2, 0x4280C000, 1025" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="120"
Resources="0x43010000, 0x26, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!--Pre-Fling boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="4", Pre-Fling boost -->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516, 0x40C00000, 2, 0x4280C000, 1025" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27,
0x42804000, 2" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="khaje" Fps="120"
Resources="0x43010000, 0x26, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!--MTP boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="", MTP boost -->
<Config
Id="0x00001086" Enable="true" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1401,
0x40800100, 1305, 0x42C10000, 0x1" />
<Config
Id="0x00001086" Enable="true" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000, 1401, 0x42C10000, 0x1, 0x40408000, 99, 0x40c74000, 15" />
<Config
Id="0x00001086" Enable="true" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766,
0x40800100, 1516, 0x42C10000, 0x1,0x40408000, 99, 0x40c74000, 0x3F,
0x40C48000, 0x3F" />
<!--PackageInstall boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="", Package Install boost -->
<Config
Id="0x00001088" Enable="true" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<Config
Id="0x00001088" Enable="true" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000,0xFFF" />
<Config
Id="0x00001088" Enable="true" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<!--Rotation latency boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="", Rotation latency boost -->
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000,0xFFF" />
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<!--Rotation animation boost-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<!-- Type="", Rotation animation boost -->
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="bengal"
Resources="0x40800100, 1000, 0x4280C000, 950" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="scuba"
Resources="0x40800000, 1000, 0x4280C000, 950" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="khaje"
Resources="0x40800100, 1000, 0x42804000, 0" />
<!--Drag boost-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- Type="1", Drag boost -->
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="bengal"
Resources="0x40800000, 1056, 0x40800100, 1017" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="scuba"
Resources="0x40800000, 1056" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="khaje"
Resources="0x40800000, 1344, 0x40800100, 1190" />
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
<!-- L3_MEMLAT_MIN_FREQ resource opcode, value -->
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="khaje" Fps="120"
Resources="0x40800000, 1334, 0x40800100, 1190, 0x40C00000, 2,
0x43010000, 0x11, 0x43400000, 0x1F40" />
<!--Display on Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="bengal"
Resources="0x40000000, 1" />
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="scuba"
Resources="0x40000000, 1" />
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="khaje"
Resources="0x40000000, 1" />
<!--Display off Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="bengal"
Resources="0x40000000, 0x0" />
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="scuba"
Resources="0x40000000, 0x0" />
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="khaje"
Resources="0x40000000, 0x0" />
<!--FPS Update Resource-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x00001094" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0" />
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x00001094" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119" />
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<!-- Type="120" -->
<Config
Id="0x00001094" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119,
0x40CA4000, 2, 0x40CD8000, 100" />
<!-- FPS Immediate Update from within Perfd-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x0000109B" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0" />
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x0000109B" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119" />
<!-- Type="120" -->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<Config
Id="0x0000109B" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119,
0x40CA4000, 2 , 0x40CD8000, 100" />
<!--Large Comp Hint -->
<!-- CPU min freq resource opcode, value -->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value -->
<!-- PID Affine opcode,value -->
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="18" Target="khaje" Fps="60"
Resources="0x41800000, 59, 0x40800000, 1344, 0x40800100, 1516, 0x4280C000, 785" />
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="12" Target="khaje" Fps="90"
Resources="0x41800000, 59, 0x40800000, 1344, 0x40800100, 1516, 0x4280C000, 785" />
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="9" Target="khaje" Fps="120"
Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
<!--Touch boost -->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<Config
Id="0x00001085" Type="1" Enable="true" Timeout="80" Target="khaje"
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766, 0x40800100, 1516, 0x4280C000, 1025" />
</PerfBoost>
</BoostConfigs>
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is PerfConfigsStore file which returns the value when a
particular property name is invoked -->
<!-- This file supports only Prop tag, which has the following fields
* Name, to identify the name of the property. The names of the
properties have been classified into Vendor and System property.
* Value, the new value to be returned as string when respective
property Name is called. -->
<PerfConfigsStore>
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="0" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
<Prop Name="ro.vendor.perf.enable.prekill" Value="false" />
<!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" />
<Prop Name="ro.vendor.iocgrp.config" Value="0" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
<Prop Name="ro.lmk.enhance_batch_kill" Value="false" />
<Prop Name="ro.lmk.enable_watermark_check" Value="true" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="ro.lmk.use_new_strategy_dup" Value="true"/>
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="vendor.appcompact.enable_app_compact" Value="true" />
<Prop Name="vendor.appcompact.full_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="4" />
<Prop Name="vendor.perf.bgt.enable" Value="true" />
<!--Mention all the target/kernel specific properties at the end of xml file
All the default valuea are kept above-->
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Variant="bengal_32" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Variant="bengal_32" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Variant="bengal_32" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Variant="bengal_32" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Variant="bengal_32" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Variant="bengal_32"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Variant="bengal_32go" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Variant="bengal_32go" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Variant="bengal_32go" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Variant="bengal_32go" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Variant="bengal_32go" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Variant="bengal_32go"/>
<!--Mention all the khaje specific properties here -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Target="khaje" Ram="3" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="4" />
</PerfConfigs>
</PerfConfigsStore>
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<TargetConfig>
<!-- All the target related information goes in TargetInfo tag.
Following are the supported fields for TargetInfo tag.
Mandatory Fields
* NumClusters, number of clusters
* TotalNumCores, total number of cores
* SocIds, a comma seperated list of supported socids for this target.
Other Fields
* Target, target name.
* SynCore, default value is "1" implies sync core and change to "0" for async core.
* CoreCtlCpu, core_ctl is enabled on which physical core, defalut value is "-1".
* MinCoreOnline, minimum number of cores needed to be online, default value is "0"
* GovInstanceType, default value "0" which implies "CLUSTER_BASED_GOV_INSTANCE",
can be changed to "1" for "SINGLE_GOV_INSTANCE".
* CpufreqGov, default value is "0" which implies "INTERACTIVE", can be changed it
to "1" for "SCHEDUTIL".
-->
<!-- For each cluster,write a seperate ClustersInfo tag.
Following are the supported fields for ClustersInfo tag.
Mandatory Fields
* Id, cluster number starts with index 0.
* NumCores, total number of cores for that cluster.
Other Fields
* Type, whther a "little" or "big" cluster.
(Type is mandatory, If there is more than one cluster.)
* MaxFrequency, Any limitations for max frequency for that cluster.
-->
<!-- For targets sharing the same platfrom, we can have seperate config tag for each
of those targets with different number in the Config tag and basing on the socId
of the target device, we decide which configs to consider. -->
<Config1>
<TargetInfo
Target="bengal"
NumClusters="2"
TotalNumCores="8"
SocIds="417,420,444,445"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config1>
<Config2>
<TargetInfo
Target="scuba"
NumClusters="1"
TotalNumCores="4"
SocIds="441"
SynCore="1"
MinCoreOnline="1"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="big" />
</Config2>
<Config3>
<TargetInfo
Target="khaje"
NumClusters="2"
TotalNumCores="8"
SocIds="518"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config3>
</TargetConfig>
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail. -->
<ResourceConfigs>
<PerfResources>
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/kernel/sched_busy_hyst_ns" />
<Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0xA" Supported="no" /> <!-- sched_add_group -->
<Config MajorValue="0x3" MinorValue="0xB" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Supported="no" /> <!-- sched_set_freq_aggr -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x6" MinorValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq" />
<Config MajorValue="0x6" MinorValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/decay_rate" />
<Config MajorValue="0x6" MinorValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/io_percent" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/max_freq" />
<Config MajorValue="0x6" MinorValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/polling_interval" />
<Config MajorValue="0x6" MinorValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/sample_ms" />
<Config MajorValue="0x6" MinorValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/idle_mbps" />
<Config MajorValue="0x6" MinorValue="0xA" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xB" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xC" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xD" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xE" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xF" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x10" Supported="no"/>
<!-- llcbw L3 and DDR major end -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x4" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x7" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x9" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xC" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xD" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xE" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x4" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x7" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x9" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/min_freq" />
<Config MajorValue="0xD" MinorValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-ddr-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-ddr-lat/mem_latency/stall_floor" />
</PerfResources>
</ResourceConfigs>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!---
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="vendor.qti.hardware.sensorscalibrate-V1.0"
file="/system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar"/>
</permissions>
+446
View File
@@ -0,0 +1,446 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
/* Copyright (c) 2016-2021,The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<HintConfigs>
<Powerhint>
<!-- camera 30fps and camera preview -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 50 -->
<!--CPUBW HWMON - Set io_percent 100 -->
<!--CPUBW HWMON - Set up_scale 0 -->
<!--L CPU - Cluster min freq ~800mhz -->
<!-- SCHED_PREFER_SPREAD 2 -->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -20, 0x40C68110, -20, 0x40C68120, -20,
0x40C68130, -20, 0x40C68000, -20, 0x40C68010, -20, 0x40C68020, -20, 0x40C68030, -20,
0x4143C100, 1017, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x32, 0x41808000, 0x64, 0x43014000, 0x0, 0x40800100, 0x386"/>
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="scuba"
Resources="0x40C68000, -20, 0x40C68010, -20, 0x40C68020, -20,
0x40C68030, -20, 0x4143C000, 1017, 0x41440000, 0x5F, 0x41820000, 0x32, 0x41808000, 0x64, 0x43014000, 0x0"/>
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -20, 0x40C68110, -20, 0x40C68120, -20,
0x40C68130, -20, 0x40C68000, -20, 0x40C68010, -20, 0x40C68020, -20, 0x40C68030, -20,
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x32, 0x41808000, 0x64, 0x43014000, 0x0, 0x40800100, 0x3AC, 0x40CA8000, 2"/>
<!-- camera 60 FPS -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 20 -->
<!--L CPU - Cluster min freq ~1Ghz -->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -25, 0x40C68110, -25, 0x40C68120, -25,
0x40C68130, -25, 0x40C68000, -25, 0x40C68010, -25, 0x40C68020, -25, 0x40C68030, -25,
0x4143C100, 1017, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x40800100, 0x420"/>
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="scuba"
Resources="0x40C68000, -25, 0x40C68010, -25, 0x40C68020, -25,
0x40C68030, -25, 0x4143C000, 1017, 0x41440000, 0x5F, 0x41820000, 0x14"/>
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -25, 0x40C68110, -25, 0x40C68120, -25,
0x40C68130, -25, 0x40C68000, -25, 0x40C68010, -25, 0x40C68020, -25, 0x40C68030, -25,
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x40800100, 0x4A6, 0x40CA8000, 2"/>
<!-- camera HFR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 20 -->
<!--L CPU - Cluster min freq ~1Ghz -->
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, 10, 0x40C68020, -10, 0x40C68030, -10,
0x4143C100, 1017, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x40800100, 0x420"/>
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="scuba"
Resources="0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10,
0x40C68030, -10, 0x4143C000, 1017, 0x41440000, 0x5F, 0x41820000, 0x14"/>
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, 10, 0x40C68020, -10, 0x40C68030, -10,
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x40800100, 0x4A6"/>
<!-- HFR 480fps -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 20 -->
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
0x4143C100, 1017, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14"/>
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="scuba"
Resources="0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10,
0x40C68030, -10, 0x4143C000, 1017, 0x41440000, 0x5F, 0x41820000, 0x14"/>
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14"/>
<!-- camera 30fps encode Single rank DDR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 50 -->
<!--CPUBW HWMON - Set io_percent 100 -->
<!--CPUBW HWMON - Set up_scale 0 -->
<!--CPUBW MINFREQ - Max value -->
<!-- B CPU - Cluster min freq ~.1.536 Ghz -->
<!-- L CPU - Cluster min freq ~.1.420 Ghz -->
<Config
Id="0x00001335" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -20, 0x40C68110, -20, 0x40C68120, -20,
0x40C68130, -20, 0x40C68000, -20, 0x40C68010, -20, 0x40C68020, -20, 0x40C68030, -20,
0x4143C100, 0x3F9, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x32, 0x41808000, 0x64, 0x43014000, 0x0,
0x41800000, 0xFF, 0x40800000, 0x600, 0x40800100, 0x58C, 0x40CA8000, 0x2"/>
<Config
Id="0x00001335" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -20, 0x40C68110, -20, 0x40C68120, -20,
0x40C68130, -20, 0x40C68000, -20, 0x40C68010, -20, 0x40C68020, -20, 0x40C68030, -20,
0x4143C100, 0x3F9, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x32, 0x41808000, 0x64, 0x43014000, 0x0,
0x41800000, 0xFF, 0x40800000, 0x600, 0x40800100, 0x686, 0x40CA8000, 0x793"/>
<!-- camera 60 FPS Single rank DDR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU CORE 4 SCHED LOAD BOOST -->
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 20 -->
<!--CPUBW MINFREQ - Max value -->
<Config
Id="0x00001336" Enable="true" Timeout="0" Target="bengal"
Resources="0x40C68100, -25, 0x40C68110, -25, 0x40C68120, -25,
0x40C68130, -25, 0x40C68000, -25, 0x40C68010, -25, 0x40C68020, -25, 0x40C68030, -25,
0x4143C100, 0x3F9, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x41800000, 0xFF, 0x40CA8000, 0x2"/>
<Config
Id="0x00001336" Enable="true" Timeout="0" Target="khaje"
Resources="0x40C68100, -25, 0x40C68110, -25, 0x40C68120, -25,
0x40C68130, -25, 0x40C68000, -25, 0x40C68010, -25, 0x40C68020, -25, 0x40C68030, -25,
0x4143C100, 0x3F9, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x41820000, 0x14, 0x41800000, 0xFF, 0x40CA8000, 0x2"/>
<!-- camera 60 FPS - Borneo/GuamNA -->
<!--MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1-->
<!--L CPU Hispeed freq of 1017Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 10 -->
<!--L CPU - Cluster min freq ~1Ghz -->
<Config
Id="0x00001337" Enable="true" Timeout="0" Target="bengal"
Resources="0x40400000, 0x1, 0x4143C100, 1017, 0x41440100, 0x5F, 0x41440000, 0x5F,
0x41820000, 0xA, 0x40800100, 0x420"/>
<!-- same settings for all the qvr power levels intentionally -->
<!-- qvr level cpu1 gpu1 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130A" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130A" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu2 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130B" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130B" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu3 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130C" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130C" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu1 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130D" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130D" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu2 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130E" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130E" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu3 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130F" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x0000130F" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu1 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001310" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x00001310" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu2 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~.2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001311" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x00001311" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu3 -->
<!-- B CPU - Cluster min freq ~.806 Ghz -->
<!-- B CPU - Cluster max freq ~2.169 Ghz -->
<!-- L CPU - Cluster min freq ~.576 Ghz -->
<!-- L CPU - Cluster max freq ~1.248 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001312" Enable="true" Target="bengal" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<Config
Id="0x00001312" Enable="true" Target="khaje" Timeout="0"
Resources="0x40800000, 0x326, 0x40804000, 0x879, 0x40800100, 0x240, 0x40804100, 0x4E0,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- sustained performance -->
<!-- B CPU - Cluster min freq uncapped -->
<!-- L CPU - Cluster min freq uncapped -->
<!-- B CPU - Cluster max freq ~1.22 GHz -->
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
<!-- GPU - min freq 275Mhz -->
<!-- GPU - max freq 400Mhz -->
<!-- GPUBW freq uncapped -->
<Config
Id="0x00001206" Enable="true" Timeout="0" Target="bengal"
Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
0X4280C000, 0x113, 0X42810000, 0x190, 0x42814000, 0x0"/>
<Config
Id="0x00001206" Enable="true" Timeout="0" Target="khaje"
Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
0X4280C000, 0x113, 0X42810000, 0x190, 0x42814000, 0x0"/>
<!-- vr mode -->
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
<!-- L CPU - Cluster min freq ~0.940 Ghz -->
<!-- B CPU - Cluster max freq ~1.90 Ghz -->
<!-- L CPU - Cluster max freq ~1.70 Ghz -->
<!-- GPU - min freq 275Mhz -->
<!-- GPU - max freq 625Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001207" Enable="true" Timeout="0" Target="bengal"
Resources="0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x6C0,
0X4280C000, 0x113, 0X4280C000, 0x271, 0x42814000, 0x0"/>
<Config
Id="0x00001207" Enable="true" Timeout="0" Target="khaje"
Resources="0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x6C0,
0X4280C000, 0x113, 0X4280C000, 0x271, 0x42814000, 0x0"/>
<!-- vr mode sustained performance -->
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
<!-- L CPU - Cluster min freq ~1.22 Ghz -->
<!-- B CPU - Cluster max freq ~1.22 Ghz -->
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
<!-- GPU - min freq 400Mhz -->
<!-- GPU - max freq 400Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001301" Enable="true" Timeout="0" Target="bengal"
Resources="0x40800000, 0x4CC, 0x40800100, 0x4CC, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
0X4280C000, 0x190, 0X42810000, 0x190, 0x42814000, 0x0"/>
<Config
Id="0x00001301" Enable="true" Timeout="0" Target="khaje"
Resources="0x40800000, 0x4CC, 0x40800100, 0x4CC, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
0X4280C000, 0x190, 0X42810000, 0x190, 0x42814000, 0x0"/>
</Powerhint>
</HintConfigs>
+161
View File
@@ -0,0 +1,161 @@
################################
# Sensor Settings
################################
#The following parameters are optional.
#Internal defaults support MEMS sensors
#native to most handset devices.
#Device specific sensor characterization
#for improved performance is possible as
#described in SAP application notes.
#GYRO_BIAS_RANDOM_WALK=
#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
# used in loc_eng_reinit
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT)
# used in loc_eng_reinit
SENSOR_CONTROL_MODE=2
# Bit mask used to define which sensor algorithms are used.
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
SENSOR_ALGORITHM_CONFIG_MASK=0x0
#Vehicle Network Provider configuration
#Service configuration strings
#The number before colon in VN_X items defines version of the format of the rest of the string
#VN_ACCEL_CFG=0:5
#VN_GYRO_CFG=0:5.5
#VN_ODOMETRY_CFG=0:2,4.5
################################################
# QDR3 configurations #
################################################
VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-Gyro configurations #
################################################
#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002
#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8
#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-DWT configurations #
################################################
#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1
#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8
#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0
#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0
#####################################################################################
# VNW service batching configuration strings #
# VNW provider will initialize default type as Time based batching #
# Each service batch value is configured to be 100 #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE #
# is set to time based batching #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE #
# is set to count based batching #
# Uncomment and update batch time /sample count as per selected batching type #
#####################################################################################
# Batching type
# 1 - Time based (default)
# 2 - Count based
#VN_CFG_BATCH_TYPE=1
#Vehicle Accel batching value, it can either accept time in milli seconds or sample count
#VN_ACCEL_CFG_BATCH_VALUE=100
#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
#VN_GYRO_CFG_BATCH_VALUE=100
#Vehicle Odo batching value, it can either accept time in milli seconds or sample count
#VN_ODOMETRY_CFG_BATCH_VALUE=100
#Vehicle Speed batching value, it can either accept time in milli seconds or sample count
#VN_SPEED_CFG_BATCH_VALUE=100
#Vehicle Gear batching value, it can either accept time in milli seconds or sample count
#VN_GEAR_CFG_BATCH_VALUE=100
#Vehicle DWS batching value, it can either accept time in milli seconds or sample count
#VN_DWS_CFG_BATCH_VALUE=100
####################################################################################
#Procesors clock ratio: AP and CAN bus microcontroller
################################################
# QDR3 configurations #
################################################
VN_PROC_CLOCK_RATIO=1.0
################################################
# QDR2-DWT OR QDR2-Gyro configurations #
################################################
#VN_PROC_CLOCK_RATIO = 1.0
# Time source used by Sensor HAL
# Setting this value controls accuracy of location sensor services.
# 0 - Unknown
# 1 - CLOCK_BOOTTIME
# 2 - CLOCK_MONOTONIC
# 3 - CLOCK_REALTIME
# 4 - CLOCK_BOOTTIME using Alarm timer interface
NDK_PROVIDER_TIME_SOURCE=1
# Sensor Batching Configuration
# 0 - Time based
# 1 - Fixed count based
# 2 - Variable count based
COUNT_BASED_BATCHING=1
SYNC_ONCE=0
#Sensor HAL Provider Configuration HAL Library name including path
################################################
# #
# Configuration for BMI 160 Sensor #
# #
################################################
SENSOR_TYPE=2
SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
################################################
# #
# Configuration for ASM330 Sensor #
# #
################################################
#SENSOR_TYPE=1
#SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
################################################
# #
# Configuration for IAM20680 Sensor #
# #
################################################
#SENSOR_TYPE=3
#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1
################################################
# #
# Configuration for SMI130 Sensor #
# #
################################################
#SENSOR_TYPE=4
#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1
+67
View File
@@ -0,0 +1,67 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
getuid: 1
writev: 1
prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
openat: 1
futex: 1
close: 1
read: 1
newfstatat: 1
fstat: 1
#ioctl: arg1 == BINDER_WRITE_READ || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_VERSION
ioctl: 1
mremap: 1
readlinkat: 1
pread64: 1
fstatfs: 1
rt_sigprocmask: 1
faccessat: 1
sendto: 1
rt_sigaction: 1
socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
recvfrom: 1
getsockname: 1
getdents64: 1
fcntl: 1
nanosleep: 1
getrandom: 1
clone: 1
pipe2: 1
exit_group: 1
write: 1
exit: 1
getpid: 1
sigaltstack: 1
getrlimit: 1
restart_syscall: 1
setsockopt: 1
sched_getscheduler: 1
rt_sigreturn: 1
execve: 1
madvise: 1
set_tid_address: 1
connect: 1
ppoll: 1
clock_gettime: 1
+95
View File
@@ -0,0 +1,95 @@
#Copyright (c) 2020 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc
#Not a contribution.
#Copyright (C) 2018 The Android Open Source Project
#"Licensed under the Apache License, Version 2.0 (the \"License\");"
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#Unless required by applicable law or agreed to in writing, software
#"distributed under the License is distributed on an \"AS IS\" BASIS,"
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_SET_VMA || arg0 == PR_SET_NO_NEW_PRIVS || arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_SECCOMP || arg0 == 0x37 /* PR_??? */
prctl: 1
read: 1
openat: 1
close: 1
shutdown: 1
kill: 1
futex: 1
fstat: 1
gettimeofday: 1
readlinkat: 1
newfstatat: 1
mremap: 1
pread64: 1
fstatfs: 1
rt_sigaction: 1
faccessat: 1
socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
writev: 1
connect: 1
rt_sigprocmask: 1
fcntl: 1
sendto: 1
getrandom: 1
lseek: 1
exit_group: 1
rt_tgsigqueueinfo: 1
write: 1
exit: 1
getpid: 1
sigaltstack: 1
recvmsg: 1
dup: 1
getrlimit: 1
restart_syscall: 1
clone: 1
gettid: 1
sched_getscheduler: 1
ioctl: 1
execve: 1
getuid: 1
madvise: 1
set_tid_address: 1
nanosleep: 1
rt_sigreturn: 1
rt_sigsuspend: 1
setpriority: 1
geteuid: 1
getgid: 1
getegid: 1
getgroups: 1
pipe2: 1
setitimer: 1
pselect6: 1
getsockname: 1
recvfrom: 1
ppoll: 1
socketpair: 1
setsockopt: 1
getsockopt: 1
sendmsg: 1
bind: 1
timer_create: 1
timer_settime: 1
timer_delete: 1
clock_gettime: 1
sched_getaffinity: 1
#crash dump policy addition
socket: 1
process_vm_readv: 1
tgkill: 1
sigreturn: 1
+19
View File
@@ -0,0 +1,19 @@
# device specific syscalls
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
ARM_cacheflush: 1
inotify_init1: 1
inotify_add_watch: 1
inotify_rm_watch: 1
uname: 1
ueventd: 1
timer_create: 1
timer_settime: 1
rt_sigtimedwait: 1
+78
View File
@@ -0,0 +1,78 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ioctl: 1
futex: 1
openat: 1
getuid: 1
writev: 1
newfstatat: 1
fstat: 1
rt_sigaction: 1
prctl: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
close: 1
rt_sigreturn: 1
restart_syscall: 1
exit: 1
exit_group: 1
mprotect: 1
faccessat: 1
getrlimit: 1
read: 1
lseek: 1
getdents64: 1
write: 1
readlinkat: 1
fstatfs: 1
pread64: 1
munmap: 1
mremap: 1
dup: 1
renameat: 1
unlinkat: 1
madvise: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
fstat: 1
clock_gettime: 1
socket: arg0 == AF_UNIX
rt_sigprocmask: 1
connect: 1
getrandom: 1
fcntl: 1
execve: 1
getpid: 1
set_tid_address: 1
sched_getscheduler: 1
sigaltstack: 1
sched_getaffinity: 1
pipe2: 1
# crash dump policy additions
sigreturn: 1
gettid: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_tgsigqueueinfo: 1
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
@@ -0,0 +1,80 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == 0x37 /* PR_??? */ || arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_SECCOMP || arg0 == PR_CAP_AMBIENT || arg0 == PR_GET_NO_NEW_PRIVS || arg0 == PR_SET_DUMPABLE || arg0 == PR_GET_NAME || arg0 == PR_SET_PTRACER
prctl: 1
openat: 1
read: 1
futex: 1
close: 1
fstat: 1
readlinkat: 1
newfstatat: 1
mremap: 1
fstatfs: 1
pread64: 1
rt_sigprocmask: 1
rt_sigaction: 1
faccessat: 1
#ioctl: arg1 == _IOC(_IOC_NONE
ioctl: 1
clock_gettime: 1
getrandom: 1
nanosleep: 1
fcntl: 1
getuid: 1
sigaltstack: 1
socket: arg0 == AF_QIPCRTR || arg0 == AF_UNIX
writev: 1
execve: 1
getpid: 1
set_tid_address: 1
sched_getscheduler: 1
sigaltstack: 1
sched_getaffinity: 1
connect: 1
pipe2: 1
clone: 1
ppoll: 1
restart_syscall: 1
exit: 1
exit_group: 1
rt_sigreturn: 1
rt_tgsigqueueinfo: 1
getppid: 1
dup: 1
capget: 1
capset: 1
setsid: 1
setitimer: 1
ptrace: 1
recvmsg: 1
exit: 1
restart_syscall: 1
gettid: 1
write: 1
dup3: 1
getdents64: 1
getsockname: 1
recvfrom: 1
madvise: 1
@@ -0,0 +1,64 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE || arg0 == 0x37
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
futex: 1
read: 1
openat: 1
close: 1
fstat: 1
readlinkat: 1
newfstatat: 1
mremap: 1
clock_gettime: 1
pread64: 1
fstatfs: 1
rt_sigaction: 1
faccessat: 1
rt_sigprocmask: 1
#ioctl: arg1 == TCGETS || arg1 == BINDER_WRITE_READ || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_VERSION
ioctl: 1
getrandom: 1
fcntl: 1
getuid: 1
lseek: 1
exit_group: 1
sched_getaffinity: 1
writev: 1
exit: 1
getpid: 1
sigaltstack: 1
getrlimit: 1
restart_syscall: 1
clone: 1
sched_getscheduler: 1
execve: 1
socket: arg0 == AF_UNIX
set_tid_address: 1
rt_sigreturn: 1
connect: 1
gettid: 1
setpriority: 1
prctl: 1
write: 1
madvise: 1
+2
View File
@@ -0,0 +1,2 @@
sensors.moto.so
sensors.ssc.so
+885
View File
@@ -0,0 +1,885 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Author: kenton@google.com (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
//
// The messages in this file describe the definitions found in .proto files.
// A valid .proto file can be translated directly to a FileDescriptorProto
// without any other information (e.g. without reading its imports).
syntax = "proto2";
package google.protobuf;
option go_package = "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor";
option java_package = "com.google.protobuf";
option java_outer_classname = "DescriptorProtos";
option csharp_namespace = "Google.Protobuf.Reflection";
option objc_class_prefix = "GPB";
option cc_enable_arenas = true;
// descriptor.proto must be optimized for speed because reflection-based
// algorithms don't work during bootstrapping.
option optimize_for = SPEED;
// The protocol compiler can output a FileDescriptorSet containing the .proto
// files it parses.
message FileDescriptorSet {
repeated FileDescriptorProto file = 1;
}
// Describes a complete .proto file.
message FileDescriptorProto {
optional string name = 1; // file name, relative to root of source tree
optional string package = 2; // e.g. "foo", "foo.bar", etc.
// Names of files imported by this file.
repeated string dependency = 3;
// Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
// Indexes of the weak imported files in the dependency list.
// For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
// All top-level definitions in this file.
repeated DescriptorProto message_type = 4;
repeated EnumDescriptorProto enum_type = 5;
repeated ServiceDescriptorProto service = 6;
repeated FieldDescriptorProto extension = 7;
optional FileOptions options = 8;
// This field contains optional information about the original source code.
// You may safely remove this entire field without harming runtime
// functionality of the descriptors -- the information is needed only by
// development tools.
optional SourceCodeInfo source_code_info = 9;
// The syntax of the proto file.
// The supported values are "proto2" and "proto3".
optional string syntax = 12;
}
// Describes a message type.
message DescriptorProto {
optional string name = 1;
repeated FieldDescriptorProto field = 2;
repeated FieldDescriptorProto extension = 6;
repeated DescriptorProto nested_type = 3;
repeated EnumDescriptorProto enum_type = 4;
message ExtensionRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Exclusive.
optional ExtensionRangeOptions options = 3;
}
repeated ExtensionRange extension_range = 5;
repeated OneofDescriptorProto oneof_decl = 8;
optional MessageOptions options = 7;
// Range of reserved tag numbers. Reserved tag numbers may not be used by
// fields or extension ranges in the same message. Reserved ranges may
// not overlap.
message ReservedRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Exclusive.
}
repeated ReservedRange reserved_range = 9;
// Reserved field names, which may not be used by fields in the same message.
// A given name may only be reserved once.
repeated string reserved_name = 10;
}
message ExtensionRangeOptions {
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
// Describes a field within a message.
message FieldDescriptorProto {
enum Type {
// 0 is reserved for errors.
// Order is weird for historical reasons.
TYPE_DOUBLE = 1;
TYPE_FLOAT = 2;
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
// negative values are likely.
TYPE_INT64 = 3;
TYPE_UINT64 = 4;
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
// negative values are likely.
TYPE_INT32 = 5;
TYPE_FIXED64 = 6;
TYPE_FIXED32 = 7;
TYPE_BOOL = 8;
TYPE_STRING = 9;
// Tag-delimited aggregate.
// Group type is deprecated and not supported in proto3. However, Proto3
// implementations should still be able to parse the group wire format and
// treat group fields as unknown fields.
TYPE_GROUP = 10;
TYPE_MESSAGE = 11; // Length-delimited aggregate.
// New in version 2.
TYPE_BYTES = 12;
TYPE_UINT32 = 13;
TYPE_ENUM = 14;
TYPE_SFIXED32 = 15;
TYPE_SFIXED64 = 16;
TYPE_SINT32 = 17; // Uses ZigZag encoding.
TYPE_SINT64 = 18; // Uses ZigZag encoding.
}
enum Label {
// 0 is reserved for errors
LABEL_OPTIONAL = 1;
LABEL_REQUIRED = 2;
LABEL_REPEATED = 3;
}
optional string name = 1;
optional int32 number = 3;
optional Label label = 4;
// If type_name is set, this need not be set. If both this and type_name
// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
optional Type type = 5;
// For message and enum types, this is the name of the type. If the name
// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
// rules are used to find the type (i.e. first the nested types within this
// message are searched, then within the parent, on up to the root
// namespace).
optional string type_name = 6;
// For extensions, this is the name of the type being extended. It is
// resolved in the same manner as type_name.
optional string extendee = 2;
// For numeric types, contains the original text representation of the value.
// For booleans, "true" or "false".
// For strings, contains the default text contents (not escaped in any way).
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
// TODO(kenton): Base-64 encode?
optional string default_value = 7;
// If set, gives the index of a oneof in the containing type's oneof_decl
// list. This field is a member of that oneof.
optional int32 oneof_index = 9;
// JSON name of this field. The value is set by protocol compiler. If the
// user has set a "json_name" option on this field, that option's value
// will be used. Otherwise, it's deduced from the field's name by converting
// it to camelCase.
optional string json_name = 10;
optional FieldOptions options = 8;
}
// Describes a oneof.
message OneofDescriptorProto {
optional string name = 1;
optional OneofOptions options = 2;
}
// Describes an enum type.
message EnumDescriptorProto {
optional string name = 1;
repeated EnumValueDescriptorProto value = 2;
optional EnumOptions options = 3;
// Range of reserved numeric values. Reserved values may not be used by
// entries in the same enum. Reserved ranges may not overlap.
//
// Note that this is distinct from DescriptorProto.ReservedRange in that it
// is inclusive such that it can appropriately represent the entire int32
// domain.
message EnumReservedRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Inclusive.
}
// Range of reserved numeric values. Reserved numeric values may not be used
// by enum values in the same enum declaration. Reserved ranges may not
// overlap.
repeated EnumReservedRange reserved_range = 4;
// Reserved enum value names, which may not be reused. A given name may only
// be reserved once.
repeated string reserved_name = 5;
}
// Describes a value within an enum.
message EnumValueDescriptorProto {
optional string name = 1;
optional int32 number = 2;
optional EnumValueOptions options = 3;
}
// Describes a service.
message ServiceDescriptorProto {
optional string name = 1;
repeated MethodDescriptorProto method = 2;
optional ServiceOptions options = 3;
}
// Describes a method of a service.
message MethodDescriptorProto {
optional string name = 1;
// Input and output type names. These are resolved in the same way as
// FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
optional string output_type = 3;
optional MethodOptions options = 4;
// Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];
// Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];
}
// ===================================================================
// Options
// Each of the definitions above may have "options" attached. These are
// just annotations which may cause code to be generated slightly differently
// or may contain hints for code that manipulates protocol messages.
//
// Clients may define custom options as extensions of the *Options messages.
// These extensions may not yet be known at parsing time, so the parser cannot
// store the values in them. Instead it stores them in a field in the *Options
// message called uninterpreted_option. This field must have the same name
// across all *Options messages. We then use this field to populate the
// extensions when we build a descriptor, at which point all protos have been
// parsed and so all extensions are known.
//
// Extension numbers for custom options may be chosen as follows:
// * For options which will only be used within a single application or
// organization, or for experimental options, use field numbers 50000
// through 99999. It is up to you to ensure that you do not use the
// same number for multiple options.
// * For options which will be published and used publicly by multiple
// independent entities, e-mail protobuf-global-extension-registry@google.com
// to reserve extension numbers. Simply provide your project name (e.g.
// Objective-C plugin) and your project website (if available) -- there's no
// need to explain how you intend to use them. Usually you only need one
// extension number. You can declare multiple options with only one extension
// number by putting them in a sub-message. See the Custom Options section of
// the docs for examples:
// https://developers.google.com/protocol-buffers/docs/proto#options
// If this turns out to be popular, a web service will be set up
// to automatically assign option numbers.
message FileOptions {
// Sets the Java package where classes generated from this .proto will be
// placed. By default, the proto package is used, but this is often
// inappropriate because proto packages do not normally start with backwards
// domain names.
optional string java_package = 1;
// If set, all the classes from the .proto file are wrapped in a single
// outer class with the given name. This applies to both Proto1
// (equivalent to the old "--one_java_file" option) and Proto2 (where
// a .proto always translates to a single class, but you may want to
// explicitly choose the class name).
optional string java_outer_classname = 8;
// If set true, then the Java code generator will generate a separate .java
// file for each top-level message, enum, and service defined in the .proto
// file. Thus, these types will *not* be nested inside the outer class
// named by java_outer_classname. However, the outer class will still be
// generated to contain the file's getDescriptor() method as well as any
// top-level extensions defined in the file.
optional bool java_multiple_files = 10 [default = false];
// This option does nothing.
optional bool java_generate_equals_and_hash = 20 [deprecated=true];
// If set true, then the Java2 code generator will generate code that
// throws an exception whenever an attempt is made to assign a non-UTF-8
// byte sequence to a string field.
// Message reflection will do the same.
// However, an extension field still accepts non-UTF-8 byte sequences.
// This option has no effect on when used with the lite runtime.
optional bool java_string_check_utf8 = 27 [default = false];
// Generated classes can be optimized for speed or code size.
enum OptimizeMode {
SPEED = 1; // Generate complete code for parsing, serialization,
// etc.
CODE_SIZE = 2; // Use ReflectionOps to implement these methods.
LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime.
}
optional OptimizeMode optimize_for = 9 [default = SPEED];
// Sets the Go package where structs generated from this .proto will be
// placed. If omitted, the Go package will be derived from the following:
// - The basename of the package import path, if provided.
// - Otherwise, the package statement in the .proto file, if present.
// - Otherwise, the basename of the .proto file, without extension.
optional string go_package = 11;
// Should generic services be generated in each language? "Generic" services
// are not specific to any particular RPC system. They are generated by the
// main code generators in each language (without additional plugins).
// Generic services were the only kind of service generation supported by
// early versions of google.protobuf.
//
// Generic services are now considered deprecated in favor of using plugins
// that generate code specific to your particular RPC system. Therefore,
// these default to false. Old code which depends on generic services should
// explicitly set them to true.
optional bool cc_generic_services = 16 [default = false];
optional bool java_generic_services = 17 [default = false];
optional bool py_generic_services = 18 [default = false];
optional bool php_generic_services = 42 [default = false];
// Is this file deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for everything in the file, or it will be completely ignored; in the very
// least, this is a formalization for deprecating files.
optional bool deprecated = 23 [default = false];
// Enables the use of arenas for the proto messages in this file. This applies
// only to generated classes for C++.
optional bool cc_enable_arenas = 31 [default = false];
// Sets the objective c class prefix which is prepended to all objective c
// generated classes from this .proto. There is no default.
optional string objc_class_prefix = 36;
// Namespace for generated classes; defaults to the package.
optional string csharp_namespace = 37;
// By default Swift generators will take the proto package and CamelCase it
// replacing '.' with underscore and use that to prefix the types/symbols
// defined. When this options is provided, they will use this value instead
// to prefix the types/symbols defined.
optional string swift_prefix = 39;
// Sets the php class prefix which is prepended to all php generated classes
// from this .proto. Default is empty.
optional string php_class_prefix = 40;
// Use this option to change the namespace of php generated classes. Default
// is empty. When this option is empty, the package name will be used for
// determining the namespace.
optional string php_namespace = 41;
// Use this option to change the namespace of php generated metadata classes.
// Default is empty. When this option is empty, the proto file name will be
// used for determining the namespace.
optional string php_metadata_namespace = 44;
// Use this option to change the package of ruby generated classes. Default
// is empty. When this option is not set, the package name will be used for
// determining the ruby package.
optional string ruby_package = 45;
// The parser stores options it doesn't recognize here.
// See the documentation for the "Options" section above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message.
// See the documentation for the "Options" section above.
extensions 1000 to max;
reserved 38;
}
message MessageOptions {
// Set true to use the old proto1 MessageSet wire format for extensions.
// This is provided for backwards-compatibility with the MessageSet wire
// format. You should not use this for any other reason: It's less
// efficient, has fewer features, and is more complicated.
//
// The message must be defined exactly as follows:
// message Foo {
// option message_set_wire_format = true;
// extensions 4 to max;
// }
// Note that the message cannot have any defined fields; MessageSets only
// have extensions.
//
// All extensions of your type must be singular messages; e.g. they cannot
// be int32s, enums, or repeated messages.
//
// Because this is an option, the above two restrictions are not enforced by
// the protocol compiler.
optional bool message_set_wire_format = 1 [default = false];
// Disables the generation of the standard "descriptor()" accessor, which can
// conflict with a field of the same name. This is meant to make migration
// from proto1 easier; new code should avoid fields named "descriptor".
optional bool no_standard_descriptor_accessor = 2 [default = false];
// Is this message deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the message, or it will be completely ignored; in the very least,
// this is a formalization for deprecating messages.
optional bool deprecated = 3 [default = false];
// Whether the message is an automatically generated map entry type for the
// maps field.
//
// For maps fields:
// map<KeyType, ValueType> map_field = 1;
// The parsed descriptor looks like:
// message MapFieldEntry {
// option map_entry = true;
// optional KeyType key = 1;
// optional ValueType value = 2;
// }
// repeated MapFieldEntry map_field = 1;
//
// Implementations may choose not to generate the map_entry=true message, but
// use a native map in the target language to hold the keys and values.
// The reflection APIs in such implementations still need to work as
// if the field is a repeated message field.
//
// NOTE: Do not set the option in .proto files. Always use the maps syntax
// instead. The option should only be implicitly set by the proto compiler
// parser.
optional bool map_entry = 7;
reserved 8; // javalite_serializable
reserved 9; // javanano_as_lite
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message FieldOptions {
// The ctype option instructs the C++ code generator to use a different
// representation of the field than it normally would. See the specific
// options below. This option is not yet implemented in the open source
// release -- sorry, we'll try to include it in a future version!
optional CType ctype = 1 [default = STRING];
enum CType {
// Default mode.
STRING = 0;
CORD = 1;
STRING_PIECE = 2;
}
// The packed option can be enabled for repeated primitive fields to enable
// a more efficient representation on the wire. Rather than repeatedly
// writing the tag and type for each element, the entire array is encoded as
// a single length-delimited blob. In proto3, only explicit setting it to
// false will avoid using packed encoding.
optional bool packed = 2;
// The jstype option determines the JavaScript type used for values of the
// field. The option is permitted only for 64 bit integral and fixed types
// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
// is represented as JavaScript string, which avoids loss of precision that
// can happen when a large value is converted to a floating point JavaScript.
// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
// use the JavaScript "number" type. The behavior of the default option
// JS_NORMAL is implementation dependent.
//
// This option is an enum to permit additional types to be added, e.g.
// goog.math.Integer.
optional JSType jstype = 6 [default = JS_NORMAL];
enum JSType {
// Use the default type.
JS_NORMAL = 0;
// Use JavaScript strings.
JS_STRING = 1;
// Use JavaScript numbers.
JS_NUMBER = 2;
}
// Should this field be parsed lazily? Lazy applies only to message-type
// fields. It means that when the outer message is initially parsed, the
// inner message's contents will not be parsed but instead stored in encoded
// form. The inner message will actually be parsed when it is first accessed.
//
// This is only a hint. Implementations are free to choose whether to use
// eager or lazy parsing regardless of the value of this option. However,
// setting this option true suggests that the protocol author believes that
// using lazy parsing on this field is worth the additional bookkeeping
// overhead typically needed to implement it.
//
// This option does not affect the public interface of any generated code;
// all method signatures remain the same. Furthermore, thread-safety of the
// interface is not affected by this option; const methods remain safe to
// call from multiple threads concurrently, while non-const methods continue
// to require exclusive access.
//
//
// Note that implementations may choose not to check required fields within
// a lazy sub-message. That is, calling IsInitialized() on the outer message
// may return true even if the inner message has missing required fields.
// This is necessary because otherwise the inner message would have to be
// parsed in order to perform the check, defeating the purpose of lazy
// parsing. An implementation which chooses not to check required fields
// must be consistent about it. That is, for any particular sub-message, the
// implementation must either *always* check its required fields, or *never*
// check its required fields, regardless of whether or not the message has
// been parsed.
optional bool lazy = 5 [default = false];
// Is this field deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for accessors, or it will be completely ignored; in the very least, this
// is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];
// For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
reserved 4; // removed jtype
}
message OneofOptions {
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message EnumOptions {
// Set this option to true to allow mapping different tag names to the same
// value.
optional bool allow_alias = 2;
// Is this enum deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the enum, or it will be completely ignored; in the very least, this
// is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];
reserved 5; // javanano_as_lite
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message EnumValueOptions {
// Is this enum value deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the enum value, or it will be completely ignored; in the very least,
// this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message ServiceOptions {
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
// framework. We apologize for hoarding these numbers to ourselves, but
// we were already using them long before we decided to release Protocol
// Buffers.
// Is this service deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the service, or it will be completely ignored; in the very least,
// this is a formalization for deprecating services.
optional bool deprecated = 33 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message MethodOptions {
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
// framework. We apologize for hoarding these numbers to ourselves, but
// we were already using them long before we decided to release Protocol
// Buffers.
// Is this method deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the method, or it will be completely ignored; in the very least,
// this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
// or neither? HTTP based RPC implementation may choose GET verb for safe
// methods, and PUT verb for idempotent methods instead of the default POST.
enum IdempotencyLevel {
IDEMPOTENCY_UNKNOWN = 0;
NO_SIDE_EFFECTS = 1; // implies idempotent
IDEMPOTENT = 2; // idempotent, but may have side effects
}
optional IdempotencyLevel idempotency_level = 34
[default = IDEMPOTENCY_UNKNOWN];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
// A message representing a option the parser does not recognize. This only
// appears in options protos created by the compiler::Parser class.
// DescriptorPool resolves these when building Descriptor objects. Therefore,
// options protos in descriptor objects (e.g. returned by Descriptor::options(),
// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
// in them.
message UninterpretedOption {
// The name of the uninterpreted option. Each string represents a segment in
// a dot-separated name. is_extension is true iff a segment represents an
// extension (denoted with parentheses in options specs in .proto files).
// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
// "foo.(bar.baz).qux".
message NamePart {
required string name_part = 1;
required bool is_extension = 2;
}
repeated NamePart name = 2;
// The value of the uninterpreted option, in whatever type the tokenizer
// identified it as during parsing. Exactly one of these should be set.
optional string identifier_value = 3;
optional uint64 positive_int_value = 4;
optional int64 negative_int_value = 5;
optional double double_value = 6;
optional bytes string_value = 7;
optional string aggregate_value = 8;
}
// ===================================================================
// Optional source code info
// Encapsulates information about the original source file from which a
// FileDescriptorProto was generated.
message SourceCodeInfo {
// A Location identifies a piece of source code in a .proto file which
// corresponds to a particular definition. This information is intended
// to be useful to IDEs, code indexers, documentation generators, and similar
// tools.
//
// For example, say we have a file like:
// message Foo {
// optional string foo = 1;
// }
// Let's look at just the field definition:
// optional string foo = 1;
// ^ ^^ ^^ ^ ^^^
// a bc de f ghi
// We have the following locations:
// span path represents
// [a,i) [ 4, 0, 2, 0 ] The whole field definition.
// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
// [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
// [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
//
// Notes:
// - A location may refer to a repeated field itself (i.e. not to any
// particular index within it). This is used whenever a set of elements are
// logically enclosed in a single code segment. For example, an entire
// extend block (possibly containing multiple extension definitions) will
// have an outer location whose path refers to the "extensions" repeated
// field without an index.
// - Multiple locations may have the same path. This happens when a single
// logical declaration is spread out across multiple places. The most
// obvious example is the "extend" block again -- there may be multiple
// extend blocks in the same scope, each of which will have the same path.
// - A location's span is not always a subset of its parent's span. For
// example, the "extendee" of an extension declaration appears at the
// beginning of the "extend" block and is shared by all extensions within
// the block.
// - Just because a location's span is a subset of some other location's span
// does not mean that it is a descendant. For example, a "group" defines
// both a type and a field in a single declaration. Thus, the locations
// corresponding to the type and field and their components will overlap.
// - Code which tries to interpret locations should probably be designed to
// ignore those that it doesn't understand, as more types of locations could
// be recorded in the future.
repeated Location location = 1;
message Location {
// Identifies which part of the FileDescriptorProto was defined at this
// location.
//
// Each element is a field number or an index. They form a path from
// the root FileDescriptorProto to the place where the definition. For
// example, this path:
// [ 4, 3, 2, 7, 1 ]
// refers to:
// file.message_type(3) // 4, 3
// .field(7) // 2, 7
// .name() // 1
// This is because FileDescriptorProto.message_type has field number 4:
// repeated DescriptorProto message_type = 4;
// and DescriptorProto.field has field number 2:
// repeated FieldDescriptorProto field = 2;
// and FieldDescriptorProto.name has field number 1:
// optional string name = 1;
//
// Thus, the above path gives the location of a field name. If we removed
// the last element:
// [ 4, 3, 2, 7 ]
// this path refers to the whole field declaration (from the beginning
// of the label to the terminating semicolon).
repeated int32 path = 1 [packed = true];
// Always has exactly three or four elements: start line, start column,
// end line (optional, otherwise assumed same as start line), end column.
// These are packed into a single field for efficiency. Note that line
// and column numbers are zero-based -- typically you will want to add
// 1 to each before displaying to a user.
repeated int32 span = 2 [packed = true];
// If this SourceCodeInfo represents a complete declaration, these are any
// comments appearing before and after the declaration which appear to be
// attached to the declaration.
//
// A series of line comments appearing on consecutive lines, with no other
// tokens appearing on those lines, will be treated as a single comment.
//
// leading_detached_comments will keep paragraphs of comments that appear
// before (but not connected to) the current element. Each paragraph,
// separated by empty lines, will be one comment element in the repeated
// field.
//
// Only the comment content is provided; comment markers (e.g. //) are
// stripped out. For block comments, leading whitespace and an asterisk
// will be stripped from the beginning of each line other than the first.
// Newlines are included in the output.
//
// Examples:
//
// optional int32 foo = 1; // Comment attached to foo.
// // Comment attached to bar.
// optional int32 bar = 2;
//
// optional string baz = 3;
// // Comment attached to baz.
// // Another line attached to baz.
//
// // Comment attached to qux.
// //
// // Another line attached to qux.
// optional double qux = 4;
//
// // Detached comment for corge. This is not leading or trailing comments
// // to qux or corge because there are blank lines separating it from
// // both.
//
// // Detached comment for corge paragraph 2.
//
// optional string corge = 5;
// /* Block comment attached
// * to corge. Leading asterisks
// * will be removed. */
// /* Block comment attached to
// * grault. */
// optional int32 grault = 6;
//
// // ignored detached comments.
optional string leading_comments = 3;
optional string trailing_comments = 4;
repeated string leading_detached_comments = 6;
}
}
// Describes the relationship between generated code and its original source
// file. A GeneratedCodeInfo message is associated with only one generated
// source file, but may contain references to different source .proto files.
message GeneratedCodeInfo {
// An Annotation connects some span of text in generated code to an element
// of its generating .proto file.
repeated Annotation annotation = 1;
message Annotation {
// Identifies the element in the original source .proto file. This field
// is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];
// Identifies the filesystem path to the original source .proto.
optional string source_file = 2;
// Identifies the starting offset in bytes in the generated code
// that relates to the identified object.
optional int32 begin = 3;
// Identifies the ending offset in bytes in the generated code that
// relates to the identified offset. The end offset should be one past
// the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;
}
}
+37
View File
@@ -0,0 +1,37 @@
// @file mot_barocal.proto
//
// Defines message types for Motorola's barometer calibration
//
// Copyright (c) 2020 Motorola Mobility
// All Rights Reserved.
// Confidential and Proprietary - Motorola Mobility
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";
// Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "mot_barocal"
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// Stream Requests:
// - MOT_BAROCAL_MSGID_MOT_BAROCAL_REQ is used to enable the sensor
// Message IDs for Mot Barocal
enum mot_barocal_msgid {
option (nanopb_enumopt).long_names = false;
MOT_BAROCAL_MSGID_MOT_BAROCAL_REQ = 998;
}
message mot_barocal_req
{
// Reference pressure
required float reference = 1;
}
// Stream events:
//
// Emits one sns_cal_event on completion
//
// This sensor does not publish configuration events.
+50
View File
@@ -0,0 +1,50 @@
// @file mot_camgest.proto
//
// Defines message types for the Motorola Camera Gesture Sensor.
//
// Copyright (c) 2017 Motorola Mobility
// All Rights Reserved.
// Confidential and Proprietary - Motorola Mobility
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";
// Mot_camgest detects the twist gesture to trigger the camera
// This is actually a special trigger sensor, but it is treated as
// on-change in SEE.
// Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "mot_camgest"
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
// Message IDs
enum mot_camgest_msgid {
option (nanopb_enumopt).long_names = false;
MOT_CAMGEST_MSGID_MOT_CAMGEST_EVENT = 772;
}
enum mot_camgest_y_orient {
option (nanopb_enumopt).long_names = false;
MOT_CAMGEST_Y_ORIENT_UNKNOWN = 0;
MOT_CAMGEST_Y_ORIENT_DOWN = 1;
MOT_CAMGEST_Y_ORIENT_FLAT = 2;
MOT_CAMGEST_Y_ORIENT_UP = 3;
}
message mot_camgest_event
{
// Event output
required uint32 duration_ms = 1;
optional mot_camgest_y_orient y_orient = 2;
}
// Stream events:
//
// The mot_camgest_event message is used to publish updated state
//
// This sensor does not publish configuration events.
+44
View File
@@ -0,0 +1,44 @@
// @file mot_chopchop.proto
//
// Defines message types for the Motorola ChopChop Gesture Sensor.
//
// Copyright (c) 2017 Motorola Mobility
// All Rights Reserved.
// Confidential and Proprietary - Motorola Mobility
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";
// Mot_chopchop detects the double chop gesture to trigger the torch
// This is actually a special trigger sensor, but it is treated as
// on-change in SEE.
// Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "mot_chopchop"
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
// Message IDs
enum mot_chopchop_msgid {
option (nanopb_enumopt).long_names = false;
MOT_CHOPCHOP_MSGID_MOT_CHOPCHOP_EVENT = 772;
}
message mot_chopchop_event
{
// Event output
required uint32 abort_count = 1;
required float peak1 = 2;
required float peak2 = 3;
}
// Stream events:
//
// The mot_chopchop_event message is used to publish updated state
//
// This sensor does not publish configuration events.
+106
View File
@@ -0,0 +1,106 @@
// @file mot_devorient.proto
//
// Defines the API for Motorola DevOrient algorithm.
//
// Copyright (c) 2017, Motorola.
// All rights reserved.
// Confidential and Proprietary - Motorola, Inc.
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";
// Attribute requirements:
// The DevOrient algorithm publishes:
// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value is "mot_devorient_core",
// "mot_disprot", "mot_flatup", or "mot_flatdown".
// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS is 1.0
// 3. SNS_STD_SENSOR_ATTRID_RANGES are 0 to 16 or 0 to 2. These are enum
// values that correspond to mot_devorient_flat_state and
// mot_devorient_disp_state.
// 4. SNS_STD_SENSOR_ATTRID_RATES is 1.0
// 5. See sns_std_sensor.proto for other attributes.
// Handling stream requests:
// 1. The DevOrient algorithm supports on-change mode
// 2. The DevOrient algorithm handles the
// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for
// all stream enable/update requests.
// 3. The Sensor reports an initial sample for each request,
// followed by samples for each transition.
// Message IDs for Motorola DevOrient Sensor
enum mot_devorient_msgid {
option (nanopb_enumopt).long_names = false;
// Uses message: mot_devorient_core_event
MOT_DEVORIENT_MSGID_MOT_DEVORIENT_CORE_EVENT = 456;
// Uses message: mot_devorient_disprot_event
MOT_DEVORIENT_MSGID_MOT_DEVORIENT_DISPROT_EVENT = 457;
// Uses message: mot_devorient_flatup_event
MOT_DEVORIENT_MSGID_MOT_DEVORIENT_FLATUP_EVENT = 458;
// Uses message: mot_devorient_flatdown_event
MOT_DEVORIENT_MSGID_MOT_DEVORIENT_FLATDOWN_EVENT = 459;
}
enum mot_devorient_flat_state {
option (nanopb_enumopt).long_names = false;
// These values selected to match values used in DSP register
MOT_DEVORIENT_FLAT_UNKNOWN = 0;
MOT_DEVORIENT_FLAT_UP = 1;
MOT_DEVORIENT_FLAT_DOWN = 2;
}
enum mot_devorient_disp_state {
option (nanopb_enumopt).long_names = false;
MOT_DEVORIENT_DISP_PORTRAIT = 0;
MOT_DEVORIENT_DISP_CCW_LANDSCAPE = 1;
MOT_DEVORIENT_DISP_PORTRAIT_INV = 2;
MOT_DEVORIENT_DISP_CW_LANDSCAPE = 3;
MOT_DEVORIENT_DISP_UNKNOWN = 16;
}
// Events types for DevOrient Sensor
message mot_devorient_core_event
{
required mot_devorient_disp_state disp_state = 1 [default = MOT_DEVORIENT_DISP_UNKNOWN];
required mot_devorient_flat_state flat_state = 2 [default = MOT_DEVORIENT_FLAT_UNKNOWN];
required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
}
message mot_devorient_disprot_event
{
required mot_devorient_disp_state disp_state = 1 [default = MOT_DEVORIENT_DISP_UNKNOWN];
required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
}
message mot_devorient_flatup_event
{
required bool flatup = 1 [default = false];
required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
}
message mot_devorient_flatdown_event
{
required bool flatdown = 1 [default = false];
required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
}
// Handling stream events:
// 1. The DevOrient algorithm publishes events
// using mot_devorient_core_event, mot_devorient_disprot_event,
// mot_devorient_flatup_event, and mot_devorient_flatdown_event messages.
// 2. Each stream event publishes an accuracy field:
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid.
// 3. DevOrient algorithm does not publish configuration events.
// Handling self-test requests:
// Not supported
// Handling test events:
// Not Supported
@@ -0,0 +1,37 @@
// @file mot_dsp_usound.proto
//
// Defines message types for the Motorola DSP Ultrasound (approach) Sensor.
//
// Copyright (c) 2017 Motorola Mobility
// All Rights Reserved.
// Confidential and Proprietary - Motorola Mobility
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";
// Mot_dsp_usound detects the approach of the user via ultrasound.
// This is actually a special trigger sensor, but it is treated as
// on-change in SEE.
// Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "mot_dsp_usound"
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
// Message IDs
enum mot_dsp_usound_msgid {
option (nanopb_enumopt).long_names = false;
// This message has no payload
MOT_DSP_USOUND_MSGID_MOT_DSP_USOUND_APPROACH_EVENT = 772;
}
// Stream events:
//
// The mot_dsp_usound_event message indicates a detected event
//
// This sensor does not publish configuration events.

Some files were not shown because too many files have changed in this diff Show More