mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Remove CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
This variable is not selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6b313fba49
commit
55d4e504a2
1 changed files with 0 additions and 18 deletions
|
@ -2035,9 +2035,6 @@ void process_addba_req(_adapter *padapter, u8 *paddba_req, u8 *addr)
|
||||||
{
|
{
|
||||||
struct sta_info *psta;
|
struct sta_info *psta;
|
||||||
u16 tid;
|
u16 tid;
|
||||||
#ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
|
|
||||||
u16 start_seq;
|
|
||||||
#endif
|
|
||||||
u16 param;
|
u16 param;
|
||||||
struct recv_reorder_ctrl *preorder_ctrl;
|
struct recv_reorder_ctrl *preorder_ctrl;
|
||||||
struct sta_priv *pstapriv = &padapter->stapriv;
|
struct sta_priv *pstapriv = &padapter->stapriv;
|
||||||
|
@ -2048,25 +2045,10 @@ void process_addba_req(_adapter *padapter, u8 *paddba_req, u8 *addr)
|
||||||
psta = rtw_get_stainfo(pstapriv, addr);
|
psta = rtw_get_stainfo(pstapriv, addr);
|
||||||
|
|
||||||
if (psta) {
|
if (psta) {
|
||||||
#ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
|
|
||||||
start_seq = le16_to_cpu(preq->BA_starting_seqctrl) >> 4;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
param = le16_to_cpu(preq->BA_para_set);
|
param = le16_to_cpu(preq->BA_para_set);
|
||||||
tid = (param>>2)&0x0f;
|
tid = (param>>2)&0x0f;
|
||||||
|
|
||||||
preorder_ctrl = &psta->recvreorder_ctrl[tid];
|
preorder_ctrl = &psta->recvreorder_ctrl[tid];
|
||||||
|
|
||||||
#ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
|
|
||||||
preorder_ctrl->indicate_seq = start_seq;
|
|
||||||
#ifdef DBG_RX_SEQ
|
|
||||||
DBG_88E("DBG_RX_SEQ %s:%d IndicateSeq: %d, start_seq: %d\n", __func__, __LINE__,
|
|
||||||
preorder_ctrl->indicate_seq, start_seq);
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
preorder_ctrl->indicate_seq = 0xffff;
|
preorder_ctrl->indicate_seq = 0xffff;
|
||||||
#endif
|
|
||||||
|
|
||||||
preorder_ctrl->enable =(pmlmeinfo->bAcceptAddbaReq == true)? true :false;
|
preorder_ctrl->enable =(pmlmeinfo->bAcceptAddbaReq == true)? true :false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue