Lines Matching defs:mac_status
1537 struct ar_rx_macstatus *mac_status = NULL;
1566 if (len < sizeof(*mac_status)) {
1568 "%s: sub-xfer too short (no mac_status) (len %d)\n",
1574 * Remove the mac_status from the payload length.
1578 mac_status = (struct ar_rx_macstatus *)(buf + len - sizeof(*mac_status));
1579 len -= sizeof(*mac_status);
1582 __func__, mac_status->status);
1590 if (((mac_status->status & AR_RX_STATUS_MPDU_MASK) == AR_RX_STATUS_MPDU_SINGLE) ||
1591 ((mac_status->status & AR_RX_STATUS_MPDU_MASK) == AR_RX_STATUS_MPDU_FIRST)) {
1622 if (((mac_status->status & AR_RX_STATUS_MPDU_MASK) == AR_RX_STATUS_MPDU_SINGLE) ||
1623 ((mac_status->status & AR_RX_STATUS_MPDU_MASK) == AR_RX_STATUS_MPDU_LAST)) {
1651 if (__predict_false((mac_status->error & ~AR_RX_ERROR_BAD_RA) != 0)) {
1652 OTUS_DPRINTF(sc, OTUS_DEBUG_RXDONE, "error frame 0x%02x\n", mac_status->error);
1653 if (mac_status->error & AR_RX_ERROR_FCS) {
1655 } else if (mac_status->error & AR_RX_ERROR_MMIC) {