Browse Source

qcacld-3.0: Add missing nla_policy attributes for VENDOR_SUBCMD_ROAM

Add missing nla_policy attributes for vendor command
QCA_NL80211_VENDOR_SUBCMD_ROAM.

Change-Id: Id834dc14b61c3cf0f4fff1dc332217b1a2a640e7
CRs-Fixed: 2786045
Alan Chen 4 years ago
parent
commit
34a13e2033
1 changed files with 3 additions and 0 deletions
  1. 3 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 3 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -4145,6 +4145,8 @@ const struct nla_policy wlan_hdd_set_roam_param_policy[
 	[QCA_WLAN_VENDOR_ATTR_ROAMING_SUBCMD] = {.type = NLA_U32},
 	[QCA_WLAN_VENDOR_ATTR_ROAMING_REQ_ID] = {.type = NLA_U32},
 	[PARAM_NUM_NW] = {.type = NLA_U32},
+	[PARAM_SSID_LIST] = { .type = NLA_NESTED },
+	[PARAM_LIST_SSID] = { .type = NLA_BINARY },
 	[PARAM_A_BAND_BOOST_FACTOR] = {.type = NLA_U32},
 	[PARAM_A_BAND_PELT_FACTOR] = {.type = NLA_U32},
 	[PARAM_A_BAND_MAX_BOOST] = {.type = NLA_U32},
@@ -4153,6 +4155,7 @@ const struct nla_policy wlan_hdd_set_roam_param_policy[
 	[PARAM_A_BAND_PELT_THLD] = {.type = NLA_S32},
 	[PARAM_RSSI_TRIGGER] = {.type = NLA_U32},
 	[PARAM_ROAM_ENABLE] = {	.type = NLA_S32},
+	[PARAM_BSSID_PREFS] = { .type = NLA_NESTED },
 	[PARAM_NUM_BSSID] = {.type = NLA_U32},
 	[PARAM_RSSI_MODIFIER] = {.type = NLA_U32},
 	[PARAM_BSSID_PARAMS] = {.type = NLA_NESTED},