Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579438
| From | Derek Robson <robsonde@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix |
| Date | 2017-02-13 06:50 +0100 |
| Message-ID | <tahGr-7NL-25@gated-at.bofh.it> (permalink) |
| References | <tahwK-7Ki-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/25] Staging: rtl8192u - fixed block comments Derek Robson <robsonde@gmail.com> - 2017-02-13 06:40 +0100 [PATCH v2 10/25] Staging: rtl8192u: r8190_rtl8256.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 20/25] Staging: rtl8192u: ieee80211: ieee80211_wx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 16/25] Staging: rtl8192u: ieee80211: rtl819x_HTProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 08/25] Staging: rtl8192u: r8192U.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 03/25] Staging: rtl8192u: r819xU_cmdpkt.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 02/25] Staging: rtl8192u: r819xU_firmware.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 11/25] Staging: rtl8192u: r8180_93cx6.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 22/25] Staging: rtl8192u: ieee80211: ieee80211_rx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 19/25] Staging: rtl8192u: ieee80211: rtl819x_BA.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 13/25] Staging: rtl8192u: ieee80211: rtl819x_TSProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 09/25] Staging: rtl8192u: r8190_rtl8256.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 24/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 05/25] Staging: rtl8192u: r8192U_hw.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 06/25] Staging: rtl8192u: r8192U_dm.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 12/25] Staging: rtl8192u: ieee80211: ieee80211_crypt_wep.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 21/25] Staging: rtl8192u: ieee80211: ieee80211_tx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 14/25] Staging: rtl8192u: ieee80211: ieee80211_softmac.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 25/25] Staging: rtl8192u: ieee80211: ieee80211.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 07/25] Staging: rtl8192u: r8192U_core.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 15/25] Staging: rtl8192u: ieee80211: ieee80211_module.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 17/25] Staging: rtl8192u: ieee80211: rtl819x_BAProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100 [PATCH v2 04/25] Staging: rtl8192u: r819xU_cmdpkt.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
csiph-web