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
218 gScanCommand = new GScanCommand( in wifi_get_gscan_capabilities()
223 if (gScanCommand == NULL) { in wifi_get_gscan_capabilities()
229 ret = gScanCommand->create(); in wifi_get_gscan_capabilities()
234 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_gscan_capabilities()
239 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_gscan_capabilities()
243 ret = gScanCommand->put_u32( in wifi_get_gscan_capabilities()
249 gScanCommand->attr_end(nlData); in wifi_get_gscan_capabilities()
250 ret = gScanCommand->allocRspParams(eGScanGetCapabilitiesRspParams); in wifi_get_gscan_capabilities()
257 ret = gScanCommand->requestResponse(); in wifi_get_gscan_capabilities()
263 ret = gScanCommand->getGetCapabilitiesRspParams(capabilities); in wifi_get_gscan_capabilities()
270 gScanCommand->freeRspParams(eGScanGetCapabilitiesRspParams); in wifi_get_gscan_capabilities()
271 delete gScanCommand; in wifi_get_gscan_capabilities()
282 GScanCommand *gScanCommand; in wifi_start_gscan() local
323 gScanCommand = new GScanCommand( in wifi_start_gscan()
328 if (gScanCommand == NULL) { in wifi_start_gscan()
334 ret = gScanCommand->create(); in wifi_start_gscan()
339 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_start_gscan()
344 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_gscan()
356 if (gScanCommand->put_u32( in wifi_start_gscan()
359 gScanCommand->put_u32( in wifi_start_gscan()
362 gScanCommand->put_u32( in wifi_start_gscan()
365 gScanCommand->put_u8( in wifi_start_gscan()
368 gScanCommand->put_u8( in wifi_start_gscan()
371 gScanCommand->put_u8( in wifi_start_gscan()
379 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_BUCKET_SPEC); in wifi_start_gscan()
393 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
394 if (gScanCommand->put_u8( in wifi_start_gscan()
397 gScanCommand->put_u8( in wifi_start_gscan()
400 gScanCommand->put_u32( in wifi_start_gscan()
403 gScanCommand->put_u8( 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()
415 gScanCommand->put_u32( in wifi_start_gscan()
423 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_CHANNEL_SPEC); in wifi_start_gscan()
427 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
434 if ( gScanCommand->put_u32( in wifi_start_gscan()
437 gScanCommand->put_u32( in wifi_start_gscan()
440 gScanCommand->put_u8( in wifi_start_gscan()
447 gScanCommand->attr_end(nl_channelSpec); in wifi_start_gscan()
449 gScanCommand->attr_end(nl_channelSpecList); in wifi_start_gscan()
450 gScanCommand->attr_end(nlBucketSpec); in wifi_start_gscan()
452 gScanCommand->attr_end(nlBuckectSpecList); in wifi_start_gscan()
454 gScanCommand->attr_end(nlData); in wifi_start_gscan()
480 ret = gScanCommand->requestResponse(); in wifi_start_gscan()
492 delete gScanCommand; in wifi_start_gscan()
507 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
640 gScanCommand = in wifi_set_bssid_hotlist()
646 if (gScanCommand == NULL) { in wifi_set_bssid_hotlist()
652 ret = gScanCommand->create(); in wifi_set_bssid_hotlist()
657 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_bssid_hotlist()
662 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_bssid_hotlist()
668 if (gScanCommand->put_u32( in wifi_set_bssid_hotlist()
671 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
674 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
685 gScanCommand->attr_start( in wifi_set_bssid_hotlist()
693 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
696 if (gScanCommand->put_addr( in wifi_set_bssid_hotlist()
699 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
702 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
714 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_bssid_hotlist()
717 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_bssid_hotlist()
719 gScanCommand->attr_end(nlData); in wifi_set_bssid_hotlist()
748 ret = gScanCommand->requestResponse(); in wifi_set_bssid_hotlist()
760 delete gScanCommand; in wifi_set_bssid_hotlist()
774 GScanCommand *gScanCommand; in wifi_reset_bssid_hotlist() local
814 gScanCommand = new GScanCommand( in wifi_reset_bssid_hotlist()
820 if (gScanCommand == NULL) { in wifi_reset_bssid_hotlist()
826 ret = gScanCommand->create(); in wifi_reset_bssid_hotlist()
831 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_bssid_hotlist()
836 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_bssid_hotlist()
840 ret = gScanCommand->put_u32( in wifi_reset_bssid_hotlist()
845 gScanCommand->attr_end(nlData); in wifi_reset_bssid_hotlist()
847 ret = gScanCommand->requestResponse(); in wifi_reset_bssid_hotlist()
858 delete gScanCommand; in wifi_reset_bssid_hotlist()
869 GScanCommand *gScanCommand; in wifi_set_significant_change_handler() local
912 gScanCommand = new GScanCommand( in wifi_set_significant_change_handler()
917 if (gScanCommand == NULL) { in wifi_set_significant_change_handler()
923 ret = gScanCommand->create(); in wifi_set_significant_change_handler()
928 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_significant_change_handler()
933 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_significant_change_handler()
940 if (gScanCommand->put_u32( in wifi_set_significant_change_handler()
943 gScanCommand->put_u32( in wifi_set_significant_change_handler()
946 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()
966 gScanCommand->attr_start( in wifi_set_significant_change_handler()
974 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_significant_change_handler()
977 if ( gScanCommand->put_addr( in wifi_set_significant_change_handler()
980 gScanCommand->put_s32( in wifi_set_significant_change_handler()
983 gScanCommand->put_s32( in wifi_set_significant_change_handler()
996 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_significant_change_handler()
999 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_significant_change_handler()
1001 gScanCommand->attr_end(nlData); in wifi_set_significant_change_handler()
1031 ret = gScanCommand->requestResponse(); in wifi_set_significant_change_handler()
1049 delete gScanCommand; in wifi_set_significant_change_handler()
1058 GScanCommand *gScanCommand; in wifi_reset_significant_change_handler() local
1097 gScanCommand = in wifi_reset_significant_change_handler()
1104 if (gScanCommand == NULL) { in wifi_reset_significant_change_handler()
1110 ret = gScanCommand->create(); in wifi_reset_significant_change_handler()
1115 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_significant_change_handler()
1120 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_significant_change_handler()
1124 ret = gScanCommand->put_u32( in wifi_reset_significant_change_handler()
1130 gScanCommand->attr_end(nlData); in wifi_reset_significant_change_handler()
1132 ret = gScanCommand->requestResponse(); in wifi_reset_significant_change_handler()
1143 delete gScanCommand; in wifi_reset_significant_change_handler()
1159 GScanCommand *gScanCommand; in wifi_get_cached_gscan_results() local
1200 gScanCommand = new GScanCommand( in wifi_get_cached_gscan_results()
1205 if (gScanCommand == NULL) { in wifi_get_cached_gscan_results()
1210 ret = gScanCommand->allocRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1217 ret = gScanCommand->allocCachedResultsTemp(max, results); in wifi_get_cached_gscan_results()
1228 ret = gScanCommand->create(); in wifi_get_cached_gscan_results()
1233 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_cached_gscan_results()
1238 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_cached_gscan_results()
1245 if (gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1248 gScanCommand->put_u8( in wifi_get_cached_gscan_results()
1251 gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1259 gScanCommand->attr_end(nlData); in wifi_get_cached_gscan_results()
1261 retRequestRsp = gScanCommand->requestResponse(); in wifi_get_cached_gscan_results()
1272 ret = gScanCommand->copyCachedScanResults(num, results); in wifi_get_cached_gscan_results()
1289 gScanCommand->freeRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1290 delete gScanCommand; in wifi_get_cached_gscan_results()
2092 GScanCommand *gScanCommand; in wifi_set_epno_list() local
2119 gScanCommand = in wifi_set_epno_list()
2125 if (gScanCommand == NULL) { in wifi_set_epno_list()
2131 ret = gScanCommand->create(); in wifi_set_epno_list()
2138 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_epno_list()
2145 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_epno_list()
2154 if (gScanCommand->put_u32( in wifi_set_epno_list()
2157 gScanCommand->put_u32( in wifi_set_epno_list()
2160 gScanCommand->put_u32( in wifi_set_epno_list()
2163 gScanCommand->put_u32( in wifi_set_epno_list()
2166 gScanCommand->put_u32( in wifi_set_epno_list()
2169 gScanCommand->put_u32( in wifi_set_epno_list()
2172 gScanCommand->put_u32( in wifi_set_epno_list()
2175 gScanCommand->put_u32( in wifi_set_epno_list()
2178 gScanCommand->put_u32( in wifi_set_epno_list()
2188 gScanCommand->attr_start( in wifi_set_epno_list()
2199 struct nlattr *nlPnoNetwork = gScanCommand->attr_start(i); in wifi_set_epno_list()
2205 if (gScanCommand->put_string( in wifi_set_epno_list()
2208 gScanCommand->put_u8( in wifi_set_epno_list()
2211 gScanCommand->put_u8( in wifi_set_epno_list()
2219 gScanCommand->attr_end(nlPnoNetwork); in wifi_set_epno_list()
2222 gScanCommand->attr_end(nlPnoParamList); in wifi_set_epno_list()
2224 gScanCommand->attr_end(nlData); in wifi_set_epno_list()
2252 ret = gScanCommand->requestResponse(); in wifi_set_epno_list()
2264 delete gScanCommand; in wifi_set_epno_list()
2278 GScanCommand *gScanCommand; in wifi_reset_epno_list() local
2290 gScanCommand = new GScanCommand(wifiHandle, in wifi_reset_epno_list()
2294 if (gScanCommand == NULL) { in wifi_reset_epno_list()
2300 ret = gScanCommand->create(); in wifi_reset_epno_list()
2307 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_epno_list()
2314 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_epno_list()
2321 if (gScanCommand->put_u32( in wifi_reset_epno_list()
2324 gScanCommand->put_u32( in wifi_reset_epno_list()
2332 gScanCommand->attr_end(nlData); in wifi_reset_epno_list()
2334 ret = gScanCommand->requestResponse(); in wifi_reset_epno_list()
2340 delete gScanCommand; in wifi_reset_epno_list()
2351 GScanCommand *gScanCommand; in wifi_set_passpoint_list() local
2377 gScanCommand = in wifi_set_passpoint_list()
2383 if (gScanCommand == NULL) { in wifi_set_passpoint_list()
2389 ret = gScanCommand->create(); in wifi_set_passpoint_list()
2396 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_passpoint_list()
2403 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_passpoint_list()
2410 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2413 gScanCommand->put_u32( in wifi_set_passpoint_list()
2423 gScanCommand->attr_start( in wifi_set_passpoint_list()
2434 struct nlattr *nlPasspointNetworkParam = gScanCommand->attr_start(i); in wifi_set_passpoint_list()
2440 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2443 gScanCommand->put_string( in wifi_set_passpoint_list()
2446 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2450 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2458 gScanCommand->attr_end(nlPasspointNetworkParam); in wifi_set_passpoint_list()
2461 gScanCommand->attr_end(nlPasspointNetworksParamList); in wifi_set_passpoint_list()
2463 gScanCommand->attr_end(nlData); in wifi_set_passpoint_list()
2492 ret = gScanCommand->requestResponse(); in wifi_set_passpoint_list()
2504 delete gScanCommand; in wifi_set_passpoint_list()
2518 GScanCommand *gScanCommand; in wifi_reset_passpoint_list() local
2544 gScanCommand = new GScanCommand( in wifi_reset_passpoint_list()
2550 if (gScanCommand == NULL) { in wifi_reset_passpoint_list()
2556 ret = gScanCommand->create(); in wifi_reset_passpoint_list()
2563 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_passpoint_list()
2570 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_passpoint_list()
2577 ret = gScanCommand->put_u32( in wifi_reset_passpoint_list()
2585 gScanCommand->attr_end(nlData); in wifi_reset_passpoint_list()
2587 ret = gScanCommand->requestResponse(); in wifi_reset_passpoint_list()
2598 delete gScanCommand; in wifi_reset_passpoint_list()