• Home
  • Raw
  • Download

Lines Matching refs:gScanCommand

90     GScanCommand *gScanCommand;  in wifi_get_valid_channels()  local
123 gScanCommand = new GScanCommand( in wifi_get_valid_channels()
128 if (gScanCommand == NULL) { in wifi_get_valid_channels()
133 ret = gScanCommand->create(); in wifi_get_valid_channels()
138 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_valid_channels()
143 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_valid_channels()
147 if (gScanCommand->put_u32( in wifi_get_valid_channels()
150 gScanCommand->put_u32( in wifi_get_valid_channels()
153 gScanCommand->put_u32( in wifi_get_valid_channels()
159 gScanCommand->attr_end(nlData); in wifi_get_valid_channels()
161 gScanCommand->setMaxChannels(max_channels); in wifi_get_valid_channels()
162 gScanCommand->setChannels(channels); in wifi_get_valid_channels()
163 gScanCommand->setNumChannelsPtr(num_channels); in wifi_get_valid_channels()
166 ret = gScanCommand->requestResponse(); in wifi_get_valid_channels()
172 delete gScanCommand; in wifi_get_valid_channels()
180 GScanCommand *gScanCommand; in wifi_get_gscan_capabilities() local
219 gScanCommand = new GScanCommand( in wifi_get_gscan_capabilities()
224 if (gScanCommand == NULL) { in wifi_get_gscan_capabilities()
230 ret = gScanCommand->create(); in wifi_get_gscan_capabilities()
235 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_gscan_capabilities()
240 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_gscan_capabilities()
244 ret = gScanCommand->put_u32( in wifi_get_gscan_capabilities()
250 gScanCommand->attr_end(nlData); in wifi_get_gscan_capabilities()
251 ret = gScanCommand->allocRspParams(eGScanGetCapabilitiesRspParams); in wifi_get_gscan_capabilities()
258 ret = gScanCommand->requestResponse(); in wifi_get_gscan_capabilities()
264 gScanCommand->getGetCapabilitiesRspParams(capabilities); in wifi_get_gscan_capabilities()
267 gScanCommand->freeRspParams(eGScanGetCapabilitiesRspParams); in wifi_get_gscan_capabilities()
268 delete gScanCommand; in wifi_get_gscan_capabilities()
279 GScanCommand *gScanCommand; in wifi_start_gscan() local
320 gScanCommand = new GScanCommand( in wifi_start_gscan()
325 if (gScanCommand == NULL) { in wifi_start_gscan()
331 ret = gScanCommand->create(); in wifi_start_gscan()
336 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_start_gscan()
341 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_gscan()
353 if (gScanCommand->put_u32( in wifi_start_gscan()
356 gScanCommand->put_u32( in wifi_start_gscan()
359 gScanCommand->put_u32( in wifi_start_gscan()
362 gScanCommand->put_u8( in wifi_start_gscan()
365 gScanCommand->put_u8( in wifi_start_gscan()
368 gScanCommand->put_u8( in wifi_start_gscan()
376 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_BUCKET_SPEC); in wifi_start_gscan()
390 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
391 if (gScanCommand->put_u8( in wifi_start_gscan()
394 gScanCommand->put_u8( in wifi_start_gscan()
397 gScanCommand->put_u32( in wifi_start_gscan()
400 gScanCommand->put_u8( in wifi_start_gscan()
403 gScanCommand->put_u32( in wifi_start_gscan()
406 gScanCommand->put_u32( in wifi_start_gscan()
409 gScanCommand->put_u32( in wifi_start_gscan()
412 gScanCommand->put_u32( in wifi_start_gscan()
420 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_CHANNEL_SPEC); in wifi_start_gscan()
424 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
431 if ( gScanCommand->put_u32( in wifi_start_gscan()
434 gScanCommand->put_u32( in wifi_start_gscan()
437 gScanCommand->put_u8( in wifi_start_gscan()
444 gScanCommand->attr_end(nl_channelSpec); in wifi_start_gscan()
446 gScanCommand->attr_end(nl_channelSpecList); in wifi_start_gscan()
447 gScanCommand->attr_end(nlBucketSpec); in wifi_start_gscan()
449 gScanCommand->attr_end(nlBuckectSpecList); in wifi_start_gscan()
451 gScanCommand->attr_end(nlData); in wifi_start_gscan()
479 ret = gScanCommand->requestResponse(); in wifi_start_gscan()
491 delete gScanCommand; in wifi_start_gscan()
506 GScanCommand *gScanCommand; in wifi_stop_gscan() local
545 gScanCommand = new GScanCommand( in wifi_stop_gscan()
550 if (gScanCommand == NULL) { in wifi_stop_gscan()
556 ret = gScanCommand->create(); in wifi_stop_gscan()
561 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_stop_gscan()
566 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_stop_gscan()
570 ret = gScanCommand->put_u32( in wifi_stop_gscan()
576 gScanCommand->attr_end(nlData); in wifi_stop_gscan()
578 ret = gScanCommand->requestResponse(); in wifi_stop_gscan()
589 delete gScanCommand; in wifi_stop_gscan()
600 GScanCommand *gScanCommand; in wifi_set_bssid_hotlist() local
642 gScanCommand = in wifi_set_bssid_hotlist()
648 if (gScanCommand == NULL) { in wifi_set_bssid_hotlist()
654 ret = gScanCommand->create(); in wifi_set_bssid_hotlist()
659 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_bssid_hotlist()
664 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_bssid_hotlist()
670 if (gScanCommand->put_u32( in wifi_set_bssid_hotlist()
673 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
676 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
687 gScanCommand->attr_start( in wifi_set_bssid_hotlist()
695 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
698 if (gScanCommand->put_addr( in wifi_set_bssid_hotlist()
701 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
704 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
716 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_bssid_hotlist()
719 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_bssid_hotlist()
721 gScanCommand->attr_end(nlData); in wifi_set_bssid_hotlist()
751 ret = gScanCommand->requestResponse(); in wifi_set_bssid_hotlist()
763 delete gScanCommand; in wifi_set_bssid_hotlist()
777 GScanCommand *gScanCommand; in wifi_reset_bssid_hotlist() local
818 gScanCommand = new GScanCommand( in wifi_reset_bssid_hotlist()
824 if (gScanCommand == NULL) { in wifi_reset_bssid_hotlist()
830 ret = gScanCommand->create(); in wifi_reset_bssid_hotlist()
835 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_bssid_hotlist()
840 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_bssid_hotlist()
844 ret = gScanCommand->put_u32( in wifi_reset_bssid_hotlist()
849 gScanCommand->attr_end(nlData); in wifi_reset_bssid_hotlist()
851 ret = gScanCommand->requestResponse(); in wifi_reset_bssid_hotlist()
862 delete gScanCommand; in wifi_reset_bssid_hotlist()
873 GScanCommand *gScanCommand; in wifi_set_significant_change_handler() local
918 gScanCommand = new GScanCommand( in wifi_set_significant_change_handler()
923 if (gScanCommand == NULL) { in wifi_set_significant_change_handler()
929 ret = gScanCommand->create(); in wifi_set_significant_change_handler()
934 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_significant_change_handler()
939 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_significant_change_handler()
946 if (gScanCommand->put_u32( in wifi_set_significant_change_handler()
949 gScanCommand->put_u32( in wifi_set_significant_change_handler()
952 gScanCommand->put_u32( in wifi_set_significant_change_handler()
955 gScanCommand->put_u32( in wifi_set_significant_change_handler()
958 gScanCommand->put_u32( in wifi_set_significant_change_handler()
972 gScanCommand->attr_start( in wifi_set_significant_change_handler()
980 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_significant_change_handler()
983 if ( gScanCommand->put_addr( in wifi_set_significant_change_handler()
986 gScanCommand->put_s32( in wifi_set_significant_change_handler()
989 gScanCommand->put_s32( in wifi_set_significant_change_handler()
1002 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_significant_change_handler()
1005 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_significant_change_handler()
1007 gScanCommand->attr_end(nlData); in wifi_set_significant_change_handler()
1039 ret = gScanCommand->requestResponse(); in wifi_set_significant_change_handler()
1057 delete gScanCommand; in wifi_set_significant_change_handler()
1066 GScanCommand *gScanCommand; in wifi_reset_significant_change_handler() local
1107 gScanCommand = in wifi_reset_significant_change_handler()
1114 if (gScanCommand == NULL) { in wifi_reset_significant_change_handler()
1120 ret = gScanCommand->create(); in wifi_reset_significant_change_handler()
1125 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_significant_change_handler()
1130 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_significant_change_handler()
1134 ret = gScanCommand->put_u32( in wifi_reset_significant_change_handler()
1140 gScanCommand->attr_end(nlData); in wifi_reset_significant_change_handler()
1142 ret = gScanCommand->requestResponse(); in wifi_reset_significant_change_handler()
1153 delete gScanCommand; in wifi_reset_significant_change_handler()
1169 GScanCommand *gScanCommand; in wifi_get_cached_gscan_results() local
1211 gScanCommand = new GScanCommand( in wifi_get_cached_gscan_results()
1216 if (gScanCommand == NULL) { in wifi_get_cached_gscan_results()
1221 ret = gScanCommand->allocRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1228 ret = gScanCommand->allocCachedResultsTemp(max, results); in wifi_get_cached_gscan_results()
1239 ret = gScanCommand->create(); in wifi_get_cached_gscan_results()
1244 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_cached_gscan_results()
1249 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_cached_gscan_results()
1256 if (gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1259 gScanCommand->put_u8( in wifi_get_cached_gscan_results()
1262 gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1270 gScanCommand->attr_end(nlData); in wifi_get_cached_gscan_results()
1272 retRequestRsp = gScanCommand->requestResponse(); in wifi_get_cached_gscan_results()
1283 ret = gScanCommand->copyCachedScanResults(num, results); in wifi_get_cached_gscan_results()
1300 gScanCommand->freeRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1301 delete gScanCommand; in wifi_get_cached_gscan_results()
1368 GScanCommand *gScanCommand; in wifi_set_ssid_hotlist() local
1410 gScanCommand = in wifi_set_ssid_hotlist()
1416 if (gScanCommand == NULL) { in wifi_set_ssid_hotlist()
1422 ret = gScanCommand->create(); in wifi_set_ssid_hotlist()
1427 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_ssid_hotlist()
1432 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_ssid_hotlist()
1438 if (gScanCommand->put_u32( in wifi_set_ssid_hotlist()
1441 gScanCommand->put_u32( in wifi_set_ssid_hotlist()
1444 gScanCommand->put_u32( in wifi_set_ssid_hotlist()
1457 gScanCommand->attr_start( in wifi_set_ssid_hotlist()
1465 struct nlattr *nlSsidThresholdParam = gScanCommand->attr_start(i); in wifi_set_ssid_hotlist()
1468 if (gScanCommand->put_string( in wifi_set_ssid_hotlist()
1471 gScanCommand->put_u8( in wifi_set_ssid_hotlist()
1474 gScanCommand->put_s32( in wifi_set_ssid_hotlist()
1477 gScanCommand->put_s32( in wifi_set_ssid_hotlist()
1490 gScanCommand->attr_end(nlSsidThresholdParam); in wifi_set_ssid_hotlist()
1493 gScanCommand->attr_end(nlSsidThresholdParamList); in wifi_set_ssid_hotlist()
1495 gScanCommand->attr_end(nlData); in wifi_set_ssid_hotlist()
1525 ret = gScanCommand->requestResponse(); in wifi_set_ssid_hotlist()
1537 delete gScanCommand; in wifi_set_ssid_hotlist()
1551 GScanCommand *gScanCommand; in wifi_reset_ssid_hotlist() local
1592 gScanCommand = new GScanCommand( in wifi_reset_ssid_hotlist()
1598 if (gScanCommand == NULL) { in wifi_reset_ssid_hotlist()
1604 ret = gScanCommand->create(); in wifi_reset_ssid_hotlist()
1609 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_ssid_hotlist()
1614 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_ssid_hotlist()
1618 ret = gScanCommand->put_u32( in wifi_reset_ssid_hotlist()
1623 gScanCommand->attr_end(nlData); in wifi_reset_ssid_hotlist()
1625 ret = gScanCommand->requestResponse(); in wifi_reset_ssid_hotlist()
1636 delete gScanCommand; in wifi_reset_ssid_hotlist()
2393 GScanCommand *gScanCommand; in wifi_set_epno_list() local
2422 gScanCommand = in wifi_set_epno_list()
2428 if (gScanCommand == NULL) { in wifi_set_epno_list()
2434 ret = gScanCommand->create(); in wifi_set_epno_list()
2441 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_epno_list()
2448 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_epno_list()
2457 if (gScanCommand->put_u32( in wifi_set_epno_list()
2460 gScanCommand->put_u32( in wifi_set_epno_list()
2470 gScanCommand->attr_start( in wifi_set_epno_list()
2481 struct nlattr *nlPnoNetwork = gScanCommand->attr_start(i); in wifi_set_epno_list()
2487 if (gScanCommand->put_string( in wifi_set_epno_list()
2490 gScanCommand->put_s8( in wifi_set_epno_list()
2493 gScanCommand->put_u8( in wifi_set_epno_list()
2496 gScanCommand->put_u8( in wifi_set_epno_list()
2504 gScanCommand->attr_end(nlPnoNetwork); in wifi_set_epno_list()
2507 gScanCommand->attr_end(nlPnoParamList); in wifi_set_epno_list()
2509 gScanCommand->attr_end(nlData); in wifi_set_epno_list()
2539 ret = gScanCommand->requestResponse(); in wifi_set_epno_list()
2551 delete gScanCommand; in wifi_set_epno_list()
2568 GScanCommand *gScanCommand; in wifi_set_passpoint_list() local
2596 gScanCommand = in wifi_set_passpoint_list()
2602 if (gScanCommand == NULL) { in wifi_set_passpoint_list()
2608 ret = gScanCommand->create(); in wifi_set_passpoint_list()
2615 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_passpoint_list()
2622 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_passpoint_list()
2629 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2632 gScanCommand->put_u32( in wifi_set_passpoint_list()
2642 gScanCommand->attr_start( in wifi_set_passpoint_list()
2653 struct nlattr *nlPasspointNetworkParam = gScanCommand->attr_start(i); in wifi_set_passpoint_list()
2659 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2662 gScanCommand->put_string( in wifi_set_passpoint_list()
2665 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2669 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2677 gScanCommand->attr_end(nlPasspointNetworkParam); in wifi_set_passpoint_list()
2680 gScanCommand->attr_end(nlPasspointNetworksParamList); in wifi_set_passpoint_list()
2682 gScanCommand->attr_end(nlData); in wifi_set_passpoint_list()
2713 ret = gScanCommand->requestResponse(); in wifi_set_passpoint_list()
2725 delete gScanCommand; in wifi_set_passpoint_list()
2739 GScanCommand *gScanCommand; in wifi_reset_passpoint_list() local
2767 gScanCommand = new GScanCommand( in wifi_reset_passpoint_list()
2773 if (gScanCommand == NULL) { in wifi_reset_passpoint_list()
2779 ret = gScanCommand->create(); in wifi_reset_passpoint_list()
2786 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_passpoint_list()
2793 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_passpoint_list()
2800 ret = gScanCommand->put_u32( in wifi_reset_passpoint_list()
2808 gScanCommand->attr_end(nlData); in wifi_reset_passpoint_list()
2810 ret = gScanCommand->requestResponse(); in wifi_reset_passpoint_list()
2821 delete gScanCommand; in wifi_reset_passpoint_list()