]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: separate interface combination for multichannel and DFS
authorAvinash Patil <patila@marvell.com>
Mon, 22 Jun 2015 13:36:22 +0000 (19:06 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:40:40 +0000 (16:40 +0300)
commit0ac31e82ab040a65bf7a6b16ffba74dc84a32ccb
tree2588065e1d498c5394cefe37c56750b3ca2805a9
parent414dfd4fdbbfd3f0cb38287da6fec62c2fd010b1
mwifiex: separate interface combination for multichannel and DFS

Multichannel and DFS cannot be supported at same time. So when multichannel
operation is enabled by module parameter, we enable number of channel as 2
while registering wiphy. For all other cases we advertise DFS support to
cfg80211. Patch also adds support for radar detect widths parameter.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cfg80211.c