summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8ae1177)
Several acx and cmd structures are missing __packed modifier, add it.
This was noticed while comparing them with corresponding wl1271 code.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
/* payload length (not including headers */
u16 len;
/* payload length (not including headers */
u16 len;
struct acx_error_counter {
struct acx_header header;
struct acx_error_counter {
struct acx_header header;
u32 synch_fail_thold; /* number of beacons missed */
u32 bss_lose_timeout; /* number of TU's from synch fail */
u32 synch_fail_thold; /* number of beacons missed */
u32 bss_lose_timeout; /* number of TU's from synch fail */
u8 long_retry_limit;
u8 aflags;
u8 reserved;
u8 long_retry_limit;
u8 aflags;
u8 reserved;
struct acx_rate_policy {
struct acx_header header;
struct acx_rate_policy {
struct acx_header header;
struct wl1251_command {
struct wl1251_cmd_header header;
u8 parameters[MAX_CMD_PARAMS];
struct wl1251_command {
struct wl1251_cmd_header header;
u8 parameters[MAX_CMD_PARAMS];
enum {
CMD_MAILBOX_IDLE = 0,
enum {
CMD_MAILBOX_IDLE = 0,
of this field is the Host in WRITE command or the Wilink in READ
command. */
u8 value[MAX_READ_SIZE];
of this field is the Host in WRITE command or the Wilink in READ
command. */
u8 value[MAX_READ_SIZE];
#define CMDMBOX_HEADER_LEN 4
#define CMDMBOX_INFO_ELEM_HEADER_LEN 4
#define CMDMBOX_HEADER_LEN 4
#define CMDMBOX_INFO_ELEM_HEADER_LEN 4
struct wl1251_cmd_header header;
u32 timeout;
struct wl1251_cmd_header header;
u32 timeout;
/* HW encryption keys */
#define NUM_ACCESS_CATEGORIES_COPY 4
/* HW encryption keys */
#define NUM_ACCESS_CATEGORIES_COPY 4