Skip to content
  • Michal Kazior's avatar
    ath10k: add fast peer_map lookup · 6942726f
    Michal Kazior authored
    
    
    The pull-push functionality of 10.4 will be based
    on peer_id and tid. These will need to be mapped,
    eventually, to ieee80211_txq to be used with
    ieee80211_tx_dequeue().
    
    Iterating over existing stations every time
    peer_id needs to be mapped to a station would be
    inefficient wrt CPU time.
    
    The new firmware, which will be the only user of
    the code flow-wise, will guarantee to use low
    peer_ids first so despite peer_map's apparent huge
    size d-cache thrashing should not be a problem.
    
    Older firmware hot paths will effectively not use
    peer_map.
    
    Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    6942726f