code: func Setup(conf config.Config) error {
  	nsConf := conf.NetworkServer.NetworkSettings
  	rejoinRequestEnabled = nsConf.RejoinRequest.Enabled
  	rejoinRequestMaxCountN = nsConf.RejoinRequest.MaxCountN
  	rejoinRequestMaxTimeN = nsConf.RejoinRequest.MaxTimeN
  
  	classBPingSlotDR = nsConf.ClassB.PingSlotDR
  	classBPingSlotFrequency = nsConf.ClassB.PingSlotFrequency
  
  	rx2Frequency = nsConf.RX2Frequency
  	rx2DR = nsConf.RX2DR
  	rx1DROffset = nsConf.RX1DROffset
  	rx1Delay = nsConf.RX1Delay
  	rxWindow = nsConf.RXWindow
  
  	downlinkTXPower = nsConf.DownlinkTXPower
  
  	disableMACCommands = nsConf.DisableMACCommands
  	disableADR = nsConf.DisableADR
  
  	classCDownlinkLockDuration = conf.NetworkServer.Scheduler.ClassC.DownlinkLockDuration
  
  	return nil
  }
docs: // Setup configures the package.