Lines Matching refs:ccmp_pn
348 u8 ccmp_pn[8], nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_write_txwi() local
369 ccmp_pn[0] = pn; in mt76x02_mac_write_txwi()
370 ccmp_pn[1] = pn >> 8; in mt76x02_mac_write_txwi()
371 ccmp_pn[2] = 0; in mt76x02_mac_write_txwi()
372 ccmp_pn[3] = 0x20 | (key->keyidx << 6); in mt76x02_mac_write_txwi()
373 ccmp_pn[4] = pn >> 16; in mt76x02_mac_write_txwi()
374 ccmp_pn[5] = pn >> 24; in mt76x02_mac_write_txwi()
375 ccmp_pn[6] = pn >> 32; in mt76x02_mac_write_txwi()
376 ccmp_pn[7] = pn >> 40; in mt76x02_mac_write_txwi()
377 txwi->iv = *((__le32 *)&ccmp_pn[0]); in mt76x02_mac_write_txwi()
378 txwi->eiv = *((__le32 *)&ccmp_pn[4]); in mt76x02_mac_write_txwi()