Lines Matching defs:pCapELE
128 PHT_CAPABILITY_ELE pCapELE;
134 pCapELE = (PHT_CAPABILITY_ELE)(&CapIE[4]);
136 pCapELE = (PHT_CAPABILITY_ELE)(&CapIE[0]);
140 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tSupported Channel Width = %s\n", (pCapELE->ChlWidth)?"20MHz": "20/40MHz");
141 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tSupport Short GI for 20M = %s\n", (pCapELE->ShortGI20Mhz)?"YES": "NO");
142 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tSupport Short GI for 40M = %s\n", (pCapELE->ShortGI40Mhz)?"YES": "NO");
143 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tSupport TX STBC = %s\n", (pCapELE->TxSTBC)?"YES": "NO");
144 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tMax AMSDU Size = %s\n", (pCapELE->MaxAMSDUSize)?"3839": "7935");
145 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tSupport CCK in 20/40 mode = %s\n", (pCapELE->DssCCk)?"YES": "NO");
146 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tMax AMPDU Factor = %d\n", pCapELE->MaxRxAMPDUFactor);
147 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tMPDU Density = %d\n", pCapELE->MPDUDensity);
148 IEEE80211_DEBUG(IEEE80211_DL_HT, "\tMCS Rate Set = [%x][%x][%x][%x][%x]\n", pCapELE->MCS[0],\
149 pCapELE->MCS[1], pCapELE->MCS[2], pCapELE->MCS[3], pCapELE->MCS[4]);
553 PHT_CAPABILITY_ELE pCapELE = NULL;
566 pCapELE = (PHT_CAPABILITY_ELE)&(posHTCap[4]);
569 pCapELE = (PHT_CAPABILITY_ELE)posHTCap;
574 pCapELE->AdvCoding = 0; // This feature is not supported now!!
577 pCapELE->ChlWidth = 0;
581 pCapELE->ChlWidth = (pHT->bRegBW40MHz?1:0);
584 // pCapELE->ChlWidth = (pHT->bRegBW40MHz?1:0);
585 pCapELE->MimoPwrSave = pHT->SelfMimoPs;
586 pCapELE->GreenField = 0; // This feature is not supported now!!
587 pCapELE->ShortGI20Mhz = 1; // We can receive Short GI!!
588 pCapELE->ShortGI40Mhz = 1; // We can receive Short GI!!
590 //pCapELE->ChlWidth, pCapELE->ShortGI20Mhz, pCapELE->ShortGI40Mhz);
591 pCapELE->TxSTBC = 1;
592 pCapELE->RxSTBC = 0;
593 pCapELE->DelayBA = 0; // Do not support now!!
594 pCapELE->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE>=7935)?1:0;
595 pCapELE->DssCCk = ((pHT->bRegBW40MHz)?(pHT->bRegSuppCCK?1:0):0);
596 pCapELE->PSMP = 0; // Do not support now!!
597 pCapELE->LSigTxopProtect = 0; // Do not support now!!
602 IEEE80211_DEBUG(IEEE80211_DL_HT, "TX HT cap/info ele BW=%d MaxAMSDUSize:%d DssCCk:%d\n", pCapELE->ChlWidth, pCapELE->MaxAMSDUSize, pCapELE->DssCCk);
606 pCapELE->MPDUDensity = 7; // 8us
607 pCapELE->MaxRxAMPDUFactor = 2; // 2 is for 32 K and 3 is 64K
611 pCapELE->MaxRxAMPDUFactor = 3; // 2 is for 32 K and 3 is 64K
612 pCapELE->MPDUDensity = 0; // no density
616 memcpy(pCapELE->MCS, ieee->Regdot11HTOperationalRateSet, 16);
618 pCapELE->MCS[1] &= 0x7f;
621 pCapELE->MCS[1] &= 0xbf;
624 pCapELE->MCS[1] &= 0x00;
632 pCapELE->MCS[i] = 0;
636 memset(&pCapELE->ExtHTCapInfo, 0, 2);
640 memset(pCapELE->TxBFCap, 0, 4);
643 pCapELE->ASCap = 0;