Searched refs:pnoNetworks (Results 1 – 9 of 9) sorted by relevance
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/ |
D | sta.c | 422 …pnoSettings->pnoNetworks = (WifiPnoNetwork *)OsalMemAlloc(sizeof(WifiPnoNetwork) * pnoSettings->pn… in HdfCmdfillPnoSettings() 423 if (pnoSettings->pnoNetworks == NULL) { in HdfCmdfillPnoSettings() 428 if (!HdfSbufReadUint8(reqData, &(pnoSettings->pnoNetworks[i].isHidden))) { in HdfCmdfillPnoSettings() 432 … if (!HdfSbufReadBuffer(reqData, (const void **)&pnoSettings->pnoNetworks[i].freqs, &dataSize)) { in HdfCmdfillPnoSettings() 436 … pnoSettings->pnoNetworks[i].freqsLen = dataSize / sizeof(pnoSettings->pnoNetworks[i].freqs[0]); in HdfCmdfillPnoSettings() 437 if (!HdfSbufReadBuffer(reqData, (const void **)&pnoSettings->pnoNetworks[i].ssid.ssid, in HdfCmdfillPnoSettings() 438 &(pnoSettings->pnoNetworks[i].ssid.ssidLen))) { in HdfCmdfillPnoSettings() 479 if (pnoSettings->pnoNetworks != NULL) { in HdfPnosettingsFree() 480 OsalMemFree(pnoSettings->pnoNetworks); in HdfPnosettingsFree() 481 pnoSettings->pnoNetworks = NULL; in HdfPnosettingsFree()
|
/drivers/peripheral/wlan/hdi_service/service_common/ |
D | wlan_common_cmd.c | 1285 if ((pnoSettings->pnoNetworks == NULL) || (pnoSettings->pnoNetworksLen == 0)) { in FillPnoSettings() 1291 wifiPnoSettings->pnoNetworks = in FillPnoSettings() 1293 if (wifiPnoSettings->pnoNetworks == NULL) { in FillPnoSettings() 1298 wifiPnoSettings->pnoNetworks[i].isHidden = pnoSettings->pnoNetworks[i].isHidden; in FillPnoSettings() 1299 wifiPnoSettings->pnoNetworks[i].ssid.ssidLen = pnoSettings->pnoNetworks[i].ssid.ssidLen; in FillPnoSettings() 1300 …if (memcpy_s(wifiPnoSettings->pnoNetworks[i].ssid.ssid, MAX_SSID_LEN, pnoSettings->pnoNetworks[i].… in FillPnoSettings() 1301 pnoSettings->pnoNetworks[i].ssid.ssidLen) != EOK) { in FillPnoSettings() 1305 if (pnoSettings->pnoNetworks[i].freqsLen != 0) { in FillPnoSettings() 1306 wifiPnoSettings->pnoNetworks[i].freqs = in FillPnoSettings() 1307 (int32_t *)OsalMemCalloc(sizeof(int32_t) * (pnoSettings->pnoNetworks[i].freqsLen)); in FillPnoSettings() [all …]
|
/drivers/peripheral/wlan/test/hdi_service/ |
D | wlan_hdi_hal_services_c_test.cpp | 1172 pnoSettings.pnoNetworks = (struct PnoNetwork *)OsalMemCalloc(sizeof(struct PnoNetwork) * 2); 1173 pnoSettings.pnoNetworks[0].isHidden = 1; 1174 pnoSettings.pnoNetworks[0].ssid.ssid = const_cast<char*>(ssid1.c_str()); 1175 pnoSettings.pnoNetworks[0].ssid.ssidLen = ssid1.length(); 1176 pnoSettings.pnoNetworks[0].freqsLen = 2; 1177 pnoSettings.pnoNetworks[0].freqs = (int32_t *)OsalMemCalloc(sizeof(int32_t) * 2); 1178 pnoSettings.pnoNetworks[0].freqs[0] = 2412; 1179 pnoSettings.pnoNetworks[0].freqs[1] = 2447; 1180 pnoSettings.pnoNetworks[1].isHidden = 0; 1181 pnoSettings.pnoNetworks[1].ssid.ssid = const_cast<char*>(ssid2.c_str()); [all …]
|
/drivers/peripheral/wlan/client/src/sbuf/ |
D | sbuf_cmd_adapter.c | 1010 if (!HdfSbufWriteUint8(req, pnoSettings->pnoNetworks[i].isHidden)) { in SerializeSettingsToSbuf() 1014 if (!HdfSbufWriteBuffer(req, pnoSettings->pnoNetworks[i].freqs, in SerializeSettingsToSbuf() 1015 sizeof(int32_t) * (pnoSettings->pnoNetworks[i].freqsLen))) { in SerializeSettingsToSbuf() 1019 if (!HdfSbufWriteBuffer(req, pnoSettings->pnoNetworks[i].ssid.ssid, in SerializeSettingsToSbuf() 1020 pnoSettings->pnoNetworks[i].ssid.ssidLen)) { in SerializeSettingsToSbuf()
|
/drivers/peripheral/wlan/test/unittest/hal/ |
D | wifi_hal_test.cpp | 2161 pnoSettings.pnoNetworks = (WifiPnoNetwork *)OsalMemCalloc(sizeof(WifiPnoNetwork) * 2); 2162 pnoSettings.pnoNetworks[0].isHidden = 1; 2163 memcpy_s(pnoSettings.pnoNetworks[0].ssid.ssid, MAX_SSID_LEN, ssid1.c_str(), ssid1.length()); 2164 pnoSettings.pnoNetworks[0].ssid.ssidLen = ssid1.length(); 2165 pnoSettings.pnoNetworks[1].isHidden = 0; 2166 memcpy_s(pnoSettings.pnoNetworks[1].ssid.ssid, MAX_SSID_LEN, ssid2.c_str(), ssid2.length()); 2167 pnoSettings.pnoNetworks[1].ssid.ssidLen = ssid2.length(); 2183 OsalMemFree(pnoSettings.pnoNetworks);
|
/drivers/hdf_core/framework/model/network/wifi/include/ |
D | hdf_wifi_cmd.h | 488 WifiPnoNetwork *pnoNetworks; member
|
/drivers/peripheral/wlan/client/src/netlink/ |
D | netlink_cmd_adapter.c | 2166 nla_put(msg, NL80211_SCHED_SCAN_MATCH_ATTR_SSID, pnoSettings->pnoNetworks[i].ssid.ssidLen, in ProcessMatchSsidToMsg() 2167 pnoSettings->pnoNetworks[i].ssid.ssid); in ProcessMatchSsidToMsg() 2199 if (!(pnoSettings->pnoNetworks[i].isHidden)) { in ProcessSsidToMsg() 2212 ssidNode->ssidInfo.ssidLen = pnoSettings->pnoNetworks[i].ssid.ssidLen; in ProcessSsidToMsg() 2213 if (memcpy_s(ssidNode->ssidInfo.ssid, MAX_SSID_LEN, pnoSettings->pnoNetworks[i].ssid.ssid, in ProcessSsidToMsg() 2214 pnoSettings->pnoNetworks[i].ssid.ssidLen) != EOK) { in ProcessSsidToMsg() 2319 for (uint32_t j = 0; j < pnoSettings->pnoNetworks[i].freqsLen; j++) { in ProcessFreqToMsg() 2320 … if (InsertFreqToList(pnoSettings->pnoNetworks[i].freqs[j], &scanFreqs) != RET_CODE_SUCCESS) { in ProcessFreqToMsg()
|
/drivers/peripheral/wlan/client/include/ |
D | wifi_driver_client.h | 316 WifiPnoNetwork *pnoNetworks; member
|
/drivers/interface/wlan/v1_1/ |
D | WlanTypes.idl | 331 struct PnoNetwork[] pnoNetworks;
|