code: def _pre_capture_config(self, override_configs=None):
          
          final_configs = {}
          if self._base_configs:
              final_configs.update(self._base_configs)
          if override_configs:
              final_configs.update(override_configs)
  
          if sniffer.Sniffer.CONFIG_KEY_CHANNEL in final_configs:
              try:
                  subprocess.check_call([
                      'iwconfig',
                      self._interface,
                      'channel',
                      str(final_configs[sniffer.Sniffer.CONFIG_KEY_CHANNEL])])
              except Exception as err:
                  raise sniffer.ExecutionError(err)
docs: Utility function which configures the wireless interface per the
          specified configurations. Operation is performed before every capture
          start using baseline configurations (specified when sniffer initialized)
          and override configurations specified here.