diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2014-04-28 04:22:08 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-28 12:09:59 -0400 |
commit | e16821bcfb364b0c41142db275dc74b39fa42c30 (patch) | |
tree | 238b98e192130cd99cee979cf9e540b217f878c8 /include/net/cfg80211.h | |
parent | b205786e38b156d1ccaccd4f4ee780345a69cfeb (diff) |
cfg80211: Dynamic channel bandwidth changes in AP mode
This extends NL80211_CMD_SET_CHANNEL to allow dynamic channel bandwidth
changes in AP mode (including P2P GO) during a lifetime of the BSS. This
can be used to implement, e.g., HT 20/40 MHz co-existence rules on the
2.4 GHz band.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index c98cf08538b9..7eae46ccec01 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -2290,6 +2290,10 @@ struct cfg80211_qos_map { | |||
2290 | * @channel_switch: initiate channel-switch procedure (with CSA) | 2290 | * @channel_switch: initiate channel-switch procedure (with CSA) |
2291 | * | 2291 | * |
2292 | * @set_qos_map: Set QoS mapping information to the driver | 2292 | * @set_qos_map: Set QoS mapping information to the driver |
2293 | * | ||
2294 | * @set_ap_chanwidth: Set the AP (including P2P GO) mode channel width for the | ||
2295 | * given interface This is used e.g. for dynamic HT 20/40 MHz channel width | ||
2296 | * changes during the lifetime of the BSS. | ||
2293 | */ | 2297 | */ |
2294 | struct cfg80211_ops { | 2298 | struct cfg80211_ops { |
2295 | int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); | 2299 | int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); |
@@ -2533,9 +2537,13 @@ struct cfg80211_ops { | |||
2533 | int (*channel_switch)(struct wiphy *wiphy, | 2537 | int (*channel_switch)(struct wiphy *wiphy, |
2534 | struct net_device *dev, | 2538 | struct net_device *dev, |
2535 | struct cfg80211_csa_settings *params); | 2539 | struct cfg80211_csa_settings *params); |
2540 | |||
2536 | int (*set_qos_map)(struct wiphy *wiphy, | 2541 | int (*set_qos_map)(struct wiphy *wiphy, |
2537 | struct net_device *dev, | 2542 | struct net_device *dev, |
2538 | struct cfg80211_qos_map *qos_map); | 2543 | struct cfg80211_qos_map *qos_map); |
2544 | |||
2545 | int (*set_ap_chanwidth)(struct wiphy *wiphy, struct net_device *dev, | ||
2546 | struct cfg80211_chan_def *chandef); | ||
2539 | }; | 2547 | }; |
2540 | 2548 | ||
2541 | /* | 2549 | /* |