diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index e84c922a1b16..046ce692a906 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -773,25 +773,16 @@ struct ieee80211_sta { | |||
773 | * enum sta_notify_cmd - sta notify command | 773 | * enum sta_notify_cmd - sta notify command |
774 | * | 774 | * |
775 | * Used with the sta_notify() callback in &struct ieee80211_ops, this | 775 | * Used with the sta_notify() callback in &struct ieee80211_ops, this |
776 | * indicates addition and removal of a station to station table. | 776 | * indicates addition and removal of a station to station table, |
777 | * or if a associated station made a power state transition. | ||
777 | * | 778 | * |
778 | * @STA_NOTIFY_ADD: a station was added to the station table | 779 | * @STA_NOTIFY_ADD: a station was added to the station table |
779 | * @STA_NOTIFY_REMOVE: a station being removed from the station table | 780 | * @STA_NOTIFY_REMOVE: a station being removed from the station table |
780 | */ | ||
781 | enum sta_notify_cmd { | ||
782 | STA_NOTIFY_ADD, STA_NOTIFY_REMOVE | ||
783 | }; | ||
784 | |||
785 | /** | ||
786 | * enum sta_notify_ps_cmd - sta power save notify command | ||
787 | * | ||
788 | * Used with the sta_notify_ps() callback in &struct ieee80211_ops to | ||
789 | * notify the driver if a station made a power state transition. | ||
790 | * | ||
791 | * @STA_NOTIFY_SLEEP: a station is now sleeping | 781 | * @STA_NOTIFY_SLEEP: a station is now sleeping |
792 | * @STA_NOTIFY_AWAKE: a sleeping station woke up | 782 | * @STA_NOTIFY_AWAKE: a sleeping station woke up |
793 | */ | 783 | */ |
794 | enum sta_notify_ps_cmd { | 784 | enum sta_notify_cmd { |
785 | STA_NOTIFY_ADD, STA_NOTIFY_REMOVE, | ||
795 | STA_NOTIFY_SLEEP, STA_NOTIFY_AWAKE, | 786 | STA_NOTIFY_SLEEP, STA_NOTIFY_AWAKE, |
796 | }; | 787 | }; |
797 | 788 | ||
@@ -1258,15 +1249,9 @@ enum ieee80211_ampdu_mlme_action { | |||
1258 | * | 1249 | * |
1259 | * @set_rts_threshold: Configuration of RTS threshold (if device needs it) | 1250 | * @set_rts_threshold: Configuration of RTS threshold (if device needs it) |
1260 | * | 1251 | * |
1261 | * @set_frag_threshold: Configuration of fragmentation threshold. Assign this if | 1252 | * @sta_notify: Notifies low level driver about addition, removal or power |
1262 | * the device does fragmentation by itself; if this method is assigned then | 1253 | * state transition of an associated station, AP, IBSS/WDS/mesh peer etc. |
1263 | * the stack will not do fragmentation. | 1254 | * Must be atomic. |
1264 | * | ||
1265 | * @sta_notify: Notifies low level driver about addition or removal | ||
1266 | * of associated station or AP. | ||
1267 | * | ||
1268 | * @sta_ps_notify: Notifies low level driver about the power state transition | ||
1269 | * of a associated station. Must be atomic. | ||
1270 | * | 1255 | * |
1271 | * @conf_tx: Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), | 1256 | * @conf_tx: Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), |
1272 | * bursting) for a hardware TX queue. | 1257 | * bursting) for a hardware TX queue. |
@@ -1331,11 +1316,8 @@ struct ieee80211_ops { | |||
1331 | void (*get_tkip_seq)(struct ieee80211_hw *hw, u8 hw_key_idx, | 1316 | void (*get_tkip_seq)(struct ieee80211_hw *hw, u8 hw_key_idx, |
1332 | u32 *iv32, u16 *iv16); | 1317 | u32 *iv32, u16 *iv16); |
1333 | int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value); | 1318 | int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value); |
1334 | int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value); | ||
1335 | void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | 1319 | void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1336 | enum sta_notify_cmd, struct ieee80211_sta *sta); | 1320 | enum sta_notify_cmd, struct ieee80211_sta *sta); |
1337 | void (*sta_notify_ps)(struct ieee80211_hw *hw, | ||
1338 | enum sta_notify_ps_cmd, struct ieee80211_sta *sta); | ||
1339 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, | 1321 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, |
1340 | const struct ieee80211_tx_queue_params *params); | 1322 | const struct ieee80211_tx_queue_params *params); |
1341 | int (*get_tx_stats)(struct ieee80211_hw *hw, | 1323 | int (*get_tx_stats)(struct ieee80211_hw *hw, |