Changes

143 bytes added ,  21:30, 5 June 2022
Line 233: Line 233:     
== Cmd19 ==
 
== Cmd19 ==
Takes a [[#MacAddress]], 3 u16s, 3 u32s, no output.
+
Takes an input [[#MacAddress]], three input u16s '''SrcPort''', '''DstPort''' and '''Unk0''', three input u32s '''SrcIp''', '''DstIp''' and '''Unk1'''. No output.
   −
This copies the input data into state, and sets a flag in state. The input is written into state with the following structure: [[#MacAddress]], u32[0], u32[1], u16[0], u16[1], u32[2], u16[2].
+
This copies the input data into state, and sets a flag in state. The input is written into state with the following structure: [[#MacAddress]], '''SrcIp''', '''DstIp''', '''SrcPort''', '''DstPort''', '''Unk1''', '''Unk0'''.
    
This data is used during RequestSleep if a state field is set for using it (the codepath using this will throw an error if this data was not set). This data is cleared afterwards regardless of whether it was used. This is used for configuring various config related to wowl/tcpka/etc (wake-on-WLAN/TCP keep-alive). Note that an error is thrown if "wowl_activate" isn't set but sysmodule-side doesn't do so - this seems to be set automatically at some point.
 
This data is used during RequestSleep if a state field is set for using it (the codepath using this will throw an error if this data was not set). This data is cleared afterwards regardless of whether it was used. This is used for configuring various config related to wowl/tcpka/etc (wake-on-WLAN/TCP keep-alive). Note that an error is thrown if "wowl_activate" isn't set but sysmodule-side doesn't do so - this seems to be set automatically at some point.