43 #ifdef WPA_SM_Transtatus
63 unsigned int cbListCount;
69 unsigned char abyNullAddr[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
70 unsigned long dwKeyIndex = 0;
87 if (pItemSSID->len != 0) {
100 spin_lock_irq(&pDevice->
lock);
106 if (pItemSSID->len != 0)
110 spin_unlock_irq(&pDevice->
lock);
123 if (sZoneTypeCmd.
bWrite ==
true) {
127 printk(
"set_ZoneType:USA\n");
130 printk(
"set_ZoneType:Japan\n");
133 printk(
"set_ZoneType:Europe\n");
137 unsigned char zonetype = 0;
139 if (zonetype == 0x00) {
141 }
else if (zonetype == 0x01) {
143 }
else if (zonetype == 0x02) {
146 printk(
"Error:ZoneType[%x] Unknown ???\n", zonetype);
202 netif_stop_queue(pDevice->
dev);
203 spin_lock_irq(&pDevice->
lock);
207 spin_unlock_irq(&pDevice->
lock);
228 dwKeyIndex = ii | (1 << 31);
236 (
unsigned char *)&sWEPCmd.
abyWepKey[ii][0],
265 sLinkStatus.
bLink =
true;
267 memcpy(sLinkStatus.
abySSID, pItemSSID->abySSID, pItemSSID->len);
272 sLinkStatus.
bLink =
false;
290 sList.
uItem = cbListCount;
321 RFvRSSITodBm(pDevice, (
unsigned char)(pBSS->uRSSI), &ldBm);
338 if (ii >= pList->
uItem)
367 netif_stop_queue(pDevice->
dev);
369 spin_lock_irq(&pDevice->
lock);
381 spin_unlock_irq(&pDevice->
lock);
429 pDevice->bEnable8021x =
true;
432 pDevice->bEnable8021x =
false;
445 pDevice->bEnableHostWEP =
true;
448 pDevice->bEnableHostWEP =
false;
545 netif_stop_queue(pDevice->
dev);
546 spin_lock_irq(&pDevice->
lock);
548 spin_unlock_irq(&pDevice->
lock);
561 sNodeList.
uItem = cbListCount;
579 if (pNodeList ==
NULL) {
621 #ifdef WPA_SM_Transtatus
624 wpa_Result.
proto = 0;
641 memset(&wrqu, 0,
sizeof(wrqu));
643 wrqu.
data.length = pItemSSID->len;