aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Robson <robsonde@gmail.com>2017-02-16 00:33:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-16 13:41:22 -0500
commit87bf14fe117e68ba5a146934db7e07ec8402fbb1 (patch)
tree7a319e24e01a840082c829dc3d430051e3a23b2c
parent6dbe64b2feafe5e7547d87adafbe807f11b86ded (diff)
Staging: rtl8192u: ieee80211: rtl819x_BAProc.c - style fix
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
index 51503ee0dce7..6619b8fb9700 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
@@ -14,7 +14,7 @@
14 * input: PBA_RECORD pBA //BA entry to be enabled 14 * input: PBA_RECORD pBA //BA entry to be enabled
15 * u16 Time //indicate time delay. 15 * u16 Time //indicate time delay.
16 * output: none 16 * output: none
17********************************************************************************************************************/ 17 ********************************************************************************************************************/
18static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 Time) 18static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 Time)
19{ 19{
20 pBA->bValid = true; 20 pBA->bValid = true;
@@ -26,7 +26,7 @@ static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 T
26 *function: deactivate BA entry, including its timer. 26 *function: deactivate BA entry, including its timer.
27 * input: PBA_RECORD pBA //BA entry to be disabled 27 * input: PBA_RECORD pBA //BA entry to be disabled
28 * output: none 28 * output: none
29********************************************************************************************************************/ 29 ********************************************************************************************************************/
30static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA) 30static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA)
31{ 31{
32 pBA->bValid = false; 32 pBA->bValid = false;
@@ -38,7 +38,7 @@ static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA)
38 * PTX_TS_RECORD pTxTs //Tx Ts which is to deactivate BA entry. 38 * PTX_TS_RECORD pTxTs //Tx Ts which is to deactivate BA entry.
39 * output: none 39 * output: none
40 * notice: As PTX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME 40 * notice: As PTX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME
41********************************************************************************************************************/ 41 ********************************************************************************************************************/
42static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs) 42static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs)
43{ 43{
44 PBA_RECORD pAdmittedBa = &pTxTs->TxAdmittedBARecord; //These two BA entries must exist in TS structure 44 PBA_RECORD pAdmittedBa = &pTxTs->TxAdmittedBARecord; //These two BA entries must exist in TS structure
@@ -66,7 +66,7 @@ static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs)
66 * PRX_TS_RECORD pRxTs //Rx Ts which is to deactivate BA entry. 66 * PRX_TS_RECORD pRxTs //Rx Ts which is to deactivate BA entry.
67 * output: none 67 * output: none
68 * notice: As PRX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME, same with above 68 * notice: As PRX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME, same with above
69********************************************************************************************************************/ 69 ********************************************************************************************************************/
70static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs) 70static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs)
71{ 71{
72 PBA_RECORD pBa = &pRxTs->RxAdmittedBARecord; 72 PBA_RECORD pBa = &pRxTs->RxAdmittedBARecord;
@@ -85,7 +85,7 @@ static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs)
85 * input: 85 * input:
86 * PBA_RECORD pBA //entry to be reset 86 * PBA_RECORD pBA //entry to be reset
87 * output: none 87 * output: none
88********************************************************************************************************************/ 88 ********************************************************************************************************************/
89void ResetBaEntry(PBA_RECORD pBA) 89void ResetBaEntry(PBA_RECORD pBA)
90{ 90{
91 pBA->bValid = false; 91 pBA->bValid = false;
@@ -103,7 +103,7 @@ void ResetBaEntry(PBA_RECORD pBA)
103 * u8 type //indicate whether it's RSP(ACT_ADDBARSP) ow REQ(ACT_ADDBAREQ) 103 * u8 type //indicate whether it's RSP(ACT_ADDBARSP) ow REQ(ACT_ADDBAREQ)
104 * output: none 104 * output: none
105 * return: sk_buff* skb //return constructed skb to xmit 105 * return: sk_buff* skb //return constructed skb to xmit
106*******************************************************************************************************************************/ 106 *******************************************************************************************************************************/
107static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, PBA_RECORD pBA, u16 StatusCode, u8 type) 107static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, PBA_RECORD pBA, u16 StatusCode, u8 type)
108{ 108{
109 struct sk_buff *skb = NULL; 109 struct sk_buff *skb = NULL;
@@ -177,7 +177,7 @@ static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, P
177 * u16 ReasonCode //status code. 177 * u16 ReasonCode //status code.
178 * output: none 178 * output: none
179 * return: sk_buff* skb //return constructed skb to xmit 179 * return: sk_buff* skb //return constructed skb to xmit
180********************************************************************************************************************/ 180 ********************************************************************************************************************/
181static struct sk_buff *ieee80211_DELBA( 181static struct sk_buff *ieee80211_DELBA(
182 struct ieee80211_device *ieee, 182 struct ieee80211_device *ieee,
183 u8 *dst, 183 u8 *dst,
@@ -242,7 +242,7 @@ static struct sk_buff *ieee80211_DELBA(
242 * PBA_RECORD pBA //BA_RECORD entry which stores the necessary information for BA 242 * PBA_RECORD pBA //BA_RECORD entry which stores the necessary information for BA
243 * output: none 243 * output: none
244 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does 244 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
245********************************************************************************************************************/ 245 ********************************************************************************************************************/
246static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee, 246static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
247 u8 *dst, PBA_RECORD pBA) 247 u8 *dst, PBA_RECORD pBA)
248{ 248{
@@ -267,7 +267,7 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
267 * u16 StatusCode //RSP StatusCode 267 * u16 StatusCode //RSP StatusCode
268 * output: none 268 * output: none
269 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does 269 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
270********************************************************************************************************************/ 270 ********************************************************************************************************************/
271static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst, 271static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst,
272 PBA_RECORD pBA, u16 StatusCode) 272 PBA_RECORD pBA, u16 StatusCode)
273{ 273{
@@ -292,7 +292,7 @@ static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst,
292 * u16 ReasonCode //DEL ReasonCode 292 * u16 ReasonCode //DEL ReasonCode
293 * output: none 293 * output: none
294 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does 294 * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
295********************************************************************************************************************/ 295 ********************************************************************************************************************/
296 296
297static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst, 297static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
298 PBA_RECORD pBA, TR_SELECT TxRxSelect, 298 PBA_RECORD pBA, TR_SELECT TxRxSelect,
@@ -314,7 +314,7 @@ static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
314 * input: struct sk_buff * skb //incoming ADDBAReq skb. 314 * input: struct sk_buff * skb //incoming ADDBAReq skb.
315 * return: 0(pass), other(fail) 315 * return: 0(pass), other(fail)
316 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. 316 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
317********************************************************************************************************************/ 317 ********************************************************************************************************************/
318int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb) 318int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
319{ 319{
320 struct rtl_80211_hdr_3addr *req = NULL; 320 struct rtl_80211_hdr_3addr *req = NULL;
@@ -414,7 +414,7 @@ OnADDBAReq_Fail:
414 * input: struct sk_buff * skb //incoming ADDBAReq skb. 414 * input: struct sk_buff * skb //incoming ADDBAReq skb.
415 * return: 0(pass), other(fail) 415 * return: 0(pass), other(fail)
416 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. 416 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
417********************************************************************************************************************/ 417 ********************************************************************************************************************/
418int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb) 418int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
419{ 419{
420 struct rtl_80211_hdr_3addr *rsp = NULL; 420 struct rtl_80211_hdr_3addr *rsp = NULL;
@@ -541,7 +541,7 @@ OnADDBARsp_Reject:
541 * input: struct sk_buff * skb //incoming ADDBAReq skb. 541 * input: struct sk_buff * skb //incoming ADDBAReq skb.
542 * return: 0(pass), other(fail) 542 * return: 0(pass), other(fail)
543 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. 543 * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
544********************************************************************************************************************/ 544 ********************************************************************************************************************/
545int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb) 545int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb)
546{ 546{
547 struct rtl_80211_hdr_3addr *delba = NULL; 547 struct rtl_80211_hdr_3addr *delba = NULL;
@@ -671,7 +671,7 @@ TsInitDelBA( struct ieee80211_device *ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SE
671 * input: unsigned long data //acturally we send TX_TS_RECORD or RX_TS_RECORD to these timer 671 * input: unsigned long data //acturally we send TX_TS_RECORD or RX_TS_RECORD to these timer
672 * return: NULL 672 * return: NULL
673 * notice: 673 * notice:
674********************************************************************************************************************/ 674 ********************************************************************************************************************/
675void BaSetupTimeOut(unsigned long data) 675void BaSetupTimeOut(unsigned long data)
676{ 676{
677 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data; 677 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data;