Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Carrier policy XML for KDDI with LTE B1 removed in HOME and B41 removed in ROAM
- -->
- <policy name = "generic"
- changelist = "$Change: 9120770 $"
- enabled = "true"
- schema_ver = "1"
- policy_ver = "43.2.2"
- >
- <initial>
- <actions>
- <!-- Define the MCCs in which LTE B41 is to be enabled -->
- <mcc_list name = "home_mccs">
- 440 441
- </mcc_list>
- <plmn_list name = "KDDI_PLMN">
- 440-50 441-10
- </plmn_list>
- <!-- Lte all bands support register on 44050 -->
- <rf_band_list name="rf_bands_all">
- <gw_bands base="hardware" />
- <lte_bands base="none" >
- <include> 40 17 16 4 2 0 </include>
- </lte_bands>
- <tds_bands base="none" />
- </rf_band_list>
- <!-- NON-KDDI PLMN, remove B41, B18 -->
- <rf_band_list name="rf_bands_non_kddi">
- <gw_bands base="hardware" />
- <lte_bands base="none" >
- <include> 16 4 2 0 </include>
- </lte_bands>
- <tds_bands base="none" />
- </rf_band_list>
- <!-- RF Bands with ALL enabled -->
- <rf_band_list name="rf_bands_gwl">
- <gw_bands base="hardware" />
- <lte_bands base="hardware" />
- <tds_bands base="none" />
- </rf_band_list>
- <!-- Define the OOS timer with a 2 minute interval -->
- <define_timer name="noservice" interval="2" units="min" id="1" />
- <rf_bands list="rf_bands_gwl" />
- <!-- UE mode is always NORMAL -->
- <ue_mode> NORMAL </ue_mode>
- <feature> normal </feature>
- <!-- On first boot, set RAT capability to all RATs -->
- <rat_capability_if base="config" />
- </actions>
- </initial>
- <!--
- ====================================================================
- Rules to handle OOS situations.
- ====================================================================
- -->
- <!-- RULE #1 -->
- <!-- If we are in LPM, reset the timer.
- -->
- <rule precond="none">
- <conditions>
- <not> <phone_operating_mode> ONLINE </phone_operating_mode> </not>
- </conditions>
- <actions>
- <timer_stop name="noservice" />
- </actions>
- </rule>
- <!-- RULE #3 -->
- <!-- If the oos timer has expired and there is no service,
- enable Full RAT mode and restart the timer.
- -->
- <rule precond="none">
- <conditions>
- <timer_expired name="noservice" />
- <not> <have_service /> </not>
- </conditions>
- <actions>
- <expired_timer_handled name="noservice" />
- <rat_capability base="none">
- <include> GSM WCDMA LTE </include>
- </rat_capability>
- <svc_mode> LIMITED </svc_mode>
- <rf_bands list="rf_bands_gwl" />
- </actions>
- </rule>
- <!-- RULE #4 -->
- <!-- We wait if we don't have location or we are not ONLINE.
- -->
- <rule precond="none">
- <conditions>
- <any_of>
- <not> <have_location /> </not>
- <not> <phone_operating_mode> ONLINE </phone_operating_mode> </not>
- </any_of>
- </conditions>
- <actions />
- </rule>
- <!-- RULE #5 -->
- <!-- This rule only runs when we have some sort of service. Set service mode
- to FULL and continue to set RATs/bands/etc. based on location.
- -->
- <if precond="none">
- <cond> <have_service /> </cond>
- <then>
- <timer_stop name="noservice" />
- <svc_mode> FULL </svc_mode>
- <continue />
- </then>
- <else> <timer_start name="noservice" /> </else>
- </if>
- <!-- RULE #6 -->
- <!-- If KDDI plmn,support all bands.
- -->
- <rule>
- <conditions>
- <location_mcc_in list = "home_mccs" />
- </conditions>
- <actions>
- <rf_bands list="rf_bands_all" />
- </actions>
- </rule>
- <!-- RULE #7 -->
- <!-- If NON-KDDI PLMN, remove LTE B41
- -->
- <rule>
- <conditions>
- <true />
- </conditions>
- <actions>
- <rf_bands list="rf_bands_non_kddi" />
- </actions>
- </rule>
- </policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement