> + * @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. Needs more documentation. > @@ -720,6 +728,8 @@ enum nl80211_commands { > > NL80211_CMD_CH_SWITCH_NOTIFY, > > + NL80211_CMD_AP_CH_SWITCH, > + > NL80211_CMD_RADAR_DETECT, > > NL80211_CMD_DFS_ENABLE_TX, Ahem. > @@ -1267,6 +1277,14 @@ enum nl80211_commands { > * was used to provide the hint. For the different types of > * allowed user regulatory hints see nl80211_user_reg_hint_type. > * > + * @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. Need to document the types. > * @NL80211_FEATURE_DFS: Radar detection is supported in the HW/driver. > + * @NL80211_FEATURE_AP_CH_SWITCH: This driver supports AP channel switch. I have a nagging feeling I keep asking this, but what's the point of radar detection without channel switch? Or is it the other way around that's interesting? Maybe should verify that if you have DFS you also have chanswitch? > /** > + * struct ieee80211_ap_ch_switch - holds the ap channel switch data > + * > + * The information provided in this structure is required for the ap channel > + * switch operation. > + * > + * @timestamp: value in microseconds of the 64-bit Time Synchronization > + * Function (TSF) timer when the frame containing the channel switch > + * announcement was received. This is simply the rx.mactime parameter > + * the driver passed into mac80211. > + * @block_tx: Indicates whether transmission must be blocked before the > + * scheduled channel switch, as indicated by the AP. > + * @post_switch_block_tx: Indicates whether transmission must be blocked after > + * the scheduled channel switch, this should be set if the target channel > + * is DFS channel. > + * @channel: the new channel to switch to > + * @channel_type: the type of the new channel > + * @count: the number of TBTT's until the channel switch event > + */ Bogus documentation. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html