• SenthilKumar Jegadeesan's avatar
    ath10k: prevent setting wrong key idx for station · 627613f8
    SenthilKumar Jegadeesan authored
    Ath10k driver sets wrong default key idx that results in
    sending unicast frames with multicast key.
    
    The reason for this behavior is that cached broadcast key
    is installed for station MAC address on association. After
    dot1x completes, unicast key is installed for station
    MAC address. Default key idx is set to broadcast key id when
    driver tries to send broadcast frame. This causes firmware
    to use broadcast key id to transmit unicast frames to stations.
    
    Used TX_USAGE flag to set default key for stations.
    
    Added callback for setting unicast default idx which will be
    invoked on every default key idx configuration.
    Signed-off-by: default avatarSenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    627613f8
core.h 14.6 KB