]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: report reasonable bitrate for MCS rates through wext
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Dec 2009 21:43:52 +0000 (16:43 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:27:31 +0000 (11:27 -0500)
commit05880b0ca9c29f79adfb20934eac5feeaddc116e
treee28d54d1514634b591b54296b35bb9029e7b5a9c
parentc382a4ee68d08196c13d501ea663169271b58d48
wireless: report reasonable bitrate for MCS rates through wext

Previously, cfg80211 had reported "0" for MCS (i.e. 802.11n) bitrates
through the wireless extensions interface.  However, nl80211 was
converting MCS rates into a reasonable bitrate number.  This patch moves
the nl80211 code to cfg80211 where it is now shared between both the
nl80211 interface and the wireless extensions interface.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/util.c
net/wireless/wext-compat.c