Lines Matching refs:adapter

48 	struct mwifiex_adapter *adapter = priv->adapter;  in mwifiex_process_cmdresp_error()  local
52 mwifiex_dbg(adapter, ERROR, in mwifiex_process_cmdresp_error()
56 if (adapter->curr_cmd->wait_q_enabled) in mwifiex_process_cmdresp_error()
57 adapter->cmd_wait_q.status = -1; in mwifiex_process_cmdresp_error()
62 mwifiex_dbg(adapter, ERROR, in mwifiex_process_cmdresp_error()
69 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
75 spin_lock_irqsave(&adapter->scan_pending_q_lock, flags); in mwifiex_process_cmdresp_error()
77 &adapter->scan_pending_q, list) { in mwifiex_process_cmdresp_error()
79 spin_unlock_irqrestore(&adapter->scan_pending_q_lock, in mwifiex_process_cmdresp_error()
81 mwifiex_insert_cmd_to_free_q(adapter, cmd_node); in mwifiex_process_cmdresp_error()
82 spin_lock_irqsave(&adapter->scan_pending_q_lock, flags); in mwifiex_process_cmdresp_error()
84 spin_unlock_irqrestore(&adapter->scan_pending_q_lock, flags); in mwifiex_process_cmdresp_error()
86 spin_lock_irqsave(&adapter->mwifiex_cmd_lock, flags); in mwifiex_process_cmdresp_error()
87 adapter->scan_processing = false; in mwifiex_process_cmdresp_error()
88 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, flags); in mwifiex_process_cmdresp_error()
95 mwifiex_dbg(adapter, MSG, in mwifiex_process_cmdresp_error()
103 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_process_cmdresp_error()
105 spin_lock_irqsave(&adapter->mwifiex_cmd_lock, flags); in mwifiex_process_cmdresp_error()
106 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp_error()
107 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, flags); in mwifiex_process_cmdresp_error()
192 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_snmp_mib()
202 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_snmp_mib()
207 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_snmp_mib()
212 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_snmp_mib()
217 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_snmp_mib()
319 if (priv->adapter->fw_api_ver == MWIFIEX_FW_V15) { in mwifiex_ret_tx_rate_cfg()
400 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_tx_power_cfg() local
422 if (adapter->hw_status == MWIFIEX_HW_STATUS_INITIALIZING) in mwifiex_ret_tx_power_cfg()
436 mwifiex_dbg(adapter, ERROR, in mwifiex_ret_tx_power_cfg()
441 mwifiex_dbg(adapter, INFO, in mwifiex_ret_tx_power_cfg()
465 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_rf_tx_power()
481 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_rf_antenna() local
483 if (adapter->hw_dev_mcs_support == HT_STREAM_2X2) in mwifiex_ret_rf_antenna()
484 mwifiex_dbg(adapter, INFO, in mwifiex_ret_rf_antenna()
492 mwifiex_dbg(adapter, INFO, in mwifiex_ret_rf_antenna()
513 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_mac_address()
561 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_802_11_deauthenticate() local
563 adapter->dbg.num_cmd_deauth++; in mwifiex_ret_802_11_deauthenticate()
598 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11_key_material_v1()
630 mwifiex_dbg(priv->adapter, INFO, "info: key: GTK is set\n"); in mwifiex_ret_802_11_key_material_v2()
655 if (priv->adapter->key_api_major_ver == KEY_API_VER_MAJOR_V2) in mwifiex_ret_802_11_key_material()
677 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_802_11d_domain_info()
682 mwifiex_dbg(priv->adapter, FATAL, in mwifiex_ret_802_11d_domain_info()
694 mwifiex_dbg(priv->adapter, ERROR, in mwifiex_ret_802_11d_domain_info()
857 mwifiex_dbg(priv->adapter, INFO, in mwifiex_ret_ibss_coalescing_status()
862 mwifiex_dbg(priv->adapter, FATAL, "new BSSID is NULL\n"); in mwifiex_ret_ibss_coalescing_status()
898 mwifiex_dbg(priv->adapter, MSG, in mwifiex_ret_tdls_oper()
902 mwifiex_dbg(priv->adapter, ERROR, in mwifiex_ret_tdls_oper()
906 mwifiex_dbg(priv->adapter, MSG, in mwifiex_ret_tdls_oper()
913 mwifiex_dbg(priv->adapter, ERROR, in mwifiex_ret_tdls_oper()
919 mwifiex_dbg(priv->adapter, MSG, in mwifiex_ret_tdls_oper()
926 mwifiex_dbg(priv->adapter, ERROR, in mwifiex_ret_tdls_oper()
932 mwifiex_dbg(priv->adapter, MSG, in mwifiex_ret_tdls_oper()
938 mwifiex_dbg(priv->adapter, ERROR, in mwifiex_ret_tdls_oper()
956 mwifiex_dbg(priv->adapter, EVENT, in mwifiex_ret_subsc_evt()
989 mwifiex_dbg(priv->adapter, ERROR, "Cal data cmd resp failed\n"); in mwifiex_ret_cfg_data()
1000 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_sdio_rx_aggr_cfg() local
1004 adapter->sdio_rx_aggr_enable = cfg->enable; in mwifiex_ret_sdio_rx_aggr_cfg()
1005 adapter->sdio_rx_block_size = le16_to_cpu(cfg->block_size); in mwifiex_ret_sdio_rx_aggr_cfg()
1042 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_sta_cmdresp() local
1043 void *data_buf = adapter->curr_cmd->data_buf; in mwifiex_process_sta_cmdresp()
1071 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()
1075 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()
1079 mwifiex_dbg(adapter, CMD, in mwifiex_process_sta_cmdresp()
1154 if (adapter->iface_type == MWIFIEX_USB && in mwifiex_process_sta_cmdresp()
1155 adapter->usb_mc_setup) { in mwifiex_process_sta_cmdresp()
1156 if (adapter->if_ops.multi_port_resync) in mwifiex_process_sta_cmdresp()
1157 adapter->if_ops. in mwifiex_process_sta_cmdresp()
1158 multi_port_resync(adapter); in mwifiex_process_sta_cmdresp()
1159 adapter->usb_mc_setup = false; in mwifiex_process_sta_cmdresp()
1160 adapter->tx_lock_flag = false; in mwifiex_process_sta_cmdresp()
1164 adapter->tx_buf_size = (u16) le16_to_cpu(resp->params. in mwifiex_process_sta_cmdresp()
1166 adapter->tx_buf_size = (adapter->tx_buf_size in mwifiex_process_sta_cmdresp()
1169 adapter->curr_tx_buf_size = adapter->tx_buf_size; in mwifiex_process_sta_cmdresp()
1170 mwifiex_dbg(adapter, CMD, "cmd: curr_tx_buf_size=%d\n", in mwifiex_process_sta_cmdresp()
1171 adapter->curr_tx_buf_size); in mwifiex_process_sta_cmdresp()
1173 if (adapter->if_ops.update_mp_end_port) in mwifiex_process_sta_cmdresp()
1174 adapter->if_ops.update_mp_end_port(adapter, in mwifiex_process_sta_cmdresp()
1211 adapter->tx_lock_flag = false; in mwifiex_process_sta_cmdresp()
1212 adapter->pps_uapsd_mode = false; in mwifiex_process_sta_cmdresp()
1213 adapter->delay_null_pkt = false; in mwifiex_process_sta_cmdresp()
1242 mwifiex_dbg(adapter, ERROR, in mwifiex_process_sta_cmdresp()