Lines Matching refs:plnetinfo

2531 	wl_pfn_lnet_info_v1_t *plnetinfo;  local
2617 plnetinfo = &plbestnet_v1->netinfo[0];
2634 timestamp = plnetinfo->timestamp;
2638 for (i = 0, count = 0; i < fwcount; i++, count++, plnetinfo++) {
2647 if (TIME_DIFF_MS(timestamp, plnetinfo->timestamp) > timediff) {
2652 timestamp = plnetinfo->timestamp;
2661 plnetinfo -= i;
2677 if (TIME_DIFF_MS(ts, plnetinfo->timestamp) > timediff) {
2687 if (plnetinfo->flags & PFN_PARTIAL_SCAN_MASK) {
2701 for (j = 0; j < nAPs_per_scan[i]; j++, plnetinfo++) {
2705 wf_channel2mhz(plnetinfo->pfnsubnet.channel,
2706 (plnetinfo->pfnsubnet.channel <= CH_MAX_2G_CHANNEL?
2708 result->rssi = (int32) plnetinfo->RSSI;
2711 result->rtt = (uint64) plnetinfo->rtt0;
2712 result->rtt_sd = (uint64) plnetinfo->rtt1;
2714 plnetinfo->timestamp);
2715 ts = plnetinfo->timestamp;
2716 if (plnetinfo->pfnsubnet.SSID_len > DOT11_MAX_SSID_LEN) {
2719 plnetinfo->pfnsubnet.SSID_len));
2720 plnetinfo->pfnsubnet.SSID_len = DOT11_MAX_SSID_LEN;
2722 memcpy(result->ssid, plnetinfo->pfnsubnet.SSID,
2723 plnetinfo->pfnsubnet.SSID_len);
2724 result->ssid[plnetinfo->pfnsubnet.SSID_len] = '\0';
2725 memcpy(&result->macaddr, &plnetinfo->pfnsubnet.BSSID,
2733 plnetinfo->pfnsubnet.channel,
2734 plnetinfo->RSSI, plnetinfo->timestamp));
2736 plnetinfo->rtt0, plnetinfo->rtt1));
3068 wl_pfn_lnet_info_v1_t *plnetinfo; local
3185 plnetinfo = &plbestnet_v1->netinfo[0];
3210 if (timestamp && (TIME_DIFF(timestamp, plnetinfo->timestamp)
3213 timestamp = plnetinfo->timestamp;
3245 pbestnet_entry->channel = plnetinfo->pfnsubnet.channel;
3246 pbestnet_entry->RSSI = plnetinfo->RSSI;
3247 if (plnetinfo->flags & PFN_PARTIAL_SCAN_MASK) {
3254 pbestnet_entry->rtt0 = plnetinfo->rtt0;
3255 pbestnet_entry->rtt1 = plnetinfo->rtt1;
3256 pbestnet_entry->timestamp = plnetinfo->timestamp;
3257 if (plnetinfo->pfnsubnet.SSID_len > DOT11_MAX_SSID_LEN) {
3260 __FUNCTION__, plnetinfo->pfnsubnet.SSID_len));
3261 plnetinfo->pfnsubnet.SSID_len = DOT11_MAX_SSID_LEN;
3263 pbestnet_entry->SSID_len = plnetinfo->pfnsubnet.SSID_len;
3264 memcpy(pbestnet_entry->SSID, plnetinfo->pfnsubnet.SSID,
3266 memcpy(&pbestnet_entry->BSSID, &plnetinfo->pfnsubnet.BSSID,
3275 for (j = 0; j < plnetinfo->pfnsubnet.SSID_len; j++)
3276 DHD_PNO(("%c", plnetinfo->pfnsubnet.SSID[j]));
3279 MAC2STRDBG(plnetinfo->pfnsubnet.BSSID.octet)));
3281 plnetinfo->pfnsubnet.channel,
3282 plnetinfo->RSSI, plnetinfo->timestamp));
3283 DHD_PNO(("\tRTT0 : %d, RTT1: %d\n", plnetinfo->rtt0,
3284 plnetinfo->rtt1));
3285 plnetinfo++;