]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: don't use CCK rates for P2P interfaces
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Jun 2011 13:34:09 +0000 (06:34 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 24 Jun 2011 18:54:51 +0000 (11:54 -0700)
commit00c119730b38cf5f14e37151233693f16ff1e2d8
tree4a2ed6875f13f63885cc298949558596ebaa11f1
parent08f703e9353aebbaad300888b00986111fe1b1fb
iwlagn: don't use CCK rates for P2P interfaces

P2P interfaces must not use CCK rates, only OFDM
rates are allowed. To set this up, we need to set
up the broadcast station to start with 6M instead
of starting with 1M.

Since the interface type can change, also reset
the broadcast station when RXON changes.

This will affect beacons as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-agn-sta.c
drivers/net/wireless/iwlwifi/iwl-agn.h