mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 10:48:22 -05:00
Sync nl80211.h with the current wireless-testing version
This commit is contained in:
parent
f6190d376d
commit
b938903e41
@ -113,6 +113,8 @@
|
|||||||
* @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
|
* @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
|
||||||
* %NL80211_ATTR_IFINDEX.
|
* %NL80211_ATTR_IFINDEX.
|
||||||
*
|
*
|
||||||
|
* @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set
|
||||||
|
* regulatory domain.
|
||||||
* @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
|
* @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
|
||||||
* after being queried by the kernel. CRDA replies by sending a regulatory
|
* after being queried by the kernel. CRDA replies by sending a regulatory
|
||||||
* domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
|
* domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
|
||||||
@ -141,6 +143,13 @@
|
|||||||
* added to all specified management frames generated by
|
* added to all specified management frames generated by
|
||||||
* kernel/firmware/driver.
|
* kernel/firmware/driver.
|
||||||
*
|
*
|
||||||
|
* @NL80211_CMD_GET_SCAN: get scan results
|
||||||
|
* @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters
|
||||||
|
* @NL80211_CMD_NEW_SCAN_RESULTS: scan notification (as a reply to
|
||||||
|
* NL80211_CMD_GET_SCAN and on the "scan" multicast group)
|
||||||
|
* @NL80211_CMD_SCAN_ABORTED: scan was aborted, for unspecified reasons,
|
||||||
|
* partial scan results may be available
|
||||||
|
*
|
||||||
* @NL80211_CMD_MAX: highest used command number
|
* @NL80211_CMD_MAX: highest used command number
|
||||||
* @__NL80211_CMD_AFTER_LAST: internal use
|
* @__NL80211_CMD_AFTER_LAST: internal use
|
||||||
*/
|
*/
|
||||||
@ -188,6 +197,13 @@ enum nl80211_commands {
|
|||||||
|
|
||||||
NL80211_CMD_SET_MGMT_EXTRA_IE,
|
NL80211_CMD_SET_MGMT_EXTRA_IE,
|
||||||
|
|
||||||
|
NL80211_CMD_GET_REG,
|
||||||
|
|
||||||
|
NL80211_CMD_GET_SCAN,
|
||||||
|
NL80211_CMD_TRIGGER_SCAN,
|
||||||
|
NL80211_CMD_NEW_SCAN_RESULTS,
|
||||||
|
NL80211_CMD_SCAN_ABORTED,
|
||||||
|
|
||||||
/* add new commands above here */
|
/* add new commands above here */
|
||||||
|
|
||||||
/* used to define NL80211_CMD_MAX below */
|
/* used to define NL80211_CMD_MAX below */
|
||||||
@ -301,6 +317,18 @@ enum nl80211_commands {
|
|||||||
* @NL80211_ATTR_IE: Information element(s) data (used, e.g., with
|
* @NL80211_ATTR_IE: Information element(s) data (used, e.g., with
|
||||||
* %NL80211_CMD_SET_MGMT_EXTRA_IE).
|
* %NL80211_CMD_SET_MGMT_EXTRA_IE).
|
||||||
*
|
*
|
||||||
|
* @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with
|
||||||
|
* a single scan request, a wiphy attribute.
|
||||||
|
*
|
||||||
|
* @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
|
||||||
|
* @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
|
||||||
|
* scanning and include a zero-length SSID (wildcard) for wildcard scan
|
||||||
|
* @NL80211_ATTR_SCAN_GENERATION: the scan generation increases whenever the
|
||||||
|
* scan result list changes (BSS expired or added) so that applications
|
||||||
|
* can verify that they got a single, consistent snapshot (when all dump
|
||||||
|
* messages carried the same generation number)
|
||||||
|
* @NL80211_ATTR_BSS: scan result BSS
|
||||||
|
*
|
||||||
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
||||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||||
*/
|
*/
|
||||||
@ -368,6 +396,13 @@ enum nl80211_attrs {
|
|||||||
NL80211_ATTR_MGMT_SUBTYPE,
|
NL80211_ATTR_MGMT_SUBTYPE,
|
||||||
NL80211_ATTR_IE,
|
NL80211_ATTR_IE,
|
||||||
|
|
||||||
|
NL80211_ATTR_MAX_NUM_SCAN_SSIDS,
|
||||||
|
|
||||||
|
NL80211_ATTR_SCAN_FREQUENCIES,
|
||||||
|
NL80211_ATTR_SCAN_SSIDS,
|
||||||
|
NL80211_ATTR_SCAN_GENERATION,
|
||||||
|
NL80211_ATTR_BSS,
|
||||||
|
|
||||||
/* add attributes here, update the policy in nl80211.c */
|
/* add attributes here, update the policy in nl80211.c */
|
||||||
|
|
||||||
__NL80211_ATTR_AFTER_LAST,
|
__NL80211_ATTR_AFTER_LAST,
|
||||||
@ -837,4 +872,38 @@ enum nl80211_channel_type {
|
|||||||
NL80211_CHAN_HT40MINUS,
|
NL80211_CHAN_HT40MINUS,
|
||||||
NL80211_CHAN_HT40PLUS
|
NL80211_CHAN_HT40PLUS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum nl80211_bss - netlink attributes for a BSS
|
||||||
|
*
|
||||||
|
* @__NL80211_BSS_INVALID: invalid
|
||||||
|
* @NL80211_BSS_FREQUENCY: frequency in MHz (u32)
|
||||||
|
* @NL80211_BSS_TSF: TSF of the received probe response/beacon (u64)
|
||||||
|
* @NL80211_BSS_BEACON_INTERVAL: beacon interval of the (I)BSS (u16)
|
||||||
|
* @NL80211_BSS_CAPABILITY: capability field (CPU order, u16)
|
||||||
|
* @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the
|
||||||
|
* raw information elements from the probe response/beacon (bin)
|
||||||
|
* @NL80211_BSS_SIGNAL_MBM: signal strength of probe response/beacon
|
||||||
|
* in mBm (100 * dBm) (s32)
|
||||||
|
* @NL80211_BSS_SIGNAL_UNSPEC: signal strength of the probe response/beacon
|
||||||
|
* in unspecified units, scaled to 0..100 (u8)
|
||||||
|
* @__NL80211_BSS_AFTER_LAST: internal
|
||||||
|
* @NL80211_BSS_MAX: highest BSS attribute
|
||||||
|
*/
|
||||||
|
enum nl80211_bss {
|
||||||
|
__NL80211_BSS_INVALID,
|
||||||
|
NL80211_BSS_BSSID,
|
||||||
|
NL80211_BSS_FREQUENCY,
|
||||||
|
NL80211_BSS_TSF,
|
||||||
|
NL80211_BSS_BEACON_INTERVAL,
|
||||||
|
NL80211_BSS_CAPABILITY,
|
||||||
|
NL80211_BSS_INFORMATION_ELEMENTS,
|
||||||
|
NL80211_BSS_SIGNAL_MBM,
|
||||||
|
NL80211_BSS_SIGNAL_UNSPEC,
|
||||||
|
|
||||||
|
/* keep last */
|
||||||
|
__NL80211_BSS_AFTER_LAST,
|
||||||
|
NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* __LINUX_NL80211_H */
|
#endif /* __LINUX_NL80211_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user