]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: check allowed channel type upon userspace requests
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 2 May 2009 04:37:20 +0000 (00:37 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:23 +0000 (14:46 -0400)
commitd395a032f0a322b91576b62c1f31ce8ba53bf4d1
tree10301cf8cff8c6bfa1db351f5570b9b182ad8499
parent8eb6a58ce2654c744ea9fde8a33f2aa856e83e58
cfg80211: check allowed channel type upon userspace requests

Thanks to nl80211 userspace can be very specific upon device
configuration. Before processing the request for the new HT40
channel types (HT40- or HT40+) we need to ensure we can use them
regulatory-wise. This wasn't required with wireless extensions as
specifying the channel type wasn't not available and configuration
was done towards the end implicitly upon association or reception
of beacons from the AP. For the new nl80211 we have to check this
when configuring the interfaces explicitly.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c