|
@@ -3253,7 +3253,9 @@ int wlan_hdd_tdls_get_status(hdd_adapter_t *pAdapter,
|
|
|
static const struct nla_policy
|
|
|
wlan_hdd_tdls_config_enable_policy[QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_MAX +
|
|
|
1] = {
|
|
|
- [QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_MAC_ADDR] = {.type = NLA_UNSPEC},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_MAC_ADDR] = {
|
|
|
+ .type = NLA_UNSPEC,
|
|
|
+ .len = QDF_MAC_ADDR_SIZE},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_CHANNEL] = {.type = NLA_U32},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_GLOBAL_OPERATING_CLASS] = {.type =
|
|
|
NLA_U32},
|
|
@@ -3264,12 +3266,16 @@ static const struct nla_policy
|
|
|
static const struct nla_policy
|
|
|
wlan_hdd_tdls_config_disable_policy[QCA_WLAN_VENDOR_ATTR_TDLS_DISABLE_MAX +
|
|
|
1] = {
|
|
|
- [QCA_WLAN_VENDOR_ATTR_TDLS_DISABLE_MAC_ADDR] = {.type = NLA_UNSPEC},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_TDLS_DISABLE_MAC_ADDR] = {
|
|
|
+ .type = NLA_UNSPEC,
|
|
|
+ .len = QDF_MAC_ADDR_SIZE},
|
|
|
};
|
|
|
static const struct nla_policy
|
|
|
wlan_hdd_tdls_config_state_change_policy[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX
|
|
|
+ 1] = {
|
|
|
- [QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAC_ADDR] = {.type = NLA_UNSPEC},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAC_ADDR] = {
|
|
|
+ .type = NLA_UNSPEC,
|
|
|
+ .len = QDF_MAC_ADDR_SIZE},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_NEW_STATE] = {.type = NLA_U32},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_REASON] = {.type = NLA_S32},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_CHANNEL] = {.type = NLA_U32},
|
|
@@ -3279,7 +3285,9 @@ static const struct nla_policy
|
|
|
static const struct nla_policy
|
|
|
wlan_hdd_tdls_config_get_status_policy
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_MAX + 1] = {
|
|
|
- [QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_MAC_ADDR] = {.type = NLA_UNSPEC},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_MAC_ADDR] = {
|
|
|
+ .type = NLA_UNSPEC,
|
|
|
+ .len = QDF_MAC_ADDR_SIZE},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_STATE] = {.type = NLA_U32},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_REASON] = {.type = NLA_S32},
|
|
|
[QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_CHANNEL] = {.type = NLA_U32},
|