undefined4 DOT1X_EapTriggerAction(int param_1,int param_2)
{
int iVar1;
undefined4 uVar2;
uint uVar3;
undefined1 auStack_48 [6];
undefined1 auStack_42 [6];
undefined1 auStack_3c [2];
undefined1 auStack_3a [18];
undefined4 local_28 [3];
local_28[0] = 0x101;
if (((*(int *)(param_2 + 0x1e4) == 3) || (*(int *)(param_2 + 0x1e4) == 6)) ||
(*(char *)(param_1 + 0x52b5) == '\x01')) {
memset(auStack_48,0,0x12) //possible issue identified - semgrep
uVar3 = (uint)*(byte *)(param_2 + 0x31);
memmove(auStack_48,(void *)(uVar3 * 0x1140 + param_1 + 0x51ac),6) //possible issue identified - semgrep
memmove(auStack_42,(void *)(param_2 + 600),6) //possible issue identified - semgrep
memmove(auStack_3c,&EAPOL,2) //possible issue identified - semgrep
memmove(auStack_3a,local_28,4) //possible issue identified - semgrep
uVar2 = get_netdev_from_bssid(param_1,uVar3);
iVar1 = RTMPL2FrameTxAction(param_1,uVar2,announce_802_3_packet,uVar3,auStack_48,0x12,
*(undefined1 *)(param_1 + 0x16964));
uVar2 = 0;
if ((iVar1 != 0) && (uVar2 = 1, 2 < RTDebugLevel)) {
printk("Notify 8021.x daemon to trigger EAP-SM for this sta(%02x:%02x:%02x:%02x:%02x:%02x)\n",
*(undefined1 *)(param_2 + 600),*(undefined1 *)(param_2 + 0x259),
*(undefined1 *)(param_2 + 0x25a),*(undefined1 *)(param_2 + 0x25b),
*(undefined1 *)(param_2 + 0x25c),*(undefined1 *)(param_2 + 0x25d));
uVar2 = 1;
}
}
else {
uVar2 = 1;
}
return uVar2;
}