diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nl80211.h | 8 | ||||
-rw-r--r-- | include/net/cfg80211.h | 26 |
2 files changed, 7 insertions, 27 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 9685eaab40a9..cbe8ce3bf486 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -142,6 +142,12 @@ | |||
142 | * %NL80211_ATTR_IE. If the command succeeds, the requested data will be | 142 | * %NL80211_ATTR_IE. If the command succeeds, the requested data will be |
143 | * added to all specified management frames generated by | 143 | * added to all specified management frames generated by |
144 | * kernel/firmware/driver. | 144 | * kernel/firmware/driver. |
145 | * Note: This command has been removed and it is only reserved at this | ||
146 | * point to avoid re-using existing command number. The functionality this | ||
147 | * command was planned for has been provided with cleaner design with the | ||
148 | * option to specify additional IEs in NL80211_CMD_TRIGGER_SCAN, | ||
149 | * NL80211_CMD_AUTHENTICATE, NL80211_CMD_ASSOCIATE, | ||
150 | * NL80211_CMD_DEAUTHENTICATE, and NL80211_CMD_DISASSOCIATE. | ||
145 | * | 151 | * |
146 | * @NL80211_CMD_GET_SCAN: get scan results | 152 | * @NL80211_CMD_GET_SCAN: get scan results |
147 | * @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters | 153 | * @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters |
@@ -238,7 +244,7 @@ enum nl80211_commands { | |||
238 | NL80211_CMD_GET_MESH_PARAMS, | 244 | NL80211_CMD_GET_MESH_PARAMS, |
239 | NL80211_CMD_SET_MESH_PARAMS, | 245 | NL80211_CMD_SET_MESH_PARAMS, |
240 | 246 | ||
241 | NL80211_CMD_SET_MGMT_EXTRA_IE, | 247 | NL80211_CMD_SET_MGMT_EXTRA_IE /* reserved; not used */, |
242 | 248 | ||
243 | NL80211_CMD_GET_REG, | 249 | NL80211_CMD_GET_REG, |
244 | 250 | ||
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 0da9a55881a1..dca4a6b0461b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -471,26 +471,6 @@ struct ieee80211_txq_params { | |||
471 | u8 aifs; | 471 | u8 aifs; |
472 | }; | 472 | }; |
473 | 473 | ||
474 | /** | ||
475 | * struct mgmt_extra_ie_params - Extra management frame IE parameters | ||
476 | * | ||
477 | * Used to add extra IE(s) into management frames. If the driver cannot add the | ||
478 | * requested data into all management frames of the specified subtype that are | ||
479 | * generated in kernel or firmware/hardware, it must reject the configuration | ||
480 | * call. The IE data buffer is added to the end of the specified management | ||
481 | * frame body after all other IEs. This addition is not applied to frames that | ||
482 | * are injected through a monitor interface. | ||
483 | * | ||
484 | * @subtype: Management frame subtype | ||
485 | * @ies: IE data buffer or %NULL to remove previous data | ||
486 | * @ies_len: Length of @ies in octets | ||
487 | */ | ||
488 | struct mgmt_extra_ie_params { | ||
489 | u8 subtype; | ||
490 | u8 *ies; | ||
491 | int ies_len; | ||
492 | }; | ||
493 | |||
494 | /* from net/wireless.h */ | 474 | /* from net/wireless.h */ |
495 | struct wiphy; | 475 | struct wiphy; |
496 | 476 | ||
@@ -743,8 +723,6 @@ struct cfg80211_disassoc_request { | |||
743 | * | 723 | * |
744 | * @set_channel: Set channel | 724 | * @set_channel: Set channel |
745 | * | 725 | * |
746 | * @set_mgmt_extra_ie: Set extra IE data for management frames | ||
747 | * | ||
748 | * @scan: Request to do a scan. If returning zero, the scan request is given | 726 | * @scan: Request to do a scan. If returning zero, the scan request is given |
749 | * the driver, and will be valid until passed to cfg80211_scan_done(). | 727 | * the driver, and will be valid until passed to cfg80211_scan_done(). |
750 | * For scan results, call cfg80211_inform_bss(); you can call this outside | 728 | * For scan results, call cfg80211_inform_bss(); you can call this outside |
@@ -828,10 +806,6 @@ struct cfg80211_ops { | |||
828 | struct ieee80211_channel *chan, | 806 | struct ieee80211_channel *chan, |
829 | enum nl80211_channel_type channel_type); | 807 | enum nl80211_channel_type channel_type); |
830 | 808 | ||
831 | int (*set_mgmt_extra_ie)(struct wiphy *wiphy, | ||
832 | struct net_device *dev, | ||
833 | struct mgmt_extra_ie_params *params); | ||
834 | |||
835 | int (*scan)(struct wiphy *wiphy, struct net_device *dev, | 809 | int (*scan)(struct wiphy *wiphy, struct net_device *dev, |
836 | struct cfg80211_scan_request *request); | 810 | struct cfg80211_scan_request *request); |
837 | 811 | ||