Advertisement
4javier

Untitled

Feb 19th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. * @NL80211_CMD_GET_COALESCE: Get currently supported coalesce rules.
  2. * @NL80211_CMD_SET_COALESCE: Configure coalesce rules or clear existing rules.
  3. *
  4. * @NL80211_CMD_CHANNEL_SWITCH: Perform a channel switch by announcing the
  5. * the new channel information (Channel Switch Announcement - CSA)
  6. * in the beacon for some time (as defined in the
  7. * %NL80211_ATTR_CH_SWITCH_COUNT parameter) and then change to the
  8. * new channel. Userspace provides the new channel information (using
  9. * %NL80211_ATTR_WIPHY_FREQ and the attributes determining channel
  10. * width). %NL80211_ATTR_CH_SWITCH_BLOCK_TX may be supplied to inform
  11. * other station that transmission must be blocked until the channel
  12. * switch is complete.
  13. *
  14. * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
  15. * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
  16. * %NL80211_ATTR_VENDOR_SUBCMD. Parameter(s) can be transported in
  17. * %NL80211_ATTR_VENDOR_DATA.
  18. * For feature advertisement, the %NL80211_ATTR_VENDOR_DATA attribute is
  19. * used in the wiphy data as a nested attribute containing descriptions
  20. * (&struct nl80211_vendor_cmd_info) of the supported vendor commands.
  21. * This may also be sent as an event with the same attributes.
  22. *
  23.  
  24.  
  25.  
  26. NL80211_CMD_GET_COALESCE,
  27. NL80211_CMD_SET_COALESCE,
  28.  
  29. NL80211_CMD_CHANNEL_SWITCH,
  30.  
  31. NL80211_CMD_VENDOR,
  32.  
  33.  
  34.  
  35.  
  36. * @NL80211_ATTR_PEER_AID: Association ID for the peer TDLS station (u16).
  37. * This is similar to @NL80211_ATTR_STA_AID but with a difference of being
  38. * allowed to be used with the first @NL80211_CMD_SET_STATION command to
  39. * update a TDLS peer STA entry.
  40. *
  41. * @NL80211_ATTR_COALESCE_RULE: Coalesce rule information.
  42. *
  43. * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
  44. * until the channel switch event.
  45. * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: flag attribute specifying that transmission
  46. * must be blocked on the current channel (before the channel switch
  47. * operation).
  48. * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
  49. * for the time while performing a channel switch.
  50. * @NL80211_ATTR_CSA_C_OFF_BEACON: Offset of the channel switch counter
  51. * field in the beacons tail (%NL80211_ATTR_BEACON_TAIL).
  52. * @NL80211_ATTR_CSA_C_OFF_PRESP: Offset of the channel switch counter
  53. * field in the probe response (%NL80211_ATTR_PROBE_RESP).
  54. *
  55. * @NL80211_ATTR_RXMGMT_FLAGS: flags for nl80211_send_mgmt(), u32.
  56. * As specified in the &enum nl80211_rxmgmt_flags.
  57. *
  58. * @NL80211_ATTR_STA_SUPPORTED_CHANNELS: array of supported channels.
  59. *
  60. * @NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES: array of supported
  61. * supported operating classes.
  62. *
  63. * @NL80211_ATTR_HANDLE_DFS: A flag indicating whether user space
  64. * controls DFS operation in IBSS mode. If the flag is included in
  65. * %NL80211_CMD_JOIN_IBSS request, the driver will allow use of DFS
  66. * channels and reports radar events to userspace. Userspace is required
  67. * to react to radar events, e.g. initiate a channel switch or leave the
  68. * IBSS network.
  69. *
  70. * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
  71. * %NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)
  72. * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
  73. * @NL80211_ATTR_VENDOR_DATA: data for the vendor command, if any; this
  74. * attribute is also used for vendor command feature advertisement
  75. * @NL80211_ATTR_VENDOR_EVENTS: used for event list advertising in the wiphy
  76. * info, containing a nested array of possible events
  77. *
  78.  
  79.  
  80. NL80211_ATTR_PEER_AID,
  81.  
  82. NL80211_ATTR_COALESCE_RULE,
  83.  
  84. NL80211_ATTR_CH_SWITCH_COUNT,
  85. NL80211_ATTR_CH_SWITCH_BLOCK_TX,
  86. NL80211_ATTR_CSA_IES,
  87. NL80211_ATTR_CSA_C_OFF_BEACON,
  88. NL80211_ATTR_CSA_C_OFF_PRESP,
  89.  
  90. NL80211_ATTR_RXMGMT_FLAGS,
  91.  
  92. NL80211_ATTR_STA_SUPPORTED_CHANNELS,
  93.  
  94. NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES,
  95.  
  96. NL80211_ATTR_HANDLE_DFS,
  97.  
  98. NL80211_ATTR_SUPPORT_5_MHZ,
  99. NL80211_ATTR_SUPPORT_10_MHZ,
  100.  
  101. NL80211_ATTR_OPMODE_NOTIF,
  102.  
  103. NL80211_ATTR_VENDOR_ID,
  104. NL80211_ATTR_VENDOR_SUBCMD,
  105. NL80211_ATTR_VENDOR_DATA,
  106.  
  107. NL80211_ATTR_VENDOR_EVENTS,
  108.  
  109.  
  110.  
  111.  
  112. /*
  113. * If this flag is unset, the lower 24 bits are an OUI, if set
  114. * a Linux nl80211 vendor ID is used (no such IDs are allocated
  115. * yet, so that's not valid so far)
  116. */
  117. #define NL80211_VENDOR_ID_IS_LINUX 0x80000000
  118.  
  119. /**
  120. * struct nl80211_vendor_cmd_info - vendor command data
  121. * @vendor_id: If the %NL80211_VENDOR_ID_IS_LINUX flag is clear, then the
  122. * value is a 24-bit OUI; if it is set then a separately allocated ID
  123. * may be used, but no such IDs are allocated yet. New IDs should be
  124. * added to this file when needed.
  125. * @subcmd: sub-command ID for the command
  126. */
  127. struct nl80211_vendor_cmd_info {
  128. __u32 vendor_id;
  129. __u32 subcmd;
  130. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement