diff options
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/cfg80211.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 868cfd3b9724..37cebd3aa0f7 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -704,6 +704,10 @@ struct cfg80211_crypto_settings { | |||
| 704 | * @key_len: length of WEP key for shared key authentication | 704 | * @key_len: length of WEP key for shared key authentication |
| 705 | * @key_idx: index of WEP key for shared key authentication | 705 | * @key_idx: index of WEP key for shared key authentication |
| 706 | * @key: WEP key for shared key authentication | 706 | * @key: WEP key for shared key authentication |
| 707 | * @local_state_change: This is a request for a local state only, i.e., no | ||
| 708 | * Authentication frame is to be transmitted and authentication state is | ||
| 709 | * to be changed without having to wait for a response from the peer STA | ||
| 710 | * (AP). | ||
| 707 | */ | 711 | */ |
| 708 | struct cfg80211_auth_request { | 712 | struct cfg80211_auth_request { |
| 709 | struct cfg80211_bss *bss; | 713 | struct cfg80211_bss *bss; |
| @@ -712,6 +716,7 @@ struct cfg80211_auth_request { | |||
| 712 | enum nl80211_auth_type auth_type; | 716 | enum nl80211_auth_type auth_type; |
| 713 | const u8 *key; | 717 | const u8 *key; |
| 714 | u8 key_len, key_idx; | 718 | u8 key_len, key_idx; |
| 719 | bool local_state_change; | ||
| 715 | }; | 720 | }; |
| 716 | 721 | ||
| 717 | /** | 722 | /** |
| @@ -744,12 +749,15 @@ struct cfg80211_assoc_request { | |||
| 744 | * @ie: Extra IEs to add to Deauthentication frame or %NULL | 749 | * @ie: Extra IEs to add to Deauthentication frame or %NULL |
| 745 | * @ie_len: Length of ie buffer in octets | 750 | * @ie_len: Length of ie buffer in octets |
| 746 | * @reason_code: The reason code for the deauthentication | 751 | * @reason_code: The reason code for the deauthentication |
| 752 | * @local_state_change: This is a request for a local state only, i.e., no | ||
| 753 | * Deauthentication frame is to be transmitted. | ||
| 747 | */ | 754 | */ |
| 748 | struct cfg80211_deauth_request { | 755 | struct cfg80211_deauth_request { |
| 749 | struct cfg80211_bss *bss; | 756 | struct cfg80211_bss *bss; |
| 750 | const u8 *ie; | 757 | const u8 *ie; |
| 751 | size_t ie_len; | 758 | size_t ie_len; |
| 752 | u16 reason_code; | 759 | u16 reason_code; |
| 760 | bool local_state_change; | ||
| 753 | }; | 761 | }; |
| 754 | 762 | ||
| 755 | /** | 763 | /** |
| @@ -762,12 +770,15 @@ struct cfg80211_deauth_request { | |||
| 762 | * @ie: Extra IEs to add to Disassociation frame or %NULL | 770 | * @ie: Extra IEs to add to Disassociation frame or %NULL |
| 763 | * @ie_len: Length of ie buffer in octets | 771 | * @ie_len: Length of ie buffer in octets |
| 764 | * @reason_code: The reason code for the disassociation | 772 | * @reason_code: The reason code for the disassociation |
| 773 | * @local_state_change: This is a request for a local state only, i.e., no | ||
| 774 | * Disassociation frame is to be transmitted. | ||
| 765 | */ | 775 | */ |
| 766 | struct cfg80211_disassoc_request { | 776 | struct cfg80211_disassoc_request { |
| 767 | struct cfg80211_bss *bss; | 777 | struct cfg80211_bss *bss; |
| 768 | const u8 *ie; | 778 | const u8 *ie; |
| 769 | size_t ie_len; | 779 | size_t ie_len; |
| 770 | u16 reason_code; | 780 | u16 reason_code; |
| 781 | bool local_state_change; | ||
| 771 | }; | 782 | }; |
| 772 | 783 | ||
| 773 | /** | 784 | /** |
