1 mac80211 from kernel 5.3 and later checks the new policy attribute.
5 @@ -92,12 +92,14 @@ static const struct wiphy_vendor_command
6 .subcmd = MWL_VENDOR_CMD_SET_BF_TYPE},
7 .flags = WIPHY_VENDOR_CMD_NEED_NETDEV,
8 .doit = mwl_vendor_cmd_set_bf_type,
9 + .policy = mwl_vendor_attr_policy,
12 .info = { .vendor_id = MRVL_OUI,
13 .subcmd = MWL_VENDOR_CMD_GET_BF_TYPE},
14 .flags = WIPHY_VENDOR_CMD_NEED_NETDEV,
15 .doit = mwl_vendor_cmd_get_bf_type,
16 + .policy = mwl_vendor_attr_policy,