Update blobs to LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0

This commit is contained in:
mikairyuu 2022-01-18 20:37:02 +10:00
parent d742b3a752
commit 2c1d2f38e4
424 changed files with 1513 additions and 61 deletions

View File

@ -159,9 +159,37 @@ android_app_import {
}
dex_import {
name: "WfdCommon",
name: "tcmclient",
owner: "xiaomi",
jars: ["proprietary/framework/WfdCommon.jar"],
jars: ["proprietary/framework/tcmclient.jar"],
}
dex_import {
name: "com.qti.dpmframework",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qti.dpmframework.jar"],
system_ext_specific: true,
}
dex_import {
name: "dpmapi",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/dpmapi.jar"],
system_ext_specific: true,
}
dex_import {
name: "qcrilhook",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/qcrilhook.jar"],
system_ext_specific: true,
}
dex_import {
name: "vendor.qti.hardware.alarm-V1.0-java",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {

BIN
sm7250-common/proprietary/system_ext/bin/dpmd Normal file → Executable file

Binary file not shown.

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2014, 2019-2020 Qualcomm Technologies, Inc.
<!--Copyright (c) 2014, 2019-2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="com.qti.dpmapi"
<library name="dpmapi"
file="/system/system_ext/framework/dpmapi.jar"/>
</permissions>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -69,11 +69,6 @@ QDR_CAN_TYPE = 14
##Reporting offset before PPS boundary
QDR_REPORTING_OFFSET = 20
#
##QDR_ENABLE_QG shall be set as 1
QDR_ENABLE_QG = 1
#GEAR Optimisation
QG_GEAR_ON_CHANGE=1
#
##Vehicle Sensor Configuration (CAN data availability)
##QDR_VEH_SENSOR_CONFIG:

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2012-2013 Qualcomm Technologies, Inc. All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.-->
<SwimConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SwimConfig.xsd">
<!--The version of SwimConfig file format-->
<Version>1.0</Version>
<ModulesConfiguration>
<WiFiManager>
<DefaultState>ON</DefaultState>
</WiFiManager>
<LinkPathManager>
<!-- The number of past days to retain path history-->
<PathHistory units="days">365</PathHistory>
</LinkPathManager>
<IFSelection>
<HysteresisTimer units="s">10</HysteresisTimer>
</IFSelection>
<InterfaceManager>
<T_BLACKLIST_BQE units="secs">900</T_BLACKLIST_BQE>
<T_BLACKLIST_ICD units="secs">900</T_BLACKLIST_ICD>
<T_BLACKLIST_CQE units="secs">900</T_BLACKLIST_CQE>
<BQE>
<T_passiveBQE units="s">5</T_passiveBQE>
</BQE>
</InterfaceManager>
<BitrateEstimationManager>
<RAT Type="WLAN">
<PollInterval units="ms">60</PollInterval>
<BurstDuration units="">2</BurstDuration>
<TopN units="">4</TopN>
</RAT>
<RAT Type="WWAN">
<PollInterval units="ms">70</PollInterval>
<BurstDuration units="">2</BurstDuration>
<TopN units="">4</TopN>
</RAT>
<ActiveBQE>
<URI>http://cne.qualcomm.com/cne/v1/bqe/traffic</URI>
<PostURI>https://cne-post.qualcomm.com/cne/v1/bqe/findings</PostURI>
<!-- Specifies delaying the active
probe relative to the start of BPS sampling If the delay value is
positive the active probe will be delayed and vice versa -->
<Delay units="ms">0</Delay>
<Default_mbw units="bps">4000000</Default_mbw>
<Default_mss units="bytes">1360</Default_mss>
<default_rtt units="ms">250</default_rtt>
<cong2slow>1</cong2slow>
<BQE_Past_Size>7</BQE_Past_Size>
<BQE_validity_short_timer units="s">10800</BQE_validity_short_timer>
<BQE_good_validity units="minutes">10080</BQE_good_validity>
<BQE_bad_validity units="minutes">1440</BQE_bad_validity>
</ActiveBQE>
</BitrateEstimationManager>
<ICD>
<ICD_Past_Size>7</ICD_Past_Size>
<ICD_validity_short_timer units="s">3600</ICD_validity_short_timer>
<ICD_Timeout units="s">5</ICD_Timeout>
<ICD_High>0.05</ICD_High>
<ICD_URI>https://cne-ssl.qualcomm.com/cne/v1/icd/wifi-data</ICD_URI>
<ICD_HTTP_URI>http://cne.qualcomm.com/cne/v1/icd</ICD_HTTP_URI>
</ICD>
<TQE>
<SOCK_ACTIVE_THRESH units="ms">3000</SOCK_ACTIVE_THRESH>
<TQ_THRESH>0.15</TQ_THRESH>
<TQE_COUNT_THRESH>2</TQE_COUNT_THRESH>
<TQE_OVERALL_COUNT_THRESH>2</TQE_OVERALL_COUNT_THRESH>
<alphaTQE>0.8</alphaTQE>
<T_BLACKLIST_TQE units="secs">3600</T_BLACKLIST_TQE>
</TQE>
</ModulesConfiguration>
</SwimConfig>

View File

@ -0,0 +1,388 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2012-2016 Qualcomm Technologies, Inc. All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.-->
<AndsfPolicy>
<Man>Qualcomm</Man>
<Mod>FFA</Mod>
<Andsf>
<Version>5.0</Version>
<Name>Test 1</Name>
<!-- ISRP>
<ForFlowBased>
<IPFlow>
<AddressType>IPv4</AddressType>
<StartSourceIPAddress>192.0.2.0</StartSourceIPAddress>
<EndSourceIPAddress>192.0.2.255</EndSourceIPAddress>
<StartDestIPAddress>74.125.224.0</StartDestIPAddress>
<EndDestIPAddress>74.125.224.255</EndDestIPAddress>
<ProtocolType>6</ProtocolType>
<StartSourcePortNumber>1</StartSourcePortNumber>
<EndSourcePortNumber>65535</EndSourcePortNumber>
<StartDestPortNumber>1</StartDestPortNumber>
<EndDestPortNumber>65535</EndDestPortNumber>
<AppName>SomeAppName</AppName>
<Direction>0</Direction>
<QoS>0</QoS>
</IPFlow>
<RoutingCriteria>
<ValidityArea>
<_3GPP_Location>
<PLMN>ATT</PLMN>
<TAC>SAN DIEGO</TAC>
<LAC>SAN DIEGO</LAC>
<GERAN_CI>F</GERAN_CI>
<UTRAN_CI>1E</UTRAN_CI>
<EUTRA_CI>1D</EUTRA_CI>
</_3GPP_Location>
<_3GPP2_Location>
<_1x>
<SID>10</SID>
<NID>255</NID>
<Base_ID>255</Base_ID>
</_1x>
<HRPD>
<Sector_ID>12345678</Sector_ID>
<Netmask>5</Netmask>
</HRPD>
</_3GPP2_Location>
<WiMAX_Location>
<NAP-ID>NAP</NAP-ID>
<BS-ID>BS</BS-ID>
</WiMAX_Location>
<WLAN_Location>
<HESSID>QCOM</HESSID>
<SSID>Cerberus</SSID>
<BSSID>12345678</BSSID>
</WLAN_Location>
<Geo_Location>
<Circular>
<AnchorLatitude>0</AnchorLatitude>
<AnchorLongitude>0</AnchorLongitude>
<Radius>10</Radius>
</Circular>
</Geo_Location>
</ValidityArea>
<TimeOfDay>
<TimeStart>003000</TimeStart>
<TimeStop>235959</TimeStop>
<DateStart>19750201</DateStart>
<DateStop>20120228</DateStop>
</TimeOfDay>
<APN>IMS</APN>
</RoutingCriteria>
<RoutingRule>
<AccessTechnology>1</AccessTechnology>
<AccessNetworkPriority>1</AccessNetworkPriority>
</RoutingRule>
<RoutingRule>
<AccessTechnology>3</AccessTechnology>
<AccessId>Cerberus</AccessId>
<SecondaryAccessId>QCOM</SecondaryAccessId>
<AccessNetworkPriority>5</AccessNetworkPriority>
</RoutingRule>
<RulePriority>2</RulePriority>
</ForFlowBased>
<Roaming>0</Roaming>
<UpdatePolicy>0</UpdatePolicy>
<PLMN>ATT</PLMN>
</ISRP -->
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>false</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>
<!-- Suggested use of bqethreshold with specific apIds -->
<!-- BQE_Thresholds Id="1">
<apIds Type="SSID">
<apId>wifi-ap1</apId>
<apId>wifi-ap2</apId>
</apIds>
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">100000</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_0">
<Threshold units="bps">200000</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_A">
<Threshold units="bps">400000</Threshold>
</RadioTechnology>
<RadioTechnology Type="EVDO_B">
<Threshold units="bps">600000</Threshold>
</RadioTechnology>
<RadioTechnology Type="EDGE">
<Threshold units="bps">100000</Threshold>
</RadioTechnology>
<RadioTechnology Type="UMTS">
<Threshold units="bps">200000</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPA">
<Threshold units="bps">600000</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSDPA">
<Threshold units="bps">600000</Threshold>
</RadioTechnology>
<RadioTechnology Type="GPRS">
<Threshold units="bps">50000</Threshold>
</RadioTechnology>
<RadioTechnology Type="LTE">
<Threshold units="bps">1000000</Threshold>
</RadioTechnology>
<RadioTechnology Type="EHRPD">
<Threshold units="bps">600000</Threshold>
</RadioTechnology>
<RadioTechnology Type="HSPAP">
<Threshold units="bps">600000</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>
<!-- The below list is only for reference to enable/disable ICD per SSID basis
<ICD config-type="disabled">
<apIds Type="SSID">
<apId>wifi-ap1</apId>
<apId>wifi-ap2</apId>
</apIds>
</ICD>
OR
<ICD config-type="enabled">
<apIds Type="SSID">
<apId>wifi-ap3</apId>
<apId>wifi-ap4</apId>
</apIds>
</ICD>
-->
<TQE>
<!-- Default node for TQE_Thresholds element -->
<TQE_Thresholds Id ="128">
<!-- Disabling Broken Backhaul Detector module -->
<BBD_Disabled>false</BBD_Disabled>
<!-- Disabling Degraded Backhaul Detector module -->
<DBD_Disabled>false</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">20</TQETimeWindow>
<!-- Minimum fraction of sockets reporting BAD (among valid ones) to declare TQE FAIL -->
<RatioThresh>0.2</RatioThresh>
</TQE_Thresholds>
<!-- The next element is for reference only to show how to -->
<!-- set up TQE thresholds for a list of specific apids -->
<!--
<TQE_Thresholds Id ="1">
<apIds Type="SSID">
<apId>operatorSsid1</apId>
<apId>operatorSsid2</apId>
</apIds>
<BBD_Disabled>false</BBD_Disabled>
<DBD_Disabled>false</DBD_Disabled>
<DGIMThresh units="msecs">400</DGIMThresh>
<DBDTputThresh units="bps">1000000</DBDTputThresh>
<TQETimeWindow units="secs">20</TQETimeWindow>
<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">-86,-86</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">-91,-91</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">-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.36</MACStatsAveragingAlpha>
<!-- Threshold for RX MPDU PER -->
<RMP_THR>0.05</RMP_THR>
<!-- Minimum MPDU count to activate RX MPDU PER -->
<RMP_CNT_THR>19</RMP_CNT_THR>
<!-- Cutoff RX MCS index -->
<RX_MCS_THR>5</RX_MCS_THR>
<!-- Cutoff RX BW index -->
<RX_BW_THR>0</RX_BW_THR>
<!-- Threshold for TX MSDU drop -->
<TMD_THR>0.01</TMD_THR>
<!-- Minimum MSDU count to activate TX MSDU drop -->
<TMD_CNT_THR>1</TMD_CNT_THR>
<!-- Threshold for MPDU retry rate -->
<TMR_THR>0.82</TMR_THR>
<!-- Minimum MPDU count to activate MPDU retry rate -->
<TMR_CNT_THR>6</TMR_CNT_THR>
<!-- Cutoff TX MCS index -->
<TX_MCS_THR>9</TX_MCS_THR>
<!-- Cutoff TX BW index -->
<TX_BW_THR>3</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.25</PERAM_THR>
<!-- Minimum MPDU count to activate PERAM -->
<PERAM_CNT_THR>10</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="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">-86,-86</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">-91,-91</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.5</MACStatsAveragingAlpha>
<!-- The threshold indicating the number of frames below which no valid CQE estimation can't be done -->
<FrameCntThreshold units="frames">3</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.25</MACMibThreshold2a>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<RetryMetricWeight2a>0.2347</RetryMetricWeight2a>
<!-- The weightage that given to multi-retry metric in computation of CQE -->
<!-- when average RSSI is greater than RSSIModelThreshold -->
<MultiRetryMetricWeight2a>0.0489</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.22</MACMibThreshold2b>
<!-- The weightage that given to retry metric in computation of CQE -->
<!-- when average RSSI is less than or equal to RSSIModelThreshold -->
<RetryMetricWeight2b>0.2281</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.1314</MultiRetryMetricWeight2b>
</CQE_Thresholds>
<!-- The next element is for reference only to show how to set up CQE thresholds for a list of specific apids -->
<!--
<CQE_Thresholds Id ="1">
<apIds Type="SSID">
<apId>operatorSsid1</apId>
<apId>operatorSsid2</apId>
</apIds>
<RSSIAddThreshold units="dbm">-82</RSSIAddThreshold>
<RSSIDropThreshold units="dbm">-90</RSSIDropThreshold>
<RSSIModelThreshold units="dbm">-85</RSSIModelThreshold>
<RSSIAveragingInterval units="secs">4</RSSIAveragingInterval>
<RSSIMacTimerThreshold units="dbm">-93</RSSIMacTimerThreshold>
<CQETimer units="secs">2</CQETimer>
<MACHysteresisTimer units="secs">110</MACHysteresisTimer>
<MACStatsAveragingAlpha>0.1</MACStatsAveragingAlpha>
<FrameCntThreshold units="frames">25</FrameCntThreshold>
<ColdStartThreshold units="frames">2</ColdStartThreshold>
<MACMibThreshold2a>0.25</MACMibThreshold2a>
<RetryMetricWeight2a>0.1061</RetryMetricWeight2a>
<MultiRetryMetricWeight2a>0.0984</MultiRetryMetricWeight2a>
<MACMibThreshold2b>0.45</MACMibThreshold2b>
<RetryMetricWeight2b>0.3072</RetryMetricWeight2b>
<MultiRetryMetricWeight2b>0.5156</MultiRetryMetricWeight2b>
</CQE_Thresholds>
-->
</CQE>
</Ext>
</Andsf>
<!-- The next element is for reference only to show how to config ANDSF
parameters for another version that may be supported on the device -->
<!--
<Andsf>
<Version>4.3</Version>
<Name>Test 1</Name>
<Ext>
<WQE>
<InterfaceManager>
<BQE_Disabled>false</BQE_Disabled>
<ICD_Disabled>false</ICD_Disabled>
<BQE_Thresholds Id="128">
<RadioTechnology Type="CDMA2000">
<Threshold units="bps">100000</Threshold>
</RadioTechnology>
</BQE_Thresholds>
</InterfaceManager>
</WQE>
<CQE>
</CQE>
</Ext>
</Andsf>
-->
</AndsfPolicy>

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

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
DSI Module configuration XML file
Copyright (c) 2013, 2015, 2017-2019 Qualcomm Technologies, Inc.
Copyright (c) 2013, 2015, 2017-2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
@ -1258,5 +1258,139 @@
<data type="string"> rmnet_data16 </data>
</list>
</listitem>
<!-- Configuration for lahaina_pt -->
<listitem name="lahaina_pt">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 17 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
<data type="string"> rmnet_data11 </data>
<data type="string"> rmnet_data12 </data>
<data type="string"> rmnet_data13 </data>
<data type="string"> rmnet_data14 </data>
<data type="string"> rmnet_data15 </data>
<data type="string"> rmnet_data16 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
<data type="string"> rmnet_data11 </data>
<data type="string"> rmnet_data12 </data>
<data type="string"> rmnet_data13 </data>
<data type="string"> rmnet_data14 </data>
<data type="string"> rmnet_data15 </data>
<data type="string"> rmnet_data16 </data>
</list>
</listitem>
<!-- Configuration for monaco-->
<listitem name="monaco">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 11 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
</listitem>
<!-- Configuration for QTang -->
<listitem name="qtang">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 11 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
</listitem>
</list>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Netmgr Module configuration XML file
Copyright (c) 2013, 2016-2020 Qualcomm Technologies, Inc.
Copyright (c) 2013, 2016-2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
@ -2570,7 +2570,7 @@
<data name="rtm_rmnet_data_enabled" type="int"> 1 </data>
<data name="rtnetlink_tc_enabled" type="int"> 1 </data>
<data name="rmnet_perf" type="int"> 1 </data>
<data name="rmnet_shs" type="int"> 1 </data>
<data name="rmnet_shs" type="int"> 2 </data>
<data name="netdev_max_backlog" type="int"> 100000 </data>
<data name="disable_tcp_hystart_detect" type="int"> 1 </data>
<data name="disable_hystart" type="int"> 1 </data>
@ -3116,6 +3116,7 @@
<data name="rmnet_shs" type="int"> 1 </data>
<data name="uplink_priority" type="int"> 1 </data>
<data name="iwlan_concurrency" type="int"> 1 </data>
<data name="nl_xfrm" type="int"> 1 </data>
<data name="netdev_max_backlog" type="int"> 100000 </data>
<data name="debug_netdev_max_backlog" type="int"> 1500 </data>
@ -3222,4 +3223,369 @@
<!-- Number of above reverse data ports inited on bootup -->
<data name="static_rev_links" type="int"> 4 </data>
</listitem>
<!-- lahaina_pt parameters -->
<listitem name = "lahaina_pt">
<data name="qmi_dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="dpm_retry_timeout" type="int"> 10000 </data>
<data name="wda_data_format_enabled" type="int"> 1 </data>
<data name="kfc_mode" type="int"> 4 </data>
<data name="kfc_qmap" type="int"> 1 </data>
<data name="qmi_pc" type="int"> 1 </data>
<data name="tcp_ack_prio" type="int"> 1 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_ch_enabled" type="int"> 1 </data>
<data name="single_qmux_ch_conn_id_str" type="string"> rmnet0 </data>
<data name="single_qmux_ch_name" type="string"> DATA5_CNTL </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="dataformat_agg_dl_pkt" type="int"> 63 </data>
<data name="dataformat_agg_dl_size" type="int"> 64844 </data>
<data name="dataformat_agg_ul_pkt" type="int"> 32 </data>
<data name="dataformat_agg_ul_size" type="int"> 16384 </data>
<data name="dataformat_agg_ul_time" type="int"> 1000000 </data>
<data name="dataformat_agg_ul_features" type="int"> 1 </data>
<data name="dataformat_dl_data_aggregation_protocol" type="int"> 9 </data>
<data name="dataformat_ul_data_aggregation_protocol" type="int"> 9 </data>
<data name="dataformat_dl_gro_enabled" type="int"> 1 </data>
<data name="dataformat_ul_gso_enabled" type="int"> 1 </data>
<data name="rsc" type="int"> 2 </data>
<data name="rsb" type="int"> 2 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="rtm_rmnet_data_enabled" type="int"> 1 </data>
<data name="rmnet_offload" type="int"> 1 </data>
<data name="rmnet_shs" type="int"> 1 </data>
<data name="uplink_priority" type="int"> 1 </data>
<data name="iwlan_concurrency" type="int"> 1 </data>
<data name="nl_xfrm" type="int"> 1 </data>
<data name="netdev_max_backlog" type="int"> 100000 </data>
<data name="debug_netdev_max_backlog" type="int"> 1500 </data>
<data name="disable_tcp_hystart_detect" type="int"> 1 </data>
<data name="disable_hystart" type="int"> 1 </data>
<data name="initial_ssthresh" type="int"> 1400 </data>
<data name="dl_marker_enabled" type="int"> 2 </data>
<data name="pnd_rps_mask" type="int"> 2 </data>
<data name="vnd_rps_mask" type="int"> 125 </data>
<data name="qos_via_idl" type="int"> 1 </data>
<data name="max_mtu" type="int"> 9216 </data>
<data name="netmgr_recovery_enabled" type="int"> 1 </data>
<data name="num_modems" type="int"> 2 </data>
<list name="modems_enabled">
<data type="int"> 1 </data> <!-- MODEM_MSM -->
<data type="int"> 0 </data> <!-- MODEM_MDM -->
</list>
<data name="control_ports_len" type="int"> 17 </data>
<list name="control_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
<data type="string"> rmnet_data11 </data>
<data type="string"> rmnet_data12 </data>
<data type="string"> rmnet_data13 </data>
<data type="string"> rmnet_data14 </data>
<data type="string"> rmnet_data15 </data>
<data type="string"> rmnet_data16 </data>
</list>
<data name="data_ports_len" type="int"> 17 </data>
<list name="data_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
<data type="string"> rmnet_data11 </data>
<data type="string"> rmnet_data12 </data>
<data type="string"> rmnet_data13 </data>
<data type="string"> rmnet_data14 </data>
<data type="string"> rmnet_data15 </data>
<data type="string"> rmnet_data16 </data>
</list>
<!-- Number of above data ports inited on bootup -->
<data name="static_fwd_links" type="int"> 6 </data>
<!-- iWLAN ports -->
<data name="iwlan_enable" type="int"> 1 </data>
<data name="rev_control_ports_len" type="int"> 16 </data>
<list name="rev_control_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
<data type="string"> r_rmnet_data9 </data>
<data type="string"> r_rmnet_data10 </data>
<data type="string"> r_rmnet_data11 </data>
<data type="string"> r_rmnet_data12 </data>
<data type="string"> r_rmnet_data13 </data>
<data type="string"> r_rmnet_data14 </data>
<data type="string"> r_rmnet_data15 </data>
</list>
<data name="rev_data_ports_len" type="int"> 16 </data>
<list name="rev_data_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
<data type="string"> r_rmnet_data9 </data>
<data type="string"> r_rmnet_data10 </data>
<data type="string"> r_rmnet_data11 </data>
<data type="string"> r_rmnet_data12 </data>
<data type="string"> r_rmnet_data13 </data>
<data type="string"> r_rmnet_data14 </data>
<data type="string"> r_rmnet_data15 </data>
</list>
<!-- Number of above reverse data ports inited on bootup -->
<data name="static_rev_links" type="int"> 4 </data>
</listitem>
<!-- monaco parameters -->
<listitem name = "monaco">
<data name="qmi_dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="dpm_retry_timeout" type="int"> 10000 </data>
<data name="wda_data_format_enabled" type="int"> 1 </data>
<data name="kfc_mode" type="int"> 0 </data>
<data name="kfc_qmap" type="int"> 0 </data>
<data name="qmi_pc" type="int"> 0 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_ch_enabled" type="int"> 1 </data>
<data name="single_qmux_ch_conn_id_str" type="string"> rmnet0 </data>
<data name="single_qmux_ch_name" type="string"> DATA5_CNTL </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="dataformat_agg_dl_pkt" type="int"> 10 </data>
<data name="dataformat_agg_dl_size" type="int"> 8192 </data>
<data name="dataformat_agg_ul_pkt" type="int"> 0 </data>
<data name="dataformat_agg_ul_size" type="int"> 0 </data>
<data name="dataformat_agg_ul_time" type="int"> 0 </data>
<data name="dataformat_agg_ul_features" type="int"> 0 </data>
<data name="dataformat_dl_data_aggregation_protocol" type="int"> 8 </data>
<data name="dataformat_ul_data_aggregation_protocol" type="int"> 8 </data>
<data name="dataformat_dl_gro_enabled" type="int"> 1 </data>
<data name="dataformat_ul_gso_enabled" type="int"> 1 </data>
<data name="rsc" type="int"> 0 </data>
<data name="rsb" type="int"> 0 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="rtm_rmnet_data_enabled" type="int"> 1 </data>
<data name="rmnet_offload" type="int"> 0 </data>
<data name="rmnet_shs" type="int"> 0 </data>
<data name="uplink_priority" type="int"> 0 </data>
<data name="iwlan_concurrency" type="int"> 1 </data>
<data name="nl_xfrm" type="int"> 1 </data>
<data name="netdev_max_backlog" type="int"> 10000 </data>
<data name="debug_netdev_max_backlog" type="int"> 1500 </data>
<data name="disable_tcp_hystart_detect" type="int"> 1 </data>
<data name="disable_hystart" type="int"> 1 </data>
<data name="initial_ssthresh" type="int"> 1400 </data>
<data name="dl_marker_enabled" type="int"> 0 </data>
<data name="pnd_rps_mask" type="int"> 2 </data>
<data name="vnd_rps_mask" type="int"> 12 </data>
<data name="qos_via_idl" type="int"> 1 </data>
<data name="max_mtu" type="int"> 9216 </data>
<data name="netmgr_recovery_enabled" type="int"> 1 </data>
<data name="num_modems" type="int"> 2 </data>
<list name="modems_enabled">
<data type="int"> 1 </data> <!-- MODEM_MSM -->
<data type="int"> 0 </data> <!-- MODEM_MDM -->
</list>
<data name="control_ports_len" type="int"> 11 </data>
<list name="control_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<data name="data_ports_len" type="int"> 11 </data>
<list name="data_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<!-- Number of above data ports inited on bootup -->
<data name="static_fwd_links" type="int"> 6 </data>
<!-- iWLAN ports -->
<data name="iwlan_enable" type="int"> 1 </data>
<data name="rev_control_ports_len" type="int"> 9 </data>
<list name="rev_control_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
</list>
<data name="rev_data_ports_len" type="int"> 9 </data>
<list name="rev_data_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
</list>
<!-- Number of above reverse data ports inited on bootup -->
<data name="static_rev_links" type="int"> 4 </data>
</listitem>
<!-- QTang parameters -->
<listitem name = "qtang">
<data name="qmi_dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="dpm_retry_timeout" type="int"> 10000 </data>
<data name="wda_data_format_enabled" type="int"> 1 </data>
<data name="netmgr_listen_ev_proto" type="int"> 1 </data>
<data name="single_qmux_ch_enabled" type="int"> 1 </data>
<data name="single_qmux_ch_conn_id_str" type="string"> rmnet0 </data>
<data name="single_qmux_ch_name" type="string"> DATA5_CNTL </data>
<data name="tc_ul_baserate" type="int"> 155000000 </data>
<data name="dynamic_tc_ul_baserate" type="int"> 1 </data>
<data name="tc_ul_burst" type="int"> 25000 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="dataformat_agg_dl_pkt" type="int"> 10 </data>
<data name="dataformat_agg_dl_size" type="int"> 8192 </data>
<data name="dataformat_agg_ul_pkt" type="int"> 0 </data>
<data name="dataformat_agg_ul_size" type="int"> 0 </data>
<data name="dataformat_dl_data_aggregation_protocol" type="int"> 8 </data>
<data name="dataformat_ul_data_aggregation_protocol" type="int"> 8 </data>
<data name="dataformat_dl_gro_enabled" type="int"> 1 </data>
<data name="dataformat_ul_gso_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="rtm_rmnet_data_enabled" type="int"> 1 </data>
<data name="rtnetlink_tc_enabled" type="int"> 1 </data>
<data name="netdev_max_backlog" type="int"> 10000 </data>
<data name="disable_tcp_hystart_detect" type="int"> 1 </data>
<data name="disable_hystart" type="int"> 1 </data>
<data name="initial_ssthresh" type="int"> 1400 </data>
<data name="pnd_rps_mask" type="int"> 2 </data>
<data name="vnd_rps_mask" type="int"> 12 </data>
<data name="netdev_budget" type="int"> 0 </data>
<data name="tcp_mtu_probing" type="int"> 2 </data>
<data name="qos_via_idl" type="int"> 1 </data>
<data name="skip_buffered_qos_modify" type="int"> 1 </data>
<data name="num_modems" type="int"> 2 </data>
<list name="modems_enabled">
<data type="int"> 1 </data> <!-- MODEM_MSM -->
<data type="int"> 0 </data> <!-- MODEM_MDM -->
</list>
<data name="control_ports_len" type="int"> 11 </data>
<list name="control_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<data name="data_ports_len" type="int"> 11 </data>
<list name="data_ports">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
<data type="string"> rmnet_data8 </data>
<data type="string"> rmnet_data9 </data>
<data type="string"> rmnet_data10 </data>
</list>
<!-- iWLAN ports -->
<data name="iwlan_enable" type="int"> 1 </data>
<data name="rev_control_ports_len" type="int"> 9 </data>
<list name="rev_control_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
</list>
<data name="rev_data_ports_len" type="int"> 9 </data>
<list name="rev_data_ports">
<data type="string"> r_rmnet_data0 </data>
<data type="string"> r_rmnet_data1 </data>
<data type="string"> r_rmnet_data2 </data>
<data type="string"> r_rmnet_data3 </data>
<data type="string"> r_rmnet_data4 </data>
<data type="string"> r_rmnet_data5 </data>
<data type="string"> r_rmnet_data6 </data>
<data type="string"> r_rmnet_data7 </data>
<data type="string"> r_rmnet_data8 </data>
</list>
</listitem>
</list>

View File

@ -13,6 +13,7 @@ It allows additional grants on top of privapp-permissions-platform.xml
<exceptions>
<exception package="com.qualcomm.qti.cne">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
</exceptions>

View File

@ -5,8 +5,6 @@ ERR_ESTIMATE=0
#NTP server
NTP_SERVER=time.xtracloud.net
NTP_SERVER_2=asia.pool.ntp.org
NTP_SERVER_3=0.cn.pool.ntp.org
#XTRA CA path
XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
@ -14,28 +12,28 @@ XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 3
DEBUG_LEVEL = 1
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x20000
SUPL_VER=0x30000
# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=0
#SUPL_ES=1
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN
#0 - Use regular SUPL PDN for Emergency SUPL
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
#If it is uncommented here, this value will overwrite the value from
#config.xml.
#MSA=0X2
#MSB=0X1
SUPL_MODE=3
#SUPL_MODE=
# GPS Capabilities bit mask
# SCHEDULING = 0x01
@ -47,7 +45,7 @@ CAPABILITIES=0x17
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=70
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
@ -56,7 +54,8 @@ ACCURACY_THRES=70
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7275
# FOR MO SUPL SUPPORT, set the following
# MO_SUPL_HOST=supl.host.com or IP
# MO_SUPL_PORT=1234
@ -78,10 +77,11 @@ ACCURACY_THRES=70
####################################
# LPP_PROFILE is a bit mask
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 3
# 0x1: LPP User Plane
# 0x2: LPP Control Plane
# 0x4: LPP User Plane for NR5G
# 0x8: LPP Control Plane for NR5G
LPP_PROFILE = 2
####################################
#Datum Type
@ -94,7 +94,16 @@ DATUM_TYPE = 0
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
NMEA_PROVIDER=1
################################
# NMEA TAG BLOCK GROUPING
################################
# NMEA tag block grouping is only applicable to GSA
# Default is disabled
# 0 - disabled
# 1 - enabled
NMEA_TAG_BLOCK_GROUPING_ENABLED = 0
# Customized NMEA GGA fix quality that can be used to tell
# whether SENSOR contributed to the fix.
@ -138,7 +147,7 @@ SGLTE_TARGET=0
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 7
A_GLONASS_POS_PROTOCOL_SELECT = 0
##################################################
# Select technology for LPPe Control Plane
@ -291,7 +300,7 @@ MODEM_TYPE = 1
# 1 : enabled
# This setting enables GPS engine to estimate clock
# bias and drift when the signal from at least 1
# SV is available and the UEs position is known by
# SV is available and the UE<EFBFBD>s position is known by
# other position engines.
#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
@ -300,7 +309,7 @@ MODEM_TYPE = 1
#####################################
# This is a string that is sent to the framework
# in nfwNotifyCb callback
PROXY_APP_PACKAGE_NAME = com.lbe.security.miui
PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation
#####################################
# CP_MTLR_ES
@ -339,13 +348,6 @@ D_LEVEL_MAX_CAPACITY = 300
V_LEVEL_TIME_DEPTH = 200
V_LEVEL_MAX_CAPACITY = 400
# Xiaomi add for breaking xtra download limitation
XTRA_TEST_ENABLED = 1
XTRA_THROTTLE_ENABLED = 0
XTRA_SYSTEM_TIME_INJECT = 1
# Mechanism to handle the gnss assistance data download
# in very bad network situations
XTRA_SOCK_KEEPALIVE=1
##################################################
# Allow buffer diag log packets when diag memory allocation
# fails during boot up time.

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