History

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem

John W. Linville committed 12 years ago

Commit 9db7cb62 parents 3bea8ed 03c4444244 files · +7662 −3181Browse files

Showing the changes to include/uapi/linux (2 of 244 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/nfc.h +12 −4
  2. include/uapi/linux/nl80211.h +21 −4
include/uapi/linux/nfc.h+12−4
@@ -273,11 +273,19 @@ struct sockaddr_nfc_llcp { · 272 unmodified lines
273273 * First byte is the adapter index
274274 * Second byte contains flags
275275 * - 0x01 - Direction (0=RX, 1=TX)
276− * - 0x02-0x80 - Reserved
276+ * - 0x02-0x04 - Payload type (000=LLCP, 001=NCI, 010=HCI, 011=Digital,
277+ * 100=Proprietary)
278+ * - 0x05-0x80 - Reserved
277279 **/
278−#define NFC_LLCP_RAW_HEADER_SIZE 2
279−#define NFC_LLCP_DIRECTION_RX 0x00
280−#define NFC_LLCP_DIRECTION_TX 0x01
280+#define NFC_RAW_HEADER_SIZE 2
281+#define NFC_DIRECTION_RX 0x00
282+#define NFC_DIRECTION_TX 0x01
283+
284+#define RAW_PAYLOAD_LLCP 0
285+#define RAW_PAYLOAD_NCI 1
286+#define RAW_PAYLOAD_HCI 2
287+#define RAW_PAYLOAD_DIGITAL 3
288+#define RAW_PAYLOAD_PROPRIETARY 4
281289
282290 /* socket option names */
283291 #define NFC_LLCP_RW 0
include/uapi/linux/nl80211.h+21−4
@@ -503,6 +503,9 @@ · 502 unmodified lines
503503 * TX status event pertaining to the TX request.
504504 * %NL80211_ATTR_TX_NO_CCK_RATE is used to decide whether to send the
505505 * management frames at CCK rate or not in 2GHz band.
506+ * %NL80211_ATTR_CSA_C_OFFSETS_TX is an array of offsets to CSA
507+ * counters which will be updated to the current value. This attribute
508+ * is used during CSA period.
506509 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
507510 * command may be used with the corresponding cookie to cancel the wait
508511 * time if it is known that it is no longer necessary.
@@ -1525,10 +1528,10 @@ enum nl80211_commands { · 1016 unmodified lines
15251528 * operation).
15261529 * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
15271530 * for the time while performing a channel switch.
1528− * @NL80211_ATTR_CSA_C_OFF_BEACON: Offset of the channel switch counter
1529− * field in the beacons tail (%NL80211_ATTR_BEACON_TAIL).
1530− * @NL80211_ATTR_CSA_C_OFF_PRESP: Offset of the channel switch counter
1531− * field in the probe response (%NL80211_ATTR_PROBE_RESP).
1531+ * @NL80211_ATTR_CSA_C_OFF_BEACON: An array of offsets (u16) to the channel
1532+ * switch counters in the beacons tail (%NL80211_ATTR_BEACON_TAIL).
1533+ * @NL80211_ATTR_CSA_C_OFF_PRESP: An array of offsets (u16) to the channel
1534+ * switch counters in the probe response (%NL80211_ATTR_PROBE_RESP).
15321535 *
15331536 * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32.
15341537 * As specified in the &enum nl80211_rxmgmt_flags.
@@ -1576,6 +1579,11 @@ enum nl80211_commands { · 41 unmodified lines
15761579 * advertise values that cannot always be met. In such cases, an attempt
15771580 * to add a new station entry with @NL80211_CMD_NEW_STATION may fail.
15781581 *
1582+ * @NL80211_ATTR_CSA_C_OFFSETS_TX: An array of csa counter offsets (u16) which
1583+ * should be updated when the frame is transmitted.
1584+ * @NL80211_ATTR_MAX_CSA_COUNTERS: U8 attribute used to advertise the maximum
1585+ * supported number of csa counters.
1586+ *
15791587 * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32.
15801588 * As specified in the &enum nl80211_tdls_peer_capability.
15811589 *
@@ -1920,6 +1928,9 @@ enum nl80211_attrs { · 338 unmodified lines
19201928
19211929 NL80211_ATTR_IFACE_SOCKET_OWNER,
19221930
1931+ NL80211_ATTR_CSA_C_OFFSETS_TX,
1932+ NL80211_ATTR_MAX_CSA_COUNTERS,
1933+
19231934 /* add attributes here, update the policy in nl80211.c */
19241935
19251936 __NL80211_ATTR_AFTER_LAST,
@@ -2188,6 +2199,8 @@ enum nl80211_sta_bss_param { · 262 unmodified lines
21882199 * Contains a nested array of signal strength attributes (u8, dBm)
21892200 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
21902201 * Same format as NL80211_STA_INFO_CHAIN_SIGNAL.
2202+ * @NL80211_STA_EXPECTED_THROUGHPUT: expected throughput considering also the
2203+ * 802.11 header (u32, kbps)
21912204 * @__NL80211_STA_INFO_AFTER_LAST: internal
21922205 * @NL80211_STA_INFO_MAX: highest possible station info attribute
21932206 */
@@ -2219,6 +2232,7 @@ enum nl80211_sta_info { · 25 unmodified lines
22192232 NL80211_STA_INFO_TX_BYTES64,
22202233 NL80211_STA_INFO_CHAIN_SIGNAL,
22212234 NL80211_STA_INFO_CHAIN_SIGNAL_AVG,
2235+ NL80211_STA_INFO_EXPECTED_THROUGHPUT,
22222236
22232237 /* keep last */
22242238 __NL80211_STA_INFO_AFTER_LAST,
@@ -3688,6 +3702,8 @@ enum nl80211_iface_limit_attrs { · 1463 unmodified lines
36883702 * different channels may be used within this group.
36893703 * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap
36903704 * of supported channel widths for radar detection.
3705+ * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
3706+ * of supported regulatory regions for radar detection.
36913707 * @NUM_NL80211_IFACE_COMB: number of attributes
36923708 * @MAX_NL80211_IFACE_COMB: highest attribute number
36933709 *
@@ -3721,6 +3737,7 @@ enum nl80211_if_combination_attrs { · 27 unmodified lines
37213737 NL80211_IFACE_COMB_STA_AP_BI_MATCH,
37223738 NL80211_IFACE_COMB_NUM_CHANNELS,
37233739 NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,
3740+ NL80211_IFACE_COMB_RADAR_DETECT_REGIONS,
37243741
37253742 /* keep last */
37263743 NUM_NL80211_IFACE_COMB,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t