From: Andrei Otcheretianski Date: Fri, 9 May 2014 11:11:46 +0000 (+0300) Subject: cfg80211: Support multiple CSA counters X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~17^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a774c78e2114c7e8605e3a168ccd552cbe3d922;p=pandora-kernel.git cfg80211: Support multiple CSA counters Change the type of NL80211_ATTR_CSA_C_OFF_BEACON and NL80211_ATTR_CSA_C_OFF_PRESP to be NLA_BINARY which allows userspace to use beacons and probe responses with multiple CSA counters. This isn't breaking the API since userspace can continue to use nla_put_u16 for this attributes, which is equivalent to a single element u16 array. In addition advertise max number of supported CSA counters. This is needed when using CSA and eCSA IEs together. Signed-off-by: Andrei Otcheretianski Signed-off-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed