Home
last modified time | relevance | path

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

/drivers/peripheral/wlan/wpa/client/include/
Dwpa_client.h102 unsigned char ssid[WIFI_SSID_LENGTH]; member
107 unsigned char ssid[WIFI_SSID_LENGTH]; member
176 unsigned char ssid[WIFI_SSID_LENGTH]; member
234 unsigned char ssid[WPA_VENDOR_SSID_LEN]; member
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
Dwpa_hal_p2p_struct.h57 char ssid[WIFI_SSID_LENGTH]; member
89 char ssid[WIFI_SSID_LENGTH]; member
150 char ssid[WIFI_SSID_LENGTH]; member
Dwpa_hal_struct.h86 char ssid[WIFI_SSID_LENGTH]; member
109 char ssid[WIFI_SSID_LENGTH]; member
127 char ssid[WIFI_SSID_LENGTH]; member
Dwpa_common_cmd.c317 if (FillData(&hdiWifiWpaNetworkInfo->ssid, &hdiWifiWpaNetworkInfo->ssidLen, in WpaFillWpaListNetworkParam()
318 (uint8_t *)wifiWpaNetworkInfo->ssid, strlen(wifiWpaNetworkInfo->ssid)) != HDF_SUCCESS) { in WpaFillWpaListNetworkParam()
332 if (hdiWifiWpaNetworkInfo->ssid != NULL) { in WpaFillWpaListNetworkParam()
333 OsalMemFree(hdiWifiWpaNetworkInfo->ssid); in WpaFillWpaListNetworkParam()
540 if (strcmp(halStatus->ssid, "") != 0) { in WpaProcessWifiStatus()
541 HDF_LOGI("%{public}s key include ssid value=%{private}s", __func__, halStatus->ssid); in WpaProcessWifiStatus()
542 status->ssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * (strlen(halStatus->ssid) + 1)); in WpaProcessWifiStatus()
543 if (status->ssid == NULL) { in WpaProcessWifiStatus()
548 status->ssidLen = strlen(halStatus->ssid); in WpaProcessWifiStatus()
549 if (strcpy_s((char *)status->ssid, strlen(halStatus->ssid) + 1, halStatus->ssid) != EOK) { in WpaProcessWifiStatus()
[all …]
Dwpa_supplicant_hal.c139 if (strcpy_s(pcmd->ssid, sizeof(pcmd->ssid), value) != EOK) { in WpaCliCmdStatus()
142 printf_decode((u8 *)pcmd->ssid, sizeof(pcmd->ssid), pcmd->ssid); in WpaCliCmdStatus()
797 if (strcpy_s(pcmd->ssid, sizeof(pcmd->ssid), tmpBuf + start) != EOK) { in ListNetworkProcess()
800 printf_decode((u8 *)pcmd->ssid, sizeof(pcmd->ssid), pcmd->ssid); in ListNetworkProcess()
1421 if (strcpy_s(pcmd->ssid, sizeof(pcmd->ssid), srcBuf + start) != EOK) { in DelScanInfoLine()
1425 printf_decode((u8 *)pcmd->ssid, sizeof(pcmd->ssid), pcmd->ssid); in DelScanInfoLine()
Dwpa_supplicant_hal.h36 char ssid[WIFI_SSID_LENGTH]; member
Dwpa_p2p_cmd.c91 if (strcpy_s((char *)info->ssid, WIFI_SSID_LENGTH + 1, buf + start) != EOK) { in GetHalNetworkInfos()
94 printf_decode((u8 *)info->ssid, WIFI_SSID_LENGTH + 1, (char *)info->ssid); in GetHalNetworkInfos()
972 … (char *)info->ssid, macToStr(info->bssid), (char *)info->passphrase, freq, isLegacyGo) < 0) { in WpaInterfaceP2pHid2dConnect()
1335 infoList->infos[index].ssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * WIFI_SSID_LENGTH); in WpaInterfaceP2pListNetworks()
1336 if (infoList->infos[index].ssid == NULL) { in WpaInterfaceP2pListNetworks()
1644 if (FillData(&hdiP2pGroupStartedParam->ssid, &hdiP2pGroupStartedParam->ssidLen, in WpaFillP2pGroupStartedParam()
1645 groupStartedParam->ssid, WIFI_SSID_LENGTH) != HDF_SUCCESS) { in WpaFillP2pGroupStartedParam()
1673 if (hdiP2pGroupStartedParam->ssid != NULL) { in WpaFillP2pGroupStartedParam()
1674 OsalMemFree(hdiP2pGroupStartedParam->ssid); in WpaFillP2pGroupStartedParam()
Dwpa_p2p_hal.c1093 info->ssid, info->bssid, info->passphrase, info->frequency, info->isLegacyGo) < 0) { in WpaP2pHid2dCliCmdConnect()
/drivers/peripheral/wlan/test/hdi_service/
Dwlan_callback_impl.c39 char ssid[MAX_SSID_LEN] = {0}; in PrintSsid() local
49 … if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) { in PrintSsid()
50 HDF_LOGE("ssid: %{public}s", ssid); in PrintSsid()
Dwpa_callback_impl.c72 statechangedParam->status, statechangedParam->networkId, statechangedParam->ssid); in WpaCallbackStateChanged()
86 … duration=%{public}d, reason=%{public}s", tempDisabledParam->networkId, tempDisabledParam->ssid, in WpaCallbackTempDisabled()
Dwlan_hdi_hal_services_c_test.cpp1174 pnoSettings.pnoNetworks[0].ssid.ssid = const_cast<char*>(ssid1.c_str());
1175 pnoSettings.pnoNetworks[0].ssid.ssidLen = ssid1.length();
1181 pnoSettings.pnoNetworks[1].ssid.ssid = const_cast<char*>(ssid2.c_str());
1182 pnoSettings.pnoNetworks[1].ssid.ssidLen = ssid2.length();
1245 scan.ssids[0].ssid = const_cast<char*>(ssid1.c_str());
/drivers/interface/wlan/wpa/v1_0/
DWpaTypes.idl73 String ssid;
89 unsigned char[] ssid;
116 unsigned char[] ssid;
166 unsigned char[] ssid;
177 unsigned char[] ssid;
295 unsigned char[] ssid;
352 unsigned char[] ssid;
412 unsigned char[] ssid;
475 unsigned char[] ssid;
/drivers/hdf_core/framework/model/network/wifi/include/
Dhdf_wifi_cmd.h284 uint8_t *ssid; member
336 uint8_t ssid[MAX_SSID_LEN]; member
378 uint8_t *ssid; member
480 WifiDriverScanSsid ssid; member
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
Dsta.c124 if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->ssid, &(assoc->ssidLen))) { in WifiFillAssocParams()
160 if ((assoc->ssid == NULL) || (assoc->ssidLen == 0)) { in WifiFillAssocParams()
175 params->ssid = assoc->ssid; in WifiSetAssocParams()
437 if (!HdfSbufReadBuffer(reqData, (const void **)&pnoSettings->pnoNetworks[i].ssid.ssid, in HdfCmdfillPnoSettings()
438 &(pnoSettings->pnoNetworks[i].ssid.ssidLen))) { in HdfCmdfillPnoSettings()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
Dhdi_hostapd_hal.h64 char ssid[BUFFER_SIZE_32]; member
/drivers/peripheral/wlan/client/include/
Dwifi_driver_client.h304 uint8_t ssid[MAX_SSID_LEN]; member
312 WifiDriverScanSsid ssid; member
403 uint8_t *ssid; member
485 uint8_t *ssid; member
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/
Dap.c60 …err = memcpy_s(apConf.ssidConf.ssid, IEEE80211_MAX_SSID_LEN, apSettings->ssid, apSettings->ssidLen… in StartAp()
229 if (!HdfSbufReadBuffer(reqData, (const void **)&(apSettings->ssid), &(apSettings->ssidLen))) { in WifiCmdSetApInner()
322 if (!HdfSbufReadBuffer(reqData, (const void **)&(apSettings.ssid), &(apSettings.ssidLen))) { in WifiCmdChangeBeacon()
/drivers/hdf_core/framework/include/wifi/
Dwifi_mac80211_ops.h308 uint8_t ssid[IEEE80211_MAX_SSID_LEN]; /**< SSID array */ member
368 uint8_t *ssid; /**< SSID */ member
/drivers/peripheral/wlan/hdi_service/service_common/
Dwlan_common_cmd.c1137 if (memcpy_s(wifiScan->ssids[loop].ssid, scan->ssids[loop].ssidLen, scan->ssids[loop].ssid, in WLanFillSsid()
1384 …wifiPnoSettings->pnoNetworks[i].ssid.ssidLen = (uint32_t)(pnoSettings->pnoNetworks[i].ssid.ssidLen… in FillPnoSettings()
1385 …if (memcpy_s(wifiPnoSettings->pnoNetworks[i].ssid.ssid, MAX_SSID_LEN, pnoSettings->pnoNetworks[i]. in FillPnoSettings()
1386 pnoSettings->pnoNetworks[i].ssid.ssidLen) != EOK) { in FillPnoSettings()
/drivers/interface/wlan/v1_1/
DWlanTypes.idl81 String ssid;
312 struct HdfWifiDriverScanSsid ssid;
/drivers/peripheral/wlan/test/unittest/hal/
Dwifi_hal_test.cpp93 char ssid[MAX_SSID_LEN] = {0}; in PrintSsid() local
103 … if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) { in PrintSsid()
104 printf("ssid: %s\n", ssid); in PrintSsid()
2163 memcpy_s(pnoSettings.pnoNetworks[0].ssid.ssid, MAX_SSID_LEN, ssid1.c_str(), ssid1.length());
2164 pnoSettings.pnoNetworks[0].ssid.ssidLen = ssid1.length();
2166 memcpy_s(pnoSettings.pnoNetworks[1].ssid.ssid, MAX_SSID_LEN, ssid2.c_str(), ssid2.length());
2167 pnoSettings.pnoNetworks[1].ssid.ssidLen = ssid2.length();
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_wpa_cmd_adapter.c196 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->ssid, apsettings->s… in WifiCmdSetAp()
228 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->ssid, apsettings->s… in WifiCmdChangeBeacon()
490 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, assocParams->ssid, assocParams-… in WifiCmdAssoc()
Dsbuf_cmd_adapter.c1019 if (!HdfSbufWriteBuffer(req, pnoSettings->pnoNetworks[i].ssid.ssid, in SerializeSettingsToSbuf()
1020 pnoSettings->pnoNetworks[i].ssid.ssidLen)) { in SerializeSettingsToSbuf()
/drivers/peripheral/wlan/client/src/netlink/
Dnetlink_cmd_adapter.c1583 if (strlen((const char *)scan->ssids[i].ssid) == 0 || scan->ssids[i].ssidLen == 0) { in CmdScanPutSsidsMsg()
1588 … if (nla_put(msg, attrtype, scan->ssids[i].ssidLen, scan->ssids[i].ssid) != RET_CODE_SUCCESS) { in CmdScanPutSsidsMsg()
2482 … if (nla_put(msg, NL80211_SCHED_SCAN_MATCH_ATTR_SSID, pnoSettings->pnoNetworks[i].ssid.ssidLen, in ProcessMatchSsidToMsg()
2483 pnoSettings->pnoNetworks[i].ssid.ssid) != RET_CODE_SUCCESS) { in ProcessMatchSsidToMsg()
2531 ssidNode->ssidInfo.ssidLen = pnoSettings->pnoNetworks[i].ssid.ssidLen; in ProcessSsidToMsg()
2532 if (memcpy_s(ssidNode->ssidInfo.ssid, MAX_SSID_LEN, pnoSettings->pnoNetworks[i].ssid.ssid, in ProcessSsidToMsg()
2533 pnoSettings->pnoNetworks[i].ssid.ssidLen) != EOK) { in ProcessSsidToMsg()
2549 …if (nla_put(msg, index, ssidListNode->ssidInfo.ssidLen, ssidListNode->ssidInfo.ssid) != RET_CODE_S… in ProcessSsidToMsg()
/drivers/interface/wlan/v1_0/
DWlanTypes.idl81 String ssid;