mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
wiphy: Track whether Rekey Offload is supported
This commit is contained in:
parent
c3abaf8181
commit
e2591b9865
@ -91,6 +91,7 @@ struct wiphy {
|
|||||||
uint32_t feature_flags;
|
uint32_t feature_flags;
|
||||||
struct l_queue *netdev_list;
|
struct l_queue *netdev_list;
|
||||||
bool support_scheduled_scan:1;
|
bool support_scheduled_scan:1;
|
||||||
|
bool support_rekey_offload:1;
|
||||||
uint16_t pairwise_ciphers;
|
uint16_t pairwise_ciphers;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1709,6 +1710,8 @@ static void parse_supported_commands(struct wiphy *wiphy,
|
|||||||
case NL80211_CMD_START_SCHED_SCAN:
|
case NL80211_CMD_START_SCHED_SCAN:
|
||||||
wiphy->support_scheduled_scan = true;
|
wiphy->support_scheduled_scan = true;
|
||||||
break;
|
break;
|
||||||
|
case NL80211_CMD_SET_REKEY_OFFLOAD:
|
||||||
|
wiphy->support_rekey_offload = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user