knoir: Generate blobs tree:

Signed-off-by: HeroBuxx <me@herobuxx.me>
This commit is contained in:
HeroBuxx
2026-03-12 23:21:10 +00:00
commit 708cdb8c40
696 changed files with 30979 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright (c) 2019 - 2020, 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.
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect

17
proprietary/vendor/etc/cne/mwqem.conf vendored Normal file
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

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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

1396
proprietary/vendor/etc/data/dsi_config.xml vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,18 @@
<?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.READ_PHONE_STATE" fixed="false"/>
</exception>
</exceptions>

View File

@@ -0,0 +1,75 @@
<XML>
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<SDE660>
<Param0>6</Param0>
<Param1>8</Param1>
<Param2>4</Param2>
<Param3>1</Param3>
<Param4>1</Param4>
<Param5>2</Param5>
<Param6>0</Param6> <!-- TODO: recheck (as per kernel code it is 2) -->
<Param7>3</Param7>
<Param8>25</Param8>
<Param9>1.05</Param9>
<Param10>24</Param10>
<Param11>4100.0</Param11>
<Param12>4800.0</Param12>
<Param13>1</Param13>
<Param14>32</Param14>
<Param15>1.5</Param15>
<Param16>1.5</Param16>
<Param17>4.0</Param17>
<Param18>3</Param18>
<Param19>2</Param19>
<Param20>48</Param20>
<Param21>32</Param21>
<Param22>3</Param22>
<Param23>1600.0</Param23>
<Param24>261.0</Param24>
<Param25>4800.0</Param25>
<Param26>9600.0</Param26>
<Param27>4.0</Param27>
<Param28>1.1</Param28>
<Param29>61440</Param29> <!-- TODO: recheck lut Param29-31 (currently, as per lahaina) -->
<Param30>4608</Param30>
<Param31>8</Param31>
<Param32>2</Param32>
<Param33>75</Param33>
<Param34>256</Param34>
<Param35>100</Param35>
<Param36>1</Param36>
<Param37>4</Param37>
<Param38>800</Param38>
<Param39>1600</Param39>
<Param40>2</Param40>
<Param41>4</Param41>
<Param42>3</Param42>
<Param43>1.45</Param43>
<Param44>1.0</Param44>
<Param45>1.0</Param45>
<Param46>4100</Param46>
<Param47>0.25</Param47>
<Param48>3.0</Param48>
<Param49>5.33</Param49>
<Param50>16</Param50> <!-- TODO: recheck Param50-52 (currently, as per lahaina) -->
<Param51>1.7</Param51>
<Param52>1.4</Param52>
<Param53>32</Param53>
<Param54>16</Param54>
<Param55>8.33</Param55>
<Param56>8.0</Param56>
<Param57>75</Param57>
<!-- Example
<Overrides>
<Override0>
<Param11>4400</Param11>
</Override0>
</Overrides>
-->
</SDE660>
</XML>

View File

@@ -0,0 +1,75 @@
<XML>
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<SDE670>
<Param0>6</Param0>
<Param1>8</Param1>
<Param2>4</Param2>
<Param3>1</Param3>
<Param4>1</Param4>
<Param5>2</Param5>
<Param6>0</Param6> <!-- TODO: recheck (as per kernel code it is 2) -->
<Param7>3</Param7>
<Param8>25</Param8>
<Param9>1.05</Param9>
<Param10>40</Param10>
<Param11>4300.0</Param11>
<Param12>4800.0</Param12>
<Param13>2</Param13>
<Param14>32</Param14>
<Param15>2.0</Param15>
<Param16>1.5</Param16>
<Param17>4.0</Param17>
<Param18>3</Param18>
<Param19>2</Param19>
<Param20>48</Param20>
<Param21>32</Param21>
<Param22>3</Param22>
<Param23>1600.0</Param23>
<Param24>261.0</Param24>
<Param25>4800.0</Param25>
<Param26>9600.0</Param26>
<Param27>4.0</Param27>
<Param28>1.1</Param28>
<Param29>61440</Param29> <!-- TODO: recheck lut Param29-31 (currently, as per lahaina) -->
<Param30>4608</Param30>
<Param31>8</Param31>
<Param32>2</Param32>
<Param33>75</Param33>
<Param34>256</Param34>
<Param35>100</Param35>
<Param36>2</Param36>
<Param37>4</Param37>
<Param38>800</Param38>
<Param39>1600</Param39>
<Param40>2</Param40>
<Param41>4</Param41>
<Param42>3</Param42>
<Param43>1.45</Param43>
<Param44>1.0</Param44>
<Param45>1.0</Param45>
<Param46>4300</Param46>
<Param47>0.25</Param47>
<Param48>3.0</Param48>
<Param49>5.33</Param49>
<Param50>16</Param50>
<Param51>1.7</Param51>
<Param52>1.4</Param52>
<Param53>32</Param53>
<Param54>16</Param54>
<Param55>8.33</Param55>
<Param56>8.0</Param56>
<Param57>75</Param57>
<!-- Example
<Overrides>
<Override0>
<Param11>4400</Param11>
</Override0>
</Overrides>
-->
</SDE670>
</XML>

View File

@@ -0,0 +1,76 @@
<XML>
<!--
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<SDE720>
<Param0>6</Param0>
<Param1>8</Param1>
<Param2>4</Param2>
<Param3>1</Param3>
<Param4>1</Param4>
<Param5>2</Param5>
<Param6>0</Param6>
<Param7>3</Param7>
<Param8>25</Param8>
<Param9>1.05</Param9>
<Param10>40</Param10>
<Param11>4300</Param11>
<Param12>4800</Param12>
<Param13>1</Param13>
<Param14>32</Param14>
<Param15>1.5</Param15>
<Param16>1.5</Param16>
<Param17>4.0</Param17>
<Param18>3</Param18>
<Param19>2</Param19>
<Param20>48</Param20>
<Param21>32</Param21>
<Param22>3</Param22>
<Param23>800.0</Param23>
<Param24>261.0</Param24>
<Param25>4800.0</Param25>
<Param26>9600.0</Param26>
<Param27>4.0</Param27>
<Param28>1.1</Param28>
<Param29>61440</Param29>
<Param30>4608</Param30>
<Param31>8</Param31>
<Param32>2</Param32>
<Param33>75</Param33>
<Param34>256</Param34>
<Param35>100</Param35>
<Param36>2</Param36>
<Param37>4</Param37>
<Param38>800</Param38>
<Param39>1600</Param39>
<Param40>2</Param40>
<Param41>4</Param41>
<Param42>3</Param42>
<Param43>1.45</Param43>
<Param44>1.0</Param44>
<Param45>1.0</Param45>
<Param46>4300</Param46>
<Param47>0.25</Param47>
<Param48>3.0</Param48>
<Param49>5.33</Param49>
<Param50>16</Param50>
<Param51>1.7</Param51>
<Param52>1.4</Param52>
<Param53>32</Param53>
<Param54>16</Param54>
<Param55>8.33</Param55>
<Param56>8.0</Param56>
<Param57>75</Param57>
<!-- Example
<Overrides>
<Override0>
<Param11>4400</Param11>
</Override0>
</Overrides>
-->
</SDE720>
</XML>

View File

@@ -0,0 +1,75 @@
<XML>
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<SDE7__>
<Param0>6</Param0>
<Param1>8</Param1>
<Param2>4</Param2>
<Param3>1</Param3>
<Param4>1</Param4>
<Param5>2</Param5>
<Param6>0</Param6>
<Param7>3</Param7>
<Param8>25</Param8>
<Param9>1.05</Param9>
<Param10>40</Param10>
<Param11>5200.0</Param11>
<Param12>4800.0</Param12>
<Param13>2</Param13>
<Param14>32</Param14>
<Param15>1.5</Param15>
<Param16>1.5</Param16>
<Param17>4.0</Param17>
<Param18>3</Param18>
<Param19>2</Param19>
<Param20>48</Param20>
<Param21>32</Param21>
<Param22>3</Param22>
<Param23>800.0</Param23>
<Param24>261.0</Param24>
<Param25>4800.0</Param25>
<Param26>9600.0</Param26>
<Param27>4.0</Param27>
<Param28>1.1</Param28>
<Param29>61440</Param29>
<Param30>4608</Param30>
<Param31>8</Param31>
<Param32>2</Param32>
<Param33>75</Param33>
<Param34>256</Param34>
<Param35>100</Param35>
<Param36>4</Param36>
<Param37>4</Param37>
<Param38>800</Param38>
<Param39>1600</Param39>
<Param40>2</Param40>
<Param41>4</Param41>
<Param42>3</Param42>
<Param43>1.45</Param43>
<Param44>1.0</Param44>
<Param45>1.0</Param45>
<Param46>3900</Param46>
<Param47>0.25</Param47>
<Param48>3.0</Param48>
<Param49>5.33</Param49>
<Param50>16</Param50>
<Param51>1.7</Param51>
<Param52>1.4</Param52>
<Param53>32</Param53>
<Param54>16</Param54>
<Param55>8.33</Param55>
<Param56>8.0</Param56>
<Param57>75</Param57>
<!-- Example
<Overrides>
<Override0>
<Param11>4400</Param11>
</Override0>
</Overrides>
-->
</SDE7__>
</XML>

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>

View File

@@ -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

View File

@@ -0,0 +1,27 @@
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
capabilities SYS_NICE

View File

@@ -0,0 +1,10 @@
on property:vendor.keymaster.quickboot=true
stop gatekeeper-1-0
start gatekeeper-1-0
stop gatekeeperd
start gatekeeperd
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
class early_hal
user system
group system

View File

@@ -0,0 +1,14 @@
on init
start vendor.keymaster-4-1
on property:vendor.keymaster.quickboot=true
stop vendor.keymaster-4-1
start vendor.keymaster-4-1
stop keystore
start keystore
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

4
proprietary/vendor/etc/init/cnd.rc vendored Normal file
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

13
proprietary/vendor/etc/init/dataadpl.rc vendored Normal file
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
proprietary/vendor/etc/init/dataqti.rc vendored Normal file
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

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

View File

@@ -0,0 +1,173 @@
#=============================================================================
# Copyright (c) 2019-2021 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.
#=============================================================================
import /vendor/etc/init/hw/init.qti.kernel.test.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
chmod 0755 /sys/kernel/debug
# Mount tracefs in /sys/kernel/tracing as CONFIG_DEBUG_FS might be
# disabled and /sys/kernel/debug/tracing might not be available
mount tracefs tracefs /sys/kernel/tracing
chmod 0755 /sys/kernel/tracing
chown root system /dev/kmsg
chmod 0620 /dev/kmsg
write /proc/sys/kernel/sched_boost 1
write /proc/sys/kernel/firmware_config/force_sysfs_fallback 1
on init
# Create cgroup mount point for memory
mkdir /sys/fs/cgroup/memory/bg 0750 root system
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1
chown root system /sys/fs/cgroup/memory/bg/tasks
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
# update scheduler tunables
write /dev/cpuctl/foreground/cpu.uclamp.sched_boost_no_override 1
write /dev/cpuctl/top-app/cpu.uclamp.sched_boost_no_override 1
write /dev/cpuctl/background/cpu.uclamp.colocate 0
write /dev/cpuctl/foreground/cpu.uclamp.colocate 0
write /dev/cpuctl/top-app/cpu.uclamp.colocate 1
on post-fs
chmod 0755 /sys/kernel/debug/tracing
# set aggressive read ahead for dm-0 and dm-1 during boot up
write /sys/block/dm-0/queue/read_ahead_kb 2048
write /sys/block/dm-1/queue/read_ahead_kb 2048
write /sys/block/dm-2/queue/read_ahead_kb 2048
on early-boot
# Allow subsystem (modem etc) debugging
write /sys/kernel/boot_adsp/boot 1
write /sys/kernel/boot_cdsp/boot 1
write /sys/kernel/boot_slpi/boot 1
write /sys/devices/virtual/cvp/cvp/boot 1
on boot
# Set the console loglevel to < KERN_WARN
# Set the default message loglevel to KERN_INFO
write /proc/sys/kernel/printk "4 6 1 7"
# Allow access to dload sysfs node
chown root system /sys/kernel/dload/emmc_dload
chmod 0660 /sys/kernel/dload/emmc_dload
chown root system /dev/block/bootdevice/by-name/ramdump
chmod 0660 /dev/block/bootdevice/by-name/ramdump
chown root system /sys/kernel/dload/dload_mode
chmod 0660 /sys/kernel/dload/dload_mode
# set the io-scheduler to bfq on all mq support devices
write /sys/block/sda/queue/scheduler bfq
write /sys/block/sdb/queue/scheduler bfq
write /sys/block/sdc/queue/scheduler bfq
write /sys/block/sdd/queue/scheduler bfq
write /sys/block/sde/queue/scheduler bfq
write /sys/block/sdf/queue/scheduler bfq
write /sys/block/sdg/queue/scheduler bfq
write /sys/block/sdh/queue/scheduler bfq
write /sys/class/block/mmcblk0/queue/scheduler bfq
write /sys/class/block/mmcblk1/queue/scheduler bfq
# update io-scheduler tunables
write /sys/block/sda/queue/iosched/slice_idle 0
write /sys/block/sdb/queue/iosched/slice_idle 0
write /sys/block/sdc/queue/iosched/slice_idle 0
write /sys/block/sdd/queue/iosched/slice_idle 0
write /sys/block/sde/queue/iosched/slice_idle 0
write /sys/block/sdf/queue/iosched/slice_idle 0
write /sys/block/sdg/queue/iosched/slice_idle 0
write /sys/block/sdh/queue/iosched/slice_idle 0
write /sys/class/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/class/block/mmcblk1/queue/iosched/slice_idle 0
on post-fs-data
# Create directory used for dump collection
mkdir /data/vendor/ssrdump 0770 root system
on property:persist.sys.ssr.enable_debug=*
write /sys/module/subsys_pil_tz/parameters/enable_debug ${persist.sys.ssr.enable_debug}
on property:persist.sys.mba_boot_timeout=*
write /sys/module/pil_msa/parameters/pbl_mba_boot_timeout_ms ${persist.sys.mba_boot_timeout}
on property:persist.sys.modem_auth_timeout=*
write /sys/module/pil_msa/parameters/modem_auth_timeout_ms ${persist.sys.modem_auth_timeout}
on property:persist.sys.pil_proxy_timeout=*
write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout}
on property:persist.vendor.ssr.enable_ramdumps=1
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
on property:persist.vendor.ssr.enable_ramdumps=0
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
on property:persist.vendor.sys.rawdump_copy=1
write /sys/kernel/dload/emmc_dload 1
on property:persist.vendor.sys.rawdump_copy=0
write /sys/kernel/dload/emmc_dload 0
service kernel-boot /vendor/bin/sh /vendor/bin/init.qti.kernel.sh
class core
user root
group root
disabled
oneshot
service kernel-post-boot /vendor/bin/sh /vendor/bin/init.kernel.post_boot.sh
class core
user root
group root system wakelock graphics
disabled
oneshot
on property:sys.boot_completed=1
write /dev/kmsg "Boot completed "
#Reset read ahead for dm-0, dm-1 and dm-2 to 512kb
write /sys/block/dm-0/queue/read_ahead_kb 512
write /sys/block/dm-1/queue/read_ahead_kb 512
write /sys/block/dm-2/queue/read_ahead_kb 512
write /proc/sys/vm/page-cluster 0
start kernel-boot
start kernel-post-boot
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
class core
user root
group root
disabled

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

View File

@@ -0,0 +1,16 @@
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on post-fs-data
mkdir /data/vendor/imslogs 0770 radio radio
chmod 0770 /data/vendor/imslogs
# imsdaemon starts with root and UID will be downgraded to RADIO.
service vendor.imsdaemon /vendor/bin/imsdaemon
class main
user radio
socket ims_datad stream 0660 system radio
group radio wifi inet vendor_qti_diag log

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"

View File

@@ -0,0 +1,53 @@
#==============================================================================
# init.qti.media.rc
#
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2020, 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 qti-media /vendor/bin/init.qti.media.sh
class main
user media
group media
disabled
oneshot
seclabel u:r:vendor_qti_media:s0
on post-fs
setprop vendor.media.target.qssi ${vendor.sys.media.target.qssi}
setprop vendor.media.system.build_codename ${ro.build.version.release_or_codename}
start qti-media
on post-fs-data
setprop ro.media.xml_variant.codecs ${vendor.media.target_variant}
setprop ro.media.xml_variant.codecs_performance ${vendor.media.target_variant}
on property:vendor.netflix.bsp_rev=*
setprop ro.netflix.bsp_rev ${vendor.netflix.bsp_rev}

View File

@@ -0,0 +1,12 @@
#! /vendor/etc/init
#=============================================================================
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#=============================================================================
on early-init
# Set ro.boot.product.vendor.sku to soc_name
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.qcv.sh
setprop ro.boot.product.vendor.sku ${ro.vendor.qti.soc_name}
setprop ro.soc.model ${ro.vendor.qti.soc_model}

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

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

View File

@@ -0,0 +1,24 @@
#! /bin/sh
#
#Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
#
service thermal-engine /vendor/bin/thermal-engine
class main
user root
group root system oem_2907
socket thermal-send-client stream 0660 system oem_2907
socket thermal-recv-client stream 0660 system oem_2907
socket thermal-recv-passive-client stream 0660 system oem_2907
socket thermal-send-rule stream 0660 system oem_2907
disabled
on property:sys.boot_completed=1
restart thermal-engine
on property:vendor.thermal.mode=*
stop thermal-engine
start thermal-engine

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
proprietary/vendor/etc/init/netmgrd.rc vendored Normal file
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 16777216
write /proc/sys/net/core/wmem_max 8388608
#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

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

24
proprietary/vendor/etc/init/qcrilNrd.rc vendored Normal file
View File

@@ -0,0 +1,24 @@
on boot
mkdir /dev/socket/qcrild 0750 radio radio
service vendor.qcrild /vendor/bin/hw/qcrilNrd
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/qcrilNrd -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/qcrilNrd -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
proprietary/vendor/etc/init/qdcmss.rc vendored Normal file
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

20
proprietary/vendor/etc/init/qmipriod.rc vendored Normal file
View File

@@ -0,0 +1,20 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
service vendor.qmipriod /system/vendor/bin/qmipriod
class main
user radio
group radio
disabled
on property:persist.vendor.data.qmipriod_load=1
start vendor.qmipriod
on property:persist.vendor.data.qmipriod_load=0
stop vendor.qmipriod
on post-fs-data
#Create logging directory
mkdir /data/vendor/qmipriod 0770 radio radio
chmod 0770 /data/vendor/qmipriod

12
proprietary/vendor/etc/init/qseecomd.rc vendored Normal file
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

40
proprietary/vendor/etc/init/shsusrd.rc vendored Normal file
View File

@@ -0,0 +1,40 @@
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on boot
write /data/vendor/shsusr/shsusr_log.txt ""
chown radio radio /data/vendor/shsusr/shsusr_log.txt
# msm specific files that need to be created on /data
on post-fs-data
#Create SHSUSR daemon log dir
mkdir /data/vendor/shsusr 0770 radio radio
chmod 0770 /data/vendor/shsusr
service vendor.shsusrd /system/vendor/bin/shsusrd 0x002819000
class main
user radio
group radio
capabilities NET_ADMIN
disabled
on property:persist.vendor.data.shsusr_load=1
start vendor.shsusrd
on property:persist.vendor.data.shsusr_load=0
stop vendor.shsusrd
on property:persist.vendor.data.shsusr_ipa=02
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "02"
on property:persist.vendor.data.shsusr_ipa=10
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "10"
on property:persist.vendor.data.shsusr_ipa=20
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "20"
on property:persist.vendor.data.shsusr_ipa=40
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "40"

View File

@@ -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

View File

@@ -0,0 +1,37 @@
# 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

View File

@@ -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

View File

@@ -0,0 +1,11 @@
on boot
start vendor.diag-router
service vendor.diag-router /vendor/bin/diag-router
class hal
user system
group system
capabilities KILL
disabled

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,43 @@
# Copyright (c) 2019-2020, Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
#
service vendor.hvdcp_opti /vendor/bin/hvdcp_opti
class main
user system
group system wakelock
capabilities BLOCK_SUSPEND WAKE_ALARM
disabled
service vendor.qti-chg-policy-sh /vendor/bin/init.qti.chg_policy.sh
class core
user root
oneshot
disabled
on boot
enable vendor.qti-chg-policy-sh
start vendor.qti-chg-policy-sh
on charger
chown radio wakelock /sys/power/wake_lock
chmod 0660 /sys/power/wake_lock
chown radio wakelock /sys/power/wake_unlock
chmod 0660 /sys/power/wake_unlock
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
mount_all /vendor/etc/charger_fstab.qti --early
enable vendor.qti-chg-policy-sh
start vendor.qti-chg-policy-sh
on property:persist.vendor.hvdcp_opti.start=2
rmdir /mnt/vendor/persist/hvdcp_opti
setprop persist.vendor.hvdcp_opti.start 0
on property:persist.vendor.hvdcp_opti.start=1
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
enable vendor.hvdcp_opti
start vendor.hvdcp_opti
setprop persist.vendor.hvdcp_opti.start 0

View File

@@ -0,0 +1,13 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
service vendor.dspservice /vendor/bin/dspservice
class hal
user system
group system wakelock oem_2908
capabilities BLOCK_SUSPEND
interface vendor.qti.hardware.dsp@1.0::IDspService dspservice
# uncomment below to disable service at boot
# disabled

View File

@@ -0,0 +1,8 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service eid-1-0 /vendor/bin/hw/vendor.qti.hardware.eid@1.0-service
class hal
user system
group system

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,7 @@
service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-service
class hal
user mediacodec
group mediadrm camera drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks

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

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

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

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

View File

@@ -0,0 +1,132 @@
// If you modify this file,
// 1. Push it to /vendor/etc/video_system_specs.json on the device
// 2. Kill media.hwcodec to get the new changed values.
// Note: Please do not use hexadecimal values 0x in this file.
{
"Video": {
// feature list used for enable/disable
"Features": {
// This is used for encoder color space conversion with custom matrix.
// custom matrix is defined in kernel driver
// this triggers to enable CSC to 709LR with custom matrix
"enc_csc_custom_matrix": false,
// this enables adaptive blur if possible by encoder.
// this is preprocessing of encoder input YUV buffers
"enc_auto_blur": false,
// this enables encoding rotate by C2D. it is used for some low tier end chipsets which
// don't support rotate feature in video core. TODO - Rename as enc_vpss_rotation
"enc_c2d_rotation": true,
"platform_disable_ubwc": true,
// encoder csc enable
"enc_csc_enable": false,
// It is used to enable fastCV engine for flip support in the absence of VPSS hardware
// support.
"enc_vpss_flip": false,
// This is used to limit secure usecase buffer count. Changes dynamic to static count
"dec_secure_static_count": true
},
"Presets": {
// platform value to force HDR disable. if this value is enabled
// then HDR is disabled. this value acts as a bit mask.
// 0x0 : no over ride,
// 0x1 : disables decoder HDR,
// 0x2 : disbaled encoder HDR,
// 0x3 : disables both decoder and encoder HDR.
"vidc_disable_hdr" : 3,
// this is used for secure decoding performance boost handling
// prefech sizes of internal & output buffers
// internal : 0 MB
// output : 0 MB
"dec_sec_prefetch_size_internal": 0,
"dec_sec_prefetch_size_output": 0,
// control to force enable linear color format for decoder
// if this is enable, then decoder will produce linear color format output.
// it is bitmask:
// 0x0: no override,
// 0x1: enable 8 bit: linear format. 10 bit: compressed format
// 0x2: 8 bit: compressed format. 10 bit: linear format
// 0x3: 8 bit: linear format. 10 bit: linear format
"dec_linear_color_format": 0,
// this control enables default b frame encoding
// if it is within capability of B frame encode case
// this is used only in MediaRecorder path
// max B frame count between two P
"enc_default_bframe_count": 0,
// maximum MB/sec for default B frame enablement case
"enc_max_b_frame_mbs_per_sec": 0,
// maximum decoder output rate if it is Nuplayer path and
// player sets max refresh rate
"max_supported_render_rate": 120,
// maximum all intra frame rate
"max_supported_all_intra_framerate": 60,
// control to force enable linear color format for encoder
// if this is enable, then encoder will ask camera via
// consumer flag to inform usage of linear color format.
// it is used only for camera path. can't be used for non-camera producer case
// it is bitmask:
// 0x0: no override,
// 0x1: enable 8 bit: linear format. 10 bit: compressed format
// 0x2: 8 bit: compressed format. 10 bit: linear format
// 0x3: 8 bit: linear format. 10 bit: linear format
"enc_linear_color_format": 3,
// override chroma qp offset value for 8 and 10 bits:
// default: 0
// allowed override value: -12
"enc_chroma_qp_offset_10_bit": 0,
"enc_chroma_qp_offset_8_bit": 0,
//encoder bitrate savings control (CAC) - content adaptive coding feature
// it is bitmask.
// 0x0: disable CAC
// 0x1: 8 bit: enable. 10 bit: disable
// 0x2: 8 bit: disable. 10 bit: enable
// 0x3: 8 bit: enable. 10 bit: enable
"enc_bitrate_savings": 1,
// minimum encoder bitrate boost
"enc_bitrate_boost": 15,
// time threshold of output buffer allocation loop since last input buffer queued(ms)
// 0 --> no such limitation (loop until allocation done)
"max_retry_alloc_output_timeout": 0,
// override default primaries to BT709 for >=UHD decode
"default_primaries_override" : 0,
// WARNING:
// Please DON'T change these values, if you don't know what you are doing.
// These are the Video HAL capabilities. Video HAL may not function properly with wrong values.
// below are various capability used
// video driver version capability used for skype MediaCodec
"vt_driver_version": 534123018,
// maximum LTR cont for encoder
"ltr_max_count": 2,
// Encoder preprocessing: maximum encoder downscalar factor possible in width or height or both direction
"preprocess_max_downscale_factor": 0,
// encoder support rotation as preprocessing
"preprocess_rotation": 1,
// encoder maxium Hier-P layer count: 6
"max_temporal_layer_pframe_count": 6,
// encoder maximum Hier-B layer count: 0
"max_temporal_layer_bframe_count": 0
},
// List of HW codecs enabled for this target
"codecs-available": {
"decoders": [
"c2.qti.avc.decoder",
"c2.qti.avc.decoder.low_latency",
"c2.qti.avc.decoder.secure",
"c2.qti.hevc.decoder",
"c2.qti.hevc.decoder.low_latency",
"c2.qti.hevc.decoder.secure",
"c2.qti.vp9.decoder",
"c2.qti.vp9.decoder.secure"
],
"encoders": [
"c2.qti.avc.encoder",
"c2.qti.avc.encoder.secure",
"c2.qti.hevc.encoder",
"c2.qti.hevc.encoder.secure",
"c2.qti.hevc.encoder.cq",
"c2.qti.heic.encoder"
]
}
}
}

View File

@@ -0,0 +1,128 @@
// If you modify this file,
// 1. Push it to /vendor/etc/video_system_specs.json on the device
// 2. Kill media.hwcodec to get the new changed values.
// Note: Please do not use hexadecimal values 0x in this file.
{
"Video": {
// feature list used for enable/disable
"Features": {
// This is used for encoder color space conversion with custom matrix.
// custom matrix is defined in kernel driver
// this triggers to enable CSC to 709LR with custom matrix
"enc_csc_custom_matrix": false,
// this enables adaptive blur if possible by encoder.
// this is preprocessing of encoder input YUV buffers
"enc_auto_blur": false,
// this enables encoding rotate by C2D. it is used for some low tier end chipsets which
// don't support rotate feature in video core. TODO - Rename as enc_vpss_rotation
"enc_c2d_rotation": true,
"platform_disable_ubwc": true,
// It is used to enable fastCV engine for flip support in the absence of VPSS hardware
// support.
"enc_vpss_flip": false,
// This is used to limit secure usecase buffer count. Changes dynamic to static count
"dec_secure_static_count": true
},
"Presets": {
// platform value to force HDR disable. if this value is enabled
// then HDR is disabled. this value acts as a bit mask.
// 0x0 : no over ride,
// 0x1 : disables decoder HDR,
// 0x2 : disbaled encoder HDR,
// 0x3 : disables both decoder and encoder HDR.
"vidc_disable_hdr" : 3,
// this is used for secure decoding performance boost handling
// prefech sizes of internal & output buffers
// internal : 0 MB
// output : 0 MB
"dec_sec_prefetch_size_internal": 0,
"dec_sec_prefetch_size_output": 0,
// control to force enable linear color format for decoder
// if this is enable, then decoder will produce linear color format output.
// it is bitmask:
// 0x0: no override,
// 0x1: enable 8 bit: linear format. 10 bit: compressed format
// 0x2: 8 bit: compressed format. 10 bit: linear format
// 0x3: 8 bit: linear format. 10 bit: linear format
"dec_linear_color_format": 0,
// this control enables default b frame encoding
// if it is within capability of B frame encode case
// this is used only in MediaRecorder path
// max B frame count between two P
"enc_default_bframe_count": 0,
// maximum MB/sec for default B frame enablement case
"enc_max_b_frame_mbs_per_sec": 0,
// maximum decoder output rate if it is Nuplayer path and
// player sets max refresh rate
"max_supported_render_rate": 120,
// maximum all intra frame rate
"max_supported_all_intra_framerate": 60,
// control to force enable linear color format for encoder
// if this is enable, then encoder will ask camera via
// consumer flag to inform usage of linear color format.
// it is used only for camera path. can't be used for non-camera producer case
// it is bitmask:
// 0x0: no override,
// 0x1: enable 8 bit: linear format. 10 bit: compressed format
// 0x2: 8 bit: compressed format. 10 bit: linear format
// 0x3: 8 bit: linear format. 10 bit: linear format
"enc_linear_color_format": 3,
// override chroma qp offset value for 8 and 10 bits:
// default: 0
// allowed override value: -12
"enc_chroma_qp_offset_10_bit": 0,
"enc_chroma_qp_offset_8_bit": 0,
//encoder bitrate savings control (CAC) - content adaptive coding feature
// it is bitmask.
// 0x0: disable CAC
// 0x1: 8 bit: enable. 10 bit: disable
// 0x2: 8 bit: disable. 10 bit: enable
// 0x3: 8 bit: enable. 10 bit: enable
"enc_bitrate_savings": 1,
// minimum encoder bitrate boost
"enc_bitrate_boost": 15,
// time threshold of output buffer allocation loop since last input buffer queued(ms)
// 0 --> no such limitation (loop until allocation done)
"max_retry_alloc_output_timeout": 0,
// override default primaries to BT709 for >=UHD decode
"default_primaries_override" : 0,
// WARNING:
// Please DON'T change these values, if you don't know what you are doing.
// These are the Video HAL capabilities. Video HAL may not function properly with wrong values.
// below are various capability used
// video driver version capability used for skype MediaCodec
"vt_driver_version": 534123018,
// maximum LTR cont for encoder
"ltr_max_count": 2,
// Encoder preprocessing: maximum encoder downscalar factor possible in width or height or both direction
"preprocess_max_downscale_factor": 0,
// encoder support rotation as preprocessing
"preprocess_rotation": 1,
// encoder maxium Hier-P layer count: 6
"max_temporal_layer_pframe_count": 6,
// encoder maximum Hier-B layer count: 0
"max_temporal_layer_bframe_count": 0
},
// List of HW codecs enabled for this target
"codecs-available": {
"decoders": [
"c2.qti.avc.decoder",
"c2.qti.avc.decoder.low_latency",
"c2.qti.avc.decoder.secure",
"c2.qti.hevc.decoder",
"c2.qti.hevc.decoder.low_latency",
"c2.qti.hevc.decoder.secure",
"c2.qti.vp9.decoder",
"c2.qti.vp9.decoder.secure"
],
"encoders": [
"c2.qti.avc.encoder",
"c2.qti.hevc.encoder",
"c2.qti.hevc.encoder.cq",
"c2.qti.heic.encoder"
]
}
}
}

View File

@@ -0,0 +1,36 @@
###########################################################################
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2017, 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.
###########################################################################
PRIO=1,1,0,0,0,0,0,0
#arch_timer, arm-pmu, arch_mem_timer
IGNORED_IRQ=19,21,38

View File

@@ -0,0 +1,11 @@
/*
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='10' where property='qcrildb_version';UPDATE qcril_properties_table SET def_val="" WHERE property="all_bc_msg";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.custom_ecc";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.cs_srv_type";

View File

@@ -0,0 +1,11 @@
/*
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='11' where property='qcrildb_version';UPDATE qcril_properties_table SET def_val="" WHERE property="all_bc_msg";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.custom_ecc";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.cs_srv_type";

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='12' where property='qcrildb_version';

View File

@@ -0,0 +1,11 @@
/*
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='13' where property='qcrildb_version';UPDATE qcril_properties_table SET def_val="" WHERE property="persist.vendor.radio.msim.stackid_0";
UPDATE qcril_properties_table SET def_val="" WHERE property="persist.vendor.radio.msim.stackid_1";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.start_ota_daemon";
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.force_gba_over_isim_app", "false");

View File

@@ -0,0 +1,178 @@
/*
Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='6' where property='qcrildb_version';INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("is_rat_tlv_supported", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("is_ril_vrte_learning_enabled", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("all_bc_msg", "all");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("hw_mbn_loaded", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("sw_mbn_loaded", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("mcfg_ver_info", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.data.profile_update", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.disable_nricon_report", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.force_ltd_sys_ind", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.dont_use_dsd", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.tcp_rst_drop", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.datacall_timeout", "155");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.attach.profile", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.dont_use_epc", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.rcv_dormancy_ind", "on_screen_state");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.no_srv_rc_17", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.bar_fake_gcell", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.wait_time_for_fake_ecc", "10");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.unicode_op_names", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.enableadvancedscan", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.do_not_use_ril_optr_db", "true");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.stack_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.stack_1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.disable_retry", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.max_retry_timeout", "100");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.qcril_gstk.disable", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.qcril_uim_vcc_feature", "0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.uim_temp_unlock_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.uim_temp_unlock_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.fci");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sglte_csfb", "false");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.rat_on");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.kddi_hold_answ_on", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ims_retry_3gpp", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ims_retry_3gpp2", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.oem_ind_to_both", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.oem_socket", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sap_silent_pin", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.block_allow_data", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.suppress_req", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.data_con_rprt", "false");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.track_heap_mem");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.voice.modem.index");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.ignore_ims_wlan");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.ver_info");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sw_mbn_loaded", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.hw_mbn_loaded", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ril_log_enabled", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.adb_log_on", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ril_payload_on", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ril_log_interval", "5");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ril_extra_debug", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.hw_mbn_update", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sw_mbn_update", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sw_mbn_volte", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sw_mbn_openmkt", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.long_iin_mbn", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val, value) VALUES("persist.vendor.radio.msim.stackid_0", "0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val, value) VALUES("persist.vendor.radio.msim.stackid_1", "1", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.do_not_init_csvt", "0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.env.spec");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.apm_sim_not_pwdn", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.add_power_save", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.force_nw_search", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.voice_on_lte", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.report_rstate", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.fill_eons", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.limit_sys_info", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.no_wait_for_card", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.snapshot_timer", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.snapshot_enabled", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.snapshot_data", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.data_timer", "500");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.rcv_data_dorm_ind", "off");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.data_ltd_sys_ind", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.use_se_table_only", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.custom_ecc", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.custom_nw_ecc", "0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.ecc_hard");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.eri64_as_home", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.prefer_spn", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.proc_nw_scan", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sglte.eons_domain", "cs");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sglte.eons_roam", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.prov_emer_in_lpm", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.relay_oprt_change", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.lte_vrte_ltd", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.3gpp_drte_ltd", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.no_cons_man_roam", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.wait_for_pbm", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.wait_for_pbm_time", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sib16_support", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.lte_full_band", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.cinfo_sweep_limit", "10000");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.use_cc_names", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.reg_den_rej_cause", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.csg_info_avlbl", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.cs_srv_type", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.limit_rac_change", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.poweron_opt", "1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.sglte_target");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_plmn_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_plmn_1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.tuneaway_0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.tuneaway_1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.paging_priority_0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.paging_priority_1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.is_voip_enabled", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.pwropt_modepref_0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.pwropt_modepref_1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.default_network", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.always_send_plmn", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.restore_mode_pref", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.manual_nw_rej_ct", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.ignore_dom_time", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.1x_roam_mtu_size", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.lte_tuneaway_0", "0xFF");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.lte_tuneaway_1", "0xFF");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.apm_mdm_not_pwdn", "1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_0_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_0_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_1_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_1_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_2_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_2_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_3_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_lons_3_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_0_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_0_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_1_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_1_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_2_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_2_1");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_3_0");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.nitz_sons_3_1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.cn_mcc", "460");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.tw_mcc", "466");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.mbn_path", "/data/modem_config/");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.stack_id_0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.stack_id_1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.start_ota_daemon", "false");
INSERT OR REPLACE INTO qcril_properties_table(property) VALUES("persist.vendor.radio.mt_sms_ack");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.sms_link_timer", "4");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.force_on_dc", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.block_sms_on_1x", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.process_sups_ind", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.0x9e_not_callname", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.orig_num_disp", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.report_codec", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.support_subaddr", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.subaddr_amp", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.reject_cause_21", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.subaddr_ia5_id", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.redir_party_num", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.call_type", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.facnotsup_as_nonw", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.autoanswer.ms", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.voice_diag_logging", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.cb.dup_detection", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.support.encrypted_calls", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.vdp_on_ims_cap", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.disable_modem_cfg", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.5g_mode_pref", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.5g_mode_pref_0", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.5g_mode_pref_1", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.fake_audio_up", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.hidl_dev_service", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.is_ussd_supported", "false");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.hlos_prov_pref_auto", "0");

View File

@@ -0,0 +1,30 @@
/*
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
UPDATE qcril_properties_table set def_val='9' where property='qcrildb_version';UPDATE qcril_properties_table SET def_val="" WHERE property="all_bc_msg";
UPDATE qcril_properties_table SET def_val="false" WHERE property="persist.vendor.radio.do_not_use_ril_optr_db";
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.shutdown_deactivate_timer", "90");
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.qcril_uim_vcc_feature";
UPDATE qcril_properties_table SET def_val="false" WHERE property="persist.vendor.radio.oem_ind_to_both";
UPDATE qcril_properties_table SET def_val="true" WHERE property="persist.vendor.radio.data_con_rprt";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.add_power_save";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.no_wait_for_card";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.data_ltd_sys_ind";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.custom_ecc";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.eri64_as_home";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.lte_vrte_ltd";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.cs_srv_type";
UPDATE qcril_properties_table SET def_val="30" WHERE property="persist.vendor.radio.mt_sms_ack";
UPDATE qcril_properties_table SET def_val="1" WHERE property="persist.vendor.radio.0x9e_not_callname";
UPDATE qcril_properties_table SET def_val="0" WHERE property="persist.vendor.radio.facnotsup_as_nonw";
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.is_wps_enabled", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.force_get_pref", "1");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.msgtunnel.start", "true");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.data.qmi.adb_logmask", "0");
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.dpm.feature", "0");
DELETE FROM qcril_properties_table WHERE property="persist.vendor.radio.hlos_prov_pref_auto";

View File

@@ -0,0 +1,236 @@
/*
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-- VERSION: 1
PRAGMA foreign_keys=OFF;
CREATE TABLE qcril_emergency_source_mcc_table(MCC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER));
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('730','133','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('901','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('901','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('404','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('520','191','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('520','1669','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('520','199','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('520','112','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('520','911','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('414','191','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('414','192','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('414','199','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('515','117','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('515','112','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('515','911','','limited');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','120','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('852','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','199','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','113','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('452','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('452','113','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('452','114','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('452','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('502','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('502','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('502','991','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('502','994','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('502','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('405','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('310','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('310','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('310','*272911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('310','*272*911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('310','*272#911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('311','*272911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('311','*272*911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('311','*272#911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('302','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('302','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('456','191','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('456','192','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('456','199','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('457','191','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('457','192','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('457','199','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('706','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('704','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('429','100','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('429','101','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('429','102','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('429','108','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('429','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('470','100','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('470','101','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('470','102','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('470','108','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('470','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('234','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('722','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('722','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('505','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('505','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('505','000','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('724','190','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('724','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('724','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('001','190','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('001','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('001','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('730','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('730','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('732','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('732','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('712','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('712','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('712','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('712','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('712','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('740','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('740','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('740','101','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('706','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('706','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('706','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('706','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('704','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('372','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('372','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('338','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('338','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('272','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('272','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('272','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('334','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('334','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('710','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('710','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('710','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('710','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('710','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('714','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('714','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('714','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('714','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('714','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('744','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('744','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('716','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('716','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('330','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('330','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('374','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('374','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('234','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('234','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('748','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('748','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('425','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('425','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('425','100','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('510','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('404','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('405','911','','');
CREATE TABLE qcril_emergency_source_voice_table(MCC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER));
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','110','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','119','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','120','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','999','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('852','999','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('460','122','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('520','191','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('520','1669','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('520','199','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('520','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('520','911','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('414','191','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('414','192','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('414','199','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('515','117','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('515','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('515','911','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','110','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','118','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','119','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','199','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','113','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('510','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('452','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('452','113','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('452','114','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('452','115','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('502','112','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('502','911','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('502','991','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('502','994','','full');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_table" VALUES('502','999','','full');
CREATE TABLE qcril_emergency_source_hard_mcc_table(MCC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER));
CREATE TABLE qcril_emergency_source_nw_table(MCC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER));
CREATE TABLE qcril_emergency_source_escv_iin_table(IIN TEXT, NUMBER TEXT, ESCV INTEGER, ROAM TEXT, PRIMARY KEY(IIN,NUMBER,ROAM));
CREATE TABLE qcril_emergency_source_escv_nw_table(MCC TEXT, MNC TEXT, NUMBER TEXT, ESCV INTEGER, PRIMARY KEY(MCC,NUMBER, ESCV));
CREATE TABLE qcril_emergency_source_mcc_mnc_table(MCC TEXT, MNC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER,MNC));
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','123','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('510','10','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','103','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','120','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','128','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','02','66','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('748','10','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('748','10','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','04','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','04','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','04','*1','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('704','01','115','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('704','01','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('704','01','128','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('748','07','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('748','07','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','000','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','08','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','190','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','*911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('00','000','#911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('716','10','105','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('716','06','105','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','111','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','01','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','01','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('370','01','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('704','01','120','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('704','01','122','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','04','*171','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','01','171','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','02','171','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','03','171','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','06','*1','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','06','*171','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','06','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('734','06','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','12','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','187','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('732','130','123','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('268','06','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('268','06','911','','');
CREATE TABLE qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
CREATE TABLE qcril_emergency_source_voice_mcc_mnc_table(MCC TEXT, MNC TEXT, NUMBER TEXT, IMS_ADDRESS TEXT, SERVICE TEXT, PRIMARY KEY(MCC,NUMBER,MNC));
CREATE TABLE qcril_operator_specific_config(MCC TEXT, MNC TEXT, WPS_OVER_CS INTEGER, PRIMARY KEY(MCC, MNC));
INSERT INTO "qcril_properties_table" VALUES('qcrildb_version','1','3');

View File

@@ -0,0 +1,29 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='10' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','730',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','220',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','221',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','222',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','223',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','224',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','225',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','226',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','227',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','228',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','229',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','580',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','581',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','582',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','583',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','584',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','585',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','586',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','587',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','588',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','589',1);

View File

@@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='11' where property='qcrildb_version';
DELETE FROM qcril_emergency_source_mcc_mnc_table where MCC = '704' AND MNC = '01';

View File

@@ -0,0 +1,23 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='12' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('234','30','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('234','30','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('234','33','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('234','33','999','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','01','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','01','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','06','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','98','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','06','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','98','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','02','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('260','02','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('242','02','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('242','02','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('242','05','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('242','05','112','','');

View File

@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='13' where property='qcrildb_version';
DELETE FROM qcril_emergency_source_mcc_mnc_table where MCC = '222' AND MNC = '88';
DELETE FROM qcril_emergency_source_mcc_mnc_table where MCC = '222' AND MNC = '99';

View File

@@ -0,0 +1,30 @@
/*
Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
UPDATE qcril_properties_table set value='14' where property='qcrildb_version';
DELETE FROM qcril_operator_specific_config where MCC = '310' AND MNC = '730';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '220';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '221';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '222';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '223';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '224';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '225';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '226';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '227';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '228';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '229';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '580';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '581';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '582';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '583';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '584';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '585';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '586';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '587';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '588';
DELETE FROM qcril_operator_specific_config where MCC = '311' AND MNC = '589';

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='15' where property='qcrildb_version';
DELETE FROM qcril_emergency_source_mcc_mnc_table where MCC = '222' AND MNC = '88';
DELETE FROM qcril_emergency_source_mcc_mnc_table where MCC = '222' AND MNC = '99';
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','88','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','88','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','99','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('222','99','911','','');

View File

@@ -0,0 +1,23 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='16' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','750',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','440',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','600',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','920',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('312','160',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','930',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','900',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','040',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','350',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','420',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','360',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','140',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('310','960',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','050',1);
INSERT OR REPLACE INTO "qcril_operator_specific_config" VALUES('311','650',1);

View File

@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='17' where property='qcrildb_version';
DELETE FROM qcril_emergency_source_voice_table where MCC = '460' AND NUMBER = '112';
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_table" VALUES('460','911','','');

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='18' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','117','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','143','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','144','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','145','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('228','01','147','','');

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='19' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','03','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','03','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','03','911','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','07','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','07','112','','');
INSERT OR REPLACE INTO "qcril_emergency_source_mcc_mnc_table" VALUES('262','07','911','','');

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT, def_val TEXT, value TEXT, PRIMARY KEY(property));
UPDATE qcril_properties_table set value='20' where property='qcrildb_version';
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','10','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','10','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','10','119','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','20','110','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','20','118','','');
INSERT OR REPLACE INTO "qcril_emergency_source_voice_mcc_mnc_table" VALUES('440','20','119','','');

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