diff options
| author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-08-15 07:51:28 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-23 10:06:03 -0400 |
| commit | 19504cf5f35fbe85db811fce9f4392a0cbdada2f (patch) | |
| tree | 29e8eaeb1a062cb3e843781c7dc4add821fd592b /include/net | |
| parent | c4c205f3cd17b567b8e20098522416eac2e73960 (diff) | |
cfg80211: add flags to cfg80211_rx_mgmt()
Add flags intended to report various auxiliary information
and introduce the NL80211_RXMGMT_FLAG_ANSWERED flag to report
that the frame was already answered by the device.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
[REPLIED->ANSWERED, reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/cfg80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 9ab7a0690d93..d530c54a3662 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -4056,6 +4056,7 @@ void cfg80211_conn_failed(struct net_device *dev, const u8 *mac_addr, | |||
| 4056 | * @sig_dbm: signal strength in mBm, or 0 if unknown | 4056 | * @sig_dbm: signal strength in mBm, or 0 if unknown |
| 4057 | * @buf: Management frame (header + body) | 4057 | * @buf: Management frame (header + body) |
| 4058 | * @len: length of the frame data | 4058 | * @len: length of the frame data |
| 4059 | * @flags: flags, as defined in enum nl80211_rxmgmt_flags | ||
| 4059 | * @gfp: context flags | 4060 | * @gfp: context flags |
| 4060 | * | 4061 | * |
| 4061 | * This function is called whenever an Action frame is received for a station | 4062 | * This function is called whenever an Action frame is received for a station |
| @@ -4067,7 +4068,7 @@ void cfg80211_conn_failed(struct net_device *dev, const u8 *mac_addr, | |||
| 4067 | * driver is responsible for rejecting the frame. | 4068 | * driver is responsible for rejecting the frame. |
| 4068 | */ | 4069 | */ |
| 4069 | bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm, | 4070 | bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm, |
| 4070 | const u8 *buf, size_t len, gfp_t gfp); | 4071 | const u8 *buf, size_t len, u32 flags, gfp_t gfp); |
| 4071 | 4072 | ||
| 4072 | /** | 4073 | /** |
| 4073 | * cfg80211_mgmt_tx_status - notification of TX status for management frame | 4074 | * cfg80211_mgmt_tx_status - notification of TX status for management frame |
