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: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9365607ac1
commit
73b068f567
@ -626,7 +626,7 @@ TsInitAddBA(
|
||||
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.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
|
||||
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
|
||||
|
@ -52,7 +52,7 @@ struct qos_tsinfo {
|
||||
* Note: sizeof 55 bytes
|
||||
*/
|
||||
struct tspec_body {
|
||||
struct qos_tsinfo TSInfo; //u8 TSInfo[3];
|
||||
struct qos_tsinfo ts_info; //u8 TSInfo[3];
|
||||
u16 NominalMSDUsize;
|
||||
u16 MaxMSDUsize;
|
||||
u32 MinServiceItv;
|
||||
|
@ -246,10 +246,10 @@ static struct ts_common_info *SearchAdmitTRStream(struct ieee80211_device *ieee,
|
||||
if (!search_dir[dir])
|
||||
continue;
|
||||
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 (pRet->t_spec.TSInfo.uc_tsid == TID)
|
||||
if(pRet->t_spec.TSInfo.uc_direction == dir) {
|
||||
if (pRet->t_spec.ts_info.uc_tsid == TID)
|
||||
if(pRet->t_spec.ts_info.uc_direction == dir) {
|
||||
// printk("Bingo! got it\n");
|
||||
break;
|
||||
}
|
||||
@ -355,7 +355,7 @@ bool GetTs(
|
||||
// For HCCA or WMMSA, TS cannot be addmit without negotiation.
|
||||
//
|
||||
struct tspec_body TSpec;
|
||||
struct qos_tsinfo *pTSInfo = &TSpec.TSInfo;
|
||||
struct qos_tsinfo *pTSInfo = &TSpec.ts_info;
|
||||
struct list_head *pUnusedList =
|
||||
(TxRxSelect == TX_DIR)?
|
||||
(&ieee->Tx_TS_Unused_List):
|
||||
|
Loading…
Reference in New Issue
Block a user