Lines Matching refs:priv_cmd

8513 	android_wifi_priv_cmd priv_cmd;  in wl_android_priv_cmd()  local
8530 if (copy_from_user(&priv_cmd, ifr->ifr_data, sizeof(android_wifi_priv_cmd))) { in wl_android_priv_cmd()
8535 if ((priv_cmd.total_len > PRIVATE_COMMAND_MAX_LEN) || (priv_cmd.total_len < 0)) { in wl_android_priv_cmd()
8537 priv_cmd.total_len)); in wl_android_priv_cmd()
8542 buf_size = max(priv_cmd.total_len, PRIVATE_COMMAND_DEF_LEN); in wl_android_priv_cmd()
8549 if (copy_from_user(command, priv_cmd.buf, priv_cmd.total_len)) { in wl_android_priv_cmd()
8553 command[priv_cmd.total_len] = '\0'; in wl_android_priv_cmd()
8558 bytes_written = wl_handle_private_cmd(net, command, priv_cmd.total_len); in wl_android_priv_cmd()
8560 if ((bytes_written == 0) && (priv_cmd.total_len > 0)) { in wl_android_priv_cmd()
8563 if (bytes_written >= priv_cmd.total_len) { in wl_android_priv_cmd()
8565 " buf_size:%d \n", bytes_written, priv_cmd.total_len, buf_size)); in wl_android_priv_cmd()
8570 priv_cmd.used_len = bytes_written; in wl_android_priv_cmd()
8571 if (copy_to_user(priv_cmd.buf, command, bytes_written)) { in wl_android_priv_cmd()
9076 android_wifi_priv_cmd priv_cmd; in wl_handle_private_cmd() local
9078 bzero(&priv_cmd, sizeof(android_wifi_priv_cmd)); in wl_handle_private_cmd()
9079 priv_cmd.total_len = cmd_len; in wl_handle_private_cmd()
9094 bytes_written = wl_android_set_fwpath(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9122 bytes_written = wl_android_get_rssi(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9125 bytes_written = wl_android_get_link_speed(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9186 bytes_written = wl_android_get_band(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9189 bytes_written = wl_android_add_vendor_ie(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9192 bytes_written = wl_android_del_vendor_ie(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9242 bytes_written = wl_android_get_channel_list(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9246 bytes_written = wl_android_get_chanspec(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9250 bytes_written = wl_android_get_datarate(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9252 bytes_written = wl_android_get_80211_mode(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9254 bytes_written = wl_android_get_assoclist(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9258 bytes_written = wl_android_get_rsdb_mode(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9269 priv_cmd.total_len); in wl_handle_private_cmd()
9276 priv_cmd.total_len); in wl_handle_private_cmd()
9283 priv_cmd.total_len); in wl_handle_private_cmd()
9287 priv_cmd.total_len); in wl_handle_private_cmd()
9291 priv_cmd.total_len); in wl_handle_private_cmd()
9308 priv_cmd.total_len); in wl_handle_private_cmd()
9314 bytes_written = wl_android_get_roam_scan_control(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9320 bytes_written = wl_android_get_roam_scan_channels(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9326 bytes_written = wl_android_send_action_frame(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9329 bytes_written = wl_android_reassoc(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9332 bytes_written = wl_android_get_scan_channel_time(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9338 bytes_written = wl_android_get_scan_unassoc_time(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9344 bytes_written = wl_android_get_scan_passive_time(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9350 bytes_written = wl_android_get_scan_home_time(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9357 priv_cmd.total_len); in wl_handle_private_cmd()
9363 bytes_written = wl_android_get_scan_nprobes(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9370 priv_cmd.total_len); in wl_handle_private_cmd()
9379 bytes_written = wl_android_get_wes_mode(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9385 bytes_written = wl_android_get_okc_mode(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9391 bytes_written = wl_android_set_pmk(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9399 bytes_written = wl_android_restore_scan_params(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9414 bytes_written = wl_android_sroam_set_info(net, data, command, priv_cmd.total_len); in wl_handle_private_cmd()
9417 bytes_written = wl_android_sroam_get_info(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9431 bytes_written = wl_android_set_pno_setup(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9439 bytes_written = wls_parse_batching_cmd(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9443 bytes_written = wl_android_get_p2p_dev_addr(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9448 priv_cmd.total_len - skip); in wl_handle_private_cmd()
9459 bytes_written = wl_cfg80211_get_p2p_noa(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9465 priv_cmd.total_len - skip); in wl_handle_private_cmd()
9470 priv_cmd.total_len - skip); in wl_handle_private_cmd()
9475 command + skip, priv_cmd.total_len - skip); in wl_handle_private_cmd()
9482 priv_cmd.total_len - skip, *(command + skip - 2) - '0'); in wl_handle_private_cmd()
9486 bytes_written = wl_cfg80211_get_fbt_key(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9494 priv_cmd.total_len); in wl_handle_private_cmd()
9502 priv_cmd.total_len); in wl_handle_private_cmd()
9575 bytes_written = wl_android_get_singlecore_scan(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9588 wl_android_get_tx_power(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9601 bytes_written = wl_android_get_tid(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9632 bytes_written = wl_android_set_roampref(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9639 command, priv_cmd.total_len); in wl_handle_private_cmd()
9643 bytes_written = wl_android_set_ibss_txfail_event(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9646 bytes_written = wl_android_get_ibss_peer_info(net, command, priv_cmd.total_len, in wl_handle_private_cmd()
9650 bytes_written = wl_android_get_ibss_peer_info(net, command, priv_cmd.total_len, in wl_handle_private_cmd()
9656 bytes_written = wl_android_set_ibss_ampdu(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9658 bytes_written = wl_android_set_ibss_antenna(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9685 bytes_written = wl_android_get_link_status(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9694 bytes_written = wl_android_get_wfdie_resp(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9699 bytes_written = wl_cfg80211_dfs_ap_move(net, data, command, priv_cmd.total_len); in wl_handle_private_cmd()
9703 bytes_written = wl_android_wbtext(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9708 bytes_written = wl_cfg80211_wbtext_config(net, data, command, priv_cmd.total_len); in wl_handle_private_cmd()
9714 command, priv_cmd.total_len); in wl_handle_private_cmd()
9720 command, priv_cmd.total_len); in wl_handle_private_cmd()
9726 command, priv_cmd.total_len); in wl_handle_private_cmd()
9731 priv_cmd.total_len); in wl_handle_private_cmd()
9736 priv_cmd.total_len); in wl_handle_private_cmd()
9741 priv_cmd.total_len); in wl_handle_private_cmd()
9766 bytes_written = wl_android_get_fcc_pwr_limit_2g(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9774 bytes_written = wl_cfg80211_get_sta_info(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9788 bytes_written = wl_android_get_ap_basicrate(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9796 bytes_written = wl_android_set_ap_rps_params(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9799 bytes_written = wl_android_set_ap_rps(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9802 bytes_written = wl_android_get_ap_rps(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9807 bytes_written = wl_android_set_rssi_logging(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9810 bytes_written = wl_android_get_rssi_logging(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9813 bytes_written = wl_android_get_rssi_per_ant(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9818 bytes_written = wl_cfg80211_get_bss_info(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9823 priv_cmd.total_len); in wl_handle_private_cmd()
9835 bytes_written = wl_android_set_bandsteer(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9856 bytes_written = wl_android_hogsqs(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9862 priv_cmd.total_len); in wl_handle_private_cmd()
9869 priv_cmd.total_len); in wl_handle_private_cmd()
9899 bytes_written = dhd_statlog_query(dhdp, command, priv_cmd.total_len); in wl_handle_private_cmd()
9922 priv_cmd.total_len); in wl_handle_private_cmd()
9926 bytes_written = wl_android_get_snr(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9934 bytes_written = wl_android_get_adps_mode(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9940 bytes_written = wl_android_pktlog_filter_enable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9944 bytes_written = wl_android_pktlog_filter_disable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9949 wl_android_pktlog_filter_pattern_enable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9954 wl_android_pktlog_filter_pattern_disable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9957 bytes_written = wl_android_pktlog_filter_add(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9960 bytes_written = wl_android_pktlog_filter_del(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9963 bytes_written = wl_android_pktlog_filter_info(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9966 bytes_written = wl_android_pktlog_start(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9969 bytes_written = wl_android_pktlog_stop(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9972 bytes_written = wl_android_pktlog_filter_exist(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9976 bytes_written = wl_android_pktlog_minmize_enable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9980 bytes_written = wl_android_pktlog_minmize_disable(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9984 bytes_written = wl_android_pktlog_change_size(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
9994 bytes_written = wl_android_ewp_filter(net, command, priv_cmd.total_len); in wl_handle_private_cmd()
10002 data, priv_cmd.total_len); in wl_handle_private_cmd()
10008 priv_cmd.total_len); in wl_handle_private_cmd()
10016 data, priv_cmd.total_len); in wl_handle_private_cmd()
10023 command, priv_cmd.total_len); in wl_handle_private_cmd()
10027 bytes_written = wl_android_set_channel_width(net, command, priv_cmd.total_len); in wl_handle_private_cmd()