]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,cfg}80211: support high bitrates
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Thu, 5 Jul 2012 11:25:49 +0000 (14:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 5 Jul 2012 13:18:30 +0000 (15:18 +0200)
commitb4fa249ee68964a5df6d5a2e9a5a968b9a2dd361
tree26bf8e96976e639a65441e3f2b1c03b1bcf2e7be
parentfc636c5c5a10f9b9ee40f6845e56b734c44e759d
{nl,cfg}80211: support high bitrates

Until now, a u16 value was used to represent bitrate value.
With VHT bitrates this becomes too small.

Introduce a new 32-bit bitrate attribute. nl80211 will report
both the new and the old attribute, unless the bitrate doesn't
fit into the old u16 attribute in which case only the new one
will be reported.

User space tools encouraged to prefer the 32-bit attribute, if
available (since it won't be available on older kernels.)

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
[reword commit message and comments a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/nl80211.c
net/wireless/util.c