Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
s32 | get_packed_struct_size (const u8 *buf) |
CsrResult | read_unpack_signal (const u8 *ptr, CSR_SIGNAL *sig) |
CsrResult | write_pack (const CSR_SIGNAL *sig, u8 *ptr, u16 *sig_len) |
#define GET_PACKED_DATAREF_LEN | ( | _buf, | |
_ref | |||
) | CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 2)) |
Definition at line 50 of file csr_wifi_hip_conversions.h.
#define GET_PACKED_DATAREF_SLOT | ( | _buf, | |
_ref | |||
) | CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 0)) |
Definition at line 47 of file csr_wifi_hip_conversions.h.
#define GET_PACKED_MA_PACKET_CONFIRM_HOST_TAG | ( | _buf | ) | CSR_GET_UINT32_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + UNIFI_MAX_DATA_REFERENCES * SIZEOF_DATAREF + 8)) |
Definition at line 65 of file csr_wifi_hip_conversions.h.
#define GET_PACKED_MA_PACKET_CONFIRM_TRANSMISSION_STATUS | ( | _buf | ) | CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + UNIFI_MAX_DATA_REFERENCES * SIZEOF_DATAREF + 2)) |
Definition at line 68 of file csr_wifi_hip_conversions.h.
#define GET_PACKED_MA_PACKET_REQUEST_FRAME_PRIORITY | ( | _buf | ) | CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + UNIFI_MAX_DATA_REFERENCES * SIZEOF_DATAREF + 8)) |
Definition at line 59 of file csr_wifi_hip_conversions.h.
#define GET_PACKED_MA_PACKET_REQUEST_HOST_TAG | ( | _buf | ) | CSR_GET_UINT32_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + UNIFI_MAX_DATA_REFERENCES * SIZEOF_DATAREF + 4)) |
Definition at line 62 of file csr_wifi_hip_conversions.h.
#define GET_SIGNAL_ID | ( | _buf | ) | CSR_GET_UINT16_FROM_LITTLE_ENDIAN((_buf)) |
Definition at line 41 of file csr_wifi_hip_conversions.h.
#define SET_PACKED_DATAREF_LEN | ( | _buf, | |
_ref, | |||
_len | |||
) | CSR_COPY_UINT16_TO_LITTLE_ENDIAN((_len), ((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 2)) |
Definition at line 56 of file csr_wifi_hip_conversions.h.
#define SET_PACKED_DATAREF_SLOT | ( | _buf, | |
_ref, | |||
_slot | |||
) | CSR_COPY_UINT16_TO_LITTLE_ENDIAN((_slot), ((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 0)) |
Definition at line 53 of file csr_wifi_hip_conversions.h.
#define SIZEOF_DATAREF 4 |
Definition at line 35 of file csr_wifi_hip_conversions.h.
#define SIZEOF_SIGNAL_HEADER 6 |
Definition at line 34 of file csr_wifi_hip_conversions.h.
#define SIZEOF_UINT16 2 |
Definition at line 30 of file csr_wifi_hip_conversions.h.
#define SIZEOF_UINT32 4 |
Definition at line 31 of file csr_wifi_hip_conversions.h.
#define SIZEOF_UINT64 8 |
Definition at line 32 of file csr_wifi_hip_conversions.h.
Definition at line 38 of file csr_wifi_hip_packing.c.
CsrResult read_unpack_signal | ( | const u8 * | ptr, |
CSR_SIGNAL * | sig | ||
) |
Definition at line 1151 of file csr_wifi_hip_packing.c.
CsrResult write_pack | ( | const CSR_SIGNAL * | sig, |
u8 * | ptr, | ||
u16 * | sig_len | ||
) |
Definition at line 2987 of file csr_wifi_hip_packing.c.