2024-05-28 12:24:28

by Johannes Berg

[permalink] [raw]
Subject: [PATCH wireless] wifi: mt76: mt7615: add missing chanctx ops

From: Johannes Berg <[email protected]>

Here's another one I missed during the initial conversion,
fix that.

Cc: [email protected]
Reported-by: Rene Petersen <[email protected]>
Fixes: 0a44dfc07074 ("wifi: mac80211: simplify non-chanctx drivers")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218895
Signed-off-by: Johannes Berg <[email protected]>
---
drivers/net/wireless/mediatek/mt76/mt7615/main.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
index 0971c164b57e..c27acaf0eb1c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
@@ -1326,6 +1326,10 @@ static void mt7615_set_rekey_data(struct ieee80211_hw *hw,
#endif /* CONFIG_PM */

const struct ieee80211_ops mt7615_ops = {
+ .add_chanctx = ieee80211_emulate_add_chanctx,
+ .remove_chanctx = ieee80211_emulate_remove_chanctx,
+ .change_chanctx = ieee80211_emulate_change_chanctx,
+ .switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
.tx = mt7615_tx,
.start = mt7615_start,
.stop = mt7615_stop,
--
2.45.1



2024-05-28 13:06:41

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH wireless] wifi: mt76: mt7615: add missing chanctx ops

Johannes Berg <[email protected]> writes:

> From: Johannes Berg <[email protected]>
>
> Here's another one I missed during the initial conversion,
> fix that.
>
> Cc: [email protected]
> Reported-by: Rene Petersen <[email protected]>
> Fixes: 0a44dfc07074 ("wifi: mac80211: simplify non-chanctx drivers")
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218895
> Signed-off-by: Johannes Berg <[email protected]>

I assigned to me on patchwork but acks from Felix and Lorenzo would be
good.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2024-06-01 10:01:24

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH wireless] wifi: mt76: mt7615: add missing chanctx ops

Johannes Berg <[email protected]> wrote:

> From: Johannes Berg <[email protected]>
>
> Here's another one I missed during the initial conversion,
> fix that.
>
> Cc: [email protected]
> Reported-by: Rene Petersen <[email protected]>
> Fixes: 0a44dfc07074 ("wifi: mac80211: simplify non-chanctx drivers")
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218895
> Signed-off-by: Johannes Berg <[email protected]>

Patch applied to wireless.git, thanks.

40cecacabc46 wifi: mt76: mt7615: add missing chanctx ops

--
https://patchwork.kernel.org/project/linux-wireless/patch/20240528142308.3f7db1821e68.I531135d7ad76331a50244d6d5288e14aa9668390@changeid/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches