Go to the documentation of this file.
11 #ifndef CSR_WIFI_VIF_UTILS_H
12 #define CSR_WIFI_VIF_UTILS_H
27 #define CSR_WIFI_NUM_INTERFACES (u8)0x1
28 #define CSR_WIFI_INTERFACE_IN_USE (u16)0x0
31 #define CSR_WIFI_INTERFACE_ZERO 0
32 #define CSR_WIFI_INTERFACE_STA 0
33 #define CSR_WIFI_INTERFACE_AMP 0
36 #define CSR_WIFI_VIF_UTILS_UNDEFINED_TAG 0xFFFF
39 #define CsrWifiVifUtilsGetVifTagFromEvent(msg) \
40 ((u16) * ((u16 *) ((u8 *) (msg) + sizeof(CsrWifiFsmEvent))))
43 #define CsrWifiVifUtilsGetVifTagFromHipEvent(msg) \
44 ((msg)->virtualInterfaceIdentifier & 0x00FF)
46 #define CsrWifiVifUtilsPackHipEventVif(type, interfaceId) \
47 ((u16)((interfaceId) | ((type) << 8)))
70 u8 *currentInterfaceModes,
100 #define CsrWifiVifUtilsLogTextRegister()