From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [PATCH v5 3/4] cfg80211: configure multicast to unicast for AP interfaces Date: Mon, 10 Oct 2016 12:28:33 +0200 Message-ID: <1476095313.7895.12.camel@sipsolutions.net> References: <1475865574-5384-1-git-send-email-michael-dev@fami-braun.de> <1475865574-5384-3-git-send-email-michael-dev@fami-braun.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: linux-wireless@vger.kernel.org, projekt-wlan@fem.tu-ilmenau.de, netdev@vger.kernel.org To: Michael Braun Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:55226 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbcJJK2i (ORCPT ); Mon, 10 Oct 2016 06:28:38 -0400 In-Reply-To: <1475865574-5384-3-git-send-email-michael-dev@fami-braun.de> Sender: netdev-owner@vger.kernel.org List-ID: >   * > + * @NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED: Multicast packets > should be > + *      send out as unicast to all stations. You should document what type of attribute is expected. You probably wanted a flag attribute, but ... > + [NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED] = { .type = > NLA_U8, }, have u8 in the policy, yet > + enabled = nla_get_flag(nla); actually use as a flag :) In addition to that, I think you should clarify the "per-BSS" comment in nl80211, and also clarify (at the same place) what kind of functionality is expected from this. johannes