Lines Matching refs:wifiConfigCommand
44 WiFiConfigCommand *wifiConfigCommand; in wifi_extended_dtim_config_set() local
51 wifiConfigCommand = new WiFiConfigCommand( in wifi_extended_dtim_config_set()
57 if (wifiConfigCommand == NULL) { in wifi_extended_dtim_config_set()
63 ret = wifiConfigCommand->create(); in wifi_extended_dtim_config_set()
71 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_extended_dtim_config_set()
79 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_extended_dtim_config_set()
86 ret = wifiConfigCommand->put_u32( in wifi_extended_dtim_config_set()
93 wifiConfigCommand->attr_end(nlData); in wifi_extended_dtim_config_set()
96 wifiConfigCommand->waitForRsp(false); in wifi_extended_dtim_config_set()
97 ret = wifiConfigCommand->requestEvent(); in wifi_extended_dtim_config_set()
104 delete wifiConfigCommand; in wifi_extended_dtim_config_set()
114 WiFiConfigCommand *wifiConfigCommand; in wifi_set_country_code() local
124 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_country_code()
129 if (wifiConfigCommand == NULL) { in wifi_set_country_code()
135 ret = wifiConfigCommand->create_generic(NL80211_CMD_REQ_SET_REG); in wifi_set_country_code()
141 ret = wifiConfigCommand->put_string(NL80211_ATTR_REG_ALPHA2, country_code); in wifi_set_country_code()
148 wifiConfigCommand->waitForRsp(false); in wifi_set_country_code()
149 ret = wifiConfigCommand->requestEvent(); in wifi_set_country_code()
157 delete wifiConfigCommand; in wifi_set_country_code()
167 WiFiConfigCommand *wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor() local
173 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
178 if (wifiConfigCommand == NULL) { in wifi_set_beacon_wifi_iface_stats_averaging_factor()
184 ret = wifiConfigCommand->create(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
192 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
200 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
207 if (wifiConfigCommand->put_u32( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
213 wifiConfigCommand->attr_end(nlData); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
216 wifiConfigCommand->waitForRsp(false); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
217 ret = wifiConfigCommand->requestEvent(); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
225 delete wifiConfigCommand; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
234 WiFiConfigCommand *wifiConfigCommand; in wifi_set_guard_time() local
241 wifiConfigCommand = new WiFiConfigCommand( in wifi_set_guard_time()
246 if (wifiConfigCommand == NULL) { in wifi_set_guard_time()
252 ret = wifiConfigCommand->create(); in wifi_set_guard_time()
259 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_set_guard_time()
266 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_guard_time()
273 if (wifiConfigCommand->put_u32( in wifi_set_guard_time()
278 wifiConfigCommand->attr_end(nlData); in wifi_set_guard_time()
281 wifiConfigCommand->waitForRsp(false); in wifi_set_guard_time()
282 ret = wifiConfigCommand->requestEvent(); in wifi_set_guard_time()
289 delete wifiConfigCommand; in wifi_set_guard_time()
297 WiFiConfigCommand *wifiConfigCommand; in wifi_select_tx_power_scenario() local
305 wifiConfigCommand = new WiFiConfigCommand( in wifi_select_tx_power_scenario()
310 if (wifiConfigCommand == NULL) { in wifi_select_tx_power_scenario()
316 ret = wifiConfigCommand->create(); in wifi_select_tx_power_scenario()
323 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_select_tx_power_scenario()
330 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_select_tx_power_scenario()
361 if (wifiConfigCommand->put_u32( in wifi_select_tx_power_scenario()
367 wifiConfigCommand->attr_end(nlData); in wifi_select_tx_power_scenario()
369 ret = wifiConfigCommand->requestEvent(); in wifi_select_tx_power_scenario()
376 delete wifiConfigCommand; in wifi_select_tx_power_scenario()
383 WiFiConfigCommand *wifiConfigCommand; in wifi_reset_tx_power_scenario() local
388 wifiConfigCommand = new WiFiConfigCommand( in wifi_reset_tx_power_scenario()
393 if (wifiConfigCommand == NULL) { in wifi_reset_tx_power_scenario()
399 ret = wifiConfigCommand->create(); in wifi_reset_tx_power_scenario()
406 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_reset_tx_power_scenario()
413 nlData = wifiConfigCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_reset_tx_power_scenario()
420 if (wifiConfigCommand->put_u32(QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SAR_ENABLE, in wifi_reset_tx_power_scenario()
425 wifiConfigCommand->attr_end(nlData); in wifi_reset_tx_power_scenario()
427 ret = wifiConfigCommand->requestEvent(); in wifi_reset_tx_power_scenario()
434 delete wifiConfigCommand; in wifi_reset_tx_power_scenario()