File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
samples/dect/dect_phy/dect_shell/src/dect Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1860,9 +1860,12 @@ static void dect_phy_perf_phy_init(struct nrf_modem_dect_phy_init_params *init_p
1860
1860
int dect_phy_perf_cmd_handle (struct dect_phy_perf_params * params )
1861
1861
{
1862
1862
int ret ;
1863
+ struct dect_phy_settings * current_settings = dect_common_settings_ref_get ();
1863
1864
struct nrf_modem_dect_phy_init_params perf_phy_init_params = {
1864
1865
.harq_rx_expiry_time_us = params -> mdm_init_harq_expiry_time_us ,
1865
1866
.harq_rx_process_count = params -> mdm_init_harq_process_count ,
1867
+ .reserved = 0 ,
1868
+ .band4_support = ((current_settings -> common .band_nbr == 4 ) ? 1 : 0 ),
1866
1869
};
1867
1870
1868
1871
if (perf_data .perf_ongoing ) {
Original file line number Diff line number Diff line change @@ -2062,6 +2062,8 @@ int dect_phy_ping_cmd_handle(struct dect_phy_ping_params *params)
2062
2062
struct nrf_modem_dect_phy_init_params ping_phy_init_params = {
2063
2063
.harq_rx_expiry_time_us = current_settings -> harq .mdm_init_harq_expiry_time_us ,
2064
2064
.harq_rx_process_count = current_settings -> harq .mdm_init_harq_process_count ,
2065
+ .reserved = 0 ,
2066
+ .band4_support = ((current_settings -> common .band_nbr == 4 ) ? 1 : 0 ),
2065
2067
};
2066
2068
int ret ;
2067
2069
Original file line number Diff line number Diff line change @@ -881,6 +881,8 @@ static void dect_phy_rf_tool_phy_init(void)
881
881
struct nrf_modem_dect_phy_init_params rf_tool_phy_init_params = {
882
882
.harq_rx_expiry_time_us = current_settings -> harq .mdm_init_harq_expiry_time_us ,
883
883
.harq_rx_process_count = current_settings -> harq .mdm_init_harq_process_count ,
884
+ .reserved = 0 ,
885
+ .band4_support = ((current_settings -> common .band_nbr == 4 ) ? 1 : 0 ),
884
886
};
885
887
int ret = nrf_modem_dect_phy_callback_set (& rf_tool_phy_api_config );
886
888
You can’t perform that action at this time.
0 commit comments