Commit c8422ae5 authored by Sean Wang's avatar Sean Wang Committed by Tomasz Nowicki
Browse files

UPSTREAM: wifi: mt76: mt7925: add mt7925_[assign,unassign]_vif_chanctx



add mt7925_[assign,unassign]_vif_chanctx to assign and unassign
chanctx to the specific link configuration. If the chctx is not
pass in the parameter, we will look up the channel information
from link_conf->chanreq.oper.

Co-developed-by: default avatarMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: default avatarMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Co-developed-by: default avatarDeren Wu <deren.wu@mediatek.com>
Signed-off-by: default avatarDeren Wu <deren.wu@mediatek.com>
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/15261879a16cb12674d6dea7703410baa6883799.1720248331.git.sean.wang@kernel.org


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
(cherry picked from commit 621e9e22
 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 master)

BUG=b:366169724
TEST=Verify on nissa by AVL test wifi_matfunc

Change-Id: I0fd7e3aaeb882248f097454493f3b31fc730eb1b
Signed-off-by: default avatarSean Wang <objelf@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5737199


Tested-by: default avatarJintao Lin <jintaolin@chromium.org>
Reviewed-by: default avatarJintao Lin <jintaolin@chromium.org>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Commit-Queue: Jintao Lin <jintaolin@chromium.org>
Signed-off-by: default avatarMateusz Urbańczyk <urbanczyk@google.com>
parent f1ef4cb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment