diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-10-17 15:05:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-17 15:05:26 -0400 |
commit | 41ebe9cde738a972d05c7282e09f5ed54cff0e8d (patch) | |
tree | 223bf0feb7305e46989b60c3f070bef87d5fcab4 /include | |
parent | fd38f734cb8200529e281338514945fcbff2364b (diff) | |
parent | 5c1381ac3f3f49ab1e0886ea8f1432c9a5def519 (diff) |
Merge branch 'master' of git://git.infradead.org/users/linville/wireless-next into for-davem
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nl80211.h | 2 | ||||
-rw-r--r-- | include/net/cfg80211.h | 5 | ||||
-rw-r--r-- | include/net/mac80211.h | 10 |
3 files changed, 12 insertions, 5 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 9d797f253d8e..8049bf77d799 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1548,6 +1548,7 @@ enum nl80211_sta_bss_param { | |||
1548 | * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute | 1548 | * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute |
1549 | * containing info as possible, see &enum nl80211_sta_bss_param | 1549 | * containing info as possible, see &enum nl80211_sta_bss_param |
1550 | * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected | 1550 | * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected |
1551 | * @NL80211_STA_INFO_STA_FLAGS: Contains a struct nl80211_sta_flag_update. | ||
1551 | * @__NL80211_STA_INFO_AFTER_LAST: internal | 1552 | * @__NL80211_STA_INFO_AFTER_LAST: internal |
1552 | * @NL80211_STA_INFO_MAX: highest possible station info attribute | 1553 | * @NL80211_STA_INFO_MAX: highest possible station info attribute |
1553 | */ | 1554 | */ |
@@ -1569,6 +1570,7 @@ enum nl80211_sta_info { | |||
1569 | NL80211_STA_INFO_RX_BITRATE, | 1570 | NL80211_STA_INFO_RX_BITRATE, |
1570 | NL80211_STA_INFO_BSS_PARAM, | 1571 | NL80211_STA_INFO_BSS_PARAM, |
1571 | NL80211_STA_INFO_CONNECTED_TIME, | 1572 | NL80211_STA_INFO_CONNECTED_TIME, |
1573 | NL80211_STA_INFO_STA_FLAGS, | ||
1572 | 1574 | ||
1573 | /* keep last */ | 1575 | /* keep last */ |
1574 | __NL80211_STA_INFO_AFTER_LAST, | 1576 | __NL80211_STA_INFO_AFTER_LAST, |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 74f4f85be32f..92cf1c2c30c9 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -497,6 +497,7 @@ struct station_parameters { | |||
497 | * @STATION_INFO_BSS_PARAM: @bss_param filled | 497 | * @STATION_INFO_BSS_PARAM: @bss_param filled |
498 | * @STATION_INFO_CONNECTED_TIME: @connected_time filled | 498 | * @STATION_INFO_CONNECTED_TIME: @connected_time filled |
499 | * @STATION_INFO_ASSOC_REQ_IES: @assoc_req_ies filled | 499 | * @STATION_INFO_ASSOC_REQ_IES: @assoc_req_ies filled |
500 | * @STATION_INFO_STA_FLAGS: @sta_flags filled | ||
500 | */ | 501 | */ |
501 | enum station_info_flags { | 502 | enum station_info_flags { |
502 | STATION_INFO_INACTIVE_TIME = 1<<0, | 503 | STATION_INFO_INACTIVE_TIME = 1<<0, |
@@ -516,7 +517,8 @@ enum station_info_flags { | |||
516 | STATION_INFO_RX_BITRATE = 1<<14, | 517 | STATION_INFO_RX_BITRATE = 1<<14, |
517 | STATION_INFO_BSS_PARAM = 1<<15, | 518 | STATION_INFO_BSS_PARAM = 1<<15, |
518 | STATION_INFO_CONNECTED_TIME = 1<<16, | 519 | STATION_INFO_CONNECTED_TIME = 1<<16, |
519 | STATION_INFO_ASSOC_REQ_IES = 1<<17 | 520 | STATION_INFO_ASSOC_REQ_IES = 1<<17, |
521 | STATION_INFO_STA_FLAGS = 1<<18 | ||
520 | }; | 522 | }; |
521 | 523 | ||
522 | /** | 524 | /** |
@@ -633,6 +635,7 @@ struct station_info { | |||
633 | u32 tx_failed; | 635 | u32 tx_failed; |
634 | u32 rx_dropped_misc; | 636 | u32 rx_dropped_misc; |
635 | struct sta_bss_parameters bss_param; | 637 | struct sta_bss_parameters bss_param; |
638 | struct nl80211_sta_flag_update sta_flags; | ||
636 | 639 | ||
637 | int generation; | 640 | int generation; |
638 | 641 | ||
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index cd108dfa1952..dc1123aa8181 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -349,8 +349,6 @@ struct ieee80211_bss_conf { | |||
349 | * @IEEE80211_TX_INTFL_RETRANSMISSION: This frame is being retransmitted | 349 | * @IEEE80211_TX_INTFL_RETRANSMISSION: This frame is being retransmitted |
350 | * after TX status because the destination was asleep, it must not | 350 | * after TX status because the destination was asleep, it must not |
351 | * be modified again (no seqno assignment, crypto, etc.) | 351 | * be modified again (no seqno assignment, crypto, etc.) |
352 | * @IEEE80211_TX_INTFL_HAS_RADIOTAP: This frame was injected and still | ||
353 | * has a radiotap header at skb->data. | ||
354 | * @IEEE80211_TX_INTFL_NL80211_FRAME_TX: Frame was requested through nl80211 | 352 | * @IEEE80211_TX_INTFL_NL80211_FRAME_TX: Frame was requested through nl80211 |
355 | * MLME command (internal to mac80211 to figure out whether to send TX | 353 | * MLME command (internal to mac80211 to figure out whether to send TX |
356 | * status to user space) | 354 | * status to user space) |
@@ -375,6 +373,9 @@ struct ieee80211_bss_conf { | |||
375 | * @IEEE80211_TX_CTL_USE_MINRATE: This frame will be sent at lowest rate. | 373 | * @IEEE80211_TX_CTL_USE_MINRATE: This frame will be sent at lowest rate. |
376 | * This flag is used to send nullfunc frame at minimum rate when | 374 | * This flag is used to send nullfunc frame at minimum rate when |
377 | * the nullfunc is used for connection monitoring purpose. | 375 | * the nullfunc is used for connection monitoring purpose. |
376 | * @IEEE80211_TX_CTL_DONTFRAG: Don't fragment this packet even if it | ||
377 | * would be fragmented by size (this is optional, only used for | ||
378 | * monitor injection). | ||
378 | * | 379 | * |
379 | * Note: If you have to add new flags to the enumeration, then don't | 380 | * Note: If you have to add new flags to the enumeration, then don't |
380 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. | 381 | * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. |
@@ -399,7 +400,7 @@ enum mac80211_tx_control_flags { | |||
399 | IEEE80211_TX_CTL_POLL_RESPONSE = BIT(17), | 400 | IEEE80211_TX_CTL_POLL_RESPONSE = BIT(17), |
400 | IEEE80211_TX_CTL_MORE_FRAMES = BIT(18), | 401 | IEEE80211_TX_CTL_MORE_FRAMES = BIT(18), |
401 | IEEE80211_TX_INTFL_RETRANSMISSION = BIT(19), | 402 | IEEE80211_TX_INTFL_RETRANSMISSION = BIT(19), |
402 | IEEE80211_TX_INTFL_HAS_RADIOTAP = BIT(20), | 403 | /* hole at 20, use later */ |
403 | IEEE80211_TX_INTFL_NL80211_FRAME_TX = BIT(21), | 404 | IEEE80211_TX_INTFL_NL80211_FRAME_TX = BIT(21), |
404 | IEEE80211_TX_CTL_LDPC = BIT(22), | 405 | IEEE80211_TX_CTL_LDPC = BIT(22), |
405 | IEEE80211_TX_CTL_STBC = BIT(23) | BIT(24), | 406 | IEEE80211_TX_CTL_STBC = BIT(23) | BIT(24), |
@@ -408,6 +409,7 @@ enum mac80211_tx_control_flags { | |||
408 | IEEE80211_TX_CTL_NO_CCK_RATE = BIT(27), | 409 | IEEE80211_TX_CTL_NO_CCK_RATE = BIT(27), |
409 | IEEE80211_TX_STATUS_EOSP = BIT(28), | 410 | IEEE80211_TX_STATUS_EOSP = BIT(28), |
410 | IEEE80211_TX_CTL_USE_MINRATE = BIT(29), | 411 | IEEE80211_TX_CTL_USE_MINRATE = BIT(29), |
412 | IEEE80211_TX_CTL_DONTFRAG = BIT(30), | ||
411 | }; | 413 | }; |
412 | 414 | ||
413 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 | 415 | #define IEEE80211_TX_CTL_STBC_SHIFT 23 |
@@ -2520,7 +2522,7 @@ static inline int ieee80211_sta_ps_transition_ni(struct ieee80211_sta *sta, | |||
2520 | * The TX headroom reserved by mac80211 for its own tx_status functions. | 2522 | * The TX headroom reserved by mac80211 for its own tx_status functions. |
2521 | * This is enough for the radiotap header. | 2523 | * This is enough for the radiotap header. |
2522 | */ | 2524 | */ |
2523 | #define IEEE80211_TX_STATUS_HEADROOM 13 | 2525 | #define IEEE80211_TX_STATUS_HEADROOM 14 |
2524 | 2526 | ||
2525 | /** | 2527 | /** |
2526 | * ieee80211_sta_set_buffered - inform mac80211 about driver-buffered frames | 2528 | * ieee80211_sta_set_buffered - inform mac80211 about driver-buffered frames |