aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/drivers/nl80211_copy.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/drivers/nl80211_copy.h b/src/drivers/nl80211_copy.h
index 9cc385a..fbe3733 100644
--- a/src/drivers/nl80211_copy.h
+++ b/src/drivers/nl80211_copy.h
@@ -583,6 +583,16 @@
* disabled (marked by the presence of @NL80211_ATTR_ROAMING_DISABLED flag)
* userspace should disable background scans and roaming attempts.
*
+ * @NL80211_CMD_AP_CH_SWITCH: Perform a channel switch in the driver (for
+ * AP/GO).
+ * %NL80211_ATTR_WIPHY_FREQ: new channel frequency.
+ * %NL80211_ATTR_CH_SWITCH_BLOCK_TX: block tx on the current channel.
+ * %NL80211_ATTR_CH_SWITCH_POST_BLOCK_TX: block tx on the target channel.
+ * %NL80211_FREQ_ATTR_CH_SWITCH_COUNT: number of TBTT's until the channel
+ * switch event.
+ *
+ * @NL80211_CMD_REQ_CH_SW: Request a channel switch from a GO/AP.
+ *
* @NL80211_CMD_MAX: highest used command number
* @__NL80211_CMD_AFTER_LAST: internal use
*/
@@ -736,6 +746,9 @@ enum nl80211_commands {
NL80211_CMD_SET_PRIORITY,
NL80211_CMD_CANCEL_PRIORITY,
+ NL80211_CMD_AP_CH_SWITCH,
+ NL80211_CMD_REQ_CH_SW,
+
/* add new commands above here */
/* used to define NL80211_CMD_MAX below */
@@ -1314,6 +1327,14 @@ enum nl80211_commands {
* @NL80211_ATTR_ROAMING_DISABLED: indicates that the driver can't do roaming
* currently.
*
+ * @NL80211_ATTR_CH_SWITCH_COUNT: the number of TBTT's until the channel
+ * switch event
+ * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: block tx on the current channel before the
+ * channel switch operation.
+ * @NL80211_ATTR_CH_SWITCH_POST_BLOCK_TX: block tx on the target channel after
+ * the channel switch operation, should be set if the target channel is
+ * DFS channel.
+ *
* @NL80211_ATTR_MAX: highest attribute number currently defined
* @__NL80211_ATTR_AFTER_LAST: internal use
*/
@@ -1581,6 +1602,9 @@ enum nl80211_attrs {
NL80211_ATTR_SCHED_SCAN_NUM_SHORT_INTERVALS,
NL80211_ATTR_ROAMING_DISABLED,
+ NL80211_ATTR_CH_SWITCH_COUNT,
+ NL80211_ATTR_CH_SWITCH_BLOCK_TX,
+ NL80211_ATTR_CH_SWITCH_POST_BLOCK_TX,
/* add attributes here, update the policy in nl80211.c */
@@ -3099,6 +3123,7 @@ enum nl80211_ap_sme_features {
* @NL80211_FEATURE_SCHED_SCAN_INTERVALS: This driver supports using
* short interval for sched scan and then switching to a longer
* interval.
+ * @NL80211_FEATURE_AP_CH_SWITCH: This driver supports AP channel switch.
*/
enum nl80211_feature_flags {
NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -3108,6 +3133,7 @@ enum nl80211_feature_flags {
/* leave room for new feature flags */
NL80211_FEATURE_SCHED_SCAN_INTERVALS = 1 << 20,
+ NL80211_FEATURE_AP_CH_SWITCH = 1 << 21,
};
/**