63 static void s_vCheckKeyTableValid(
void *pDeviceHandler,
83 pbyData[wLength++] = (
BYTE) i;
120 BYTE pbyData[MAX_KEY_TABLE+1];
122 spin_lock_irq(&pDevice->
lock);
136 pbyData[
i] = (
BYTE) i;
138 pbyData[
i] = (
BYTE) i;
147 spin_unlock_irq(&pDevice->
lock);
178 if (dwKeyIndex == 0xFFFFFFFF) {
222 void *pDeviceHandler,
226 unsigned long uKeyLength,
236 unsigned int uKeyIdx;
240 j = (MAX_KEY_TABLE-1);
241 for (i=0;i<(MAX_KEY_TABLE-1);i++) {
243 (j == (MAX_KEY_TABLE-1))) {
269 uKeyIdx = (dwKeyIndex & 0x000000FF);
312 if (j < (MAX_KEY_TABLE-1)) {
334 uKeyIdx = (dwKeyIndex & 0x000000FF);
395 void *pDeviceHandler,
405 if (is_broadcast_ether_addr(pbyBSSID)) {
424 bReturnValue =
FALSE;
447 bReturnValue =
FALSE;
455 s_vCheckKeyTableValid(pDevice,pTable);
476 void *pDeviceHandler,
492 s_vCheckKeyTableValid(pDevice, pTable);
512 void *pDeviceHandler,
523 if ((dwKeyIndex & 0x7FFFFFFF) == (pTable->
KeyTable[MAX_KEY_TABLE-1].
dwGTKeyIndex & 0x7FFFFFFF)) {
529 s_vCheckKeyTableValid(pDevice, pTable);
573 for (ii = 0; ii < 6; ii++) {
596 for (ii = 0; ii < 6; ii++) {
612 for (ii = 0; ii < 6; ii++) {
664 void *pDeviceHandler,
667 unsigned long uKeyLength,
676 unsigned int uKeyIdx;
679 (
int) dwKeyIndex, (
int) uKeyLength);
695 pKey = &(pTable->
KeyTable[MAX_KEY_TABLE-1].
GroupKey[dwKeyIndex & 0x000000FF]);
706 uKeyIdx = (dwKeyIndex & 0x000000FF);
775 void *pDeviceHandler,
778 unsigned long uKeyLength,
788 unsigned int uKeyIdx;
799 for (i=0; i < MAX_KEY_TABLE-1; i++) {
813 uKeyIdx = (dwKeyIndex & 0x000000FF);