Lines Matching defs:body

55 	const struct wfx_hif_cnf_tx *body = buf;
57 wfx_tx_confirm_cb(wdev, body);
64 const struct wfx_hif_cnf_multi_transmit *body = buf;
67 WARN(body->num_tx_confs <= 0, "corrupted message");
68 for (i = 0; i < body->num_tx_confs; i++)
69 wfx_tx_confirm_cb(wdev, &body->tx_conf_payload[i]);
76 const struct wfx_hif_ind_startup *body = buf;
78 if (body->status || body->firmware_type > 4) {
82 memcpy(&wdev->hw_caps, body, sizeof(struct wfx_hif_ind_startup));
101 const struct wfx_hif_ind_rx *body = buf;
108 wfx_rx_cb(wvif, body, skb);
117 const struct wfx_hif_ind_event *body = buf;
118 int type = le32_to_cpu(body->event_id);
127 wfx_event_report_rssi(wvif, body->event_data.rcpi_rssi);
138 le32_to_cpu(body->event_data.ps_mode_error));
165 const struct wfx_hif_ind_scan_cmpl *body = buf;
172 wfx_scan_complete(wvif, body->num_channels_completed);
194 const struct wfx_hif_ind_suspend_resume_tx *body = buf;
197 if (body->bc_mc_only) {
203 if (body->resume)
208 WARN(body->peer_sta_set, "misunderstood indication");
210 if (body->resume)
222 const struct wfx_hif_ind_generic *body = buf;
223 int type = le32_to_cpu(body->type);
229 dev_info(wdev->dev, "firmware says: %s\n", (char *)&body->data);
236 body->data.rx_stats.current_temp);
237 memcpy(&wdev->rx_stats, &body->data.rx_stats, sizeof(wdev->rx_stats));
242 memcpy(&wdev->tx_power_loop_info, &body->data.tx_power_loop_info,
299 const struct wfx_hif_ind_error *body = buf;
300 int type = le32_to_cpu(body->type);
301 int param = (s8)body->data[0];
325 const struct wfx_hif_ind_exception *body = buf;
326 int type = le32_to_cpu(body->type);
329 dev_err(wdev->dev, "firmware assert %d\n", le32_to_cpup((__le32 *)body->data));
369 wfx_hif_receive_indication(wdev, hif, hif->body, skb);
375 wfx_hif_generic_confirm(wdev, hif, hif->body);
381 hif_handlers[i].handler(wdev, hif, hif->body);