Lines Matching defs:hcf_status
288 int hcf_status = HCF_SUCCESS;
660 hcf_status = hcf_connect( &lp->hcfCtx, dev->base_addr );
663 if ( hcf_status != HCF_SUCCESS && hcf_status != HCF_ERR_INCOMP_FW ) {
664 DBG_ERROR( DbgInfo, "hcf_connect() failed, status: 0x%x\n", hcf_status );
688 hcf_status = wl_go( lp );
690 if ( hcf_status != HCF_SUCCESS ) {
755 wl_hcf_error( dev, hcf_status );
796 int hcf_status = HCF_SUCCESS;
818 hcf_status = hcf_connect( &lp->hcfCtx, dev->base_addr );
819 if ( hcf_status != HCF_SUCCESS && hcf_status != HCF_ERR_INCOMP_FW ) {
820 DBG_ERROR( DbgInfo, "hcf_connect() failed, status: 0x%x\n", hcf_status );
825 if ( hcf_status == HCF_ERR_INCOMP_FW ) {
833 hcf_status = wl_go( lp );
834 if ( hcf_status != HCF_SUCCESS ) {
835 DBG_ERROR( DbgInfo, "wl_go() failed, status: 0x%x\n", hcf_status );
847 return hcf_status;
871 int hcf_status = HCF_SUCCESS;
878 hcf_status = wl_disable( lp );
879 if ( hcf_status != HCF_SUCCESS ) {
880 DBG_TRACE( DbgInfo, "Disable port 0 failed: 0x%x\n", hcf_status );
882 while (( hcf_status != HCF_SUCCESS ) && (retries < 10)) {
884 hcf_status = wl_disable( lp );
886 if ( hcf_status == HCF_SUCCESS ) {
938 hcf_status = dhf_download_binary( (memimage *)cp );
941 hcf_status = dhf_download_fw( &lp->hcfCtx, (memimage *)cp );
966 // hcf_status = dhf_download_fw( &lp->hcfCtx, &station );
967 hcf_status = dhf_download_fw( &lp->hcfCtx, &fw_image );
969 if ( hcf_status != HCF_SUCCESS ) {
972 return hcf_status;
1007 hcf_status = hcf_get_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1008 if ( hcf_status != HCF_SUCCESS ) {
1011 return hcf_status;
1021 hcf_status = wl_enable( lp );
1027 hcf_status = wl_connect( lp );
1030 return hcf_status;
1110 * open. Returns hcf_status of hcf_enable().
1123 int hcf_status = HCF_SUCCESS;
1139 hcf_status = wl_disconnect( lp );
1140 if ( hcf_status != HCF_SUCCESS ) {
1145 hcf_status = wl_disable( lp );
1146 if ( hcf_status != HCF_SUCCESS ) {
1155 hcf_status = wl_put_ltv( lp );
1157 if ( hcf_status == HCF_SUCCESS ) {
1158 hcf_status = wl_enable( lp );
1161 hcf_status = wl_connect( lp );
1171 return hcf_status;
1196 int hcf_status;
1223 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1227 hcf_status );
1265 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1268 hcf_status );
1270 return hcf_status;
1295 int hcf_status;
1317 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1323 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1329 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1339 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1345 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1351 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1357 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1365 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1371 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1378 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1386 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1393 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1411 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1431 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1434 // hcf_status );
1443 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1449 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1463 //;?skip temporarily to see whether the RID or something else is the probelm hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1470 hcf_status );
1477 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1482 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1488 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1494 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1516 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1519 // hcf_status );
1524 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1531 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1537 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1543 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1549 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1558 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1565 hcf_status );*/
1593 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1595 // hcf_status );
1618 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1621 // hcf_status );
1626 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1632 hcf_status = hcf_put_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
1640 return hcf_status;
2213 int hcf_status = HCF_SUCCESS;
2224 hcf_status = hcf_cntl( &lp->hcfCtx, HCF_CNTL_ENABLE );
2225 if ( hcf_status == HCF_SUCCESS ) {
2235 if ( hcf_status != HCF_SUCCESS ) { //;?make this an assert
2236 DBG_TRACE( DbgInfo, "failed: 0x%x\n", hcf_status );
2239 return hcf_status;
2296 int hcf_status;
2307 hcf_status = hcf_cntl( &lp->hcfCtx, HCF_CNTL_CONNECT );
2308 if ( hcf_status == HCF_SUCCESS ) {
2312 return hcf_status;
2336 int hcf_status;
2347 hcf_status = hcf_cntl( &lp->hcfCtx, HCF_CNTL_DISCONNECT );
2348 if ( hcf_status == HCF_SUCCESS ) {
2352 return hcf_status;
2377 int hcf_status = HCF_SUCCESS;
2385 hcf_status = hcf_cntl( &lp->hcfCtx, HCF_CNTL_DISABLE );
2386 if ( hcf_status == HCF_SUCCESS ) {
2397 if ( hcf_status != HCF_SUCCESS ) {
2398 DBG_TRACE( DbgInfo, "failed: 0x%x\n", hcf_status );
2401 return hcf_status;
2468 int hcf_status = HCF_SUCCESS;
2479 hcf_status = hcf_get_info( &lp->hcfCtx, (LTVP)&( lp->ltvRecord ));
2481 if ( hcf_status != HCF_SUCCESS ) {
2482 DBG_ERROR( DbgInfo, "hcf_get_info returned 0x%x\n", hcf_status );
2485 return hcf_status;
2490 return hcf_status;
2496 return hcf_status;