~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/wireless/nl80211.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /net/wireless/nl80211.h (Version linux-6.12-rc7) and /net/wireless/nl80211.h (Version linux-5.8.18)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * Portions of this file                            3  * Portions of this file
  4  * Copyright (C) 2018, 2020-2024 Intel Corpora !!   4  * Copyright (C) 2018 Intel Corporation
  5  */                                                 5  */
  6 #ifndef __NET_WIRELESS_NL80211_H                    6 #ifndef __NET_WIRELESS_NL80211_H
  7 #define __NET_WIRELESS_NL80211_H                    7 #define __NET_WIRELESS_NL80211_H
  8                                                     8 
  9 #include "core.h"                                   9 #include "core.h"
 10                                                    10 
 11 int nl80211_init(void);                            11 int nl80211_init(void);
 12 void nl80211_exit(void);                           12 void nl80211_exit(void);
 13                                                    13 
 14 void *nl80211hdr_put(struct sk_buff *skb, u32      14 void *nl80211hdr_put(struct sk_buff *skb, u32 portid, u32 seq,
 15                      int flags, u8 cmd);           15                      int flags, u8 cmd);
 16 bool nl80211_put_sta_rate(struct sk_buff *msg,     16 bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,
 17                           int attr);               17                           int attr);
 18                                                    18 
 19 static inline u64 wdev_id(struct wireless_dev      19 static inline u64 wdev_id(struct wireless_dev *wdev)
 20 {                                                  20 {
 21         return (u64)wdev->identifier |             21         return (u64)wdev->identifier |
 22                ((u64)wiphy_to_rdev(wdev->wiphy     22                ((u64)wiphy_to_rdev(wdev->wiphy)->wiphy_idx << 32);
 23 }                                                  23 }
 24                                                    24 
                                                   >>  25 int nl80211_prepare_wdev_dump(struct netlink_callback *cb,
                                                   >>  26                               struct cfg80211_registered_device **rdev,
                                                   >>  27                               struct wireless_dev **wdev);
                                                   >>  28 
 25 int nl80211_parse_chandef(struct cfg80211_regi     29 int nl80211_parse_chandef(struct cfg80211_registered_device *rdev,
 26                           struct genl_info *in     30                           struct genl_info *info,
 27                           struct cfg80211_chan     31                           struct cfg80211_chan_def *chandef);
 28 int nl80211_parse_random_mac(struct nlattr **a     32 int nl80211_parse_random_mac(struct nlattr **attrs,
 29                              u8 *mac_addr, u8      33                              u8 *mac_addr, u8 *mac_addr_mask);
 30                                                    34 
 31 void nl80211_notify_wiphy(struct cfg80211_regi     35 void nl80211_notify_wiphy(struct cfg80211_registered_device *rdev,
 32                           enum nl80211_command     36                           enum nl80211_commands cmd);
 33 void nl80211_notify_iface(struct cfg80211_regi     37 void nl80211_notify_iface(struct cfg80211_registered_device *rdev,
 34                           struct wireless_dev      38                           struct wireless_dev *wdev,
 35                           enum nl80211_command     39                           enum nl80211_commands cmd);
 36 void nl80211_send_scan_start(struct cfg80211_r     40 void nl80211_send_scan_start(struct cfg80211_registered_device *rdev,
 37                              struct wireless_d     41                              struct wireless_dev *wdev);
 38 struct sk_buff *nl80211_build_scan_msg(struct      42 struct sk_buff *nl80211_build_scan_msg(struct cfg80211_registered_device *rdev,
 39                                        struct      43                                        struct wireless_dev *wdev, bool aborted);
 40 void nl80211_send_scan_msg(struct cfg80211_reg     44 void nl80211_send_scan_msg(struct cfg80211_registered_device *rdev,
 41                            struct sk_buff *msg     45                            struct sk_buff *msg);
 42 void nl80211_send_sched_scan(struct cfg80211_s     46 void nl80211_send_sched_scan(struct cfg80211_sched_scan_request *req, u32 cmd);
 43 void nl80211_common_reg_change_event(enum nl80     47 void nl80211_common_reg_change_event(enum nl80211_commands cmd_id,
 44                                      struct re     48                                      struct regulatory_request *request);
 45                                                    49 
 46 static inline void                                 50 static inline void
 47 nl80211_send_reg_change_event(struct regulator     51 nl80211_send_reg_change_event(struct regulatory_request *request)
 48 {                                                  52 {
 49         nl80211_common_reg_change_event(NL8021     53         nl80211_common_reg_change_event(NL80211_CMD_REG_CHANGE, request);
 50 }                                                  54 }
 51                                                    55 
 52 static inline void                                 56 static inline void
 53 nl80211_send_wiphy_reg_change_event(struct reg     57 nl80211_send_wiphy_reg_change_event(struct regulatory_request *request)
 54 {                                                  58 {
 55         nl80211_common_reg_change_event(NL8021     59         nl80211_common_reg_change_event(NL80211_CMD_WIPHY_REG_CHANGE, request);
 56 }                                                  60 }
 57                                                    61 
 58 void nl80211_send_rx_auth(struct cfg80211_regi     62 void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
 59                           struct net_device *n     63                           struct net_device *netdev,
 60                           const u8 *buf, size_     64                           const u8 *buf, size_t len, gfp_t gfp);
 61 void nl80211_send_rx_assoc(struct cfg80211_reg     65 void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
 62                            struct net_device *     66                            struct net_device *netdev,
 63                            const struct cfg802 !!  67                            const u8 *buf, size_t len, gfp_t gfp,
                                                   >>  68                            int uapsd_queues,
                                                   >>  69                            const u8 *req_ies, size_t req_ies_len);
 64 void nl80211_send_deauth(struct cfg80211_regis     70 void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
 65                          struct net_device *ne     71                          struct net_device *netdev,
 66                          const u8 *buf, size_t !!  72                          const u8 *buf, size_t len, gfp_t gfp);
 67                          bool reconnect, gfp_t << 
 68 void nl80211_send_disassoc(struct cfg80211_reg     73 void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
 69                            struct net_device *     74                            struct net_device *netdev,
 70                            const u8 *buf, size !!  75                            const u8 *buf, size_t len, gfp_t gfp);
 71                            bool reconnect, gfp << 
 72 void nl80211_send_auth_timeout(struct cfg80211     76 void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev,
 73                                struct net_devi     77                                struct net_device *netdev,
 74                                const u8 *addr,     78                                const u8 *addr, gfp_t gfp);
 75 void nl80211_send_assoc_timeout(struct cfg8021     79 void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev,
 76                                 struct net_dev     80                                 struct net_device *netdev,
 77                                 const u8 *addr     81                                 const u8 *addr, gfp_t gfp);
 78 void nl80211_send_connect_result(struct cfg802     82 void nl80211_send_connect_result(struct cfg80211_registered_device *rdev,
 79                                  struct net_de     83                                  struct net_device *netdev,
 80                                  struct cfg802     84                                  struct cfg80211_connect_resp_params *params,
 81                                  gfp_t gfp);       85                                  gfp_t gfp);
 82 void nl80211_send_roamed(struct cfg80211_regis     86 void nl80211_send_roamed(struct cfg80211_registered_device *rdev,
 83                          struct net_device *ne     87                          struct net_device *netdev,
 84                          struct cfg80211_roam_     88                          struct cfg80211_roam_info *info, gfp_t gfp);
 85 /* For STA/GC, indicate port authorized with A << 
 86  * For GO/AP, use peer GC/STA mac_addr.        << 
 87  */                                            << 
 88 void nl80211_send_port_authorized(struct cfg80     89 void nl80211_send_port_authorized(struct cfg80211_registered_device *rdev,
 89                                   struct net_d !!  90                                   struct net_device *netdev, const u8 *bssid);
 90                                   const u8 *td << 
 91 void nl80211_send_disconnected(struct cfg80211     91 void nl80211_send_disconnected(struct cfg80211_registered_device *rdev,
 92                                struct net_devi     92                                struct net_device *netdev, u16 reason,
 93                                const u8 *ie, s     93                                const u8 *ie, size_t ie_len, bool from_ap);
 94                                                    94 
 95 void                                               95 void
 96 nl80211_michael_mic_failure(struct cfg80211_re     96 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev,
 97                             struct net_device      97                             struct net_device *netdev, const u8 *addr,
 98                             enum nl80211_key_t     98                             enum nl80211_key_type key_type,
 99                             int key_id, const      99                             int key_id, const u8 *tsc, gfp_t gfp);
100                                                   100 
101 void                                              101 void
102 nl80211_send_beacon_hint_event(struct wiphy *w    102 nl80211_send_beacon_hint_event(struct wiphy *wiphy,
103                                struct ieee8021    103                                struct ieee80211_channel *channel_before,
104                                struct ieee8021    104                                struct ieee80211_channel *channel_after);
105                                                   105 
106 void nl80211_send_ibss_bssid(struct cfg80211_r    106 void nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev,
107                              struct net_device    107                              struct net_device *netdev, const u8 *bssid,
108                              gfp_t gfp);          108                              gfp_t gfp);
109                                                   109 
110 int nl80211_send_mgmt(struct cfg80211_register    110 int nl80211_send_mgmt(struct cfg80211_registered_device *rdev,
111                       struct wireless_dev *wde    111                       struct wireless_dev *wdev, u32 nlpid,
112                       struct cfg80211_rx_info  !! 112                       int freq, int sig_dbm,
                                                   >> 113                       const u8 *buf, size_t len, u32 flags, gfp_t gfp);
113                                                   114 
114 void                                              115 void
115 nl80211_radar_notify(struct cfg80211_registere    116 nl80211_radar_notify(struct cfg80211_registered_device *rdev,
116                      const struct cfg80211_cha    117                      const struct cfg80211_chan_def *chandef,
117                      enum nl80211_radar_event     118                      enum nl80211_radar_event event,
118                      struct net_device *netdev    119                      struct net_device *netdev, gfp_t gfp);
119                                                   120 
120 void nl80211_send_ap_stopped(struct wireless_d !! 121 void nl80211_send_ap_stopped(struct wireless_dev *wdev);
121                                                   122 
122 void cfg80211_free_coalesce(struct cfg80211_co !! 123 void cfg80211_rdev_free_coalesce(struct cfg80211_registered_device *rdev);
123                                                   124 
124 /* peer measurement */                            125 /* peer measurement */
125 int nl80211_pmsr_start(struct sk_buff *skb, st    126 int nl80211_pmsr_start(struct sk_buff *skb, struct genl_info *info);
                                                   >> 127 int nl80211_pmsr_dump_results(struct sk_buff *skb, struct netlink_callback *cb);
126                                                   128 
127 #endif /* __NET_WIRELESS_NL80211_H */             129 #endif /* __NET_WIRELESS_NL80211_H */
128                                                   130 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php