28 #ifdef CSR_SUPPORT_WEXT
29 #ifdef CSR_SUPPORT_WEXT_AP
46 #ifdef CSR_SUPPORT_WEXT
47 #ifdef CSR_SUPPORT_WEXT_AP
70 unifi_trace(priv,
UDBG4,
"CsrWifiRouterTransportRecv: primType=0x%.4X, msgType=0x%.4X, bufferLength=%d\n",
71 primType, msgType, bufferLength);
76 CsrWifiRouterCtrlHipReq req = {{
CSR_WIFI_ROUTER_CTRL_HIP_REQ,
CSR_WIFI_ROUTER_CTRL_PRIM,
dest,
src,
NULL}, 0,
NULL, 0,
NULL, 0, NULL};
109 unifi_error(priv,
"CsrWifiRouterTransportDeserialiseAndSend can not process the message. primType=0x%.4X, msgType=0x%.4X\n",
111 dump(buffer, bufferLength);
136 #ifdef CSR_SUPPORT_WEXT
137 #ifdef CSR_SUPPORT_WEXT_AP
145 unifi_error(priv,
"CsrWifiRouterTransportDeserialiseAndSend unhandled prim type 0x%.4X\n", primType);
151 static void CsrWifiRouterTransportSerialiseAndSend(
u16 primType,
void*
msg)
156 size_t encodeBufferLen = 0;
160 unifi_trace(drvpriv,
UDBG4,
"CsrWifiRouterTransportSerialiseAndSend: primType=0x%.4X, msgType=0x%.4X\n",
161 primType, evt->
type);
166 unifi_error(drvpriv,
"CsrWifiRouterTransportSerialiseAndSend can not process the message. primType=0x%.4X, msgType=0x%.4X\n",
167 primType, evt->
type);
181 encodeBufferLen +=
offset;
189 #if defined(CSR_LOG_ENABLE) && defined(CSR_LOG_INCLUDE_FILE_NAME_AND_LINE_NUMBER)
197 CsrWifiRouterTransportSerialiseAndSend(mi, mv);