Channel does not fit in radio bandwidth

Hello,

So the supplier of the gateway that I’m using gave me a list of channels and frequencies that the gateway listens/transmits to. There are a total of 16 channels as follows:


My gateway-bridge.toml ended up like the following:

[[backend.basic_station.concentrators]]
      [backend.basic_station.concentrators.multi_sf]
      frequencies=[
          923200000,
          923400000,
          923000000,
          922000000,
          922200000,
          922400000,
          922600000,
          922800000,
          920400000,
          920600000,
          920800000,
          921000000,
          921200000,
          921400000,
          921600000,
          921800000,
       ]

      [backend.basic_station.concentrators.lora_std]
      frequency=923200000
      bandwidth=125000
      spreading_factor=7

      [backend.basic_station.concentrators.fsk]
      frequency=921800000 

Then I added them as extra channels inside the network server configuration, except for the two default frequencies, 923.2MHz and 923.4MHz for the AS923 region. And to my understanding, for the enabled_uplink_channels, I only need to specify the region default channels, which are 0 and 1, instead of 0-15:

enabled_uplink_channels=[0, 1]
#
[[network_server.network_settings.extra_channels]]
  frequency=922200000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=922400000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=922600000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=922800000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=923000000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=922000000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=921800000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=921000000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=920400000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=920600000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=920800000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=921200000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=921400000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=921600000
  min_dr=0
  max_dr=5

I restarted my gateway bridge service to load the new configuration and it failed to start. Giving me the following errors:

Feb 24 08:29:47 ip-172-31-13-190 chirpstack-gateway-bridge[32227]: time="2022-02-24T08:29:47.225193806Z" level=fatal msg="setup backend error: new backend error: get router config error: get radio frequencies error: channel 922400000 does not fit in radio bandwidth"
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Failed with result 'exit-code'.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Service hold-off time over, scheduling restart.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Scheduled restart job, restart counter is at 5.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: Stopped ChirpStack Gateway Bridge.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Start request repeated too quickly.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: chirpstack-gateway-bridge.service: Failed with result 'exit-code'.
Feb 24 08:29:47 ip-172-31-13-190 systemd[1]: Failed to start ChirpStack Gateway Bridge.

Does anyone knows what am I supposed to do correctly here? I’d appreciate the help
Thanks.

Correction: These channel frequencies the supplier gave me were actually the ones that the end devices are transmitting its data through.

So my question is, how do I set it for the gateway to listen to those frequencies (without using gateway profiles)?

You need to first understand what sort of packet forwarder is installed within the gateway, as the method for configuring the channels would differ.

A lot of gateways support some variant of the Semtech UDP Packet Forwarder, which is a classic protocol. So would you not be using this? The exact steps may need to come from your gateway manufacturer, unless it is just a copy of the version from Semtech.

The snippet of gateway-bridge.toml that you showed above, shows the configuration for the Semtech Basic Station (the channel configuration is sent down from the Chirpstack Gateway Bridge). And finally, the systemd console output you showed, was for restarting the gateway bridge itself, but it is unclear whether you have it on your gateway or as a backend service.