• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/vt6655/

Lines Matching refs:pDevice

60  *      pDevice             -
68 bool ROUTEbRelay (PSDevice pDevice, unsigned char *pbySkbData, unsigned int uDataLen, unsigned int uNodeIndex)
70 PSMgmtObject pMgmt = pDevice->pMgmt;
85 if (AVAIL_TD(pDevice, TYPE_AC0DMA)<=0) {
90 pHeadTD = pDevice->apCurrTD[TYPE_AC0DMA];
94 memcpy(pDevice->sTxEthHeader.abyDstAddr, (unsigned char *)pbySkbData, ETH_HLEN);
98 if (ntohs(pDevice->sTxEthHeader.wType) > ETH_DATA_LEN) {
102 if (pDevice->bEncryptionEnable == true) {
106 pbyBSSID = pDevice->abyBroadcastAddr;
107 if(KeybGetTransmitKey(&(pDevice->sKey), pbyBSSID, GROUP_KEY, &pTransmitKey) == false) {
109 DBG_PRT(MSG_LEVEL_DEBUG, KERN_DEBUG"KEY is NULL. [%d]\n", pDevice->pMgmt->eCurrMode);
115 if (pDevice->bEnableHostWEP) {
130 uMACfragNum = cbGetFragCount(pDevice, pTransmitKey, cbFrameBodySize, &pDevice->sTxEthHeader);
132 if (uMACfragNum > AVAIL_TD(pDevice,TYPE_AC0DMA)) {
135 byPktType = (unsigned char)pDevice->byPacketType;
137 if (pDevice->bFixRate) {
138 if (pDevice->eCurrentPHYType == PHY_TYPE_11B) {
139 if (pDevice->uConnectionRate >= RATE_11M) {
140 pDevice->wCurrentRate = RATE_11M;
142 pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;
145 if ((pDevice->eCurrentPHYType == PHY_TYPE_11A) &&
146 (pDevice->uConnectionRate <= RATE_6M)) {
147 pDevice->wCurrentRate = RATE_6M;
149 if (pDevice->uConnectionRate >= RATE_54M)
150 pDevice->wCurrentRate = RATE_54M;
152 pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;
157 pDevice->wCurrentRate = pDevice->pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate;
160 if (pDevice->wCurrentRate <= RATE_11M)
163 vGenerateFIFOHeader(pDevice, byPktType, pDevice->pbyTmpBuff, bNeedEncryption,
165 &pDevice->sTxEthHeader, pbySkbData, pTransmitKey, uNodeIndex,
170 if (MACbIsRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) {
172 MACbPSWakeup(pDevice->PortOffset);
175 pDevice->bPWBitOn = false;
191 pDevice->apCurrTD[TYPE_AC0DMA] = pHeadTD;
193 MACvTransmitAC0(pDevice->PortOffset);