summaryrefslogtreecommitdiff
path: root/drivers/staging/wfx/hif_api_mib.h
diff options
context:
space:
mode:
authorJérôme Pouiller <jerome.pouiller@silabs.com>2019-12-17 16:15:05 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-18 15:56:09 +0100
commitad636ec4f01a06a59433d126c5754127b3157197 (patch)
tree71988eeda2a7c654584757aa9f4a4374a8e94da2 /drivers/staging/wfx/hif_api_mib.h
parentc2232d94ac67dc0a76656e8e15ae38a21d326eed (diff)
staging: wfx: better naming for hif_req_join->short_preamble
HIF_PREAMBLE_SHORT_LONG12 is never used. So it is possible to change "preamble_type" into a boolean and drop "enum hif_preamble". Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20191217161318.31402-28-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/hif_api_mib.h')
-rw-r--r--drivers/staging/wfx/hif_api_mib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/wfx/hif_api_mib.h b/drivers/staging/wfx/hif_api_mib.h
index 94b789ceb4ff..34e4310ad71f 100644
--- a/drivers/staging/wfx/hif_api_mib.h
+++ b/drivers/staging/wfx/hif_api_mib.h
@@ -471,8 +471,9 @@ struct hif_mib_set_association_mode {
u8 mode:1;
u8 rateset:1;
u8 spacing:1;
- u8 reserved:4;
- u8 preamble_type;
+ u8 reserved1:4;
+ u8 short_preamble:1;
+ u8 reserved2:7;
u8 mixed_or_greenfield_type;
u8 mpdu_start_spacing;
u32 basic_rate_set;