• 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 defs:uNodeIndex

218 	unsigned int uNodeIndex;
221 if (BSSDBbIsSTAInNodeDB(pDevice->pMgmt, param->sta_addr, &uNodeIndex)) {
222 BSSvRemoveOneNode(pDevice, uNodeIndex);
247 unsigned int uNodeIndex;
250 if (!BSSDBbIsSTAInNodeDB(pMgmt, param->sta_addr, &uNodeIndex)) {
251 BSSvCreateOneNode((PSDevice)pDevice, &uNodeIndex);
253 memcpy(pMgmt->sNodeDBTable[uNodeIndex].abyMACAddr, param->sta_addr, WLAN_ADDR_LEN);
254 pMgmt->sNodeDBTable[uNodeIndex].eNodeState = NODE_ASSOC;
255 pMgmt->sNodeDBTable[uNodeIndex].wCapInfo = param->u.add_sta.capability;
257 // pMgmt->sNodeDBTable[uNodeIndex].wListenInterval = 1;
258 pMgmt->sNodeDBTable[uNodeIndex].bPSEnable = false;
259 pMgmt->sNodeDBTable[uNodeIndex].bySuppRate = param->u.add_sta.tx_supp_rates;
262 pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate =
263 pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate;
265 pMgmt->sNodeDBTable[uNodeIndex].wMaxBasicRate = RATE_2M;
267 pMgmt->sNodeDBTable[uNodeIndex].bShortPreamble =
268 WLAN_GET_CAP_INFO_SHORTPREAMBLE(pMgmt->sNodeDBTable[uNodeIndex].wCapInfo);
270 pMgmt->sNodeDBTable[uNodeIndex].wAID = (unsigned short)param->u.add_sta.aid;
272 pMgmt->sNodeDBTable[uNodeIndex].ulLastRxJiffer = jiffies;
274 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Add STA AID= %d \n", pMgmt->sNodeDBTable[uNodeIndex].wAID);
284 pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate);
307 unsigned int uNodeIndex;
309 if (BSSDBbIsSTAInNodeDB(pMgmt, param->sta_addr, &uNodeIndex)) {
311 (jiffies - pMgmt->sNodeDBTable[uNodeIndex].ulLastRxJiffer) / HZ;
313 //param->u.get_info_sta.txexc = pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts;
341 unsigned int uNodeIndex;
343 if (BSSDBbIsSTAInNodeDB(pMgmt, param->sta_addr, &uNodeIndex)) {
344 pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts = 0;
371 unsigned int uNodeIndex;
373 if (BSSDBbIsSTAInNodeDB(pMgmt, param->sta_addr, &uNodeIndex)) {
374 pMgmt->sNodeDBTable[uNodeIndex].dwFlags |= param->u.set_flags_sta.flags_or;
375 pMgmt->sNodeDBTable[uNodeIndex].dwFlags &= param->u.set_flags_sta.flags_and;
377 (unsigned int)pMgmt->sNodeDBTable[uNodeIndex].dwFlags);