wifi: mt76: mt7921: cqm rssi low/high event notify
authorRong Yan <rong.yan@mediatek.com>
Wed, 3 Apr 2024 09:52:14 +0000 (17:52 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 10:47:04 +0000 (12:47 +0200)
commit42e85997fc2b67e69664a6b6522f286c6b5af9e7
treeb85caa5b1f750318981fd603e20eda193b0a8b64
parent39db5a541dba9b9cba20a6d12b93b5cd58f00e7a
wifi: mt76: mt7921: cqm rssi low/high event notify

The implementation amounts to setting the driver flag
IEEE80211_VIF_SUPPORTS_CQM_RSSI, and then providing
mechanisms for continuously updating enough information
to be able to provide notifications to userspace when
RSSI drops below a certain threshold

Signed-off-by: Rong Yan <rong.yan@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c
drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h
drivers/net/wireless/mediatek/mt76/mt792x.h