> +struct cfg80211_ftm_responder_params { > + u8 *lci; > + u8 *civic; These should be const > + [NL80211_ATTR_FTM_RESPONDER] = { .type = NLA_FLAG}, missing a space, but didn't we also say it should be NLA_U8 or so (allowing the values 0/1) in order to allow later updating this to be changed on the fly to enable/disable while the AP is already operating, through the "change beacon" command? > @@ -4378,7 +4406,7 @@ static int nl80211_set_beacon(struct sk_buff *skb, struct genl_info *info) > if (!wdev->beacon_interval) > return -EINVAL; > > - err = nl80211_parse_beacon(info->attrs, ¶ms); > + err = nl80211_parse_beacon(rdev, info->attrs, ¶ms); In fact you sort of parse it here, but it would get disabled when the attribute isn't always included by userspace, which is a bit annoying. So better make the API to the driver be s8 also, indicating -1 for no change, and use u8 (0/1) for the userspace API to enable here having "no changes"? johannes