From: Derek Robson <robsonde@gmail.com>
To: gregkh@linuxfoundation.org, robsonde@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix
Date: Mon, 13 Feb 2017 18:44:15 +1300 [thread overview]
Message-ID: <bb6895067741717804043219c60780888a6b4c85.1486963767.git.robsonde@gmail.com> (raw)
In-Reply-To: <cover.1486963767.git.robsonde@gmail.com>
Fixed style of block comments
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com>
---
drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 69 +++++++++++++------------
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
index c3aabbaac7ae..d270c8ac807c 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
@@ -86,38 +86,38 @@ typedef enum _CHNLOP{
((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? TRUE : FALSE
/*
-typedef union _HT_CAPABILITY{
- u16 ShortData;
- u8 CharData[2];
- struct
- {
- u16 AdvCoding:1;
- u16 ChlWidth:1;
- u16 MimoPwrSave:2;
- u16 GreenField:1;
- u16 ShortGI20Mhz:1;
- u16 ShortGI40Mhz:1;
- u16 STBC:1;
- u16 BeamForm:1;
- u16 DelayBA:1;
- u16 MaxAMSDUSize:1;
- u16 DssCCk:1;
- u16 PSMP:1;
- u16 Rsvd:3;
- }Field;
-}HT_CAPABILITY, *PHT_CAPABILITY;
-
-typedef union _HT_CAPABILITY_MACPARA{
- u8 ShortData;
- u8 CharData[1];
- struct
- {
- u8 MaxRxAMPDU:2;
- u8 MPDUDensity:2;
- u8 Rsvd:4;
- }Field;
-}HT_CAPABILITY_MACPARA, *PHT_CAPABILITY_MACPARA;
-*/
+ * typedef union _HT_CAPABILITY{
+ * u16 ShortData;
+ * u8 CharData[2];
+ * struct
+ * {
+ * u16 AdvCoding:1;
+ * u16 ChlWidth:1;
+ * u16 MimoPwrSave:2;
+ * u16 GreenField:1;
+ * u16 ShortGI20Mhz:1;
+ * u16 ShortGI40Mhz:1;
+ * u16 STBC:1;
+ * u16 BeamForm:1;
+ * u16 DelayBA:1;
+ * u16 MaxAMSDUSize:1;
+ * u16 DssCCk:1;
+ * u16 PSMP:1;
+ * u16 Rsvd:3;
+ * }Field;
+ * }HT_CAPABILITY, *PHT_CAPABILITY;
+ *
+ * typedef union _HT_CAPABILITY_MACPARA{
+ * u8 ShortData;
+ * u8 CharData[1];
+ * struct
+ * {
+ * u8 MaxRxAMPDU:2;
+ * u8 MPDUDensity:2;
+ * u8 Rsvd:4;
+ * }Field;
+ * }HT_CAPABILITY_MACPARA, *PHT_CAPABILITY_MACPARA;
+ */
typedef enum _HT_ACTION{
ACT_RECOMMAND_WIDTH = 0,
@@ -421,8 +421,9 @@ extern u8 MCS_FILTER_ALL[16];
extern u8 MCS_FILTER_1SS[16];
/* 2007/07/11 MH Modify the macro. Becaus STA may link with a N-AP. If we set
- STA in A/B/G mode and AP is still in N mode. The macro will be wrong. We have
- to add a macro to judge wireless mode. */
+ * STA in A/B/G mode and AP is still in N mode. The macro will be wrong. We have
+ * to add a macro to judge wireless mode.
+ */
#define PICK_RATE(_nLegacyRate, _nMcsRate) \
(_nMcsRate==0)?(_nLegacyRate&0x7f):(_nMcsRate)
/* 2007/07/12 MH We only define legacy and HT wireless mode now. */
--
2.11.1
next prev parent reply other threads:[~2017-02-13 5:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 5:38 [PATCH v2 00/25] Staging: rtl8192u - fixed block comments Derek Robson
2017-02-13 5:39 ` [PATCH v2 01/25] Staging: rtl8192u: r819xU_phy.c - style fix Derek Robson
2017-02-14 17:23 ` Greg KH
2017-02-13 5:39 ` [PATCH v2 02/25] Staging: rtl8192u: r819xU_firmware.c " Derek Robson
2017-02-13 5:39 ` [PATCH v2 03/25] Staging: rtl8192u: r819xU_cmdpkt.h " Derek Robson
2017-02-13 5:40 ` [PATCH v2 04/25] Staging: rtl8192u: r819xU_cmdpkt.c " Derek Robson
2017-02-13 5:40 ` [PATCH v2 05/25] Staging: rtl8192u: r8192U_hw.h " Derek Robson
2017-02-13 5:40 ` [PATCH v2 06/25] Staging: rtl8192u: r8192U_dm.c " Derek Robson
2017-02-13 5:40 ` [PATCH v2 07/25] Staging: rtl8192u: r8192U_core.c " Derek Robson
2017-02-13 5:41 ` [PATCH v2 08/25] Staging: rtl8192u: r8192U.h " Derek Robson
2017-02-13 5:41 ` [PATCH v2 09/25] Staging: rtl8192u: r8190_rtl8256.h " Derek Robson
2017-02-13 5:41 ` [PATCH v2 10/25] Staging: rtl8192u: r8190_rtl8256.c " Derek Robson
2017-02-13 5:41 ` [PATCH v2 11/25] Staging: rtl8192u: r8180_93cx6.c " Derek Robson
2017-02-13 5:42 ` [PATCH v2 12/25] Staging: rtl8192u: ieee80211: ieee80211_crypt_wep.c " Derek Robson
2017-02-13 5:42 ` [PATCH v2 13/25] Staging: rtl8192u: ieee80211: rtl819x_TSProc.c " Derek Robson
2017-02-13 5:42 ` [PATCH v2 14/25] Staging: rtl8192u: ieee80211: ieee80211_softmac.c " Derek Robson
2017-02-13 5:43 ` [PATCH v2 15/25] Staging: rtl8192u: ieee80211: ieee80211_module.c " Derek Robson
2017-02-13 5:43 ` [PATCH v2 16/25] Staging: rtl8192u: ieee80211: rtl819x_HTProc.c " Derek Robson
2017-02-13 5:43 ` [PATCH v2 17/25] Staging: rtl8192u: ieee80211: rtl819x_BAProc.c " Derek Robson
2017-02-13 5:44 ` Derek Robson [this message]
2017-02-13 5:44 ` [PATCH v2 19/25] Staging: rtl8192u: ieee80211: rtl819x_BA.h " Derek Robson
2017-02-13 5:44 ` [PATCH v2 20/25] Staging: rtl8192u: ieee80211: ieee80211_wx.c " Derek Robson
2017-02-13 5:45 ` [PATCH v2 21/25] Staging: rtl8192u: ieee80211: ieee80211_tx.c " Derek Robson
2017-02-13 5:45 ` [PATCH v2 22/25] Staging: rtl8192u: ieee80211: ieee80211_rx.c " Derek Robson
2017-02-13 5:45 ` [PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h " Derek Robson
2017-02-13 5:46 ` [PATCH v2 24/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.c " Derek Robson
2017-02-13 5:46 ` [PATCH v2 25/25] Staging: rtl8192u: ieee80211: ieee80211.h " Derek Robson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb6895067741717804043219c60780888a6b4c85.1486963767.git.robsonde@gmail.com \
--to=robsonde@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®