Lines Matching defs: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))
1251 struct il_rx_pkt *pkt;
1271 pkt = (struct il_rx_pkt *)cmd.reply_page;
1272 if (pkt->u.status != CAN_ABORT_STATUS) {
1279 D_SCAN("SCAN_ABORT ret %d.\n", pkt->u.status);
1389 struct il_rx_pkt *pkt = rxb_addr(rxb);
1391 (struct il_scanreq_notification *)pkt->u.raw;
1401 struct il_rx_pkt *pkt = rxb_addr(rxb);
1403 (struct il_scanstart_notification *)pkt->u.raw;
1416 struct il_rx_pkt *pkt = rxb_addr(rxb);
1418 (struct il_scanresults_notification *)pkt->u.raw;
1434 struct il_rx_pkt *pkt = rxb_addr(rxb);
1435 struct il_scancomplete_notification *scan_notif = (void *)pkt->u.raw;
1758 struct il_rx_pkt *pkt, bool sync)
1764 if (pkt->hdr.flags & IL_CMD_FAILED_MSK) {
1765 IL_ERR("Bad return from C_ADD_STA (0x%08X)\n", pkt->hdr.flags);
1773 switch (pkt->u.add_sta.status) {
1791 D_ASSOC("Received C_ADD_STA:(0x%08X)\n", pkt->u.add_sta.status);
1818 struct il_rx_pkt *pkt)
1822 il_process_add_sta_resp(il, addsta, pkt, false);
1829 struct il_rx_pkt *pkt = NULL;
1856 pkt = (struct il_rx_pkt *)cmd.reply_page;
1857 ret = il_process_add_sta_resp(il, sta, pkt, true);
2086 struct il_rx_pkt *pkt;
2110 pkt = (struct il_rx_pkt *)cmd.reply_page;
2111 if (pkt->hdr.flags & IL_CMD_FAILED_MSK) {
2112 IL_ERR("Bad return from C_REM_STA (0x%08X)\n", pkt->hdr.flags);
2117 switch (pkt->u.rem_sta.status) {
2639 struct il_rx_pkt *pkt = rxb_addr(rxb);
2640 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);
4103 struct il_rx_pkt *pkt = rxb_addr(rxb);
4104 struct il_csa_notification *csa = &(pkt->u.csa_notif);
4445 struct il_rx_pkt *pkt = rxb_addr(rxb);
4446 struct il_sleep_notification *sleep = &(pkt->u.sleep_notif);
4456 struct il_rx_pkt *pkt = rxb_addr(rxb);
4457 u32 len = le32_to_cpu(pkt->len_n_flags) & IL_RX_FRAME_SIZE_MSK;
4459 il_get_cmd_string(pkt->hdr.cmd));
4460 il_print_hex_dump(il, IL_DL_RADIO, pkt->u.raw, len);
4467 struct il_rx_pkt *pkt = rxb_addr(rxb);
4471 le32_to_cpu(pkt->u.err_resp.error_type),
4472 il_get_cmd_string(pkt->u.err_resp.cmd_id),
4473 pkt->u.err_resp.cmd_id,
4474 le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num),
4475 le32_to_cpu(pkt->u.err_resp.error_info));