diff options
author | Anil Gathala Sudha <Anil.Sudha@Atheros.com> | 2010-11-10 13:33:47 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-11-10 13:33:47 +0200 |
commit | 7cfc4ac31960948afdf8f3ca959b9d8744b4524d (patch) | |
tree | 251503ea17cde28c0f767296e1ec2a204fbda0a4 /src/p2p/p2p_i.h | |
parent | bacc31286cd17ee2bb3840d625a11d30972a0167 (diff) | |
download | external_wpa_supplicant_8_ti-7cfc4ac31960948afdf8f3ca959b9d8744b4524d.zip external_wpa_supplicant_8_ti-7cfc4ac31960948afdf8f3ca959b9d8744b4524d.tar.gz external_wpa_supplicant_8_ti-7cfc4ac31960948afdf8f3ca959b9d8744b4524d.tar.bz2 |
P2P: Add support for automatic channel selection at GO
The driver wrapper may now indicate the preferred channel (e.g., based
on scan results) on both 2.4 GHz and 5 GHz bands (and an overall best
frequency). When setting up a GO, this preference information is used
to select the operating channel if configuration does not include
hardcoded channel. Similarly, this information can be used during
GO Negotiation to indicate preference for a specific channel based
on current channel conditions.
p2p_group_add command can now use special values (freq=2 and freq=5)
to indicate that the GO is to be started on the specified band.
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r-- | src/p2p/p2p_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h index be05a84..c31f23a 100644 --- a/src/p2p/p2p_i.h +++ b/src/p2p/p2p_i.h @@ -383,6 +383,10 @@ struct p2p_data { u8 peer_filter[ETH_ALEN]; int cross_connect; + + int best_freq_24; + int best_freq_5; + int best_freq_overall; }; /** |