Searched refs:pTxTs (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtl819x_BAProc.c35 static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) TxTsDeleteBA() argument
37 struct ba_record *pAdmittedBa = &pTxTs->TxAdmittedBARecord; TxTsDeleteBA()
38 struct ba_record *pPendingBa = &pTxTs->TxPendingBARecord; TxTsDeleteBA()
467 struct tx_ts_record *pTxTs; rtllib_rx_DELBA() local
469 if (!GetTs(ieee, (struct ts_common_info **)&pTxTs, dst, rtllib_rx_DELBA()
476 pTxTs->bUsingBa = false; rtllib_rx_DELBA()
477 pTxTs->bAddBaReqInProgress = false; rtllib_rx_DELBA()
478 pTxTs->bAddBaReqDelayed = false; rtllib_rx_DELBA()
479 del_timer_sync(&pTxTs->TsAddBaTimer); rtllib_rx_DELBA()
480 TxTsDeleteBA(ieee, pTxTs); rtllib_rx_DELBA()
514 struct tx_ts_record *pTxTs = TsInitDelBA() local
517 if (TxTsDeleteBA(ieee, pTxTs)) TsInitDelBA()
519 (pTxTs->TxAdmittedBARecord.bValid) ? TsInitDelBA()
520 (&pTxTs->TxAdmittedBARecord) : TsInitDelBA()
521 (&pTxTs->TxPendingBARecord), TsInitDelBA()
535 struct tx_ts_record *pTxTs = (struct tx_ts_record *)data; BaSetupTimeOut() local
537 pTxTs->bAddBaReqInProgress = false; BaSetupTimeOut()
538 pTxTs->bAddBaReqDelayed = true; BaSetupTimeOut()
539 pTxTs->TxPendingBARecord.bValid = false; BaSetupTimeOut()
544 struct tx_ts_record *pTxTs = (struct tx_ts_record *)data; TxBaInactTimeout() local
545 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxBaInactTimeout()
546 TxTsRecord[pTxTs->num]); TxBaInactTimeout()
547 TxTsDeleteBA(ieee, pTxTs); TxBaInactTimeout()
548 rtllib_send_DELBA(ieee, pTxTs->TsCommonInfo.Addr, TxBaInactTimeout()
549 &pTxTs->TxAdmittedBARecord, TX_DIR, TxBaInactTimeout()
H A Drtllib_tx.c289 struct tx_ts_record *pTxTs = NULL; rtllib_tx_query_agg_cap() local
311 if (!GetTs(ieee, (struct ts_common_info **)(&pTxTs), hdr->addr1, rtllib_tx_query_agg_cap()
316 if (pTxTs->TxAdmittedBARecord.bValid == false) { rtllib_tx_query_agg_cap()
322 } else if (!pTxTs->bDisable_AddBa) { rtllib_tx_query_agg_cap()
323 TsStartAddBaProcess(ieee, pTxTs); rtllib_tx_query_agg_cap()
326 } else if (pTxTs->bUsingBa == false) { rtllib_tx_query_agg_cap()
327 if (SN_LESS(pTxTs->TxAdmittedBARecord.BaStartSeqCtrl.field.SeqNum, rtllib_tx_query_agg_cap()
328 (pTxTs->TxCurSeq+1)%4096)) rtllib_tx_query_agg_cap()
329 pTxTs->bUsingBa = true; rtllib_tx_query_agg_cap()
H A Drtl819x_TSProc.c101 struct tx_ts_record *pTxTs = (struct tx_ts_record *)data; TsAddBaProcess() local
102 u8 num = pTxTs->num; TsAddBaProcess()
103 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TsAddBaProcess()
106 TsInitAddBA(ieee, pTxTs, BA_POLICY_IMMEDIATE, false); TsAddBaProcess()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_BAProc.c38 * PTX_TS_RECORD pTxTs //Tx Ts which is to deactivate BA entry.
42 static u8 TxTsDeleteBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTs) TxTsDeleteBA() argument
44 PBA_RECORD pAdmittedBa = &pTxTs->TxAdmittedBARecord; //These two BA entries must exist in TS structure TxTsDeleteBA()
45 PBA_RECORD pPendingBa = &pTxTs->TxPendingBARecord; TxTsDeleteBA()
616 PTX_TS_RECORD pTxTs; ieee80211_rx_DELBA() local
620 (PTS_COMMON_INFO *)&pTxTs, ieee80211_rx_DELBA()
630 pTxTs->bUsingBa = false; ieee80211_rx_DELBA()
631 pTxTs->bAddBaReqInProgress = false; ieee80211_rx_DELBA()
632 pTxTs->bAddBaReqDelayed = false; ieee80211_rx_DELBA()
633 del_timer_sync(&pTxTs->TsAddBaTimer); ieee80211_rx_DELBA()
634 //PlatformCancelTimer(Adapter, &pTxTs->TsAddBaTimer); ieee80211_rx_DELBA()
635 TxTsDeleteBA(ieee, pTxTs); ieee80211_rx_DELBA()
679 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)pTsCommonInfo; TsInitDelBA() local
681 if(TxTsDeleteBA(ieee, pTxTs)) TsInitDelBA()
685 (pTxTs->TxAdmittedBARecord.bValid)?(&pTxTs->TxAdmittedBARecord):(&pTxTs->TxPendingBARecord), TsInitDelBA()
709 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data; BaSetupTimeOut() local
711 pTxTs->bAddBaReqInProgress = false; BaSetupTimeOut()
712 pTxTs->bAddBaReqDelayed = true; BaSetupTimeOut()
713 pTxTs->TxPendingBARecord.bValid = false; BaSetupTimeOut()
718 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data; TxBaInactTimeout() local
719 struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[pTxTs->num]); TxBaInactTimeout()
720 TxTsDeleteBA(ieee, pTxTs); TxBaInactTimeout()
723 pTxTs->TsCommonInfo.Addr, TxBaInactTimeout()
724 &pTxTs->TxAdmittedBARecord, TxBaInactTimeout()
H A Dieee80211_tx.c310 PTX_TS_RECORD pTxTs = NULL; ieee80211_tx_query_agg_cap() local
334 if (!GetTs(ieee, (PTS_COMMON_INFO *)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) ieee80211_tx_query_agg_cap()
339 if (!pTxTs->TxAdmittedBARecord.bValid) ieee80211_tx_query_agg_cap()
341 TsStartAddBaProcess(ieee, pTxTs); ieee80211_tx_query_agg_cap()
344 else if (!pTxTs->bUsingBa) ieee80211_tx_query_agg_cap()
346 if (SN_LESS(pTxTs->TxAdmittedBARecord.BaStartSeqCtrl.field.SeqNum, (pTxTs->TxCurSeq+1)%4096)) ieee80211_tx_query_agg_cap()
347 pTxTs->bUsingBa = true; ieee80211_tx_query_agg_cap()
H A Drtl819x_TSProc.c104 PTX_TS_RECORD pTxTs = (PTX_TS_RECORD)data; TsAddBaProcess() local
105 u8 num = pTxTs->num; TsAddBaProcess()
106 struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[num]); TsAddBaProcess()
108 TsInitAddBA(ieee, pTxTs, BA_POLICY_IMMEDIATE, false); TsAddBaProcess()

Completed in 324 milliseconds