summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwnreg.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-02-05 16:09:20 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-02-05 16:09:20 +0000
commit2e40d13bc0929a64f6870e4e3435a3daba015e4f (patch)
tree41e96a001b8dc21005c16a6eb8a13ebb71eca24f /sys/dev/pci/if_iwnreg.h
parent95440ac113f9756142e11f3dbb2e5d02719a9d77 (diff)
In iwn(4), set max A-MPDU length to 64k instead of 4k and tell the firmware
about A-MPDU spacing. Makes BlockAck happy. tested by me, tb@, krw@, sthen@, and Henrik Friedrichsen
Diffstat (limited to 'sys/dev/pci/if_iwnreg.h')
-rw-r--r--sys/dev/pci/if_iwnreg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwnreg.h b/sys/dev/pci/if_iwnreg.h
index 1d9a2bcb8d8..9a4a4fe1bb9 100644
--- a/sys/dev/pci/if_iwnreg.h
+++ b/sys/dev/pci/if_iwnreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwnreg.h,v 1.51 2016/01/07 23:08:38 stsp Exp $ */
+/* $OpenBSD: if_iwnreg.h,v 1.52 2016/02/05 16:09:19 stsp Exp $ */
/*-
* Copyright (c) 2007, 2008
@@ -605,9 +605,11 @@ struct iwn_node_info {
uint32_t htflags;
#define IWN_AMDPU_SIZE_FACTOR(x) ((x) << 19)
+#define IWN_AMDPU_SIZE_FACTOR_MASK ((0x3) << 19)
#define IWN_AMDPU_DENSITY(x) ((x) << 23)
+#define IWN_AMDPU_DENSITY_MASK ((0x7) << 23)
- uint32_t mask;
+ uint32_t htmask;
uint16_t disable_tid;
uint16_t reserved6;
uint8_t addba_tid;
@@ -632,7 +634,7 @@ struct iwn4965_node_info {
uint8_t reserved5;
uint8_t key[16];
uint32_t htflags;
- uint32_t mask;
+ uint32_t htmask;
uint16_t disable_tid;
uint16_t reserved6;
uint8_t addba_tid;