136 unsigned char *pbyBSSID,
137 unsigned long dwKeyIndex,
149 if (dwKeyIndex == 0xFFFFFFFF) {
194 unsigned char *pbyBSSID,
195 unsigned long dwKeyIndex,
196 unsigned long uKeyLength,
198 unsigned char *pbyKey,
199 unsigned char byKeyDecMode,
200 unsigned long dwIoBase,
201 unsigned char byLocalID
207 unsigned int uKeyIdx;
211 j = (MAX_KEY_TABLE-1);
212 for (i=0;i<(MAX_KEY_TABLE-1);i++) {
214 (j == (MAX_KEY_TABLE-1))) {
240 uKeyIdx = (dwKeyIndex & 0x000000FF);
283 if (j < (MAX_KEY_TABLE-1)) {
305 uKeyIdx = (dwKeyIndex & 0x000000FF);
367 unsigned char *pbyBSSID,
368 unsigned long dwKeyIndex,
369 unsigned long dwIoBase
374 if (is_broadcast_ether_addr(pbyBSSID)) {
380 s_vCheckKeyTableValid(pTable, dwIoBase);
391 s_vCheckKeyTableValid(pTable, dwIoBase);
404 s_vCheckKeyTableValid(pTable, dwIoBase);
413 s_vCheckKeyTableValid(pTable, dwIoBase);
440 unsigned char *pbyBSSID,
441 unsigned long dwIoBase
454 s_vCheckKeyTableValid(pTable, dwIoBase);
475 unsigned long dwKeyIndex,
476 unsigned long dwIoBase
484 if ((dwKeyIndex & 0x7FFFFFFF) == (pTable->
KeyTable[MAX_KEY_TABLE-1].
dwGTKeyIndex & 0x7FFFFFFF)) {
490 s_vCheckKeyTableValid(pTable, dwIoBase);
497 unsigned long dwIoBase
522 unsigned char *pbyBSSID,
523 unsigned long dwKeyType,
541 for (ii = 0; ii < 6; ii++) {
564 for (ii = 0; ii < 6; ii++) {
580 for (ii = 0; ii < 6; ii++) {
636 unsigned long dwKeyIndex,
637 unsigned long uKeyLength,
639 unsigned char *pbyKey,
640 unsigned char byKeyDecMode,
641 unsigned long dwIoBase,
642 unsigned char byLocalID
647 unsigned int uKeyIdx;
666 pKey = &(pTable->
KeyTable[MAX_KEY_TABLE-1].
GroupKey[dwKeyIndex & 0x000000FF]);
677 uKeyIdx = (dwKeyIndex & 0x000000FF);
746 unsigned long dwKeyIndex,
747 unsigned long uKeyLength,
749 unsigned char *pbyKey,
750 unsigned char byKeyDecMode,
751 unsigned long dwIoBase,
752 unsigned char byLocalID
758 unsigned int uKeyIdx;
769 for (i=0; i < MAX_KEY_TABLE-1; i++) {
783 uKeyIdx = (dwKeyIndex & 0x000000FF);