Lines Matching refs:wifiConfigCommand

47     WiFiConfigCommand *wifiConfigCommand;  in wifi_extended_dtim_config_set()  local
54 wifiConfigCommand = new WiFiConfigCommand( in wifi_extended_dtim_config_set()
60 if (wifiConfigCommand == NULL) { in wifi_extended_dtim_config_set()
66 ret = wifiConfigCommand->create(); in wifi_extended_dtim_config_set()
74 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_extended_dtim_config_set()
82 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_extended_dtim_config_set()
89 ret = wifiConfigCommand->put_u32( in wifi_extended_dtim_config_set()
96 wifiConfigCommand->attr_end(nlData); in wifi_extended_dtim_config_set()
99 wifiConfigCommand->waitForRsp(false); in wifi_extended_dtim_config_set()
100 ret = wifiConfigCommand->requestEvent(); in wifi_extended_dtim_config_set()
107 delete wifiConfigCommand; in wifi_extended_dtim_config_set()
125 WiFiConfigCommand *wifiConfigCommand; in wifi_set_country_code() local
136 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_country_code()
141 if (wifiConfigCommand == NULL) { in wifi_set_country_code()
147 ret = wifiConfigCommand->create_generic(NL80211_CMD_REQ_SET_REG); in wifi_set_country_code()
153 ret = wifiConfigCommand->put_string(NL80211_ATTR_REG_ALPHA2, country_code); in wifi_set_country_code()
161 ret = wifiConfigCommand->put_u32(NL80211_ATTR_USER_REG_HINT_TYPE, in wifi_set_country_code()
172 wifiConfigCommand->waitForRsp(false); in wifi_set_country_code()
173 ret = wifiConfigCommand->requestEvent(); in wifi_set_country_code()
181 delete wifiConfigCommand; in wifi_set_country_code()
191 WiFiConfigCommand *wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor() local
197 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
202 if (wifiConfigCommand == NULL) { in wifi_set_beacon_wifi_iface_stats_averaging_factor()
208 ret = wifiConfigCommand->create(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
216 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
224 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
231 if (wifiConfigCommand->put_u32( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
237 wifiConfigCommand->attr_end(nlData); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
240 wifiConfigCommand->waitForRsp(false); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
241 ret = wifiConfigCommand->requestEvent(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
249 delete wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
258 WiFiConfigCommand *wifiConfigCommand; in wifi_set_guard_time() local
265 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_guard_time()
270 if (wifiConfigCommand == NULL) { in wifi_set_guard_time()
276 ret = wifiConfigCommand->create(); in wifi_set_guard_time()
283 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_guard_time()
290 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_guard_time()
297 if (wifiConfigCommand->put_u32( in wifi_set_guard_time()
302 wifiConfigCommand->attr_end(nlData); in wifi_set_guard_time()
305 wifiConfigCommand->waitForRsp(false); in wifi_set_guard_time()
306 ret = wifiConfigCommand->requestEvent(); in wifi_set_guard_time()
313 delete wifiConfigCommand; in wifi_set_guard_time()
321 WiFiConfigCommand *wifiConfigCommand; in wifi_select_tx_power_scenario() local
329 wifiConfigCommand = new WiFiConfigCommand( in wifi_select_tx_power_scenario()
334 if (wifiConfigCommand == NULL) { in wifi_select_tx_power_scenario()
340 ret = wifiConfigCommand->create(); in wifi_select_tx_power_scenario()
347 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_select_tx_power_scenario()
354 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_select_tx_power_scenario()
393 if (wifiConfigCommand->put_u32( in wifi_select_tx_power_scenario()
399 wifiConfigCommand->attr_end(nlData); in wifi_select_tx_power_scenario()
401 ret = wifiConfigCommand->requestEvent(); in wifi_select_tx_power_scenario()
408 delete wifiConfigCommand; in wifi_select_tx_power_scenario()
415 WiFiConfigCommand *wifiConfigCommand; in wifi_reset_tx_power_scenario() local
420 wifiConfigCommand = new WiFiConfigCommand( in wifi_reset_tx_power_scenario()
425 if (wifiConfigCommand == NULL) { in wifi_reset_tx_power_scenario()
431 ret = wifiConfigCommand->create(); in wifi_reset_tx_power_scenario()
438 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_reset_tx_power_scenario()
445 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_tx_power_scenario()
452 if (wifiConfigCommand->put_u32(QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SAR_ENABLE, in wifi_reset_tx_power_scenario()
457 wifiConfigCommand->attr_end(nlData); in wifi_reset_tx_power_scenario()
459 ret = wifiConfigCommand->requestEvent(); in wifi_reset_tx_power_scenario()
466 delete wifiConfigCommand; in wifi_reset_tx_power_scenario()
473 WiFiConfigCommand *wifiConfigCommand; in wifi_set_latency_mode() local
489 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_latency_mode()
494 if (wifiConfigCommand == NULL) { in wifi_set_latency_mode()
500 ret = wifiConfigCommand->create(); in wifi_set_latency_mode()
507 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_latency_mode()
514 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_latency_mode()
537 if (wifiConfigCommand->put_u16( in wifi_set_latency_mode()
544 wifiConfigCommand->attr_end(nlData); in wifi_set_latency_mode()
547 wifiConfigCommand->waitForRsp(false); in wifi_set_latency_mode()
548 ret = wifiConfigCommand->requestEvent(); in wifi_set_latency_mode()
555 delete wifiConfigCommand; in wifi_set_latency_mode()
564 WiFiConfigCommand *wifiConfigCommand; in wifi_set_thermal_mitigation_mode() local
575 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_thermal_mitigation_mode()
580 if (wifiConfigCommand == NULL) { in wifi_set_thermal_mitigation_mode()
586 ret = wifiConfigCommand->create(); in wifi_set_thermal_mitigation_mode()
593 if (wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, in wifi_set_thermal_mitigation_mode()
599 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_thermal_mitigation_mode()
606 if (wifiConfigCommand->put_u32(QCA_WLAN_VENDOR_ATTR_THERMAL_CMD_VALUE, in wifi_set_thermal_mitigation_mode()
637 if (wifiConfigCommand->put_u32( in wifi_set_thermal_mitigation_mode()
644 if (wifiConfigCommand->put_u32( in wifi_set_thermal_mitigation_mode()
650 wifiConfigCommand->attr_end(nlData); in wifi_set_thermal_mitigation_mode()
652 wifiConfigCommand->waitForRsp(false); in wifi_set_thermal_mitigation_mode()
653 ret = wifiConfigCommand->requestEvent(); in wifi_set_thermal_mitigation_mode()
660 delete wifiConfigCommand; in wifi_set_thermal_mitigation_mode()
831 WiFiConfigCommand *wifiConfigCommand; in wifi_virtual_interface_create() local
843 wifiConfigCommand = new WiFiConfigCommand(handle, get_requestid(), 0, 0); in wifi_virtual_interface_create()
844 if (wifiConfigCommand == NULL) { in wifi_virtual_interface_create()
869 wifiConfigCommand->create_generic(NL80211_CMD_NEW_INTERFACE); in wifi_virtual_interface_create()
870 wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, wlan0_id); in wifi_virtual_interface_create()
871 wifiConfigCommand->put_string(NL80211_ATTR_IFNAME, ifname); in wifi_virtual_interface_create()
872 wifiConfigCommand->put_u32(NL80211_ATTR_IFTYPE, type); in wifi_virtual_interface_create()
874 wifiConfigCommand->waitForRsp(false); in wifi_virtual_interface_create()
875 ret = wifiConfigCommand->requestEvent(); in wifi_virtual_interface_create()
883 delete wifiConfigCommand; in wifi_virtual_interface_create()
891 WiFiConfigCommand *wifiConfigCommand; in wifi_virtual_interface_delete() local
904 wifiConfigCommand = new WiFiConfigCommand(handle, get_requestid(), 0, 0); in wifi_virtual_interface_delete()
905 if (wifiConfigCommand == NULL) { in wifi_virtual_interface_delete()
909 wifiConfigCommand->create_generic(NL80211_CMD_DEL_INTERFACE); in wifi_virtual_interface_delete()
910 wifiConfigCommand->put_u32(NL80211_ATTR_IFINDEX, if_nametoindex(ifname)); in wifi_virtual_interface_delete()
912 wifiConfigCommand->waitForRsp(false); in wifi_virtual_interface_delete()
913 ret = wifiConfigCommand->requestEvent(); in wifi_virtual_interface_delete()
921 delete wifiConfigCommand; in wifi_virtual_interface_delete()