Commit 87bf14fe authored by Derek Robson's avatar Derek Robson Committed by Greg Kroah-Hartman

Staging: rtl8192u: ieee80211: rtl819x_BAProc.c - style fix

Fixed style of block comments
Found using checkpatch
Signed-off-by: default avatarDerek Robson <robsonde@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6dbe64b2
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* input: PBA_RECORD pBA //BA entry to be enabled * input: PBA_RECORD pBA //BA entry to be enabled
* u16 Time //indicate time delay. * u16 Time //indicate time delay.
* output: none * output: none
********************************************************************************************************************/ ********************************************************************************************************************/
static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 Time) static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 Time)
{ {
pBA->bValid = true; pBA->bValid = true;
...@@ -26,7 +26,7 @@ static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 T ...@@ -26,7 +26,7 @@ static void ActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA, u16 T
*function: deactivate BA entry, including its timer. *function: deactivate BA entry, including its timer.
* input: PBA_RECORD pBA //BA entry to be disabled * input: PBA_RECORD pBA //BA entry to be disabled
* output: none * output: none
********************************************************************************************************************/ ********************************************************************************************************************/
static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA) static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA)
{ {
pBA->bValid = false; pBA->bValid = false;
...@@ -38,7 +38,7 @@ static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA) ...@@ -38,7 +38,7 @@ static void DeActivateBAEntry(struct ieee80211_device *ieee, PBA_RECORD pBA)
* PTX_TS_RECORD pTxTs //Tx Ts which is to deactivate BA entry. * PTX_TS_RECORD pTxTs //Tx Ts which is to deactivate BA entry.
* output: none * output: none
* notice: As PTX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME * notice: As PTX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME
********************************************************************************************************************/ ********************************************************************************************************************/
static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs) static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs)
{ {
PBA_RECORD pAdmittedBa = &pTxTs->TxAdmittedBARecord; //These two BA entries must exist in TS structure 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,7 +66,7 @@ static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs)
* PRX_TS_RECORD pRxTs //Rx Ts which is to deactivate BA entry. * PRX_TS_RECORD pRxTs //Rx Ts which is to deactivate BA entry.
* output: none * output: none
* notice: As PRX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME, same with above * notice: As PRX_TS_RECORD structure will be defined in QOS, so wait to be merged. //FIXME, same with above
********************************************************************************************************************/ ********************************************************************************************************************/
static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs) static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs)
{ {
PBA_RECORD pBa = &pRxTs->RxAdmittedBARecord; PBA_RECORD pBa = &pRxTs->RxAdmittedBARecord;
...@@ -85,7 +85,7 @@ static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs) ...@@ -85,7 +85,7 @@ static u8 RxTsDeleteBA(struct ieee80211_device *ieee, PRX_TS_RECORD pRxTs)
* input: * input:
* PBA_RECORD pBA //entry to be reset * PBA_RECORD pBA //entry to be reset
* output: none * output: none
********************************************************************************************************************/ ********************************************************************************************************************/
void ResetBaEntry(PBA_RECORD pBA) void ResetBaEntry(PBA_RECORD pBA)
{ {
pBA->bValid = false; pBA->bValid = false;
...@@ -103,7 +103,7 @@ void ResetBaEntry(PBA_RECORD pBA) ...@@ -103,7 +103,7 @@ void ResetBaEntry(PBA_RECORD pBA)
* u8 type //indicate whether it's RSP(ACT_ADDBARSP) ow REQ(ACT_ADDBAREQ) * u8 type //indicate whether it's RSP(ACT_ADDBARSP) ow REQ(ACT_ADDBAREQ)
* output: none * output: none
* return: sk_buff* skb //return constructed skb to xmit * return: sk_buff* skb //return constructed skb to xmit
*******************************************************************************************************************************/ *******************************************************************************************************************************/
static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, PBA_RECORD pBA, u16 StatusCode, u8 type) static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, PBA_RECORD pBA, u16 StatusCode, u8 type)
{ {
struct sk_buff *skb = NULL; struct sk_buff *skb = NULL;
...@@ -177,7 +177,7 @@ static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, P ...@@ -177,7 +177,7 @@ static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, P
* u16 ReasonCode //status code. * u16 ReasonCode //status code.
* output: none * output: none
* return: sk_buff* skb //return constructed skb to xmit * return: sk_buff* skb //return constructed skb to xmit
********************************************************************************************************************/ ********************************************************************************************************************/
static struct sk_buff *ieee80211_DELBA( static struct sk_buff *ieee80211_DELBA(
struct ieee80211_device *ieee, struct ieee80211_device *ieee,
u8 *dst, u8 *dst,
...@@ -242,7 +242,7 @@ static struct sk_buff *ieee80211_DELBA( ...@@ -242,7 +242,7 @@ static struct sk_buff *ieee80211_DELBA(
* PBA_RECORD pBA //BA_RECORD entry which stores the necessary information for BA * PBA_RECORD pBA //BA_RECORD entry which stores the necessary information for BA
* output: none * output: none
* notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
********************************************************************************************************************/ ********************************************************************************************************************/
static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee, static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
u8 *dst, PBA_RECORD pBA) u8 *dst, PBA_RECORD pBA)
{ {
...@@ -267,7 +267,7 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee, ...@@ -267,7 +267,7 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
* u16 StatusCode //RSP StatusCode * u16 StatusCode //RSP StatusCode
* output: none * output: none
* notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
********************************************************************************************************************/ ********************************************************************************************************************/
static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst, static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst,
PBA_RECORD pBA, u16 StatusCode) PBA_RECORD pBA, u16 StatusCode)
{ {
...@@ -292,7 +292,7 @@ static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst, ...@@ -292,7 +292,7 @@ static void ieee80211_send_ADDBARsp(struct ieee80211_device *ieee, u8 *dst,
* u16 ReasonCode //DEL ReasonCode * u16 ReasonCode //DEL ReasonCode
* output: none * output: none
* notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does * notice: If any possible, please hide pBA in ieee. And temporarily use Manage Queue as softmac_mgmt_xmit() usually does
********************************************************************************************************************/ ********************************************************************************************************************/
static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst, static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
PBA_RECORD pBA, TR_SELECT TxRxSelect, PBA_RECORD pBA, TR_SELECT TxRxSelect,
...@@ -314,7 +314,7 @@ static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst, ...@@ -314,7 +314,7 @@ static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
* input: struct sk_buff * skb //incoming ADDBAReq skb. * input: struct sk_buff * skb //incoming ADDBAReq skb.
* return: 0(pass), other(fail) * return: 0(pass), other(fail)
* notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
********************************************************************************************************************/ ********************************************************************************************************************/
int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb) int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
{ {
struct rtl_80211_hdr_3addr *req = NULL; struct rtl_80211_hdr_3addr *req = NULL;
...@@ -414,7 +414,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb) ...@@ -414,7 +414,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
* input: struct sk_buff * skb //incoming ADDBAReq skb. * input: struct sk_buff * skb //incoming ADDBAReq skb.
* return: 0(pass), other(fail) * return: 0(pass), other(fail)
* notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
********************************************************************************************************************/ ********************************************************************************************************************/
int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb) int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
{ {
struct rtl_80211_hdr_3addr *rsp = NULL; struct rtl_80211_hdr_3addr *rsp = NULL;
...@@ -541,7 +541,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb) ...@@ -541,7 +541,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
* input: struct sk_buff * skb //incoming ADDBAReq skb. * input: struct sk_buff * skb //incoming ADDBAReq skb.
* return: 0(pass), other(fail) * return: 0(pass), other(fail)
* notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support. * notice: As this function need support of QOS, I comment some code out. And when qos is ready, this code need to be support.
********************************************************************************************************************/ ********************************************************************************************************************/
int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb) int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb)
{ {
struct rtl_80211_hdr_3addr *delba = NULL; struct rtl_80211_hdr_3addr *delba = NULL;
...@@ -671,7 +671,7 @@ TsInitDelBA( struct ieee80211_device *ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SE ...@@ -671,7 +671,7 @@ TsInitDelBA( struct ieee80211_device *ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SE
* input: unsigned long data //acturally we send TX_TS_RECORD or RX_TS_RECORD to these timer * input: unsigned long data //acturally we send TX_TS_RECORD or RX_TS_RECORD to these timer
* return: NULL * return: NULL
* notice: * notice:
********************************************************************************************************************/ ********************************************************************************************************************/
void BaSetupTimeOut(unsigned long data) void BaSetupTimeOut(unsigned long data)
{ {
PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data; PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment