]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ath10k: maintain peer_id for each sta and vif
authorMichal Kazior <michal.kazior@tieto.com>
Sun, 6 Mar 2016 14:14:27 +0000 (16:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 6 Mar 2016 14:14:27 +0000 (16:14 +0200)
commitbb8f0c6af83f2217aebbe45540e81d31b754b805
tree70407e594a8ec3e3f40293de6d5e9af99779c632
parent6421969f248fdf9d8cd38353a617ed7cc5ddab94
ath10k: maintain peer_id for each sta and vif

The 10.4.3 firmware with congestion control
guarantees that each peer has only a single
peer_id mapping.

The 1:1 mapping isn't the case for older firmwares
(e.g. 10.4.1, 10.2, 10.1) but it should not
matter. This 1:1 mapping is going to be only used
by future code which inherently (flow-wise) is for
10.4.3.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c