Change scan interval and window time - BLE mesh

Hi,

I'm referring to Generic on/off example and I would like to adjust scan interval and window time.

When I measure power with base code I see that device is in listening mode for window time is 200ms and for my custom application  i want to change this.

I tried by changing "scanner_config_scan_time_set(MS_TO_US(BEARER_SCAN_INT_DEFAULT_MS), MS_TO_US(BEARER_SCAN_WINDOW_DEFAULT_MS));" this API but there is no change.

Can anyone please suggest what parameter I need to change.

Device is not provisioned and referring to client example. And also let us know what other time intervals can be set like adv interval(before and after provision), scan intervals(before and after provision).

Regards,

Domneck