Lines Matching refs:gScanCommand
102 GScanCommand *gScanCommand; in wifi_get_valid_channels() local
120 gScanCommand = new GScanCommand( in wifi_get_valid_channels()
125 if (gScanCommand == NULL) { in wifi_get_valid_channels()
130 ret = gScanCommand->create(); in wifi_get_valid_channels()
135 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_valid_channels()
140 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_valid_channels()
144 if (gScanCommand->put_u32( in wifi_get_valid_channels()
147 gScanCommand->put_u32( in wifi_get_valid_channels()
150 gScanCommand->put_u32( in wifi_get_valid_channels()
156 gScanCommand->attr_end(nlData); in wifi_get_valid_channels()
158 gScanCommand->setMaxChannels(max_channels); in wifi_get_valid_channels()
159 gScanCommand->setChannels(channels); in wifi_get_valid_channels()
160 gScanCommand->setNumChannelsPtr(num_channels); in wifi_get_valid_channels()
163 ret = gScanCommand->requestResponse(); in wifi_get_valid_channels()
168 delete gScanCommand; in wifi_get_valid_channels()
200 GScanCommand *gScanCommand; in wifi_start_gscan() local
227 gScanCommand = new GScanCommand( in wifi_start_gscan()
232 if (gScanCommand == NULL) { in wifi_start_gscan()
238 ret = gScanCommand->create(); in wifi_start_gscan()
243 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_start_gscan()
248 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_gscan()
260 if (gScanCommand->put_u32( in wifi_start_gscan()
263 gScanCommand->put_u32( in wifi_start_gscan()
266 gScanCommand->put_u32( in wifi_start_gscan()
269 gScanCommand->put_u8( in wifi_start_gscan()
272 gScanCommand->put_u8( in wifi_start_gscan()
275 gScanCommand->put_u8( in wifi_start_gscan()
283 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_BUCKET_SPEC); in wifi_start_gscan()
297 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
298 if (gScanCommand->put_u8( in wifi_start_gscan()
301 gScanCommand->put_u8( in wifi_start_gscan()
304 gScanCommand->put_u32( in wifi_start_gscan()
307 gScanCommand->put_u8( in wifi_start_gscan()
310 gScanCommand->put_u32( in wifi_start_gscan()
313 gScanCommand->put_u32( in wifi_start_gscan()
316 gScanCommand->put_u32( in wifi_start_gscan()
319 gScanCommand->put_u32( in wifi_start_gscan()
327 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_CHANNEL_SPEC); in wifi_start_gscan()
331 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
338 if ( gScanCommand->put_u32( in wifi_start_gscan()
341 gScanCommand->put_u32( in wifi_start_gscan()
344 gScanCommand->put_u8( in wifi_start_gscan()
351 gScanCommand->attr_end(nl_channelSpec); in wifi_start_gscan()
353 gScanCommand->attr_end(nl_channelSpecList); in wifi_start_gscan()
354 gScanCommand->attr_end(nlBucketSpec); in wifi_start_gscan()
356 gScanCommand->attr_end(nlBuckectSpecList); in wifi_start_gscan()
358 gScanCommand->attr_end(nlData); in wifi_start_gscan()
384 ret = gScanCommand->requestResponse(); in wifi_start_gscan()
396 delete gScanCommand; in wifi_start_gscan()
411 GScanCommand *gScanCommand; in wifi_stop_gscan() local
436 gScanCommand = new GScanCommand( in wifi_stop_gscan()
441 if (gScanCommand == NULL) { in wifi_stop_gscan()
447 ret = gScanCommand->create(); in wifi_stop_gscan()
452 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_stop_gscan()
457 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_stop_gscan()
461 ret = gScanCommand->put_u32( in wifi_stop_gscan()
467 gScanCommand->attr_end(nlData); in wifi_stop_gscan()
469 ret = gScanCommand->requestResponse(); in wifi_stop_gscan()
479 delete gScanCommand; in wifi_stop_gscan()
491 GScanCommand *gScanCommand; in wifi_set_bssid_hotlist() local
517 gScanCommand = in wifi_set_bssid_hotlist()
523 if (gScanCommand == NULL) { in wifi_set_bssid_hotlist()
529 ret = gScanCommand->create(); in wifi_set_bssid_hotlist()
534 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_bssid_hotlist()
539 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_bssid_hotlist()
545 if (gScanCommand->put_u32( in wifi_set_bssid_hotlist()
548 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
551 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
562 gScanCommand->attr_start( in wifi_set_bssid_hotlist()
570 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
573 if (gScanCommand->put_addr( in wifi_set_bssid_hotlist()
576 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
579 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
591 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_bssid_hotlist()
594 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_bssid_hotlist()
596 gScanCommand->attr_end(nlData); in wifi_set_bssid_hotlist()
625 ret = gScanCommand->requestResponse(); in wifi_set_bssid_hotlist()
637 delete gScanCommand; in wifi_set_bssid_hotlist()
651 GScanCommand *gScanCommand; in wifi_reset_bssid_hotlist() local
677 gScanCommand = new GScanCommand( in wifi_reset_bssid_hotlist()
683 if (gScanCommand == NULL) { in wifi_reset_bssid_hotlist()
689 ret = gScanCommand->create(); in wifi_reset_bssid_hotlist()
694 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_bssid_hotlist()
699 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_bssid_hotlist()
703 ret = gScanCommand->put_u32( in wifi_reset_bssid_hotlist()
708 gScanCommand->attr_end(nlData); in wifi_reset_bssid_hotlist()
710 ret = gScanCommand->requestResponse(); in wifi_reset_bssid_hotlist()
720 delete gScanCommand; in wifi_reset_bssid_hotlist()
732 GScanCommand *gScanCommand; in wifi_set_significant_change_handler() local
758 gScanCommand = new GScanCommand( in wifi_set_significant_change_handler()
763 if (gScanCommand == NULL) { in wifi_set_significant_change_handler()
769 ret = gScanCommand->create(); in wifi_set_significant_change_handler()
774 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_significant_change_handler()
779 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_significant_change_handler()
786 if (gScanCommand->put_u32( in wifi_set_significant_change_handler()
789 gScanCommand->put_u32( in wifi_set_significant_change_handler()
792 gScanCommand->put_u32( in wifi_set_significant_change_handler()
795 gScanCommand->put_u32( in wifi_set_significant_change_handler()
798 gScanCommand->put_u32( in wifi_set_significant_change_handler()
812 gScanCommand->attr_start( in wifi_set_significant_change_handler()
820 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_significant_change_handler()
823 if ( gScanCommand->put_addr( in wifi_set_significant_change_handler()
826 gScanCommand->put_s32( in wifi_set_significant_change_handler()
829 gScanCommand->put_s32( in wifi_set_significant_change_handler()
842 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_significant_change_handler()
845 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_significant_change_handler()
847 gScanCommand->attr_end(nlData); in wifi_set_significant_change_handler()
877 ret = gScanCommand->requestResponse(); in wifi_set_significant_change_handler()
895 delete gScanCommand; in wifi_set_significant_change_handler()
904 GScanCommand *gScanCommand; in wifi_reset_significant_change_handler() local
930 gScanCommand = in wifi_reset_significant_change_handler()
937 if (gScanCommand == NULL) { in wifi_reset_significant_change_handler()
943 ret = gScanCommand->create(); in wifi_reset_significant_change_handler()
948 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_significant_change_handler()
953 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_significant_change_handler()
957 ret = gScanCommand->put_u32( in wifi_reset_significant_change_handler()
963 gScanCommand->attr_end(nlData); in wifi_reset_significant_change_handler()
965 ret = gScanCommand->requestResponse(); in wifi_reset_significant_change_handler()
975 delete gScanCommand; in wifi_reset_significant_change_handler()
987 GScanCommand *gScanCommand; in wifi_get_cached_gscan_results() local
1010 gScanCommand = new GScanCommand( in wifi_get_cached_gscan_results()
1015 if (gScanCommand == NULL) { in wifi_get_cached_gscan_results()
1020 ret = gScanCommand->allocRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1027 ret = gScanCommand->allocCachedResultsTemp(max, results); in wifi_get_cached_gscan_results()
1038 ret = gScanCommand->create(); in wifi_get_cached_gscan_results()
1043 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_cached_gscan_results()
1048 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_cached_gscan_results()
1052 if (gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1055 gScanCommand->put_u8( in wifi_get_cached_gscan_results()
1058 gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1066 gScanCommand->attr_end(nlData); in wifi_get_cached_gscan_results()
1068 retRequestRsp = gScanCommand->requestResponse(); in wifi_get_cached_gscan_results()
1082 ret = gScanCommand->copyCachedScanResults(num, results); in wifi_get_cached_gscan_results()
1099 gScanCommand->freeRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1100 delete gScanCommand; in wifi_get_cached_gscan_results()
1666 GScanCommand *gScanCommand; in wifi_set_epno_list() local
1692 gScanCommand = in wifi_set_epno_list()
1698 if (gScanCommand == NULL) { in wifi_set_epno_list()
1704 ret = gScanCommand->create(); in wifi_set_epno_list()
1711 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_epno_list()
1718 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_epno_list()
1727 if (gScanCommand->put_u32( in wifi_set_epno_list()
1730 gScanCommand->put_u32( in wifi_set_epno_list()
1733 gScanCommand->put_u32( in wifi_set_epno_list()
1736 gScanCommand->put_u32( in wifi_set_epno_list()
1739 gScanCommand->put_u32( in wifi_set_epno_list()
1742 gScanCommand->put_u32( in wifi_set_epno_list()
1745 gScanCommand->put_u32( in wifi_set_epno_list()
1748 gScanCommand->put_u32( in wifi_set_epno_list()
1751 gScanCommand->put_u32( in wifi_set_epno_list()
1761 gScanCommand->attr_start( in wifi_set_epno_list()
1772 struct nlattr *nlPnoNetwork = gScanCommand->attr_start(i); in wifi_set_epno_list()
1778 if (gScanCommand->put_string( in wifi_set_epno_list()
1781 gScanCommand->put_u8( in wifi_set_epno_list()
1784 gScanCommand->put_u8( in wifi_set_epno_list()
1792 gScanCommand->attr_end(nlPnoNetwork); in wifi_set_epno_list()
1795 gScanCommand->attr_end(nlPnoParamList); in wifi_set_epno_list()
1797 gScanCommand->attr_end(nlData); in wifi_set_epno_list()
1825 ret = gScanCommand->requestResponse(); in wifi_set_epno_list()
1837 delete gScanCommand; in wifi_set_epno_list()
1851 GScanCommand *gScanCommand; in wifi_reset_epno_list() local
1863 gScanCommand = new GScanCommand(wifiHandle, in wifi_reset_epno_list()
1867 if (gScanCommand == NULL) { in wifi_reset_epno_list()
1873 ret = gScanCommand->create(); in wifi_reset_epno_list()
1880 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_epno_list()
1887 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_epno_list()
1894 if (gScanCommand->put_u32( in wifi_reset_epno_list()
1897 gScanCommand->put_u32( in wifi_reset_epno_list()
1905 gScanCommand->attr_end(nlData); in wifi_reset_epno_list()
1907 ret = gScanCommand->requestResponse(); in wifi_reset_epno_list()
1912 delete gScanCommand; in wifi_reset_epno_list()
1924 GScanCommand *gScanCommand; in wifi_set_passpoint_list() local
1949 gScanCommand = in wifi_set_passpoint_list()
1955 if (gScanCommand == NULL) { in wifi_set_passpoint_list()
1961 ret = gScanCommand->create(); in wifi_set_passpoint_list()
1968 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_passpoint_list()
1975 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_passpoint_list()
1982 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
1985 gScanCommand->put_u32( in wifi_set_passpoint_list()
1995 gScanCommand->attr_start( in wifi_set_passpoint_list()
2006 struct nlattr *nlPasspointNetworkParam = gScanCommand->attr_start(i); in wifi_set_passpoint_list()
2012 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2015 gScanCommand->put_string( in wifi_set_passpoint_list()
2018 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2022 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2030 gScanCommand->attr_end(nlPasspointNetworkParam); in wifi_set_passpoint_list()
2033 gScanCommand->attr_end(nlPasspointNetworksParamList); in wifi_set_passpoint_list()
2035 gScanCommand->attr_end(nlData); in wifi_set_passpoint_list()
2064 ret = gScanCommand->requestResponse(); in wifi_set_passpoint_list()
2076 delete gScanCommand; in wifi_set_passpoint_list()
2090 GScanCommand *gScanCommand; in wifi_reset_passpoint_list() local
2116 gScanCommand = new GScanCommand( in wifi_reset_passpoint_list()
2122 if (gScanCommand == NULL) { in wifi_reset_passpoint_list()
2128 ret = gScanCommand->create(); in wifi_reset_passpoint_list()
2135 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_passpoint_list()
2142 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_passpoint_list()
2149 ret = gScanCommand->put_u32( in wifi_reset_passpoint_list()
2157 gScanCommand->attr_end(nlData); in wifi_reset_passpoint_list()
2159 ret = gScanCommand->requestResponse(); in wifi_reset_passpoint_list()
2169 delete gScanCommand; in wifi_reset_passpoint_list()