diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
commit | 3b51cc996e81d8a113416d8094fa4a88f8360a51 (patch) | |
tree | e75b98b228bb4e456c30673fcc4b56ffa1d09cf5 /include/net | |
parent | c68ed255265968c3948fa2678bf59d15c471b055 (diff) | |
parent | 672724403b42da1d276c6cf811e8e34d15efd964 (diff) |
Merge branch 'master' into for-davem
Conflicts:
drivers/net/wireless/ath/ath9k/phy.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 2 | ||||
-rw-r--r-- | include/net/mac80211.h | 17 |
2 files changed, 14 insertions, 5 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 37cebd3aa0f7..5a4efe54cffd 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1643,7 +1643,7 @@ struct ieee80211_radiotap_iterator { | |||
1643 | const struct ieee80211_radiotap_namespace *current_namespace; | 1643 | const struct ieee80211_radiotap_namespace *current_namespace; |
1644 | 1644 | ||
1645 | unsigned char *_arg, *_next_ns_data; | 1645 | unsigned char *_arg, *_next_ns_data; |
1646 | uint32_t *_next_bitmap; | 1646 | __le32 *_next_bitmap; |
1647 | 1647 | ||
1648 | unsigned char *this_arg; | 1648 | unsigned char *this_arg; |
1649 | int this_arg_index; | 1649 | int this_arg_index; |
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 344e5bf72062..78908b516f42 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -274,6 +274,9 @@ struct ieee80211_bss_conf { | |||
274 | * @IEEE80211_TX_INTFL_NL80211_FRAME_TX: Frame was requested through nl80211 | 274 | * @IEEE80211_TX_INTFL_NL80211_FRAME_TX: Frame was requested through nl80211 |
275 | * MLME command (internal to mac80211 to figure out whether to send TX | 275 | * MLME command (internal to mac80211 to figure out whether to send TX |
276 | * status to user space) | 276 | * status to user space) |
277 | * @IEEE80211_TX_CTL_LDPC: tells the driver to use LDPC for this frame | ||
278 | * @IEEE80211_TX_CTL_STBC: Enables Space-Time Block Coding (STBC) for this | ||
279 | * frame and selects the maximum number of streams that it can use. | ||
277 | */ | 280 | */ |
278 | enum mac80211_tx_control_flags { | 281 | enum mac80211_tx_control_flags { |
279 | IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0), | 282 | IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0), |
@@ -297,6 +300,9 @@ enum mac80211_tx_control_flags { | |||
297 | IEEE80211_TX_INTFL_RETRANSMISSION = BIT(19), | 300 | IEEE80211_TX_INTFL_RETRANSMISSION = BIT(19), |
298 | IEEE80211_TX_INTFL_HAS_RADIOTAP = BIT(20), | 301 | IEEE80211_TX_INTFL_HAS_RADIOTAP = BIT(20), |
299 | IEEE80211_TX_INTFL_NL80211_FRAME_TX = BIT(21), | 302 | IEEE80211_TX_INTFL_NL80211_FRAME_TX = BIT(21), |
303 | IEEE80211_TX_CTL_LDPC = BIT(22), | ||
304 | IEEE80211_TX_CTL_STBC = BIT(23) | BIT(24), | ||
305 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 | ||
300 | }; | 306 | }; |
301 | 307 | ||
302 | /** | 308 | /** |
@@ -395,11 +401,11 @@ struct ieee80211_tx_rate { | |||
395 | * @status: union for status data | 401 | * @status: union for status data |
396 | * @driver_data: array of driver_data pointers | 402 | * @driver_data: array of driver_data pointers |
397 | * @ampdu_ack_len: number of acked aggregated frames. | 403 | * @ampdu_ack_len: number of acked aggregated frames. |
398 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | 404 | * relevant only if IEEE80211_TX_STAT_AMPDU was set. |
399 | * @ampdu_ack_map: block ack bit map for the aggregation. | 405 | * @ampdu_ack_map: block ack bit map for the aggregation. |
400 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | 406 | * relevant only if IEEE80211_TX_STAT_AMPDU was set. |
401 | * @ampdu_len: number of aggregated frames. | 407 | * @ampdu_len: number of aggregated frames. |
402 | * relevant only if IEEE80211_TX_STATUS_AMPDU was set. | 408 | * relevant only if IEEE80211_TX_STAT_AMPDU was set. |
403 | * @ack_signal: signal strength of the ACK frame | 409 | * @ack_signal: signal strength of the ACK frame |
404 | */ | 410 | */ |
405 | struct ieee80211_tx_info { | 411 | struct ieee80211_tx_info { |
@@ -610,6 +616,7 @@ enum ieee80211_conf_flags { | |||
610 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed | 616 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed |
611 | * @IEEE80211_CONF_CHANGE_IDLE: Idle flag changed | 617 | * @IEEE80211_CONF_CHANGE_IDLE: Idle flag changed |
612 | * @IEEE80211_CONF_CHANGE_SMPS: Spatial multiplexing powersave mode changed | 618 | * @IEEE80211_CONF_CHANGE_SMPS: Spatial multiplexing powersave mode changed |
619 | * @IEEE80211_CONF_CHANGE_QOS: Quality of service was enabled or disabled | ||
613 | */ | 620 | */ |
614 | enum ieee80211_conf_changed { | 621 | enum ieee80211_conf_changed { |
615 | IEEE80211_CONF_CHANGE_SMPS = BIT(1), | 622 | IEEE80211_CONF_CHANGE_SMPS = BIT(1), |
@@ -791,6 +798,7 @@ struct ieee80211_key_conf { | |||
791 | u8 iv_len; | 798 | u8 iv_len; |
792 | u8 hw_key_idx; | 799 | u8 hw_key_idx; |
793 | u8 flags; | 800 | u8 flags; |
801 | u8 *ap_addr; | ||
794 | s8 keyidx; | 802 | s8 keyidx; |
795 | u8 keylen; | 803 | u8 keylen; |
796 | u8 key[0]; | 804 | u8 key[0]; |
@@ -1671,7 +1679,8 @@ struct ieee80211_ops { | |||
1671 | struct ieee80211_vif *vif, | 1679 | struct ieee80211_vif *vif, |
1672 | enum ieee80211_ampdu_mlme_action action, | 1680 | enum ieee80211_ampdu_mlme_action action, |
1673 | struct ieee80211_sta *sta, u16 tid, u16 *ssn); | 1681 | struct ieee80211_sta *sta, u16 tid, u16 *ssn); |
1674 | 1682 | int (*get_survey)(struct ieee80211_hw *hw, int idx, | |
1683 | struct survey_info *survey); | ||
1675 | void (*rfkill_poll)(struct ieee80211_hw *hw); | 1684 | void (*rfkill_poll)(struct ieee80211_hw *hw); |
1676 | void (*set_coverage_class)(struct ieee80211_hw *hw, u8 coverage_class); | 1685 | void (*set_coverage_class)(struct ieee80211_hw *hw, u8 coverage_class); |
1677 | #ifdef CONFIG_NL80211_TESTMODE | 1686 | #ifdef CONFIG_NL80211_TESTMODE |