Section: 5.3.5.13d Application layer measurement configuration
Content: The UE shall: 1> if measConfigAppLayerToReleaseList is included in appLayerMeasConfig within RRCReconfiguration or RRCResume: 2> for each measConfigAppLayerId value included in the measConfigAppLayerToReleaseList: 3> forward the measConfigAppLayerId and inform upper layers about the release of the application layer measurement configuration including any RAN visible application layer measurement configuration; 3> discard any application layer measurement report received from upper layers; 3> if stored, release the application layer measurement configuration in UE variables VarAppLayerIdleConfig and VarAppLayerPLMN-ListConfig; 3> consider itself not to be configured to send application layer measurement report for the measConfigAppLayerId. 1> if measConfigAppLayerToAddModList is included in appLayerMeasConfig within RRCReconfiguration or RRCResume: 2> for each measConfigAppLayerId value included in the measConfigAppLayerToAddModList: 3> if measConfigAppLayerContainer is included for the corresponding MeasConfigAppLayer configuration: 4> forward the measConfigAppLayerContainer, the measConfigAppLayerId and the serviceType to upper layers considering the serviceType; 3> consider itself to be configured to send application layer measurement report for the measConfigAppLayerId in accordance with 5.7.16; 3> forward the transmissionOfSessionStartStop, if configured, and measConfigAppLayerId to upper layers considering the serviceType; 3> if ran-VisibleParameters is set to setup and the parameters have been received: 4> forward the measConfigAppLayerId, the ran-VisiblePeriodicity, if configured, the numberOfBufferLevelEntries, if configured, and the reportPlayoutDelayForMediaStartup, if configured, to upper layers considering the serviceType; 3> else if ran-VisibleParameters is set to release: 4> forward the measConfigAppLayerId and inform upper layers about the release of the RAN visible application layer measurement configuration; 3> if pauseReporting is set to true: 4> if at least one segment, but not all segments, of a segmented MeasurementReportAppLayer message containing an application layer measurement report associated with the measConfigAppLayerId has been submitted to lower layers for transmission: 5> submit the remaining segments of the MeasurementReportAppLayer message to lower layers for transmission; 4> suspend submitting application layer measurement report containers to lower layers for the application layer measurement configuration associated with the measConfigAppLayerId; 4> store any previously or subsequently received application layer measurement report containers associated with the measConfigAppLayerId for which no segment, or full message, has been submitted to lower layers for transmission; 4> if the memory reserved for storing application layer measurement report containers becomes full while the reporting is paused and if the UE is configured with appLayerMeasPriority: 5> discard reports in priority order where reports with the lowest priority are discarded first; 3> else if pauseReporting is set to false and if transmission of application layer measurement report containers has previously been suspended for the application layer measurement configuration associated with the measConfigAppLayerId: 4> submit stored application layer measurement report containers to lower layers, if any, for the application layer measurements configuration associated with the measConfigAppLayerId; 4> resume submitting application layer measurement report containers to lower layers for the application layer measurement configuration associated with the measConfigAppLayerId; 3> if configForRRC-IdleInactive is set to true: 4> store the received qoe-Reference, measConfigAppLayerId, serviceType, qoe-MeasurementType, qoe-AeaScope, mce-Id, configForRRC-IdleInactive, appLayerMeasPriority, if included, in VarAppLayerIdleConfig; 4> if the qoe-AreaScope includes plmn-IdentityList: 5> set plmn-IdentityList in VarAppLayerPLMN-ListConfig to include the RPLMN as well as the PLMNs included in plmn-IdentityList; 4> else: 5> set plmn-IdentityList in VarAppLayerPLMN-ListConfig to include the RPLMN; NOTE 1: The UE may discard reports when the memory reserved for storing application layer measurement report containers becomes full. If no appLayerMeasPriority is configured, older reports may be discarded first. NOTE 2: The transmission of RAN visible application layer measurement reports and appLayerSessionStatus is not paused when pauseReporting is set to true. NOTE 3: The UE may discard an application layer measurement configuration and associated unsent reports after 48 hours. Editor's Note: FFS on when the 48 hours start for when the UE may discard application layer measurement configuration and reports.