aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index a238f41e55c..731b48fa238 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -538,6 +538,8 @@ struct cfg80211_beacon_data {
538 * @privacy: the BSS uses privacy 538 * @privacy: the BSS uses privacy
539 * @auth_type: Authentication type (algorithm) 539 * @auth_type: Authentication type (algorithm)
540 * @inactivity_timeout: time in seconds to determine station's inactivity. 540 * @inactivity_timeout: time in seconds to determine station's inactivity.
541 * @p2p_ctwindow: P2P CT Window
542 * @p2p_opp_ps: P2P opportunistic PS
541 */ 543 */
542struct cfg80211_ap_settings { 544struct cfg80211_ap_settings {
543 struct cfg80211_chan_def chandef; 545 struct cfg80211_chan_def chandef;
@@ -552,6 +554,8 @@ struct cfg80211_ap_settings {
552 bool privacy; 554 bool privacy;
553 enum nl80211_auth_type auth_type; 555 enum nl80211_auth_type auth_type;
554 int inactivity_timeout; 556 int inactivity_timeout;
557 u8 p2p_ctwindow;
558 bool p2p_opp_ps;
555}; 559};
556 560
557/** 561/**
@@ -913,6 +917,8 @@ struct mpath_info {
913 * @ap_isolate: do not forward packets between connected stations 917 * @ap_isolate: do not forward packets between connected stations
914 * @ht_opmode: HT Operation mode 918 * @ht_opmode: HT Operation mode
915 * (u16 = opmode, -1 = do not change) 919 * (u16 = opmode, -1 = do not change)
920 * @p2p_ctwindow: P2P CT Window (-1 = no change)
921 * @p2p_opp_ps: P2P opportunistic PS (-1 = no change)
916 */ 922 */
917struct bss_parameters { 923struct bss_parameters {
918 int use_cts_prot; 924 int use_cts_prot;
@@ -922,6 +928,7 @@ struct bss_parameters {
922 u8 basic_rates_len; 928 u8 basic_rates_len;
923 int ap_isolate; 929 int ap_isolate;
924 int ht_opmode; 930 int ht_opmode;
931 s8 p2p_ctwindow, p2p_opp_ps;
925}; 932};
926 933
927/** 934/**