diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 419202ce3f95..3eae46cb1acf 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -744,6 +744,10 @@ enum station_parameters_apply_mask { | |||
744 | * @capability: station capability | 744 | * @capability: station capability |
745 | * @ext_capab: extended capabilities of the station | 745 | * @ext_capab: extended capabilities of the station |
746 | * @ext_capab_len: number of extended capabilities | 746 | * @ext_capab_len: number of extended capabilities |
747 | * @supported_channels: supported channels in IEEE 802.11 format | ||
748 | * @supported_channels_len: number of supported channels | ||
749 | * @supported_oper_classes: supported oper classes in IEEE 802.11 format | ||
750 | * @supported_oper_classes_len: number of supported operating classes | ||
747 | */ | 751 | */ |
748 | struct station_parameters { | 752 | struct station_parameters { |
749 | const u8 *supported_rates; | 753 | const u8 *supported_rates; |
@@ -763,6 +767,10 @@ struct station_parameters { | |||
763 | u16 capability; | 767 | u16 capability; |
764 | const u8 *ext_capab; | 768 | const u8 *ext_capab; |
765 | u8 ext_capab_len; | 769 | u8 ext_capab_len; |
770 | const u8 *supported_channels; | ||
771 | u8 supported_channels_len; | ||
772 | const u8 *supported_oper_classes; | ||
773 | u8 supported_oper_classes_len; | ||
766 | }; | 774 | }; |
767 | 775 | ||
768 | /** | 776 | /** |
@@ -1656,6 +1664,9 @@ struct cfg80211_disassoc_request { | |||
1656 | * sets/clears %NL80211_STA_FLAG_AUTHORIZED. If true, the driver is | 1664 | * sets/clears %NL80211_STA_FLAG_AUTHORIZED. If true, the driver is |
1657 | * required to assume that the port is unauthorized until authorized by | 1665 | * required to assume that the port is unauthorized until authorized by |
1658 | * user space. Otherwise, port is marked authorized by default. | 1666 | * user space. Otherwise, port is marked authorized by default. |
1667 | * @userspace_handles_dfs: whether user space controls DFS operation, i.e. | ||
1668 | * changes the channel when a radar is detected. This is required | ||
1669 | * to operate on DFS channels. | ||
1659 | * @basic_rates: bitmap of basic rates to use when creating the IBSS | 1670 | * @basic_rates: bitmap of basic rates to use when creating the IBSS |
1660 | * @mcast_rate: per-band multicast rate index + 1 (0: disabled) | 1671 | * @mcast_rate: per-band multicast rate index + 1 (0: disabled) |
1661 | * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask | 1672 | * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask |
@@ -1673,6 +1684,7 @@ struct cfg80211_ibss_params { | |||
1673 | bool channel_fixed; | 1684 | bool channel_fixed; |
1674 | bool privacy; | 1685 | bool privacy; |
1675 | bool control_port; | 1686 | bool control_port; |
1687 | bool userspace_handles_dfs; | ||
1676 | int mcast_rate[IEEE80211_NUM_BANDS]; | 1688 | int mcast_rate[IEEE80211_NUM_BANDS]; |
1677 | struct ieee80211_ht_cap ht_capa; | 1689 | struct ieee80211_ht_cap ht_capa; |
1678 | struct ieee80211_ht_cap ht_capa_mask; | 1690 | struct ieee80211_ht_cap ht_capa_mask; |
@@ -3053,6 +3065,7 @@ struct cfg80211_cached_keys; | |||
3053 | * @conn: (private) cfg80211 software SME connection state machine data | 3065 | * @conn: (private) cfg80211 software SME connection state machine data |
3054 | * @connect_keys: (private) keys to set after connection is established | 3066 | * @connect_keys: (private) keys to set after connection is established |
3055 | * @ibss_fixed: (private) IBSS is using fixed BSSID | 3067 | * @ibss_fixed: (private) IBSS is using fixed BSSID |
3068 | * @ibss_dfs_possible: (private) IBSS may change to a DFS channel | ||
3056 | * @event_list: (private) list for internal event processing | 3069 | * @event_list: (private) list for internal event processing |
3057 | * @event_lock: (private) lock for event list | 3070 | * @event_lock: (private) lock for event list |
3058 | */ | 3071 | */ |
@@ -3091,6 +3104,7 @@ struct wireless_dev { | |||
3091 | struct ieee80211_channel *channel; | 3104 | struct ieee80211_channel *channel; |
3092 | 3105 | ||
3093 | bool ibss_fixed; | 3106 | bool ibss_fixed; |
3107 | bool ibss_dfs_possible; | ||
3094 | 3108 | ||
3095 | bool ps; | 3109 | bool ps; |
3096 | int ps_timeout; | 3110 | int ps_timeout; |