bool Set_BeaconPeriod_Proc(int param_1,undefined4 param_2)

{
  bool bVar1;
  short sVar2;
  
  sVar2 = simple_strtol(param_2,0,10)   //possible issue identified - semgrep
  bVar1 = (ushort)(sVar2 - 0x14U) < 0x3ec;
  if (bVar1) {
    *(short *)(param_1 + 0x169ea) = sVar2;
    QBSS_LoadAlarmReset(param_1);
  }
  if (2 < RTDebugLevel) {
    printk("Set_BeaconPeriod_Proc::(BeaconPeriod=%d)\n",*(undefined2 *)(param_1 + 0x169ea));
  }
  return bVar1;
}