mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 04:42:22 -05:00
rt2800pci: fix comment about IV/EIV fields
The bit tested by hardware is TXD_W3_WIV and its value equals the negated value of ENTRY_TXD_ENCRYPT_IV bit. Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
8807bb8cdd
commit
77dba49361
1 changed files with 2 additions and 2 deletions
|
|
@ -2206,8 +2206,8 @@ static void rt2800pci_write_tx_desc(struct rt2x00_dev *rt2x00dev,
|
|||
|
||||
/*
|
||||
* Always write 0 to IV/EIV fields, hardware will insert the IV
|
||||
* from the IVEIV register when ENTRY_TXD_ENCRYPT_IV is set to 0.
|
||||
* When ENTRY_TXD_ENCRYPT_IV is set to 1 it will use the IV data
|
||||
* from the IVEIV register when TXD_W3_WIV is set to 0.
|
||||
* When TXD_W3_WIV is set to 1 it will use the IV data
|
||||
* from the descriptor. The TXWI_W1_WIRELESS_CLI_ID indicates which
|
||||
* crypto entry in the registers should be used to encrypt the frame.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue