aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2014-05-09 07:11:44 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-05-15 08:52:44 -0400
commit34d22ce22b0b249804816990a3b62b08b1a62546 (patch)
tree5d40eed4e362660f83e16d08aa9bec9ac9c9376a /include/net
parent00ec75fc5a6499d8fdeb6ec9f8f5df68b9291c74 (diff)
cfg80211: Add API to update CSA counters in mgmt frames
Add NL80211_ATTR_CSA_C_OFFSETS_TX which holds an array of offsets to the CSA counters which should be updated when sending a management frames with NL80211_CMD_FRAME. This API should be used by the drivers that wish to keep the CSA counter updated in probe responses, but do not implement probe response offloading and so, do not use ieee80211_proberesp_get function. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e3a48b0a2b3b..f46e1e15746d 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1986,6 +1986,8 @@ struct cfg80211_update_ft_ies_params {
1986 * @len: buffer length 1986 * @len: buffer length
1987 * @no_cck: don't use cck rates for this frame 1987 * @no_cck: don't use cck rates for this frame
1988 * @dont_wait_for_ack: tells the low level not to wait for an ack 1988 * @dont_wait_for_ack: tells the low level not to wait for an ack
1989 * @n_csa_offsets: length of csa_offsets array
1990 * @csa_offsets: array of all the csa offsets in the frame
1989 */ 1991 */
1990struct cfg80211_mgmt_tx_params { 1992struct cfg80211_mgmt_tx_params {
1991 struct ieee80211_channel *chan; 1993 struct ieee80211_channel *chan;
@@ -1995,6 +1997,8 @@ struct cfg80211_mgmt_tx_params {
1995 size_t len; 1997 size_t len;
1996 bool no_cck; 1998 bool no_cck;
1997 bool dont_wait_for_ack; 1999 bool dont_wait_for_ack;
2000 int n_csa_offsets;
2001 const u16 *csa_offsets;
1998}; 2002};
1999 2003
2000/** 2004/**