RTLLIB_DEBUG(RTLLIB_DL_ERR,"Failed to reply on ADDBA_REQ as some capability is not ready(%d, %d)\n",ieee->current_network.qos_data.active,ieee->pHTInfo->bCurrentHTSupport);
RTLLIB_DEBUG(RTLLIB_DL_ERR,"Failed to reply on ADDBA_REQ as "
RTLLIB_DEBUG(RTLLIB_DL_ERR," Invalid skb len in BARSP(%d / %d)\n",(int)skb->len,(int)(sizeof(structrtllib_hdr_3addr)+9));
if(skb->len<sizeof(structrtllib_hdr_3addr)+9){
RTLLIB_DEBUG(RTLLIB_DL_ERR," Invalid skb len in BARSP(%d / "
"%d)\n",(int)skb->len,
(int)(sizeof(structrtllib_hdr_3addr)+9));
return-1;
}
rsp=(structrtllib_hdr_3addr*)skb->data;
tag=(u8*)rsp;
dst=(u8*)(&rsp->addr2[0]);
tag+=sizeof(structrtllib_hdr_3addr);
rsp=(structrtllib_hdr_3addr*)skb->data;
tag=(u8*)rsp;
dst=(u8*)(&rsp->addr2[0]);
tag+=sizeof(structrtllib_hdr_3addr);
pDialogToken=tag+2;
pStatusCode=(u16*)(tag+3);
pStatusCode=(u16*)(tag+3);
pBaParamSet=(unionba_param_set*)(tag+5);
pBaTimeoutVal=(u16*)(tag+7);
pBaTimeoutVal=(u16*)(tag+7);
RT_TRACE(COMP_DBG,"====>rx ADDBARSP from :"MAC_FMT"\n",MAC_ARG(dst));
if(
ieee->current_network.qos_data.active==0||
ieee->pHTInfo->bCurrentHTSupport==false||
ieee->pHTInfo->bCurrentAMPDUEnable==false)
{
RTLLIB_DEBUG(RTLLIB_DL_ERR,"reject to ADDBA_RSP as some capability is not ready(%d, %d, %d)\n",ieee->current_network.qos_data.active,ieee->pHTInfo->bCurrentHTSupport,ieee->pHTInfo->bCurrentAMPDUEnable);
if(ieee->current_network.qos_data.active==0||
ieee->pHTInfo->bCurrentHTSupport==false||
ieee->pHTInfo->bCurrentAMPDUEnable==false){
RTLLIB_DEBUG(RTLLIB_DL_ERR,"reject to ADDBA_RSP as some capab"
RTLLIB_DEBUG(RTLLIB_DL_ERR," Invalid skb len in DELBA(%d / %d)\n",(int)skb->len,(int)(sizeof(structrtllib_hdr_3addr)+6));
if(skb->len<sizeof(structrtllib_hdr_3addr)+6){
RTLLIB_DEBUG(RTLLIB_DL_ERR," Invalid skb len in DELBA(%d /"
" %d)\n",(int)skb->len,
(int)(sizeof(structrtllib_hdr_3addr)+6));
return-1;
}
if(
ieee->current_network.qos_data.active==0||
ieee->pHTInfo->bCurrentHTSupport==false)
{
RTLLIB_DEBUG(RTLLIB_DL_ERR,"received DELBA while QOS or HT is not supported(%d, %d)\n",ieee->current_network.qos_data.active,ieee->pHTInfo->bCurrentHTSupport);
if(ieee->current_network.qos_data.active==0||
ieee->pHTInfo->bCurrentHTSupport==false){
RTLLIB_DEBUG(RTLLIB_DL_ERR,"received DELBA while QOS or HT "