On 2/13/2020 6:08 AM, yhchuang@xxxxxxxxxxx wrote:
From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> Set wiphy flag WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL, because mac80211 actually supports it. With the flag set, driver can accept ROC event from wpa_supplicant or some other user space tools.
This does not seem right. mac80211 does set this flag itself when the driver provides remain_on_channel callback. Does that mean you already have that callback? This patch is either wrong or unnecessary.
Regards, Arend