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
18601860int dect_phy_perf_cmd_handle (struct dect_phy_perf_params * params )
18611861{
18621862 int ret ;
1863+ struct dect_phy_settings * current_settings = dect_common_settings_ref_get ();
18631864 struct nrf_modem_dect_phy_init_params perf_phy_init_params = {
18641865 .harq_rx_expiry_time_us = params -> mdm_init_harq_expiry_time_us ,
18651866 .harq_rx_process_count = params -> mdm_init_harq_process_count ,
1867+ .reserved = 0 ,
1868+ .band4_support = ((current_settings -> common .band_nbr == 4 ) ? 1 : 0 ),
18661869 };
18671870
18681871 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)
20622062 struct nrf_modem_dect_phy_init_params ping_phy_init_params = {
20632063 .harq_rx_expiry_time_us = current_settings -> harq .mdm_init_harq_expiry_time_us ,
20642064 .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 ),
20652067 };
20662068 int ret ;
20672069
Original file line number Diff line number Diff line change @@ -881,6 +881,8 @@ static void dect_phy_rf_tool_phy_init(void)
881881 struct nrf_modem_dect_phy_init_params rf_tool_phy_init_params = {
882882 .harq_rx_expiry_time_us = current_settings -> harq .mdm_init_harq_expiry_time_us ,
883883 .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 ),
884886 };
885887 int ret = nrf_modem_dect_phy_callback_set (& rf_tool_phy_api_config );
886888
You can’t perform that action at this time.
0 commit comments