aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-14 14:22:31 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-14 14:26:55 (GMT)
commit6cb27aa85f6f71720404154233587b83cec7c5fe (patch)
treeef2e30e520556d641018253579f0e96b2310b6ee /src/p2p/p2p_i.h
parent62e10e6e3d720d44df83941b047213e3df17adff (diff)
downloadhostap-6cb27aa85f6f71720404154233587b83cec7c5fe.zip
hostap-6cb27aa85f6f71720404154233587b83cec7c5fe.tar.gz
hostap-6cb27aa85f6f71720404154233587b83cec7c5fe.tar.bz2
P2P: Fix shared frequency preference for concurrent operations
Commit 50285f5ca8086cca45afa42cd23c3a3c1cd58f40 changed number of rules in channel selection and among other things, it broke the design where the currently used operating channel on a virtual interface that is shared by the same radio is preferred to avoid costs related to multi-channel concurrency. Fix this regression by making the P2P module aware of the shared channel and using that preference as the highest priority when re-selecting the channel during negotiation. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index c753d49..dff226a 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -417,6 +417,7 @@ struct p2p_data {
int best_freq_24;
int best_freq_5;
int best_freq_overall;
+ int own_freq_preference;
/**
* wps_vendor_ext - WPS Vendor Extensions to add