summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/src/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/phy/src/phy.c')
-rw-r--r--cesar/hal/phy/src/phy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cesar/hal/phy/src/phy.c b/cesar/hal/phy/src/phy.c
index 56cfbce972..80375398bb 100644
--- a/cesar/hal/phy/src/phy.c
+++ b/cesar/hal/phy/src/phy.c
@@ -17,6 +17,7 @@
#include "inc/context.h"
#include "inc/regs.h"
#include "inc/resys.h"
+#include "inc/hlut.h"
#include "hal/phy/spoc/spoc.h"
@@ -674,6 +675,8 @@ phy_init (void *user_data, phy_rx_fc_cb_t rx_fc_cb, phy_access_cb_t access_cb,
phy_init_stats (ctx);
/* Register tunable parameters. */
phy_init_tunable_param (ctx);
+ /* Initialise the HLUT. */
+ phy_hlut_init ();
/* Done. */
return ctx;
}
@@ -817,6 +820,7 @@ phy_set_tunable_param (phy_t *ctx, const u32 *tonemask, uint carrier_nb)
| BF_FILL (
PHY_DSPSS_CHANNEL_ESTIM_COEF,
(COEF_RES_DELTA, phy_tunable.delta_res_coef_internal));
+ phy_hlut_set_tunable ();
}
static void