Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

policyman_carrier_policy_xml

a guest Sep 10th, 2015 282 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!--Policy Manager type:[cm] ver:[2] [end]-->
  4.  
  5. -<policy policy_ver="1" schema_ver="1" enabled="true" name="generic">
  6.  
  7.  
  8. -<initial>
  9.  
  10.  
  11. -<actions>
  12.  
  13. <!-- These are the networks on which FDD LTE is not allowed. -->
  14.  
  15.  
  16. <mcc_list name="no_fdd_no_w_mccs"> 460 </mcc_list>
  17.  
  18. <plmn_list name="cmcc_operators"> 460-00 460-02 460-07 460-08 </plmn_list>
  19.  
  20. <!-- Define the OOS timer with a 5 minute interval -->
  21.  
  22.  
  23. <define_timer name="oos" units="min" interval="5"/>
  24.  
  25.  
  26. -<rf_band_list name="no_fdd_bands">
  27.  
  28. <gw_bands base="hardware"/>
  29.  
  30. <!-- LTE Band: 38, 39, 40, 41 are mapped to Band Bits: 37, 38, 39, 40 respectively. Refer: sys_sband_lte_e_type in sys.h -->
  31.  
  32.  
  33.  
  34. -<lte_bands base="none">
  35.  
  36. <include> 37 38 39 40 </include>
  37.  
  38. </lte_bands>
  39.  
  40. <tds_bands base="hardware"/>
  41.  
  42. </rf_band_list>
  43.  
  44. </actions>
  45.  
  46. </initial>
  47.  
  48. <!-- RULE #A add in Feb -->
  49.  
  50. <!-- If it is a test sim, operate in CSFB with TDSCDMA. -->
  51.  
  52. -<rule>
  53.  
  54. -<conditions>
  55.  
  56. <imsi_mcc_in> 001 </imsi_mcc_in>
  57.  
  58. </conditions>
  59.  
  60. -<actions>
  61.  
  62. <rat_capability base="hardware"/>
  63.  
  64. -<rf_bands>
  65.  
  66. <gw_bands base="hardware"/>
  67.  
  68. <lte_bands base="hardware"/>
  69.  
  70. <tds_bands base="hardware"/>
  71.  
  72. </rf_bands>
  73.  
  74. <svc_mode> FULL </svc_mode>
  75.  
  76. </actions>
  77.  
  78. </rule>
  79.  
  80. <!-- RULE #1 -->
  81.  
  82. <!-- If the device is in China and has a non-CMCC Chinese SIM, restrict the RATs to GSM only. -->
  83.  
  84. -<rule>
  85.  
  86. -<conditions>
  87.  
  88. <serving_mcc_in> 460 </serving_mcc_in>
  89.  
  90. <imsi_mcc_in> 460 </imsi_mcc_in>
  91.  
  92. -<not>
  93.  
  94. <imsi_plmn_in list="cmcc_operators"/>
  95.  
  96. </not>
  97.  
  98. </conditions>
  99.  
  100. -<actions>
  101.  
  102. <ue_mode> NORMAL </ue_mode>
  103.  
  104. -<rat_capability base="none">
  105.  
  106. <include> GSM </include>
  107.  
  108. </rat_capability>
  109.  
  110. -<rf_bands>
  111.  
  112. <gw_bands base="hardware"/>
  113.  
  114. <lte_bands base="none"/>
  115.  
  116. <tds_bands base="none"/>
  117.  
  118. </rf_bands>
  119.  
  120. <svc_mode> FULL </svc_mode>
  121.  
  122. </actions>
  123.  
  124. </rule>
  125.  
  126. <!-- RULE #2 -->
  127.  
  128. <!-- If the device is in a location in which FDD LTE is not to be scanned, remove the FDD bands. -->
  129.  
  130. -<rule>
  131.  
  132. -<conditions>
  133.  
  134. <serving_mcc_in list="no_fdd_no_w_mccs"/>
  135.  
  136. </conditions>
  137.  
  138. -<actions>
  139.  
  140. -<rat_capability base="hardware">
  141.  
  142. <exclude> WCDMA </exclude>
  143.  
  144. </rat_capability>
  145.  
  146. <rf_bands list="no_fdd_bands"/>
  147.  
  148. <svc_mode> FULL </svc_mode>
  149.  
  150. </actions>
  151.  
  152. </rule>
  153.  
  154. <!-- RULE #3 -->
  155.  
  156. <!-- Otherwise, enable all hardware capabilities. -->
  157.  
  158. -<rule>
  159.  
  160. -<conditions>
  161.  
  162. <true/>
  163.  
  164. </conditions>
  165.  
  166. -<actions>
  167.  
  168. -<rat_capability base="hardware">
  169.  
  170. <exclude> TDSCDMA </exclude>
  171.  
  172. </rat_capability>
  173.  
  174. -<rf_bands>
  175.  
  176. <gw_bands base="hardware"/>
  177.  
  178. <lte_bands base="hardware"/>
  179.  
  180. <tds_bands base="none"/>
  181.  
  182. </rf_bands>
  183.  
  184. <svc_mode> FULL </svc_mode>
  185.  
  186. </actions>
  187.  
  188. </rule>
  189.  
  190. </policy>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top