Decode notifications from the wpa_supplicant
Decode responses from the wpa_supplicant
The decoding of a response depends on the request, so pass the request as the first argument and the response as the second one.