mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7921: get regulatory information from the clc event
The clc event can report the radio configuration for the corresponding country and the driver would take it as regulatory information of a certain platform device. This patch would change the clc commnad from no-waiting to waiting for event. For backward compatible, we also add a new nic capability tag to indicate the firmware did support this new clc event from now on. Signed-off-by: Ming Yen Hsieh <[email protected]> Co-developed-by: Deren Wu <[email protected]> Signed-off-by: Deren Wu <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
581449ac52
commit
9bfd669e94
@@ -1355,6 +1355,7 @@ enum {
|
||||
MT_NIC_CAP_ANTSWP = 0x16,
|
||||
MT_NIC_CAP_WFDMA_REALLOC,
|
||||
MT_NIC_CAP_6G,
|
||||
MT_NIC_CAP_CHIP_CAP = 0x20,
|
||||
};
|
||||
|
||||
#define UNI_WOW_DETECT_TYPE_MAGIC BIT(0)
|
||||
|
||||
Reference in New Issue
Block a user