mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Define vendor command policy get_logger_set_policy
This change adds support to define vendor command policy for QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET. Change-Id: Ifef5a6c3518b58061928c493ede6511405a228e4 CRs-Fixed: 2758928
This commit is contained in:
parent
b1bb70bc43
commit
403bf88e74
1 changed files with 7 additions and 1 deletions
|
|
@ -6260,6 +6260,11 @@ wlan_hdd_cfg80211_get_wifi_info(struct wiphy *wiphy,
|
|||
return errno;
|
||||
}
|
||||
|
||||
const struct nla_policy get_logger_set_policy[
|
||||
QCA_WLAN_VENDOR_ATTR_LOGGER_MAX + 1] = {
|
||||
[QCA_WLAN_VENDOR_ATTR_LOGGER_SUPPORTED] = {.type = NLA_U32},
|
||||
};
|
||||
|
||||
/**
|
||||
* __wlan_hdd_cfg80211_get_logger_supp_feature() - Get the wifi logger features
|
||||
* @wiphy: pointer to wireless wiphy structure.
|
||||
|
|
@ -15201,7 +15206,8 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
|
|||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
|
||||
WIPHY_VENDOR_CMD_NEED_NETDEV,
|
||||
.doit = wlan_hdd_cfg80211_get_logger_supp_feature,
|
||||
vendor_command_policy(VENDOR_CMD_RAW_DATA, 0)
|
||||
vendor_command_policy(get_logger_set_policy,
|
||||
QCA_WLAN_VENDOR_ATTR_LOGGER_MAX)
|
||||
},
|
||||
|
||||
FEATURE_TRIGGER_SCAN_VENDOR_COMMANDS
|
||||
|
|
|
|||
Loading…
Reference in a new issue