From 814826d26c57e6ec1d0d67b330b6fd600b9d0cc2 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 3 Feb 2000 21:59:55 +0000 Subject: [PATCH] In start(), I commented out some RID items that aren't needed or aren't supported yet in the firmware. --- src/prism2/sta_cs/prism2mgmt.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/prism2/sta_cs/prism2mgmt.c b/src/prism2/sta_cs/prism2mgmt.c index 9baed50..6b75770 100644 --- a/src/prism2/sta_cs/prism2mgmt.c +++ b/src/prism2/sta_cs/prism2mgmt.c @@ -1250,12 +1250,13 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp) break; } +#if 0 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word); if ( result ) { WLAN_LOG_DEBUG1(1, "Unable to set port type=%d.\n", word); goto failed; } - +#endif /* beacon period */ word = msg->beaconperiod.data; result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNINT, &word); @@ -1378,6 +1379,7 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp) result = -1; goto failed; } +#if 0 /* read the PCFInfo and update */ result = hfa384x_drvr_getconfig(hw, HFA384x_RID_CNFAPPCFINFO, 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"); goto failed; } - +#endif ibss_skip: /* Set the PortType */ +#if 0 word = HFA384x_PORTTYPE_BSS; result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word); if ( result ) { WLAN_LOG_DEBUG1(1, "Unable to write macport type=%d.\n", word); goto failed; } +#endif /* Enable the interrupts */ word = HFA384x_INTEN_INFDROP_SET(1) |