undefined4 Show_StaCount_Proc(int param_1)
{
char *pcVar1;
undefined4 uVar2;
int iVar3;
undefined4 *puVar4;
printk(&_LC71) //possible issue identified - semgrep
uVar2 = 0;
if (*(char *)(param_1 + 0xec) == '\0') {
uVar2 = *(undefined4 *)(*(int *)(param_1 + 0xdc) + 0x1104);
}
if ((*(uint *)(param_1 + 0x16abc) & 8) == 0) {
pcVar1 = "long";
}
else {
pcVar1 = "short";
}
printk("BackOff Slot : %s slot time, BKOFF_SLOT_CFG(0x1104) = 0x%08x\n",pcVar1,uVar2);
printk("HT Operating Mode : %d\n",(uint)(*(int *)(param_1 + 0x16b18) << 0xe) >> 0x1e);
printk(&_LC71) //possible issue identified - semgrep
printk("\n%-19s%-4s%-12s%-12s%-12s%-12s\n",&_LC80,&_LC81,"TxPackets","RxPackets","TxBytes",
"RxBytes");
puVar4 = (undefined4 *)(param_1 + 0x5d950);
iVar3 = 0;
do {
iVar3 = iVar3 + 1;
if (((puVar4[-0x286] == 1) || (puVar4[-0x286] == 3)) && (puVar4[-0x1e9] == 2)) {
printk("%02X:%02X:%02X:%02X:%02X:%02X ",*(undefined1 *)(puVar4 + -0x1f0),
*(undefined1 *)((int)puVar4 + -0x7bf),*(undefined1 *)((int)puVar4 + -0x7be),
*(undefined1 *)((int)puVar4 + -0x7bd),*(undefined1 *)(puVar4 + -0x1ef),
*(undefined1 *)((int)puVar4 + -0x7bb));
printk(&_LC87,*(undefined2 *)((int)puVar4 + -0x79a)) //possible issue identified - semgrep
printk("%-12ld",puVar4[-4]);
printk("%-12ld",puVar4[-2]);
printk("%-12ld",*puVar4);
printk("%-12ld",puVar4[1]);
printk(&_LC71) //possible issue identified - semgrep
}
puVar4 = puVar4 + 0x288;
} while (iVar3 != 0x20);
return 1;
}