mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
1f7ec35077
This uses version 4.23.1 of the drv_dsl_cpe_api package from the Intel UGW 8.5.2.10 for the VRX518. Signed-off-by: Martin Schiller <ms.3headeddevs@gmail.com> [rebased and updated for kernel 5.10] Signed-off-by: Jan Hoffmann <jan@3e8.eu> [update to 4.23.1, switch to tag tarball, update patches] Signed-off-by: Andre Heider <a.heider@gmail.com> [added fix for elapsed time and upstream MINEFTR] Signed-off-by: Jan Hoffmann <jan@3e8.eu> Signed-off-by: Andre Heider <a.heider@gmail.com>
23 lines
615 B
Diff
23 lines
615 B
Diff
--- a/src/pm/drv_dsl_cpe_api_pm_vrx.c
|
|
+++ b/src/pm/drv_dsl_cpe_api_pm_vrx.c
|
|
@@ -1482,9 +1482,16 @@ DSL_Error_t DSL_DRV_PM_DEV_ReTxCountersG
|
|
/* ignore zero value*/
|
|
if (nEftrMin)
|
|
{
|
|
- /* Fw Format: kBit/s */
|
|
- /* API format: bit/s */
|
|
- pCounters->nEftrMin = nEftrMin*1000;
|
|
+ if (nDirection == DSL_NEAR_END)
|
|
+ {
|
|
+ /* Fw Format: kBit/s */
|
|
+ /* API format: bit/s */
|
|
+ pCounters->nEftrMin = nEftrMin*1000;
|
|
+ }
|
|
+ else
|
|
+ {
|
|
+ pCounters->nEftrMin = nEftrMin;
|
|
+ }
|
|
}
|
|
}
|
|
else
|