3
0
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:
Denis Kenzior 2015-05-06 15:24:14 -05:00
parent c3abaf8181
commit e2591b9865

View File

@ -91,6 +91,7 @@ struct wiphy {
uint32_t feature_flags;
struct l_queue *netdev_list;
bool support_scheduled_scan:1;
bool support_rekey_offload:1;
uint16_t pairwise_ciphers;
};
@ -1709,6 +1710,8 @@ static void parse_supported_commands(struct wiphy *wiphy,
case NL80211_CMD_START_SCHED_SCAN:
wiphy->support_scheduled_scan = true;
break;
case NL80211_CMD_SET_REKEY_OFFLOAD:
wiphy->support_rekey_offload = true;
}
}
}