Commit 73b068f5 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename TSInfo - Style

Rename TSInfo, the memeber variable of struct tspec_body to ts_info.
This change clears the checkpatch issue with CamelCase naming.

This is a coding style change which should not impact runtime code
execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9365607a
...@@ -626,7 +626,7 @@ TsInitAddBA( ...@@ -626,7 +626,7 @@ TsInitAddBA(
pBA->DialogToken++; // DialogToken: Only keep the latest dialog token pBA->DialogToken++; // DialogToken: Only keep the latest dialog token
pBA->BaParamSet.field.AMSDU_Support = 0; // Do not support A-MSDU with A-MPDU now!! pBA->BaParamSet.field.AMSDU_Support = 0; // Do not support A-MSDU with A-MPDU now!!
pBA->BaParamSet.field.BAPolicy = Policy; // Policy: Delayed or Immediate pBA->BaParamSet.field.BAPolicy = Policy; // Policy: Delayed or Immediate
pBA->BaParamSet.field.TID = pTS->ts_common_info.t_spec.TSInfo.uc_tsid; // TID pBA->BaParamSet.field.TID = pTS->ts_common_info.t_spec.ts_info.uc_tsid; // TID
// BufferSize: This need to be set according to A-MPDU vector // BufferSize: This need to be set according to A-MPDU vector
pBA->BaParamSet.field.BufferSize = 32; // BufferSize: This need to be set according to A-MPDU vector pBA->BaParamSet.field.BufferSize = 32; // BufferSize: This need to be set according to A-MPDU vector
pBA->BaTimeoutValue = 0; // Timeout value: Set 0 to disable Timer pBA->BaTimeoutValue = 0; // Timeout value: Set 0 to disable Timer
......
...@@ -52,7 +52,7 @@ struct qos_tsinfo { ...@@ -52,7 +52,7 @@ struct qos_tsinfo {
* Note: sizeof 55 bytes * Note: sizeof 55 bytes
*/ */
struct tspec_body { struct tspec_body {
struct qos_tsinfo TSInfo; //u8 TSInfo[3]; struct qos_tsinfo ts_info; //u8 TSInfo[3];
u16 NominalMSDUsize; u16 NominalMSDUsize;
u16 MaxMSDUsize; u16 MaxMSDUsize;
u32 MinServiceItv; u32 MinServiceItv;
......
...@@ -246,10 +246,10 @@ static struct ts_common_info *SearchAdmitTRStream(struct ieee80211_device *ieee, ...@@ -246,10 +246,10 @@ static struct ts_common_info *SearchAdmitTRStream(struct ieee80211_device *ieee,
if (!search_dir[dir]) if (!search_dir[dir])
continue; continue;
list_for_each_entry(pRet, psearch_list, list){ list_for_each_entry(pRet, psearch_list, list){
// IEEE80211_DEBUG(IEEE80211_DL_TS, "ADD:%pM, TID:%d, dir:%d\n", pRet->Addr, pRet->TSpec.TSInfo.ucTSID, pRet->TSpec.TSInfo.ucDirection); // IEEE80211_DEBUG(IEEE80211_DL_TS, "ADD:%pM, TID:%d, dir:%d\n", pRet->Addr, pRet->TSpec.ts_info.ucTSID, pRet->TSpec.ts_info.ucDirection);
if (memcmp(pRet->addr, Addr, 6) == 0) if (memcmp(pRet->addr, Addr, 6) == 0)
if (pRet->t_spec.TSInfo.uc_tsid == TID) if (pRet->t_spec.ts_info.uc_tsid == TID)
if(pRet->t_spec.TSInfo.uc_direction == dir) { if(pRet->t_spec.ts_info.uc_direction == dir) {
// printk("Bingo! got it\n"); // printk("Bingo! got it\n");
break; break;
} }
...@@ -355,7 +355,7 @@ bool GetTs( ...@@ -355,7 +355,7 @@ bool GetTs(
// For HCCA or WMMSA, TS cannot be addmit without negotiation. // For HCCA or WMMSA, TS cannot be addmit without negotiation.
// //
struct tspec_body TSpec; struct tspec_body TSpec;
struct qos_tsinfo *pTSInfo = &TSpec.TSInfo; struct qos_tsinfo *pTSInfo = &TSpec.ts_info;
struct list_head *pUnusedList = struct list_head *pUnusedList =
(TxRxSelect == TX_DIR)? (TxRxSelect == TX_DIR)?
(&ieee->Tx_TS_Unused_List): (&ieee->Tx_TS_Unused_List):
......
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