Lines Matching refs:adapter
41 mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:", in mwifiex_check_uap_capabilties()
70 mwifiex_dbg(priv->adapter, EVENT, in mwifiex_check_uap_capabilties()
108 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_uap_event() local
110 u32 eventcause = adapter->event_cause; in mwifiex_process_uap_event()
122 (adapter->event_body + MWIFIEX_UAP_EVENT_EXTRA_HEADER); in mwifiex_process_uap_event()
147 mwifiex_dbg(adapter, ERROR, in mwifiex_process_uap_event()
168 deauth_mac = adapter->event_body + in mwifiex_process_uap_event()
190 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()
193 memcpy(priv->netdev->dev_addr, adapter->event_body + 2, in mwifiex_process_uap_event()
197 mwifiex_check_uap_capabilties(priv, adapter->event_skb); in mwifiex_process_uap_event()
201 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()
205 ctrl = le16_to_cpu(*(__le16 *)adapter->event_body); in mwifiex_process_uap_event()
206 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()
210 adapter->tx_buf_size = in mwifiex_process_uap_event()
211 min_t(u16, adapter->curr_tx_buf_size, ctrl); in mwifiex_process_uap_event()
212 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()
214 adapter->tx_buf_size); in mwifiex_process_uap_event()
218 mwifiex_dbg(adapter, EVENT, "event: ADDBA Request\n"); in mwifiex_process_uap_event()
222 adapter->event_body, false); in mwifiex_process_uap_event()
225 mwifiex_dbg(adapter, EVENT, "event: DELBA Request\n"); in mwifiex_process_uap_event()
227 mwifiex_11n_delete_ba_stream(priv, adapter->event_body); in mwifiex_process_uap_event()
230 mwifiex_dbg(adapter, EVENT, "event: BA Stream timeout\n"); in mwifiex_process_uap_event()
232 ba_timeout = (void *)adapter->event_body; in mwifiex_process_uap_event()
237 mwifiex_dbg(adapter, EVENT, "event: EXT_SCAN Report\n"); in mwifiex_process_uap_event()
238 if (adapter->ext_scan) in mwifiex_process_uap_event()
240 adapter->event_skb->data); in mwifiex_process_uap_event()
243 mwifiex_dbg(adapter, EVENT, "event: TX_STATUS Report\n"); in mwifiex_process_uap_event()
244 mwifiex_parse_tx_status_event(priv, adapter->event_body); in mwifiex_process_uap_event()
247 mwifiex_dbg(adapter, EVENT, "info: EVENT: SLEEP\n"); in mwifiex_process_uap_event()
249 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
251 mwifiex_check_ps_cond(adapter); in mwifiex_process_uap_event()
255 mwifiex_dbg(adapter, EVENT, "info: EVENT: AWAKE\n"); in mwifiex_process_uap_event()
256 if (!adapter->pps_uapsd_mode && in mwifiex_process_uap_event()
257 priv->media_connected && adapter->sleep_period.period) { in mwifiex_process_uap_event()
258 adapter->pps_uapsd_mode = true; in mwifiex_process_uap_event()
259 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()
262 adapter->tx_lock_flag = false; in mwifiex_process_uap_event()
263 if (adapter->pps_uapsd_mode && adapter->gen_null_pkt) { in mwifiex_process_uap_event()
265 if (adapter->data_sent || in mwifiex_process_uap_event()
266 (adapter->if_ops.is_port_ready && in mwifiex_process_uap_event()
267 !adapter->if_ops.is_port_ready(priv))) { in mwifiex_process_uap_event()
268 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
269 adapter->pm_wakeup_card_req = false; in mwifiex_process_uap_event()
270 adapter->pm_wakeup_fw_try = false; in mwifiex_process_uap_event()
277 adapter->ps_state = in mwifiex_process_uap_event()
282 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
283 adapter->pm_wakeup_card_req = false; in mwifiex_process_uap_event()
284 adapter->pm_wakeup_fw_try = false; in mwifiex_process_uap_event()
288 mwifiex_dbg(adapter, EVENT, "event: Channel Report\n"); in mwifiex_process_uap_event()
289 mwifiex_11h_handle_chanrpt_ready(priv, adapter->event_skb); in mwifiex_process_uap_event()
292 mwifiex_dbg(adapter, EVENT, "event: Radar detected\n"); in mwifiex_process_uap_event()
293 mwifiex_11h_handle_radar_detected(priv, adapter->event_skb); in mwifiex_process_uap_event()
296 dev_err(adapter->dev, "EVENT: BT coex wlan param update\n"); in mwifiex_process_uap_event()
298 adapter->event_skb); in mwifiex_process_uap_event()
301 mwifiex_dbg(adapter, EVENT, "event: TX DATA PAUSE\n"); in mwifiex_process_uap_event()
302 mwifiex_process_tx_pause_event(priv, adapter->event_skb); in mwifiex_process_uap_event()
306 mwifiex_dbg(adapter, EVENT, "event: multi-chan info\n"); in mwifiex_process_uap_event()
307 mwifiex_process_multi_chan_event(priv, adapter->event_skb); in mwifiex_process_uap_event()
311 mwifiex_dbg(adapter, EVENT, in mwifiex_process_uap_event()