Changeset 09044cb in mainline for uspace/drv/nic/ar9271/ar9271.h


Ignore:
Timestamp:
2015-04-22T09:42:36Z (10 years ago)
Author:
Jan Kolarik <kolarik@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a64320e
Parents:
cc575ef9
Message:

Fixed parsing RSN information, fixed inserting GTK of various index to device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/ar9271/ar9271.h

    rcc575ef9 r09044cb  
    136136               
    137137        /* Key related registers */
    138         AR9271_KEY_TABLE_GRP = 0x8820,
    139         AR9271_KEY_TABLE_STA = 0x8880,
    140         AR9271_KEY_TABLE_MIC_GRP = 0x9020,
    141         AR9271_KEY_TABLE_MIC_STA = 0x9080,
     138        AR9271_KEY_TABLE_BASE = 0x8800,
    142139        AR9271_KEY_TABLE_TYPE_WEP40 = 0x0,
    143140        AR9271_KEY_TABLE_TYPE_WEP104 = 0x1,
     
    186183        AR9271_FW_OFFSET = 0x903000,
    187184} ar9271_registers_t;
     185
     186/** Compute key table base position for key by its id. */
     187#define AR9271_KEY_TABLE(id) (AR9271_KEY_TABLE_BASE + (id)*32)
    188188
    189189/** AR9271 Requests */
Note: See TracChangeset for help on using the changeset viewer.