summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/acx.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-03 12:06:36 +0200
committerLuciano Coelho <coelho@ti.com>2011-10-07 07:31:43 +0200
commit4b29886feb072427df80ca6395b2b11a09245eaf (patch)
tree7c45f950da53c8090faffb4ddbe74d0d2be3e3a8 /drivers/net/wireless/wl12xx/acx.h
parentMerge branch 'master' of git://github.com/padovan/bluetooth-next (diff)
downloadlinux-4b29886feb072427df80ca6395b2b11a09245eaf.tar.xz
linux-4b29886feb072427df80ca6395b2b11a09245eaf.zip
wl12xx: configure rate policy for p2p operations
p2p packets should go out only with OFDM rates. Configure a new rate policy that will (later) be used during p2p_find (when the p2p_cli / p2p_go interfaces are in use, we won't have to use this policy, as the configured rates should already be OFDM-only). Additionally, update CONF_TX_MAX_RATE_CLASSES to reflect the current value from the fw api. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/acx.h')
-rw-r--r--drivers/net/wireless/wl12xx/acx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/acx.h b/drivers/net/wireless/wl12xx/acx.h
index 556ee4e282d5..e3f93b4b3429 100644
--- a/drivers/net/wireless/wl12xx/acx.h
+++ b/drivers/net/wireless/wl12xx/acx.h
@@ -656,6 +656,7 @@ struct acx_rate_class {
#define ACX_TX_BASIC_RATE 0
#define ACX_TX_AP_FULL_RATE 1
+#define ACX_TX_BASIC_RATE_P2P 2
#define ACX_TX_AP_MODE_MGMT_RATE 4
#define ACX_TX_AP_MODE_BCST_RATE 5
struct acx_rate_policy {