39 unsigned long flags = 0;
41 bool bPktInBuf =
false;
54 list_del_init(&pReorderEntry->
List);
62 " SeqNum: %d\n", __func__,
82 " Rx Reorer struct buffer full!!\n");
155 (
unsigned long) pTxTS);
159 (
unsigned long) pTxTS);
163 (
unsigned long) pTxTS);
167 (
unsigned long) pTxTS);
170 (
unsigned long) pTxTS);
187 (
unsigned long) pRxTS);
191 (
unsigned long) pRxTS);
195 (
unsigned long) pRxTS);
199 (
unsigned long) pRxTS);
210 if (count == (REORDER_ENTRY_NUM-1))
233 bool search_dir[4] = {0};
237 if (TxRxSelect ==
TX_DIR) {
241 search_dir[
DIR_UP] =
true;
246 search_dir[
DIR_UP] =
true;
250 if (TxRxSelect ==
TX_DIR) {
251 search_dir[
DIR_UP] =
true;
267 if (search_dir[dir] ==
false)
271 if (pRet->
TSpec.
f.TSInfo.field.ucTSID == TID)
272 if (pRet->
TSpec.
f.TSInfo.field.ucDirection == dir)
276 if (&pRet->
List != psearch_list)
280 if (pRet && &pRet->
List != psearch_list)
288 u8 TCLAS_Num,
u8 TCLAS_Proc)
292 if (pTsCommonInfo ==
NULL)
301 for (count = 0; count < TCLAS_Num; count++)
306 pTsCommonInfo->
TClasNum = TCLAS_Num;
313 if (is_multicast_ether_addr(Addr)) {
323 "not valid\n", __func__, TID);
351 if (bAddNewTs ==
false) {
373 if (!list_empty(pUnusedList)) {
376 list_del_init(&(*ppTS)->List);
377 if (TxRxSelect ==
TX_DIR) {
392 ", UP:%d, Dir:%d, addr: %pM"
393 " ppTs=%p\n", UP, Dir,
395 pTSInfo->
field.ucTrafficType = 0;
398 pTSInfo->
field.ucAccessPolicy = 1;
399 pTSInfo->
field.ucAggregation = 0;
400 pTSInfo->
field.ucPSB = 0;
402 pTSInfo->
field.ucTSInfoAckPolicy = 0;
403 pTSInfo->
field.ucSchedule = 0;
412 "%s() There is not enough dir=%d"
413 "(0=up down=1) TS record to be "
414 "used!!", __func__, Dir);
428 if (TxRxSelect ==
RX_DIR) {
442 list_del_init(&pRxReorderEntry->
List);
470 list_del_init(&pTS->
List);
479 list_del_init(&pTS->
List);
487 list_del_init(&pTS->
List);
495 list_del_init(&pTS->
List);
508 list_del_init(&pTS->
List);
514 list_del_init(&pTS->
List);
520 list_del_init(&pTS->
List);
526 list_del_init(&pTS->
List);
538 "Delayed Start ADDBA after 60 sec!!\n");
543 "Immediately Start ADDBA now!!\n");