1 /*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #include "lnn_lane_qos.h"
17 #include "softbus_errcode.h"
18
LnnInitQos(void)19 int32_t LnnInitQos(void)
20 {
21 return SOFTBUS_OK;
22 }
23
LnnDeinitQos(void)24 void LnnDeinitQos(void)
25 {
26 return;
27 }
28
LnnRegPeriodAdjustmentCallback(OnStatsPeriodAdjustment callback)29 int32_t LnnRegPeriodAdjustmentCallback(OnStatsPeriodAdjustment callback)
30 {
31 (void)callback;
32 return SOFTBUS_OK;
33 }
34
LnnReportLaneIdStatsInfo(const LaneIdStatsInfo * statsList,uint32_t listSize)35 void LnnReportLaneIdStatsInfo(const LaneIdStatsInfo *statsList, uint32_t listSize)
36 {
37 (void)statsList;
38 (void)listSize;
39 return;
40 }
41
LnnReportRippleData(uint64_t laneId,const LnnRippleData * data)42 void LnnReportRippleData(uint64_t laneId, const LnnRippleData *data)
43 {
44 (void)laneId;
45 (void)data;
46 return;
47 }
48
LnnRequestQosOptimization(const uint64_t * laneIdList,uint32_t listSize,int32_t * result,uint32_t resultSize)49 int32_t LnnRequestQosOptimization(const uint64_t *laneIdList, uint32_t listSize, int32_t *result, uint32_t resultSize)
50 {
51 (void)laneIdList;
52 (void)listSize;
53 (void)result;
54 (void)resultSize;
55 return SOFTBUS_NOT_IMPLEMENT;
56 }
57
LnnCancelQosOptimization(const uint64_t * laneIdList,uint32_t listSize)58 void LnnCancelQosOptimization(const uint64_t *laneIdList, uint32_t listSize)
59 {
60 (void)laneIdList;
61 (void)listSize;
62 }