Lines Matching refs:pbestnet_entry
3070 dhd_pno_bestnet_entry_t *pbestnet_entry; local
3197 pbestnet_entry = (dhd_pno_bestnet_entry_t *)
3199 if (pbestnet_entry == NULL) {
3204 memset(pbestnet_entry, 0, BESTNET_ENTRY_SIZE);
3206 pbestnet_entry->recorded_time = jiffies;
3219 if (pbestnet_entry)
3220 MFREE(dhd->osh, pbestnet_entry,
3245 pbestnet_entry->channel = plnetinfo->pfnsubnet.channel;
3246 pbestnet_entry->RSSI = plnetinfo->RSSI;
3254 pbestnet_entry->rtt0 = plnetinfo->rtt0;
3255 pbestnet_entry->rtt1 = plnetinfo->rtt1;
3256 pbestnet_entry->timestamp = plnetinfo->timestamp;
3263 pbestnet_entry->SSID_len = plnetinfo->pfnsubnet.SSID_len;
3264 memcpy(pbestnet_entry->SSID, plnetinfo->pfnsubnet.SSID,
3265 pbestnet_entry->SSID_len);
3266 memcpy(&pbestnet_entry->BSSID, &plnetinfo->pfnsubnet.BSSID,
3269 list_add_tail(&pbestnet_entry->list, &pbestnetheader->entry_list);
3305 pbestnet_entry = (dhd_pno_bestnet_entry_t *)
3307 if (pbestnet_entry == NULL) {
3312 memset(pbestnet_entry, 0, BESTNET_ENTRY_SIZE);
3314 pbestnet_entry->recorded_time = jiffies;
3327 if (pbestnet_entry)
3328 MFREE(dhd->osh, pbestnet_entry,
3354 pbestnet_entry->channel = plnetinfo_v2->pfnsubnet.channel;
3355 pbestnet_entry->RSSI = plnetinfo_v2->RSSI;
3363 pbestnet_entry->rtt0 = plnetinfo_v2->rtt0;
3364 pbestnet_entry->rtt1 = plnetinfo_v2->rtt1;
3365 pbestnet_entry->timestamp = plnetinfo_v2->timestamp;
3372 pbestnet_entry->SSID_len = plnetinfo_v2->pfnsubnet.SSID_len;
3373 memcpy(pbestnet_entry->SSID, plnetinfo_v2->pfnsubnet.u.SSID,
3374 pbestnet_entry->SSID_len);
3375 memcpy(&pbestnet_entry->BSSID, &plnetinfo_v2->pfnsubnet.BSSID,
3378 list_add_tail(&pbestnet_entry->list, &pbestnetheader->entry_list);