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)
commitf775aa06d2de583bd291d4bf5814784c9ff7b9cc
tree4a2ed6875f13f63885cc298949558596ebaa11f1
parent0b5b3ff15b301338ccec77ebc051308ac614d05d
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