In start(), I commented out some RID items that aren't needed or aren't supported yet in the firmware.

This commit is contained in:
mark 2000-02-03 21:59:55 +00:00
parent 3094d96b73
commit 814826d26c
1 changed files with 6 additions and 2 deletions

View File

@ -1250,12 +1250,13 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
break; break;
} }
#if 0
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word); result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word);
if ( result ) { if ( result ) {
WLAN_LOG_DEBUG1(1, "Unable to set port type=%d.\n", word); WLAN_LOG_DEBUG1(1, "Unable to set port type=%d.\n", word);
goto failed; goto failed;
} }
#endif
/* beacon period */ /* beacon period */
word = msg->beaconperiod.data; word = msg->beaconperiod.data;
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNINT, &word); result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNINT, &word);
@ -1378,6 +1379,7 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
result = -1; result = -1;
goto failed; goto failed;
} }
#if 0
/* read the PCFInfo and update */ /* read the PCFInfo and update */
result = hfa384x_drvr_getconfig(hw, HFA384x_RID_CNFAPPCFINFO, result = hfa384x_drvr_getconfig(hw, HFA384x_RID_CNFAPPCFINFO,
pcfinfo, HFA384x_RID_CNFAPPCFINFO_LEN); pcfinfo, HFA384x_RID_CNFAPPCFINFO_LEN);
@ -1422,15 +1424,17 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
WLAN_LOG_DEBUG0(1, "Unable to write pcfinfo.\n"); WLAN_LOG_DEBUG0(1, "Unable to write pcfinfo.\n");
goto failed; goto failed;
} }
#endif
ibss_skip: ibss_skip:
/* Set the PortType */ /* Set the PortType */
#if 0
word = HFA384x_PORTTYPE_BSS; word = HFA384x_PORTTYPE_BSS;
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word); result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word);
if ( result ) { if ( result ) {
WLAN_LOG_DEBUG1(1, "Unable to write macport type=%d.\n", word); WLAN_LOG_DEBUG1(1, "Unable to write macport type=%d.\n", word);
goto failed; goto failed;
} }
#endif
/* Enable the interrupts */ /* Enable the interrupts */
word = HFA384x_INTEN_INFDROP_SET(1) | word = HFA384x_INTEN_INFDROP_SET(1) |