|
Linux Kernel
3.7.1
|
#include "csr_wifi_private_common.h"Go to the source code of this file.
Macros | |
| #define | CSR_WIFI_NUM_INTERFACES (u8)0x1 |
| #define | CSR_WIFI_INTERFACE_IN_USE (u16)0x0 |
| #define | CSR_WIFI_INTERFACE_ZERO 0 |
| #define | CSR_WIFI_INTERFACE_STA 0 |
| #define | CSR_WIFI_INTERFACE_AMP 0 |
| #define | CSR_WIFI_VIF_UTILS_UNDEFINED_TAG 0xFFFF |
| #define | CsrWifiVifUtilsGetVifTagFromEvent(msg) ((u16) * ((u16 *) ((u8 *) (msg) + sizeof(CsrWifiFsmEvent)))) |
| #define | CsrWifiVifUtilsGetVifTagFromHipEvent(msg) ((msg)->virtualInterfaceIdentifier & 0x00FF) |
| #define | CsrWifiVifUtilsPackHipEventVif(type, interfaceId) ((u16)((interfaceId) | ((type) << 8))) |
| #define | CsrWifiVifUtilsLogTextRegister() |
Functions | |
| u8 | CsrWifiVifUtilsCheckCompatibility (u8 interfaceCapability, u8 *currentInterfaceModes, u16 interfaceTag, CsrWifiInterfaceMode mode) |
| First checks if the mode is supported capability bitmap of the interface. If this succeeds, then checks if running this mode on this interface is allowed. | |
| u8 | CsrWifiVifUtilsIsSupported (u16 interfaceTag) |
| Checks if the specified interface is supported. NOTE: Only checks that the interface is supported, no checks are made to determine whether a supported interface may be made active. | |
| #define CSR_WIFI_INTERFACE_AMP 0 |
Definition at line 33 of file csr_wifi_vif_utils.h.
| #define CSR_WIFI_INTERFACE_IN_USE (u16)0x0 |
Definition at line 28 of file csr_wifi_vif_utils.h.
| #define CSR_WIFI_INTERFACE_STA 0 |
Definition at line 32 of file csr_wifi_vif_utils.h.
| #define CSR_WIFI_INTERFACE_ZERO 0 |
Definition at line 31 of file csr_wifi_vif_utils.h.
| #define CSR_WIFI_NUM_INTERFACES (u8)0x1 |
Definition at line 27 of file csr_wifi_vif_utils.h.
| #define CSR_WIFI_VIF_UTILS_UNDEFINED_TAG 0xFFFF |
Definition at line 36 of file csr_wifi_vif_utils.h.
| #define CsrWifiVifUtilsGetVifTagFromEvent | ( | msg | ) | ((u16) * ((u16 *) ((u8 *) (msg) + sizeof(CsrWifiFsmEvent)))) |
Definition at line 39 of file csr_wifi_vif_utils.h.
Definition at line 43 of file csr_wifi_vif_utils.h.
| #define CsrWifiVifUtilsLogTextRegister | ( | ) |
Definition at line 100 of file csr_wifi_vif_utils.h.
Definition at line 46 of file csr_wifi_vif_utils.h.
| u8 CsrWifiVifUtilsCheckCompatibility | ( | u8 | interfaceCapability, |
| u8 * | currentInterfaceModes, | ||
| u16 | interfaceTag, | ||
| CsrWifiInterfaceMode | mode | ||
| ) |
First checks if the mode is supported capability bitmap of the interface. If this succeeds, then checks if running this mode on this interface is allowed.
1.8.2