3 #include <linux/slab.h>
33 unsigned long flags = 0;
36 bool bPktInBuf =
false;
54 list_del_init(&pReorderEntry->
List);
60 stats_IndicateArray[
index] = pReorderEntry->
prxb;
219 if(count == (REORDER_ENTRY_NUM-1))
241 bool search_dir[4] = {0, 0, 0, 0};
253 search_dir[
DIR_UP] =
true;
260 search_dir[
DIR_UP] =
true;
268 search_dir[
DIR_UP] =
true;
288 if(search_dir[dir] ==
false )
293 if (pRet->
TSpec.
f.TSInfo.field.ucTSID == TID)
294 if(pRet->
TSpec.
f.TSInfo.field.ucDirection == dir)
301 if(&pRet->
List != psearch_list)
305 if(&pRet->
List != psearch_list){
323 if(pTsCommonInfo ==
NULL)
331 for(count = 0; count < TCLAS_Num; count++)
335 pTsCommonInfo->
TClasNum = TCLAS_Num;
353 if (is_multicast_ether_addr(Addr))
405 if(bAddNewTs ==
false)
433 if(!list_empty(pUnusedList))
436 list_del_init(&(*ppTS)->List);
449 pTSInfo->
field.ucTrafficType = 0;
452 pTSInfo->
field.ucAccessPolicy = 1;
453 pTSInfo->
field.ucAggregation = 0;
454 pTSInfo->
field.ucPSB = 0;
456 pTSInfo->
field.ucTSInfoAckPolicy = 0;
457 pTSInfo->
field.ucSchedule = 0;
482 unsigned long flags = 0;
501 list_del_init(&pRxReorderEntry->
List);
534 printk(
"===========>RemovePeerTS,%pM\n", Addr);
540 list_del_init(&pTS->
List);
549 printk(
"====>remove Tx_TS_admin_list\n");
551 list_del_init(&pTS->
List);
561 list_del_init(&pTS->
List);
571 list_del_init(&pTS->
List);
584 list_del_init(&pTS->
List);
591 list_del_init(&pTS->
List);
598 list_del_init(&pTS->
List);
605 list_del_init(&pTS->
List);