Home
last modified time | relevance | path

Searched refs:ssid (Results 1 – 25 of 30) sorted by relevance

12

/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
Dcu_wext.c178 S32 CuOs_Get_SSID(THandle hCuWext, OS_802_11_SSID* ssid) in CuOs_Get_SSID() argument
183 os_memset(ssid->Ssid, 0, sizeof(OS_802_11_SSID) - sizeof(U32)); in CuOs_Get_SSID()
185 pCuWext->req_data.essid.pointer = (PVOID)ssid->Ssid; in CuOs_Get_SSID()
193 ssid->SsidLength = pCuWext->req_data.essid.length; in CuOs_Get_SSID()
250 S32 CuOs_Start_Scan(THandle hCuWext, OS_802_11_SSID* ssid, U8 scanType) in CuOs_Start_Scan() argument
256 if (ssid->SsidLength > IW_ESSID_MAX_SIZE) in CuOs_Start_Scan()
258 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - CuOs_Start_Scan - too long SSID (%lu)\n",ssid->SsidLen… in CuOs_Start_Scan()
262 if (ssid->Ssid[0] && ssid->SsidLength) in CuOs_Start_Scan()
265 tReq.essid_len = ssid->SsidLength; in CuOs_Start_Scan()
270 os_memcpy(tReq.essid, ssid->Ssid, ssid->SsidLength); in CuOs_Start_Scan()
[all …]
/hardware/ti/wlan/wl1271/Test/
DsiteMgrDebug.c319 char ssid[MAX_SSID_LEN + 1]; in printPrimarySite() local
338 len = pSiteEntry->ssid.len; in printPrimarySite()
340 if ( pSiteEntry->ssid.len > MAX_SSID_LEN ) in printPrimarySite()
343 pSiteEntry->ssid.len, MAX_SSID_LEN)); in printPrimarySite()
347 os_memoryCopy(pSiteMgr->hOs, ssid, (void *)pSiteEntry->ssid.str, len); in printPrimarySite()
348 ssid[len] = '\0'; in printPrimarySite()
349 WLAN_OS_REPORT(("SSID %s\n\n", ssid)); in printPrimarySite()
551 char ssid[MAX_SSID_LEN + 1]; in printSiteTable() local
576 if ( pCurrentSiteTable->siteTable[i].ssid.len > MAX_SSID_LEN ) in printSiteTable()
579 i, pCurrentSiteTable->siteTable[i].ssid.len, MAX_SSID_LEN)); in printSiteTable()
[all …]
Dfwdriverdebug.c176 char ssid[10]; in FW_DebugSendJoinCommand() local
179 os_memoryCopy(pTWD->hOs,ssid,"ronit",5); in FW_DebugSendJoinCommand()
186 JoinBss.pSSID =ssid; in FW_DebugSendJoinCommand()
/hardware/ti/wlan/lib/
Dscanmerge.c21 #define IS_HIDDEN_AP(a) (((a)->ssid_len == 0) || ((a)->ssid[0] == '\0'))
33 os_memcpy(ssid_temp.ssid, (res_ie + 2), ssid_temp.ssid_len); in scan_get_ssid()
36 os_memcpy(ssid_temp.ssid, res_ptr->ssid, ssid_temp.ssid_len); in scan_get_ssid()
120 os_memcmp(n_ssid.ssid, l_ssid.ssid, len)); in scan_equal()
136 os_memcpy(src->ssid, dst->ssid, dst->ssid_len); in copy_scan_res()
Dscanmerge.h35 u8 ssid[MAX_SSID_LEN]; member
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/
Dcu_os.h47 S32 CuOs_Get_SSID(THandle hCuWext, OS_802_11_SSID* ssid);
50 S32 CuOs_Start_Scan(THandle hCuWext, OS_802_11_SSID* ssid, TI_UINT8 scanType);
53 S32 CuOs_Set_ESSID(THandle hCuWext, OS_802_11_SSID* ssid);
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_cfg80211.c284 static int32 wl_run_iscan(struct wl_iscan_ctrl *iscan, struct wlc_ssid *ssid, uint16 action);
632 wl_iscan_prep(struct wl_scan_params *params, struct wlc_ssid *ssid) in wl_iscan_prep() argument
647 if (ssid && ssid->SSID_len) in wl_iscan_prep()
648 memcpy(&params->ssid, ssid, sizeof(wlc_ssid_t)); in wl_iscan_prep()
677 wl_run_iscan(struct wl_iscan_ctrl *iscan, struct wlc_ssid *ssid, uint16 action) in wl_run_iscan() argument
686 if (ssid && ssid->SSID_len) in wl_run_iscan()
694 wl_iscan_prep(&params->params, ssid); in wl_run_iscan()
721 struct wlc_ssid ssid; in wl_do_iscan() local
728 memset(&ssid, 0, sizeof(ssid)); in wl_do_iscan()
742 wl_run_iscan(iscan, &ssid, WL_SCAN_ACTION_START); in wl_do_iscan()
[all …]
Dwl_iw.c253 wl_iw_iscan(iscan_info_t *iscan, wlc_ssid_t *ssid, uint16 action);
885 wl_format_ssid(char* ssid_buf, uint8* ssid, int ssid_len) argument
893 c = (int)ssid[i];
1289 static wlc_ssid_t ssid = {0}; local
1308 error = dev_wlc_ioctl(dev, WLC_GET_SSID, &ssid, sizeof(ssid));
1310 ssid.SSID_len = dtoh32(ssid.SSID_len);
1311 wl_format_ssid(ssidbuf, ssid.SSID, dtoh32(ssid.SSID_len));
1550 ret = get_parmeter_from_string(&str_ptr, "SSID=", PTYPE_STRING, ap_cfg->ssid, SSID_LEN);
1794 wlc_ssid_t ssid; local
1800 if ((error = dev_wlc_ioctl(dev, WLC_GET_SSID, &ssid, sizeof(ssid))))
[all …]
Dwl_iw.h155 uint8 ssid[SSID_LEN]; member
269 extern int wl_iw_parse_ssid_list_tlv(char** list_str, wlc_ssid_t* ssid, \
272 extern int wl_iw_parse_ssid_list(char** list_str, wlc_ssid_t* ssid, int idx, int max);
Dwl_cfg80211.h198 struct wlc_ssid ssid; member
236 struct wlc_ssid ssid; member
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
DscanResultTable.c450 ((pSsid->len == pScanResultTable->pTable[ uIndex ].ssid.len) && in scanResultTable_GetBySsidBssidPair()
452 … (TI_UINT8 *)(&(pScanResultTable->pTable[ uIndex ].ssid.str[ 0 ])), in scanResultTable_GetBySsidBssidPair()
483 if ( (pScanResultTable->pTable[ uIndex ].ssid.len == 0) || in scanResultTable_FindHidden()
484 …((pScanResultTable->pTable[ uIndex ].ssid.len == 1) && (pScanResultTable->pTable[ uIndex ].ssid.st… in scanResultTable_FindHidden()
628 pSite->ssid.len = pFrame->parsedIEs->content.iePacket.pSsid->hdr[1]; in scanResultTable_UpdateSiteData()
629 if (pSite->ssid.len > MAX_SSID_LEN) in scanResultTable_UpdateSiteData()
631 …ta: pSite->ssid.len=%d exceeds the limit. Set to limit value %d\n", pSite->ssid.len, MAX_SSID_LEN); in scanResultTable_UpdateSiteData()
632 pSite->ssid.len = MAX_SSID_LEN; in scanResultTable_UpdateSiteData()
635 (void *)pSite->ssid.str, in scanResultTable_UpdateSiteData()
637 pSite->ssid.len); in scanResultTable_UpdateSiteData()
[all …]
DsystemConfig.c250 dot11_SSID_t ssid; in sendProbeResponse() local
300 os_memoryZero(pSiteMgr->hOs, (void *)ssid.serviceSetId, MAX_SSID_LEN); in sendProbeResponse()
302 ssid.hdr[1] = pSiteMgr->pDesiredParams->siteMgrDesiredSSID.len; in sendProbeResponse()
303 if (ssid.hdr[1] > MAX_SSID_LEN) in sendProbeResponse()
308 ssid.hdr[1] = MAX_SSID_LEN; in sendProbeResponse()
310 …s_memoryCopy(pSiteMgr->hOs, (void *)ssid.serviceSetId, (void *)pSiteMgr->pDesiredParams->siteMgrDe… in sendProbeResponse()
370 frame.content.iePacket.pSsid = &ssid; in sendProbeResponse()
DsiteMgr.c129 … pSite->ssid.len = pFrameInfo->content.iePacket.pSsid->hdr[1]; \
130 if (pSite->ssid.len > MAX_SSID_LEN) { \
133 pSite->ssid.len, MAX_SSID_LEN); \
135 pSite->ssid.len = MAX_SSID_LEN; \
138 (void *)pSite->ssid.str, \
140 pSite->ssid.len);}
1168 if(pPrimarySite->ssid.len == 0) in siteMgr_getParam()
1170 …os_memoryCopy(pSiteMgr->hOs, &pParam->content.siteMgrCurrentSSID, &pPrimarySite->ssid, sizeof(TSsi… in siteMgr_getParam()
1390 if ( pSiteMgr->pSitesMgmtParams->pPrevPrimarySite->ssid.len > MAX_SSID_LEN ) in siteMgr_getParam()
1394 pSiteMgr->pSitesMgmtParams->pPrevPrimarySite->ssid.len, MAX_SSID_LEN); in siteMgr_getParam()
[all …]
Dtemplates.c462 if ( pPrimarySite->ssid.len > MAX_SSID_LEN ) in buildProbeRspTemplate()
466 pPrimarySite->ssid.len, MAX_SSID_LEN); in buildProbeRspTemplate()
471 ((dot11_SSID_t *)(pBuf))->hdr[1] = pPrimarySite->ssid.len; in buildProbeRspTemplate()
472 …teMgr->hOs, pBuf + sizeof(dot11_eleHdr_t), (void *)pPrimarySite->ssid.str, pPrimarySite->ssid.len); in buildProbeRspTemplate()
473 size += sizeof(dot11_eleHdr_t) + pPrimarySite->ssid.len; in buildProbeRspTemplate()
474 pBuf += sizeof(dot11_eleHdr_t) + pPrimarySite->ssid.len; in buildProbeRspTemplate()
DscanResultTable.h74 TSsid ssid; member
DmlmeApi.h207 dot11_SSID_t ssid; member
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_common.c1900 memcpy((char *)pfn_element.ssid.SSID, ssids_local[i].SSID, ssids_local[i].SSID_len); in dhd_pno_set()
1901 pfn_element.ssid.SSID_len = ssids_local[i].SSID_len; in dhd_pno_set()
2036 wl_iw_parse_ssid_list_tlv(char** list_str, wlc_ssid_t* ssid, int max, int *bytes_left) in wl_iw_parse_ssid_list_tlv() argument
2060 ssid[idx].SSID_len = 0; in wl_iw_parse_ssid_list_tlv()
2061 memset((char*)ssid[idx].SSID, 0x0, DOT11_MAX_SSID_LEN); in wl_iw_parse_ssid_list_tlv()
2069 ssid[idx].SSID_len = str[0]; in wl_iw_parse_ssid_list_tlv()
2074 if (ssid[idx].SSID_len > *bytes_left) { in wl_iw_parse_ssid_list_tlv()
2076 __FUNCTION__, ssid[idx].SSID_len, *bytes_left)); in wl_iw_parse_ssid_list_tlv()
2080 memcpy((char*)ssid[idx].SSID, str, ssid[idx].SSID_len); in wl_iw_parse_ssid_list_tlv()
2082 *bytes_left -= ssid[idx].SSID_len; in wl_iw_parse_ssid_list_tlv()
[all …]
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
Dcu_cmd.c590 char* PrintSSID(OS_802_11_SSID* ssid) in PrintSSID() argument
593 if(ssid->SsidLength > MAX_SSID_LEN) in PrintSSID()
597 ssid->SsidLength, MAX_SSID_LEN); in PrintSSID()
600 ssid->SsidLength = MAX_SSID_LEN; in PrintSSID()
602 os_memcpy((PVOID)ssidBuf, (PVOID) ssid->Ssid, ssid->SsidLength); in PrintSSID()
603 ssidBuf[ssid->SsidLength] = '\0'; in PrintSSID()
995 OS_802_11_SSID ssid; in CuCmd_Show_Status() local
1008 if(OK != CuOs_Get_SSID(pCuCmd->hCuWext, &ssid)) return; in CuCmd_Show_Status()
1021 …os_error_printf(CU_MSG_INFO2, (PS8)"SSID : %s\n",(ssid.SsidLength)?PrintSSID(&ssid):"<empty>"); in CuCmd_Show_Status()
1185 OS_802_11_SSID ssid; in CuCmd_Connect() local
[all …]
Dwpa_core.c517 S32 WpaCore_SetSsid(THandle hWpaCore, OS_802_11_SSID* ssid, TMacAddr bssid) in WpaCore_SetSsid() argument
529 os_error_printf(CU_MSG_ERROR, (PS8)"Failed to connect to %s\n", ssid->Ssid); \ in WpaCore_SetSsid()
567 os_sprintf(cmd, (PS8)"SET_NETWORK %d ssid \"%s\"", NetworkID, ssid->Ssid); in WpaCore_SetSsid()
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Ddriver_ti.c110 static int wpa_driver_tista_get_ssid(void *priv, u8 *ssid) in wpa_driver_tista_get_ssid() argument
114 return wpa_driver_wext_get_ssid(drv->wext, ssid); in wpa_driver_tista_get_ssid()
263 static int wpa_driver_tista_scan( void *priv, const u8 *ssid, size_t ssid_len ) in wpa_driver_tista_scan() argument
289 if ((scan_probe_flag && ssid) && in wpa_driver_tista_scan()
291 os_memcpy(scanParams.desiredSsid.str, ssid, ssid_len); in wpa_driver_tista_scan()
315 return wpa_driver_wext_scan(drv->wext, ssid, ssid_len); in wpa_driver_tista_scan()
685 os_memcpy((void *)buf, (void *)(p_ssid->ssid), len); in wpa_driver_tista_driver_cmd()
692 u8 ssid[MAX_SSID_LEN]; in wpa_driver_tista_driver_cmd() local
701 len = wpa_driver_tista_get_ssid(priv, (u8 *)ssid); in wpa_driver_tista_driver_cmd()
704 os_memcpy((void *)buf, (void *)ssid, len); in wpa_driver_tista_driver_cmd()
[all …]
/hardware/ti/wlan/wl1271/CUDK/configurationutility/inc/
Dwpa_core.h61 S32 WpaCore_SetSsid(THandle hWpaCore, OS_802_11_SSID* ssid, TMacAddr bssid);
/hardware/ti/wlan/wl1271/TWD/FirmwareApi/
Dpublic_commands.h1475 uint8 ssid[32]; /* SSID (if ssidType is specified in command) */ member
1513 uint8 ssid[32]; member
/hardware/broadcom/wlan/bcm4329/src/include/
Dwlioctl.h71 uint8 ssid[32]; member
141 wlc_ssid_t ssid; member
250 wlc_ssid_t ssid; member
1332 wlc_ssid_t ssid; member
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
DadmCtrlWpa2.c1694 if ((pAdmCtrl->pmkid_cache.ssid.len != pParam->content.smeDesiredSSID.len) || in admCtrlWpa2_buildAndSendPMKIDCandList()
1695 (os_memoryCompare(pAdmCtrl->hOs, (TI_UINT8 *)pAdmCtrl->pmkid_cache.ssid.str, in admCtrlWpa2_buildAndSendPMKIDCandList()
1697 pAdmCtrl->pmkid_cache.ssid.len) != 0)) in admCtrlWpa2_buildAndSendPMKIDCandList()
1701 os_memoryCopy(pAdmCtrl->hOs, (void *)pAdmCtrl->pmkid_cache.ssid.str, in admCtrlWpa2_buildAndSendPMKIDCandList()
1704 pAdmCtrl->pmkid_cache.ssid.len = pParam->content.smeDesiredSSID.len; in admCtrlWpa2_buildAndSendPMKIDCandList()
DadmCtrl.h152 TSsid ssid; member

12