Lines Matching refs:hAPConnection
85 #define AP_CONN_VALIDATE_HANDLE(hAPConnection) \
86 if (hAPConnection == NULL) \
92 #define AP_CONN_VALIDATE_HANDLE(hAPConnection)
254 static void apConn_calcNewTsf(apConn_t *hAPConnection, TI_UINT8 *tsfTimeStamp, TI_UINT32 newSiteOsTimeStamp, TI_UINT32 beaconInterval);
333 TI_STATUS apConn_unload(TI_HANDLE hAPConnection)
337 AP_CONN_VALIDATE_HANDLE (hAPConnection);
339 pAPConnection = (apConn_t *)hAPConnection;
370 apConn_t *pAPConnection = (apConn_t *)(pStadHandles->hAPConnection);
504 TI_STATUS apConn_SetDefaults (TI_HANDLE hAPConnection, apConnParams_t *pApConnParams)
506 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
555 * I - hAPConnection - pointer to module\n
563 TI_BOOL apConn_isPsRequiredBeforeScan(TI_HANDLE hAPConnection)
565 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
595 void apConn_ConnCompleteInd(TI_HANDLE hAPConnection, mgmtStatus_e status, TI_UINT32 uStatusCode)
597 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
609 TI_STATUS apConn_getRoamThresholds(TI_HANDLE hAPConnection, roamingMngrThresholdsConfig_t *pParam)
611 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
626 TI_STATUS apConn_setRoamThresholds(TI_HANDLE hAPConnection, roamingMngrThresholdsConfig_t *pParam)
628 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
630 AP_CONN_VALIDATE_HANDLE(hAPConnection);
675 TI_STATUS apConn_registerRoamMngrCallb(TI_HANDLE hAPConnection,
684 AP_CONN_VALIDATE_HANDLE(hAPConnection);
686 pAPConnection = (apConn_t *)hAPConnection;
701 ((apConn_t *)hAPConnection)->returnNeighborApsCallb = returnNeighborApsCallb;
706 TI_STATUS apConn_unregisterRoamMngrCallb(TI_HANDLE hAPConnection)
710 AP_CONN_VALIDATE_HANDLE(hAPConnection);
712 pAPConnection = (apConn_t *)hAPConnection;
726 TI_STATUS apConn_disconnect(TI_HANDLE hAPConnection)
730 AP_CONN_VALIDATE_HANDLE(hAPConnection);
732 pAPConnection = (apConn_t *)hAPConnection;
744 TI_STATUS apConn_getStaCapabilities(TI_HANDLE hAPConnection,
747 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
751 AP_CONN_VALIDATE_HANDLE(hAPConnection);
879 TI_STATUS apConn_connectToAP(TI_HANDLE hAPConnection,
884 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
886 AP_CONN_VALIDATE_HANDLE(hAPConnection);
927 bssEntry_t *apConn_getBSSParams(TI_HANDLE hAPConnection)
930 if (hAPConnection == NULL) /* Failed to allocate control block */
937 return currBSS_getBssInfo(((apConn_t *)hAPConnection)->hCurrBSS);
940 TI_BOOL apConn_isSiteBanned(TI_HANDLE hAPConnection, TMacAddr * givenAp)
942 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
947 TI_BOOL apConn_getPreAuthAPStatus(TI_HANDLE hAPConnection, TMacAddr *givenAp)
949 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
952 AP_CONN_VALIDATE_HANDLE(hAPConnection);
961 TI_STATUS apConn_preAuthenticate(TI_HANDLE hAPConnection, bssList_t *listAPs)
963 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
970 if ((hAPConnection == NULL) || (listAPs == NULL))
1026 TI_STATUS apConn_prepareToRoaming(TI_HANDLE hAPConnection, apConn_roamingTrigger_e reason)
1028 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1030 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1057 TI_STATUS apConn_indicateSwitchChannelInProgress(TI_HANDLE hAPConnection)
1059 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1061 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1086 TI_STATUS apConn_indicateSwitchChannelFinished(TI_HANDLE hAPConnection)
1088 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1090 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1117 TI_STATUS apConn_start(TI_HANDLE hAPConnection, TI_BOOL roamingEnabled)
1119 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1121 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1147 TI_STATUS apConn_stop(TI_HANDLE hAPConnection, TI_BOOL removeKeys)
1149 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1188 TI_STATUS apConn_reportRoamingEvent(TI_HANDLE hAPConnection,
1192 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1196 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1338 void apConn_RoamHandoffFinished(TI_HANDLE hAPConnection)
1340 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1343 if (hAPConnection == NULL) /* Failed to allocate control block */
1372 void apConn_DisconnCompleteInd(TI_HANDLE hAPConnection, mgmtStatus_e status, TI_UINT32 uStatusCode)
1374 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1396 void apConn_updateNeighborAPsList(TI_HANDLE hAPConnection, neighborAPList_t *pListOfpriorityAps)
1398 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1424 void apConn_getRoamingStatistics(TI_HANDLE hAPConnection, TI_UINT8 *roamingCount, TI_UINT16 *roamingDelay)
1426 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1457 void apConn_resetRoamingStatistics(TI_HANDLE hAPConnection)
1459 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1483 void apConn_printStatistics(TI_HANDLE hAPConnection)
1486 WLAN_OS_REPORT(("- Low TX rate = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_TX_RATE]));
1487 WLAN_OS_REPORT(("- Low SNR = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_SNR]));
1488 WLAN_OS_REPORT(("- Low Quality = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_QUALITY]));
1489 WLAN_OS_REPORT(("- MAX TX retries = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_MAX_TX_RETRIES]));
1490 WLAN_OS_REPORT(("- BSS Loss TX = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_BSS_LOSS]));
1491 WLAN_OS_REPORT(("- Switch Channel = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_SWITCH_CHANNEL]));
1492 WLAN_OS_REPORT(("- AP Disconnect = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_AP_DISCONNECT]));
1493 WLAN_OS_REPORT(("- SEC attack = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_SECURITY_ATTACK]));
1495 WLAN_OS_REPORT(("- Successful roaming = %d\n", ((apConn_t *)hAPConnection)->roamingSuccesfulHandoverTotalNum));
1496 WLAN_OS_REPORT(("- UnSuccessful roaming = %d\n", ((apConn_t *)hAPConnection)->roamingFailedHandoverNum));
1497 WLAN_OS_REPORT(("- Giving up roaming = %d\n", ((apConn_t *)hAPConnection)->retainCurrAPNum));
1498 WLAN_OS_REPORT(("- Disconnect cmd from roaming manager = %d\n", ((apConn_t *)hAPConnection)->disconnectFromRoamMngrNum));
1499 WLAN_OS_REPORT(("- Disconnect cmd from SME = %d\n", ((apConn_t *)hAPConnection)->stopFromSmeNum));
1516 * I - hAPConnection - AP Connection handle\n
1526 TI_STATUS apConn_getVendorSpecificIE(TI_HANDLE hAPConnection, TI_UINT8 *pRequest, TI_UINT32 *len)
1528 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1977 static void apConn_calcNewTsf(apConn_t *hAPConnection, TI_UINT8 *tsfTimeStamp, TI_UINT32 newSiteOsTimeStamp, TI_UINT32 beaconInterval)
1979 apConn_t *pAPConnection = hAPConnection;
2399 void apConn_setDeauthPacketReasonCode(TI_HANDLE hAPConnection, TI_UINT8 deauthReasonCode)
2401 apConn_t *pAPConnection = (apConn_t *)hAPConnection;