]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: correct bitrates advertised to cfg80211
authorAvinash Patil <patila@marvell.com>
Tue, 28 Feb 2012 06:04:11 +0000 (22:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:20:52 +0000 (15:20 -0500)
commite11a3d953517b6013033c06635d14368877ade8a
tree6a6d4d0c3d62c89d3fd590059eee04ba631c6c25
parentd17c421a79ff2099e7670cfd30d85fb96f67965c
mwifiex: correct bitrates advertised to cfg80211

1. Driver and firmware do not support 22Mbps and 72Mbps bitrates.
Remove them from the rate table advertised to cfg80211.

2. First 4 rates from mwifiex_rates table are not valid for
5GHz/A band. Set correct bitrate array's index and no of rates for
ieee80211_supported_band for 5GHz band.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c