diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 9f90554e88c4..8c9ba44fb7cf 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -2206,7 +2206,12 @@ struct cfg80211_qos_map { | |||
2206 | * @set_cqm_txe_config: Configure connection quality monitor TX error | 2206 | * @set_cqm_txe_config: Configure connection quality monitor TX error |
2207 | * thresholds. | 2207 | * thresholds. |
2208 | * @sched_scan_start: Tell the driver to start a scheduled scan. | 2208 | * @sched_scan_start: Tell the driver to start a scheduled scan. |
2209 | * @sched_scan_stop: Tell the driver to stop an ongoing scheduled scan. | 2209 | * @sched_scan_stop: Tell the driver to stop an ongoing scheduled scan. This |
2210 | * call must stop the scheduled scan and be ready for starting a new one | ||
2211 | * before it returns, i.e. @sched_scan_start may be called immediately | ||
2212 | * after that again and should not fail in that case. The driver should | ||
2213 | * not call cfg80211_sched_scan_stopped() for a requested stop (when this | ||
2214 | * method returns 0.) | ||
2210 | * | 2215 | * |
2211 | * @mgmt_frame_register: Notify driver that a management frame type was | 2216 | * @mgmt_frame_register: Notify driver that a management frame type was |
2212 | * registered. Note that this callback may not sleep, and cannot run | 2217 | * registered. Note that this callback may not sleep, and cannot run |
@@ -2465,7 +2470,8 @@ struct cfg80211_ops { | |||
2465 | 2470 | ||
2466 | int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev, | 2471 | int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev, |
2467 | u8 *peer, u8 action_code, u8 dialog_token, | 2472 | u8 *peer, u8 action_code, u8 dialog_token, |
2468 | u16 status_code, const u8 *buf, size_t len); | 2473 | u16 status_code, u32 peer_capability, |
2474 | const u8 *buf, size_t len); | ||
2469 | int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev, | 2475 | int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev, |
2470 | u8 *peer, enum nl80211_tdls_operation oper); | 2476 | u8 *peer, enum nl80211_tdls_operation oper); |
2471 | 2477 | ||
@@ -2610,9 +2616,12 @@ struct ieee80211_iface_limit { | |||
2610 | * only in special cases. | 2616 | * only in special cases. |
2611 | * @radar_detect_widths: bitmap of channel widths supported for radar detection | 2617 | * @radar_detect_widths: bitmap of channel widths supported for radar detection |
2612 | * | 2618 | * |
2613 | * These examples can be expressed as follows: | 2619 | * With this structure the driver can describe which interface |
2620 | * combinations it supports concurrently. | ||
2614 | * | 2621 | * |
2615 | * Allow #STA <= 1, #AP <= 1, matching BI, channels = 1, 2 total: | 2622 | * Examples: |
2623 | * | ||
2624 | * 1. Allow #STA <= 1, #AP <= 1, matching BI, channels = 1, 2 total: | ||
2616 | * | 2625 | * |
2617 | * struct ieee80211_iface_limit limits1[] = { | 2626 | * struct ieee80211_iface_limit limits1[] = { |
2618 | * { .max = 1, .types = BIT(NL80211_IFTYPE_STATION), }, | 2627 | * { .max = 1, .types = BIT(NL80211_IFTYPE_STATION), }, |
@@ -2626,7 +2635,7 @@ struct ieee80211_iface_limit { | |||
2626 | * }; | 2635 | * }; |
2627 | * | 2636 | * |
2628 | * | 2637 | * |
2629 | * Allow #{AP, P2P-GO} <= 8, channels = 1, 8 total: | 2638 | * 2. Allow #{AP, P2P-GO} <= 8, channels = 1, 8 total: |
2630 | * | 2639 | * |
2631 | * struct ieee80211_iface_limit limits2[] = { | 2640 | * struct ieee80211_iface_limit limits2[] = { |
2632 | * { .max = 8, .types = BIT(NL80211_IFTYPE_AP) | | 2641 | * { .max = 8, .types = BIT(NL80211_IFTYPE_AP) | |
@@ -2640,7 +2649,8 @@ struct ieee80211_iface_limit { | |||
2640 | * }; | 2649 | * }; |
2641 | * | 2650 | * |
2642 | * | 2651 | * |
2643 | * Allow #STA <= 1, #{P2P-client,P2P-GO} <= 3 on two channels, 4 total. | 2652 | * 3. Allow #STA <= 1, #{P2P-client,P2P-GO} <= 3 on two channels, 4 total. |
2653 | * | ||
2644 | * This allows for an infrastructure connection and three P2P connections. | 2654 | * This allows for an infrastructure connection and three P2P connections. |
2645 | * | 2655 | * |
2646 | * struct ieee80211_iface_limit limits3[] = { | 2656 | * struct ieee80211_iface_limit limits3[] = { |
@@ -2790,7 +2800,7 @@ struct wiphy_vendor_command { | |||
2790 | * @perm_addr: permanent MAC address of this device | 2800 | * @perm_addr: permanent MAC address of this device |
2791 | * @addr_mask: If the device supports multiple MAC addresses by masking, | 2801 | * @addr_mask: If the device supports multiple MAC addresses by masking, |
2792 | * set this to a mask with variable bits set to 1, e.g. if the last | 2802 | * set this to a mask with variable bits set to 1, e.g. if the last |
2793 | * four bits are variable then set it to 00:...:00:0f. The actual | 2803 | * four bits are variable then set it to 00-00-00-00-00-0f. The actual |
2794 | * variable bits shall be determined by the interfaces added, with | 2804 | * variable bits shall be determined by the interfaces added, with |
2795 | * interfaces not matching the mask being rejected to be brought up. | 2805 | * interfaces not matching the mask being rejected to be brought up. |
2796 | * @n_addresses: number of addresses in @addresses. | 2806 | * @n_addresses: number of addresses in @addresses. |