Lines Matching refs:pkt

242 			struct il_rx_pkt *pkt)
244 if (pkt->hdr.flags & IL_CMD_FAILED_MSK) {
246 il_get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags);
254 il_get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags);
258 pkt->hdr.flags);
403 struct il_rx_pkt *pkt))
1254 struct il_rx_pkt *pkt;
1274 pkt = (struct il_rx_pkt *)cmd.reply_page;
1275 if (pkt->u.status != CAN_ABORT_STATUS) {
1282 D_SCAN("SCAN_ABORT ret %d.\n", pkt->u.status);
1392 struct il_rx_pkt *pkt = rxb_addr(rxb);
1394 (struct il_scanreq_notification *)pkt->u.raw;
1404 struct il_rx_pkt *pkt = rxb_addr(rxb);
1406 (struct il_scanstart_notification *)pkt->u.raw;
1419 struct il_rx_pkt *pkt = rxb_addr(rxb);
1421 (struct il_scanresults_notification *)pkt->u.raw;
1436 struct il_rx_pkt *pkt = rxb_addr(rxb);
1437 struct il_scancomplete_notification *scan_notif = (void *)pkt->u.raw;
1759 struct il_rx_pkt *pkt, bool sync)
1765 if (pkt->hdr.flags & IL_CMD_FAILED_MSK) {
1766 IL_ERR("Bad return from C_ADD_STA (0x%08X)\n", pkt->hdr.flags);
1774 switch (pkt->u.add_sta.status) {
1792 D_ASSOC("Received C_ADD_STA:(0x%08X)\n", pkt->u.add_sta.status);
1819 struct il_rx_pkt *pkt)
1823 il_process_add_sta_resp(il, addsta, pkt, false);
1830 struct il_rx_pkt *pkt = NULL;
1857 pkt = (struct il_rx_pkt *)cmd.reply_page;
1858 ret = il_process_add_sta_resp(il, sta, pkt, true);
2087 struct il_rx_pkt *pkt;
2111 pkt = (struct il_rx_pkt *)cmd.reply_page;
2112 if (pkt->hdr.flags & IL_CMD_FAILED_MSK) {
2113 IL_ERR("Bad return from C_REM_STA (0x%08X)\n", pkt->hdr.flags);
2118 switch (pkt->u.rem_sta.status) {
2640 struct il_rx_pkt *pkt = rxb_addr(rxb);
2641 struct il_spectrum_notification *report = &(pkt->u.spectrum_notif);
3274 struct il_rx_pkt *pkt = rxb_addr(rxb);
3275 u16 sequence = le16_to_cpu(pkt->hdr.sequence);
3279 bool huge = !!(pkt->hdr.sequence & SEQ_HUGE_FRAME);
3293 il_print_hex_error(il, pkt, 32);
3311 meta->callback(il, cmd, pkt);
4101 struct il_rx_pkt *pkt = rxb_addr(rxb);
4102 struct il_csa_notification *csa = &(pkt->u.csa_notif);
4443 struct il_rx_pkt *pkt = rxb_addr(rxb);
4444 struct il_sleep_notification *sleep = &(pkt->u.sleep_notif);
4454 struct il_rx_pkt *pkt = rxb_addr(rxb);
4455 u32 len = le32_to_cpu(pkt->len_n_flags) & IL_RX_FRAME_SIZE_MSK;
4457 il_get_cmd_string(pkt->hdr.cmd));
4458 il_print_hex_dump(il, IL_DL_RADIO, pkt->u.raw, len);
4465 struct il_rx_pkt *pkt = rxb_addr(rxb);
4469 le32_to_cpu(pkt->u.err_resp.error_type),
4470 il_get_cmd_string(pkt->u.err_resp.cmd_id),
4471 pkt->u.err_resp.cmd_id,
4472 le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num),
4473 le32_to_cpu(pkt->u.err_resp.error_info));