Root/drivers/staging/csr/csr_wifi_nme_ap_sef.c

1/*****************************************************************************
2
3  FILE: csr_wifi_nme_sef.c
4
5  (c) Cambridge Silicon Radio Limited 2010
6
7  Refer to LICENSE.txt included with this source for details
8  on the license terms.
9
10 *****************************************************************************/
11#include "csr_wifi_nme_ap_sef.h"
12#include "unifi_priv.h"
13
14void CsrWifiNmeApUpstreamStateHandlers(void* drvpriv, CsrWifiFsmEvent* msg)
15{
16    switch(msg->type) {
17        case CSR_WIFI_NME_AP_START_CFM:
18            CsrWifiNmeApStartCfmHandler(drvpriv, msg);
19            break;
20        case CSR_WIFI_NME_AP_STOP_CFM:
21            CsrWifiNmeApStopCfmHandler(drvpriv, msg);
22            break;
23        case CSR_WIFI_NME_AP_CONFIG_SET_CFM:
24            CsrWifiNmeApConfigSetCfmHandler(drvpriv,msg);
25            break;
26        default:
27        unifi_error(drvpriv, "CsrWifiNmeApUpstreamStateHandlers: unhandled NME_AP message type 0x%.4X\n",msg->type);
28            break;
29    }
30}
31

Archive Download this file



interactive