Advertisement
Guest User

Untitled

a guest
Apr 18th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. <!-- Carrier policy XML for KDDI with LTE B1 removed in HOME and B41 removed in ROAM
  2. -->
  3.  
  4. <policy name = "generic"
  5. changelist = "$Change: 9120770 $"
  6. enabled = "true"
  7. schema_ver = "1"
  8. policy_ver = "43.2.2"
  9. >
  10.  
  11. <initial>
  12. <actions>
  13.  
  14. <!-- Define the MCCs in which LTE B41 is to be enabled -->
  15. <mcc_list name = "home_mccs">
  16. 440 441
  17. </mcc_list>
  18.  
  19. <plmn_list name = "KDDI_PLMN">
  20. 440-50 441-10
  21. </plmn_list>
  22.  
  23. <!-- Lte all bands support register on 44050 -->
  24. <rf_band_list name="rf_bands_all">
  25. <gw_bands base="hardware" />
  26. <lte_bands base="none" >
  27. <include> 40 17 16 4 2 0 </include>
  28. </lte_bands>
  29. <tds_bands base="none" />
  30. </rf_band_list>
  31.  
  32. <!-- NON-KDDI PLMN, remove B41, B18 -->
  33. <rf_band_list name="rf_bands_non_kddi">
  34. <gw_bands base="hardware" />
  35. <lte_bands base="none" >
  36. <include> 16 4 2 0 </include>
  37. </lte_bands>
  38. <tds_bands base="none" />
  39. </rf_band_list>
  40.  
  41. <!-- RF Bands with ALL enabled -->
  42. <rf_band_list name="rf_bands_gwl">
  43. <gw_bands base="hardware" />
  44. <lte_bands base="hardware" />
  45. <tds_bands base="none" />
  46. </rf_band_list>
  47.  
  48. <!-- Define the OOS timer with a 2 minute interval -->
  49. <define_timer name="noservice" interval="2" units="min" id="1" />
  50.  
  51.  
  52. <rf_bands list="rf_bands_gwl" />
  53.  
  54. <!-- UE mode is always NORMAL -->
  55. <ue_mode> NORMAL </ue_mode>
  56.  
  57. <feature> normal </feature>
  58.  
  59. <!-- On first boot, set RAT capability to all RATs -->
  60. <rat_capability_if base="config" />
  61.  
  62. </actions>
  63. </initial>
  64.  
  65. <!--
  66. ====================================================================
  67. Rules to handle OOS situations.
  68. ====================================================================
  69. -->
  70.  
  71. <!-- RULE #1 -->
  72. <!-- If we are in LPM, reset the timer.
  73. -->
  74. <rule precond="none">
  75. <conditions>
  76. <not> <phone_operating_mode> ONLINE </phone_operating_mode> </not>
  77. </conditions>
  78. <actions>
  79. <timer_stop name="noservice" />
  80. </actions>
  81. </rule>
  82.  
  83. <!-- RULE #3 -->
  84. <!-- If the oos timer has expired and there is no service,
  85. enable Full RAT mode and restart the timer.
  86. -->
  87. <rule precond="none">
  88. <conditions>
  89. <timer_expired name="noservice" />
  90. <not> <have_service /> </not>
  91. </conditions>
  92. <actions>
  93. <expired_timer_handled name="noservice" />
  94. <rat_capability base="none">
  95. <include> GSM WCDMA LTE </include>
  96. </rat_capability>
  97. <svc_mode> LIMITED </svc_mode>
  98. <rf_bands list="rf_bands_gwl" />
  99. </actions>
  100. </rule>
  101.  
  102. <!-- RULE #4 -->
  103. <!-- We wait if we don't have location or we are not ONLINE.
  104. -->
  105. <rule precond="none">
  106. <conditions>
  107. <any_of>
  108. <not> <have_location /> </not>
  109. <not> <phone_operating_mode> ONLINE </phone_operating_mode> </not>
  110. </any_of>
  111. </conditions>
  112. <actions />
  113. </rule>
  114.  
  115. <!-- RULE #5 -->
  116. <!-- This rule only runs when we have some sort of service. Set service mode
  117. to FULL and continue to set RATs/bands/etc. based on location.
  118. -->
  119. <if precond="none">
  120. <cond> <have_service /> </cond>
  121. <then>
  122. <timer_stop name="noservice" />
  123. <svc_mode> FULL </svc_mode>
  124. <continue />
  125. </then>
  126. <else> <timer_start name="noservice" /> </else>
  127. </if>
  128.  
  129.  
  130. <!-- RULE #6 -->
  131. <!-- If KDDI plmn,support all bands.
  132. -->
  133. <rule>
  134. <conditions>
  135. <location_mcc_in list = "home_mccs" />
  136. </conditions>
  137. <actions>
  138. <rf_bands list="rf_bands_all" />
  139. </actions>
  140. </rule>
  141.  
  142. <!-- RULE #7 -->
  143. <!-- If NON-KDDI PLMN, remove LTE B41
  144. -->
  145. <rule>
  146. <conditions>
  147. <true />
  148. </conditions>
  149. <actions>
  150. <rf_bands list="rf_bands_non_kddi" />
  151. </actions>
  152. </rule>
  153.  
  154. </policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement