OSDN Git Service

wifi: rtw89: enable mac80211 virtual monitor interface
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 25 Nov 2022 07:24:14 +0000 (15:24 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 1 Dec 2022 11:02:30 +0000 (13:02 +0200)
commitcd9b6b3baf5278c73c91e242d41387684fc7f8d8
tree3b4d80b1d72dca01c05d712b0675eb344538c842
parent4920ab131b2dbae7464b72bdcac465d070254209
wifi: rtw89: enable mac80211 virtual monitor interface

For running with mac80211 channel context ops and using only as monitor,
we need to enable WANT_MONITOR_VIF to let mac80211 process virtual monitor
interface. Then, we are able to set channel on the monitor from user space.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221125072416.94752-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c