Lines Matching refs:mstat
490 struct mt76_rx_status mstat; in mt76_rx_convert() local
492 mstat = *((struct mt76_rx_status *)skb->cb); in mt76_rx_convert()
495 status->flag = mstat.flag; in mt76_rx_convert()
496 status->freq = mstat.freq; in mt76_rx_convert()
497 status->enc_flags = mstat.enc_flags; in mt76_rx_convert()
498 status->encoding = mstat.encoding; in mt76_rx_convert()
499 status->bw = mstat.bw; in mt76_rx_convert()
500 status->rate_idx = mstat.rate_idx; in mt76_rx_convert()
501 status->nss = mstat.nss; in mt76_rx_convert()
502 status->band = mstat.band; in mt76_rx_convert()
503 status->signal = mstat.signal; in mt76_rx_convert()
504 status->chains = mstat.chains; in mt76_rx_convert()
506 BUILD_BUG_ON(sizeof(mstat) > sizeof(skb->cb)); in mt76_rx_convert()
508 sizeof(mstat.chain_signal)); in mt76_rx_convert()
509 memcpy(status->chain_signal, mstat.chain_signal, in mt76_rx_convert()
510 sizeof(mstat.chain_signal)); in mt76_rx_convert()
512 return wcid_to_sta(mstat.wcid); in mt76_rx_convert()