Lines Matching refs:wifiConfigCommand

60     WiFiConfigCommand *wifiConfigCommand;  in wifi_extended_dtim_config_set()  local
67 wifiConfigCommand = new WiFiConfigCommand( in wifi_extended_dtim_config_set()
73 if (wifiConfigCommand == NULL) { in wifi_extended_dtim_config_set()
79 ret = wifiConfigCommand->create(); in wifi_extended_dtim_config_set()
87 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_extended_dtim_config_set()
95 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_extended_dtim_config_set()
103 ret = wifiConfigCommand->put_u32( in wifi_extended_dtim_config_set()
110 wifiConfigCommand->attr_end(nlData); in wifi_extended_dtim_config_set()
113 wifiConfigCommand->waitForRsp(false); in wifi_extended_dtim_config_set()
114 ret = wifiConfigCommand->requestEvent(); in wifi_extended_dtim_config_set()
121 delete wifiConfigCommand; in wifi_extended_dtim_config_set()
139 WiFiConfigCommand *wifiConfigCommand; in wifi_set_country_code() local
150 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_country_code()
155 if (wifiConfigCommand == NULL) { in wifi_set_country_code()
161 ret = wifiConfigCommand->create_generic(NL80211_CMD_REQ_SET_REG); in wifi_set_country_code()
167 ret = wifiConfigCommand->put_string(NL80211_ATTR_REG_ALPHA2, country_code); in wifi_set_country_code()
175 ret = wifiConfigCommand->put_u32(NL80211_ATTR_USER_REG_HINT_TYPE, in wifi_set_country_code()
186 wifiConfigCommand->waitForRsp(false); in wifi_set_country_code()
187 ret = wifiConfigCommand->requestEvent(); in wifi_set_country_code()
195 delete wifiConfigCommand; in wifi_set_country_code()
206 WiFiConfigCommand *wifiConfigCommand; in wifi_set_qpower() local
216 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_qpower()
222 if (wifiConfigCommand == NULL) { in wifi_set_qpower()
228 ret = wifiConfigCommand->create(); in wifi_set_qpower()
236 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_qpower()
244 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_qpower()
252 if (wifiConfigCommand->put_u8( in wifi_set_qpower()
259 wifiConfigCommand->attr_end(nlData); in wifi_set_qpower()
262 wifiConfigCommand->waitForRsp(false); in wifi_set_qpower()
263 ret = wifiConfigCommand->requestEvent(); in wifi_set_qpower()
270 delete wifiConfigCommand; in wifi_set_qpower()
281 WiFiConfigCommand *wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor() local
287 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
292 if (wifiConfigCommand == NULL) { in wifi_set_beacon_wifi_iface_stats_averaging_factor()
298 ret = wifiConfigCommand->create(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
306 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
314 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
322 if (wifiConfigCommand->put_u32( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
329 wifiConfigCommand->attr_end(nlData); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
332 wifiConfigCommand->waitForRsp(false); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
333 ret = wifiConfigCommand->requestEvent(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
341 delete wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
350 WiFiConfigCommand *wifiConfigCommand; in wifi_set_guard_time() local
357 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_guard_time()
362 if (wifiConfigCommand == NULL) { in wifi_set_guard_time()
368 ret = wifiConfigCommand->create(); in wifi_set_guard_time()
375 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_guard_time()
382 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_guard_time()
390 if (wifiConfigCommand->put_u32( in wifi_set_guard_time()
396 wifiConfigCommand->attr_end(nlData); in wifi_set_guard_time()
399 wifiConfigCommand->waitForRsp(false); in wifi_set_guard_time()
400 ret = wifiConfigCommand->requestEvent(); in wifi_set_guard_time()
407 delete wifiConfigCommand; in wifi_set_guard_time()
415 WiFiConfigCommand *wifiConfigCommand; in wifi_select_SARv01_tx_power_scenario() local
423 wifiConfigCommand = new WiFiConfigCommand( in wifi_select_SARv01_tx_power_scenario()
428 if (wifiConfigCommand == NULL) { in wifi_select_SARv01_tx_power_scenario()
434 ret = wifiConfigCommand->create(); in wifi_select_SARv01_tx_power_scenario()
441 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_select_SARv01_tx_power_scenario()
448 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_select_SARv01_tx_power_scenario()
497 if (wifiConfigCommand->put_u32( in wifi_select_SARv01_tx_power_scenario()
504 wifiConfigCommand->attr_end(nlData); in wifi_select_SARv01_tx_power_scenario()
506 ret = wifiConfigCommand->requestEvent(); in wifi_select_SARv01_tx_power_scenario()
513 delete wifiConfigCommand; in wifi_select_SARv01_tx_power_scenario()
521 WiFiConfigCommand *wifiConfigCommand; in wifi_select_SARv02_tx_power_scenario() local
529 wifiConfigCommand = new WiFiConfigCommand( in wifi_select_SARv02_tx_power_scenario()
534 if (wifiConfigCommand == NULL) { in wifi_select_SARv02_tx_power_scenario()
540 ret = wifiConfigCommand->create(); in wifi_select_SARv02_tx_power_scenario()
547 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_select_SARv02_tx_power_scenario()
554 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_select_SARv02_tx_power_scenario()
561 if (wifiConfigCommand->put_u32( in wifi_select_SARv02_tx_power_scenario()
569 if (wifiConfigCommand->put_u32( in wifi_select_SARv02_tx_power_scenario()
616 nlSpecList = wifiConfigCommand->attr_start(QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SPEC); in wifi_select_SARv02_tx_power_scenario()
626 nlSpec = wifiConfigCommand->attr_start(0); in wifi_select_SARv02_tx_power_scenario()
631 if (wifiConfigCommand->put_u32( in wifi_select_SARv02_tx_power_scenario()
640 if (wifiConfigCommand->put_u32( in wifi_select_SARv02_tx_power_scenario()
649 wifiConfigCommand->attr_end(nlSpec); in wifi_select_SARv02_tx_power_scenario()
654 wifiConfigCommand->attr_end(nlSpecList); in wifi_select_SARv02_tx_power_scenario()
656 wifiConfigCommand->attr_end(nlData); in wifi_select_SARv02_tx_power_scenario()
658 ret = wifiConfigCommand->requestEvent(); in wifi_select_SARv02_tx_power_scenario()
665 delete wifiConfigCommand; in wifi_select_SARv02_tx_power_scenario()
695 WiFiConfigCommand *wifiConfigCommand; in wifi_reset_tx_power_scenario() local
700 wifiConfigCommand = new WiFiConfigCommand( in wifi_reset_tx_power_scenario()
705 if (wifiConfigCommand == NULL) { in wifi_reset_tx_power_scenario()
711 ret = wifiConfigCommand->create(); in wifi_reset_tx_power_scenario()
718 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_reset_tx_power_scenario()
725 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_tx_power_scenario()
733 if (wifiConfigCommand->put_u32(QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SAR_ENABLE, in wifi_reset_tx_power_scenario()
739 wifiConfigCommand->attr_end(nlData); in wifi_reset_tx_power_scenario()
741 ret = wifiConfigCommand->requestEvent(); in wifi_reset_tx_power_scenario()
748 delete wifiConfigCommand; in wifi_reset_tx_power_scenario()
757 WiFiConfigCommand *wifiConfigCommand; in wifi_set_thermal_mitigation_mode() local
768 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_thermal_mitigation_mode()
773 if (wifiConfigCommand == NULL) { in wifi_set_thermal_mitigation_mode()
779 ret = wifiConfigCommand->create(); in wifi_set_thermal_mitigation_mode()
786 if (wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, in wifi_set_thermal_mitigation_mode()
793 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_thermal_mitigation_mode()
801 if (wifiConfigCommand->put_u32(QCA_WLAN_VENDOR_ATTR_THERMAL_CMD_VALUE, in wifi_set_thermal_mitigation_mode()
833 if (wifiConfigCommand->put_u32( in wifi_set_thermal_mitigation_mode()
841 if (wifiConfigCommand->put_u32( in wifi_set_thermal_mitigation_mode()
848 wifiConfigCommand->attr_end(nlData); in wifi_set_thermal_mitigation_mode()
850 wifiConfigCommand->waitForRsp(false); in wifi_set_thermal_mitigation_mode()
851 ret = wifiConfigCommand->requestEvent(); in wifi_set_thermal_mitigation_mode()
858 delete wifiConfigCommand; in wifi_set_thermal_mitigation_mode()
1032 WiFiConfigCommand *wifiConfigCommand; in wifi_set_interface_mode() local
1036 wifiConfigCommand = new WiFiConfigCommand(handle, get_requestid(), 0, 0); in wifi_set_interface_mode()
1037 if (wifiConfigCommand == NULL) { in wifi_set_interface_mode()
1062 wifiConfigCommand->create_generic(NL80211_CMD_SET_INTERFACE); in wifi_set_interface_mode()
1063 wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, if_nametoindex(ifname)); in wifi_set_interface_mode()
1064 wifiConfigCommand->put_u32(NL80211_ATTR_IFTYPE, type); in wifi_set_interface_mode()
1067 wifiConfigCommand->waitForRsp(false); in wifi_set_interface_mode()
1068 ret = wifiConfigCommand->requestEvent(); in wifi_set_interface_mode()
1074 delete wifiConfigCommand; in wifi_set_interface_mode()
1083 WiFiConfigCommand *wifiConfigCommand; in wifi_virtual_interface_create() local
1097 wifiConfigCommand = new WiFiConfigCommand(handle, get_requestid(), 0, 0); in wifi_virtual_interface_create()
1098 if (wifiConfigCommand == NULL) { in wifi_virtual_interface_create()
1123 wifiConfigCommand->create_generic(NL80211_CMD_NEW_INTERFACE); in wifi_virtual_interface_create()
1124 wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX,info->interfaces[0]->id); in wifi_virtual_interface_create()
1125 wifiConfigCommand->put_string(NL80211_ATTR_IFNAME, ifname); in wifi_virtual_interface_create()
1126 wifiConfigCommand->put_u32(NL80211_ATTR_IFTYPE, type); in wifi_virtual_interface_create()
1128 wifiConfigCommand->waitForRsp(false); in wifi_virtual_interface_create()
1129 ret = wifiConfigCommand->requestEvent(); in wifi_virtual_interface_create()
1158 delete wifiConfigCommand; in wifi_virtual_interface_create()
1166 WiFiConfigCommand *wifiConfigCommand; in wifi_virtual_interface_delete() local
1177 wifiConfigCommand = new WiFiConfigCommand(handle, get_requestid(), 0, 0); in wifi_virtual_interface_delete()
1178 if (wifiConfigCommand == NULL) { in wifi_virtual_interface_delete()
1182 wifiConfigCommand->create_generic(NL80211_CMD_DEL_INTERFACE); in wifi_virtual_interface_delete()
1183 wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, if_nametoindex(ifname)); in wifi_virtual_interface_delete()
1185 wifiConfigCommand->waitForRsp(false); in wifi_virtual_interface_delete()
1186 ret = wifiConfigCommand->requestEvent(); in wifi_virtual_interface_delete()
1194 delete wifiConfigCommand; in wifi_virtual_interface_delete()
1206 WiFiConfigCommand *wifiConfigCommand; in wifi_set_latency_mode() local
1234 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_latency_mode()
1240 if (wifiConfigCommand == NULL) { in wifi_set_latency_mode()
1246 ret = wifiConfigCommand->create(); in wifi_set_latency_mode()
1254 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_latency_mode()
1262 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_latency_mode()
1270 if (wifiConfigCommand->put_u16( in wifi_set_latency_mode()
1277 wifiConfigCommand->attr_end(nlData); in wifi_set_latency_mode()
1280 wifiConfigCommand->waitForRsp(false); in wifi_set_latency_mode()
1281 ret = wifiConfigCommand->requestEvent(); in wifi_set_latency_mode()
1288 delete wifiConfigCommand; in wifi_set_latency_mode()
1299 WiFiConfigCommand *wifiConfigCommand; in wifi_multi_sta_set_primary_connection() local
1309 wifiConfigCommand = new WiFiConfigCommand( in wifi_multi_sta_set_primary_connection()
1315 if (wifiConfigCommand == NULL) { in wifi_multi_sta_set_primary_connection()
1321 ret = wifiConfigCommand->create(); in wifi_multi_sta_set_primary_connection()
1329 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_multi_sta_set_primary_connection()
1337 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_multi_sta_set_primary_connection()
1345 if (wifiConfigCommand->put_u8( in wifi_multi_sta_set_primary_connection()
1352 wifiConfigCommand->attr_end(nlData); in wifi_multi_sta_set_primary_connection()
1355 wifiConfigCommand->waitForRsp(false); in wifi_multi_sta_set_primary_connection()
1356 ret = wifiConfigCommand->requestEvent(); in wifi_multi_sta_set_primary_connection()
1363 delete wifiConfigCommand; in wifi_multi_sta_set_primary_connection()
1375 WiFiConfigCommand *wifiConfigCommand; in wifi_multi_sta_set_use_case() local
1404 wifiConfigCommand = new WiFiConfigCommand( in wifi_multi_sta_set_use_case()
1410 if (wifiConfigCommand == NULL) { in wifi_multi_sta_set_use_case()
1416 ret = wifiConfigCommand->create(); in wifi_multi_sta_set_use_case()
1424 if (wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, in wifi_multi_sta_set_use_case()
1432 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_multi_sta_set_use_case()
1440 if (wifiConfigCommand->put_u8( in wifi_multi_sta_set_use_case()
1447 wifiConfigCommand->attr_end(nlData); in wifi_multi_sta_set_use_case()
1450 wifiConfigCommand->waitForRsp(false); in wifi_multi_sta_set_use_case()
1451 ret = wifiConfigCommand->requestEvent(); in wifi_multi_sta_set_use_case()
1458 delete wifiConfigCommand; in wifi_multi_sta_set_use_case()
1468 WiFiConfigCommand *wifiConfigCommand; in wifi_set_voip_mode() local
1481 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_voip_mode()
1487 if (wifiConfigCommand == NULL) { in wifi_set_voip_mode()
1493 ret = wifiConfigCommand->create(); in wifi_set_voip_mode()
1501 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_voip_mode()
1509 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_voip_mode()
1516 if (wifiConfigCommand->put_u8( in wifi_set_voip_mode()
1522 wifiConfigCommand->attr_end(nlData); in wifi_set_voip_mode()
1525 wifiConfigCommand->waitForRsp(false); in wifi_set_voip_mode()
1526 ret = wifiConfigCommand->requestEvent(); in wifi_set_voip_mode()
1533 delete wifiConfigCommand; in wifi_set_voip_mode()