Lines Matching refs:gScanCommand
99 GScanCommand *gScanCommand; in wifi_get_valid_channels() local
117 gScanCommand = new GScanCommand( in wifi_get_valid_channels()
122 if (gScanCommand == NULL) { in wifi_get_valid_channels()
127 ret = gScanCommand->create(); in wifi_get_valid_channels()
132 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_valid_channels()
137 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_valid_channels()
141 if (gScanCommand->put_u32( in wifi_get_valid_channels()
144 gScanCommand->put_u32( in wifi_get_valid_channels()
147 gScanCommand->put_u32( in wifi_get_valid_channels()
153 gScanCommand->attr_end(nlData); in wifi_get_valid_channels()
155 gScanCommand->setMaxChannels(max_channels); in wifi_get_valid_channels()
156 gScanCommand->setChannels(channels); in wifi_get_valid_channels()
157 gScanCommand->setNumChannelsPtr(num_channels); in wifi_get_valid_channels()
160 ret = gScanCommand->requestResponse(); in wifi_get_valid_channels()
165 delete gScanCommand; in wifi_get_valid_channels()
197 GScanCommand *gScanCommand; in wifi_start_gscan() local
224 gScanCommand = new GScanCommand( in wifi_start_gscan()
229 if (gScanCommand == NULL) { in wifi_start_gscan()
235 ret = gScanCommand->create(); in wifi_start_gscan()
240 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_start_gscan()
245 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_gscan()
257 if (gScanCommand->put_u32( in wifi_start_gscan()
260 gScanCommand->put_u32( in wifi_start_gscan()
263 gScanCommand->put_u32( in wifi_start_gscan()
266 gScanCommand->put_u8( in wifi_start_gscan()
269 gScanCommand->put_u8( in wifi_start_gscan()
272 gScanCommand->put_u8( in wifi_start_gscan()
280 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_BUCKET_SPEC); in wifi_start_gscan()
294 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
295 if (gScanCommand->put_u8( in wifi_start_gscan()
298 gScanCommand->put_u8( in wifi_start_gscan()
301 gScanCommand->put_u32( in wifi_start_gscan()
304 gScanCommand->put_u8( in wifi_start_gscan()
307 gScanCommand->put_u32( 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()
324 gScanCommand->attr_start(QCA_WLAN_VENDOR_ATTR_GSCAN_CHANNEL_SPEC); in wifi_start_gscan()
328 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
335 if ( gScanCommand->put_u32( in wifi_start_gscan()
338 gScanCommand->put_u32( in wifi_start_gscan()
341 gScanCommand->put_u8( in wifi_start_gscan()
348 gScanCommand->attr_end(nl_channelSpec); in wifi_start_gscan()
350 gScanCommand->attr_end(nl_channelSpecList); in wifi_start_gscan()
351 gScanCommand->attr_end(nlBucketSpec); in wifi_start_gscan()
353 gScanCommand->attr_end(nlBuckectSpecList); in wifi_start_gscan()
355 gScanCommand->attr_end(nlData); in wifi_start_gscan()
381 ret = gScanCommand->requestResponse(); in wifi_start_gscan()
393 delete gScanCommand; in wifi_start_gscan()
408 GScanCommand *gScanCommand; in wifi_stop_gscan() local
433 gScanCommand = new GScanCommand( in wifi_stop_gscan()
438 if (gScanCommand == NULL) { in wifi_stop_gscan()
444 ret = gScanCommand->create(); in wifi_stop_gscan()
449 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_stop_gscan()
454 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_stop_gscan()
458 ret = gScanCommand->put_u32( in wifi_stop_gscan()
464 gScanCommand->attr_end(nlData); in wifi_stop_gscan()
466 ret = gScanCommand->requestResponse(); in wifi_stop_gscan()
476 delete gScanCommand; in wifi_stop_gscan()
488 GScanCommand *gScanCommand; in wifi_set_bssid_hotlist() local
514 gScanCommand = in wifi_set_bssid_hotlist()
520 if (gScanCommand == NULL) { in wifi_set_bssid_hotlist()
526 ret = gScanCommand->create(); in wifi_set_bssid_hotlist()
531 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_bssid_hotlist()
536 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_bssid_hotlist()
542 if (gScanCommand->put_u32( in wifi_set_bssid_hotlist()
545 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
548 gScanCommand->put_u32( in wifi_set_bssid_hotlist()
559 gScanCommand->attr_start( in wifi_set_bssid_hotlist()
567 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
570 if (gScanCommand->put_addr( in wifi_set_bssid_hotlist()
573 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
576 gScanCommand->put_s32( in wifi_set_bssid_hotlist()
588 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_bssid_hotlist()
591 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_bssid_hotlist()
593 gScanCommand->attr_end(nlData); in wifi_set_bssid_hotlist()
622 ret = gScanCommand->requestResponse(); in wifi_set_bssid_hotlist()
634 delete gScanCommand; in wifi_set_bssid_hotlist()
648 GScanCommand *gScanCommand; in wifi_reset_bssid_hotlist() local
674 gScanCommand = new GScanCommand( in wifi_reset_bssid_hotlist()
680 if (gScanCommand == NULL) { in wifi_reset_bssid_hotlist()
686 ret = gScanCommand->create(); in wifi_reset_bssid_hotlist()
691 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_bssid_hotlist()
696 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_bssid_hotlist()
700 ret = gScanCommand->put_u32( in wifi_reset_bssid_hotlist()
705 gScanCommand->attr_end(nlData); in wifi_reset_bssid_hotlist()
707 ret = gScanCommand->requestResponse(); in wifi_reset_bssid_hotlist()
717 delete gScanCommand; in wifi_reset_bssid_hotlist()
729 GScanCommand *gScanCommand; in wifi_set_significant_change_handler() local
755 gScanCommand = new GScanCommand( in wifi_set_significant_change_handler()
760 if (gScanCommand == NULL) { in wifi_set_significant_change_handler()
766 ret = gScanCommand->create(); in wifi_set_significant_change_handler()
771 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_significant_change_handler()
776 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_significant_change_handler()
783 if (gScanCommand->put_u32( in wifi_set_significant_change_handler()
786 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()
809 gScanCommand->attr_start( in wifi_set_significant_change_handler()
817 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_significant_change_handler()
820 if ( gScanCommand->put_addr( in wifi_set_significant_change_handler()
823 gScanCommand->put_s32( in wifi_set_significant_change_handler()
826 gScanCommand->put_s32( in wifi_set_significant_change_handler()
839 gScanCommand->attr_end(nlApThresholdParam); in wifi_set_significant_change_handler()
842 gScanCommand->attr_end(nlApThresholdParamList); in wifi_set_significant_change_handler()
844 gScanCommand->attr_end(nlData); in wifi_set_significant_change_handler()
874 ret = gScanCommand->requestResponse(); in wifi_set_significant_change_handler()
892 delete gScanCommand; in wifi_set_significant_change_handler()
901 GScanCommand *gScanCommand; in wifi_reset_significant_change_handler() local
927 gScanCommand = in wifi_reset_significant_change_handler()
934 if (gScanCommand == NULL) { in wifi_reset_significant_change_handler()
940 ret = gScanCommand->create(); in wifi_reset_significant_change_handler()
945 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_significant_change_handler()
950 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_significant_change_handler()
954 ret = gScanCommand->put_u32( in wifi_reset_significant_change_handler()
960 gScanCommand->attr_end(nlData); in wifi_reset_significant_change_handler()
962 ret = gScanCommand->requestResponse(); in wifi_reset_significant_change_handler()
972 delete gScanCommand; in wifi_reset_significant_change_handler()
984 GScanCommand *gScanCommand; in wifi_get_cached_gscan_results() local
1007 gScanCommand = new GScanCommand( in wifi_get_cached_gscan_results()
1012 if (gScanCommand == NULL) { in wifi_get_cached_gscan_results()
1017 ret = gScanCommand->allocRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1024 ret = gScanCommand->allocCachedResultsTemp(max, results); in wifi_get_cached_gscan_results()
1035 ret = gScanCommand->create(); in wifi_get_cached_gscan_results()
1040 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_get_cached_gscan_results()
1045 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_cached_gscan_results()
1049 if (gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1052 gScanCommand->put_u8( in wifi_get_cached_gscan_results()
1055 gScanCommand->put_u32( in wifi_get_cached_gscan_results()
1063 gScanCommand->attr_end(nlData); in wifi_get_cached_gscan_results()
1065 retRequestRsp = gScanCommand->requestResponse(); in wifi_get_cached_gscan_results()
1079 ret = gScanCommand->copyCachedScanResults(num, results); in wifi_get_cached_gscan_results()
1096 gScanCommand->freeRspParams(eGScanGetCachedResultsRspParams); in wifi_get_cached_gscan_results()
1097 delete gScanCommand; in wifi_get_cached_gscan_results()
1663 GScanCommand *gScanCommand; in wifi_set_epno_list() local
1689 gScanCommand = in wifi_set_epno_list()
1695 if (gScanCommand == NULL) { in wifi_set_epno_list()
1701 ret = gScanCommand->create(); in wifi_set_epno_list()
1708 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_epno_list()
1715 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_epno_list()
1724 if (gScanCommand->put_u32( in wifi_set_epno_list()
1727 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()
1758 gScanCommand->attr_start( in wifi_set_epno_list()
1769 struct nlattr *nlPnoNetwork = gScanCommand->attr_start(i); in wifi_set_epno_list()
1775 if (gScanCommand->put_string( in wifi_set_epno_list()
1778 gScanCommand->put_u8( in wifi_set_epno_list()
1781 gScanCommand->put_u8( in wifi_set_epno_list()
1789 gScanCommand->attr_end(nlPnoNetwork); in wifi_set_epno_list()
1792 gScanCommand->attr_end(nlPnoParamList); in wifi_set_epno_list()
1794 gScanCommand->attr_end(nlData); in wifi_set_epno_list()
1822 ret = gScanCommand->requestResponse(); in wifi_set_epno_list()
1834 delete gScanCommand; in wifi_set_epno_list()
1848 GScanCommand *gScanCommand; in wifi_reset_epno_list() local
1860 gScanCommand = new GScanCommand(wifiHandle, in wifi_reset_epno_list()
1864 if (gScanCommand == NULL) { in wifi_reset_epno_list()
1870 ret = gScanCommand->create(); in wifi_reset_epno_list()
1877 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_epno_list()
1884 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_epno_list()
1891 if (gScanCommand->put_u32( in wifi_reset_epno_list()
1894 gScanCommand->put_u32( in wifi_reset_epno_list()
1902 gScanCommand->attr_end(nlData); in wifi_reset_epno_list()
1904 ret = gScanCommand->requestResponse(); in wifi_reset_epno_list()
1909 delete gScanCommand; in wifi_reset_epno_list()
1921 GScanCommand *gScanCommand; in wifi_set_passpoint_list() local
1946 gScanCommand = in wifi_set_passpoint_list()
1952 if (gScanCommand == NULL) { in wifi_set_passpoint_list()
1958 ret = gScanCommand->create(); in wifi_set_passpoint_list()
1965 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_set_passpoint_list()
1972 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_passpoint_list()
1979 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
1982 gScanCommand->put_u32( in wifi_set_passpoint_list()
1992 gScanCommand->attr_start( in wifi_set_passpoint_list()
2003 struct nlattr *nlPasspointNetworkParam = gScanCommand->attr_start(i); in wifi_set_passpoint_list()
2009 if (gScanCommand->put_u32( in wifi_set_passpoint_list()
2012 gScanCommand->put_string( in wifi_set_passpoint_list()
2015 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2019 gScanCommand->put_bytes( in wifi_set_passpoint_list()
2027 gScanCommand->attr_end(nlPasspointNetworkParam); in wifi_set_passpoint_list()
2030 gScanCommand->attr_end(nlPasspointNetworksParamList); in wifi_set_passpoint_list()
2032 gScanCommand->attr_end(nlData); in wifi_set_passpoint_list()
2061 ret = gScanCommand->requestResponse(); in wifi_set_passpoint_list()
2073 delete gScanCommand; in wifi_set_passpoint_list()
2087 GScanCommand *gScanCommand; in wifi_reset_passpoint_list() local
2113 gScanCommand = new GScanCommand( in wifi_reset_passpoint_list()
2119 if (gScanCommand == NULL) { in wifi_reset_passpoint_list()
2125 ret = gScanCommand->create(); in wifi_reset_passpoint_list()
2132 ret = gScanCommand->set_iface_id(ifaceInfo->name); in wifi_reset_passpoint_list()
2139 nlData = gScanCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_passpoint_list()
2146 ret = gScanCommand->put_u32( in wifi_reset_passpoint_list()
2154 gScanCommand->attr_end(nlData); in wifi_reset_passpoint_list()
2156 ret = gScanCommand->requestResponse(); in wifi_reset_passpoint_list()
2166 delete gScanCommand; in wifi_reset_passpoint_list()