Lines Matching refs:hAPConnection
85 #define AP_CONN_VALIDATE_HANDLE(hAPConnection) \
86 if (hAPConnection == NULL) \
92 #define AP_CONN_VALIDATE_HANDLE(hAPConnection)
256 static void apConn_calcNewTsf(apConn_t *hAPConnection, TI_UINT8 *tsfTimeStamp, TI_UINT32 newSiteOsTimeStamp, TI_UINT32 beaconInterval);
332 TI_STATUS apConn_unload(TI_HANDLE hAPConnection)
336 AP_CONN_VALIDATE_HANDLE (hAPConnection);
338 pAPConnection = (apConn_t *)hAPConnection;
470 apConn_t *pAPConnection = (apConn_t *)(pStadHandles->hAPConnection);
501 TI_STATUS apConn_SetDefaults (TI_HANDLE hAPConnection, apConnParams_t *pApConnParams)
503 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
564 * I - hAPConnection - pointer to module\n
572 TI_BOOL apConn_isPsRequiredBeforeScan(TI_HANDLE hAPConnection)
574 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
604 void apConn_ConnCompleteInd(TI_HANDLE hAPConnection, mgmtStatus_e status, TI_UINT32 uStatusCode)
606 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
618 TI_STATUS apConn_getRoamThresholds(TI_HANDLE hAPConnection, roamingMngrThresholdsConfig_t *pParam)
620 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
635 TI_STATUS apConn_setRoamThresholds(TI_HANDLE hAPConnection, roamingMngrThresholdsConfig_t *pParam)
637 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
639 AP_CONN_VALIDATE_HANDLE(hAPConnection);
684 TI_STATUS apConn_registerRoamMngrCallb(TI_HANDLE hAPConnection,
693 AP_CONN_VALIDATE_HANDLE(hAPConnection);
695 pAPConnection = (apConn_t *)hAPConnection;
710 ((apConn_t *)hAPConnection)->returnNeighborApsCallb = returnNeighborApsCallb;
715 TI_STATUS apConn_unregisterRoamMngrCallb(TI_HANDLE hAPConnection)
719 AP_CONN_VALIDATE_HANDLE(hAPConnection);
721 pAPConnection = (apConn_t *)hAPConnection;
735 TI_STATUS apConn_disconnect(TI_HANDLE hAPConnection)
739 AP_CONN_VALIDATE_HANDLE(hAPConnection);
741 pAPConnection = (apConn_t *)hAPConnection;
753 TI_STATUS apConn_getStaCapabilities(TI_HANDLE hAPConnection,
756 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
760 AP_CONN_VALIDATE_HANDLE(hAPConnection);
888 TI_STATUS apConn_connectToAP(TI_HANDLE hAPConnection,
893 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
895 AP_CONN_VALIDATE_HANDLE(hAPConnection);
936 bssEntry_t *apConn_getBSSParams(TI_HANDLE hAPConnection)
939 if (hAPConnection == NULL) /* Failed to allocate control block */
946 return currBSS_getBssInfo(((apConn_t *)hAPConnection)->hCurrBSS);
949 TI_BOOL apConn_isSiteBanned(TI_HANDLE hAPConnection, TMacAddr * givenAp)
951 apConn_t * pAPConnection = (apConn_t *) hAPConnection;
956 TI_BOOL apConn_getPreAuthAPStatus(TI_HANDLE hAPConnection, TMacAddr *givenAp)
958 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
961 AP_CONN_VALIDATE_HANDLE(hAPConnection);
970 TI_STATUS apConn_preAuthenticate(TI_HANDLE hAPConnection, bssList_t *listAPs)
972 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
979 if ((hAPConnection == NULL) || (listAPs == NULL))
1035 TI_STATUS apConn_prepareToRoaming(TI_HANDLE hAPConnection, apConn_roamingTrigger_e reason)
1037 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1039 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1067 TI_STATUS apConn_indicateSwitchChannelInProgress(TI_HANDLE hAPConnection)
1069 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1071 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1096 TI_STATUS apConn_indicateSwitchChannelFinished(TI_HANDLE hAPConnection)
1098 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1100 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1127 TI_STATUS apConn_start(TI_HANDLE hAPConnection, TI_BOOL roamingEnabled)
1129 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1131 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1157 TI_STATUS apConn_stop(TI_HANDLE hAPConnection, TI_BOOL removeKeys)
1159 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1198 TI_STATUS apConn_reportRoamingEvent(TI_HANDLE hAPConnection,
1202 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1206 AP_CONN_VALIDATE_HANDLE(hAPConnection);
1356 void apConn_RoamHandoffFinished(TI_HANDLE hAPConnection)
1358 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1361 if (hAPConnection == NULL) /* Failed to allocate control block */
1390 void apConn_DisconnCompleteInd(TI_HANDLE hAPConnection, mgmtStatus_e status, TI_UINT32 uStatusCode)
1392 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1414 void apConn_updateNeighborAPsList(TI_HANDLE hAPConnection, neighborAPList_t *pListOfpriorityAps)
1416 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1442 void apConn_getRoamingStatistics(TI_HANDLE hAPConnection, TI_UINT8 *roamingCount, TI_UINT16 *roamingDelay)
1444 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1475 void apConn_resetRoamingStatistics(TI_HANDLE hAPConnection)
1477 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1501 void apConn_printStatistics(TI_HANDLE hAPConnection)
1504 WLAN_OS_REPORT(("- Low TX rate = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_TX_RATE]));
1505 WLAN_OS_REPORT(("- Low SNR = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_SNR]));
1506 WLAN_OS_REPORT(("- Low Quality = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_LOW_QUALITY]));
1507 WLAN_OS_REPORT(("- MAX TX retries = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_MAX_TX_RETRIES]));
1508 WLAN_OS_REPORT(("- BSS Loss TX = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_BSS_LOSS]));
1509 WLAN_OS_REPORT(("- Switch Channel = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_SWITCH_CHANNEL]));
1510 WLAN_OS_REPORT(("- AP Disconnect = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_AP_DISCONNECT]));
1511 WLAN_OS_REPORT(("- SEC attack = %d\n", ((apConn_t *)hAPConnection)->roamingTriggerEvents[ROAMING_TRIGGER_SECURITY_ATTACK]));
1513 WLAN_OS_REPORT(("- Successful roaming = %d\n", ((apConn_t *)hAPConnection)->roamingSuccesfulHandoverTotalNum));
1514 WLAN_OS_REPORT(("- UnSuccessful roaming = %d\n", ((apConn_t *)hAPConnection)->roamingFailedHandoverNum));
1515 WLAN_OS_REPORT(("- Giving up roaming = %d\n", ((apConn_t *)hAPConnection)->retainCurrAPNum));
1516 WLAN_OS_REPORT(("- Disconnect cmd from roaming manager = %d\n", ((apConn_t *)hAPConnection)->disconnectFromRoamMngrNum));
1517 WLAN_OS_REPORT(("- Disconnect cmd from SME = %d\n", ((apConn_t *)hAPConnection)->stopFromSmeNum));
1534 * I - hAPConnection - AP Connection handle\n
1544 TI_STATUS apConn_getVendorSpecificIE(TI_HANDLE hAPConnection, TI_UINT8 *pRequest, TI_UINT32 *len)
1546 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
1974 static void apConn_calcNewTsf(apConn_t *hAPConnection, TI_UINT8 *tsfTimeStamp, TI_UINT32 newSiteOsTimeStamp, TI_UINT32 beaconInterval)
1976 apConn_t *pAPConnection = hAPConnection;
2403 void apConn_setDeauthPacketReasonCode(TI_HANDLE hAPConnection, TI_UINT8 deauthReasonCode)
2405 apConn_t *pAPConnection = (apConn_t *)hAPConnection;
2411 TI_STATUS apConn_getAssocRoamingTrigger(TI_HANDLE hAPConnection, apConn_roamingTrigger_e *asssocRoamingTrigger)
2413 apConn_t *pAPConnection = (apConn_t *)hAPConnection;