diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nl80211.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index f1db15b9c041..d097568da690 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -3055,14 +3055,20 @@ enum nl80211_bss_scan_width { | |||
| 3055 | * @NL80211_BSS_BSSID: BSSID of the BSS (6 octets) | 3055 | * @NL80211_BSS_BSSID: BSSID of the BSS (6 octets) |
| 3056 | * @NL80211_BSS_FREQUENCY: frequency in MHz (u32) | 3056 | * @NL80211_BSS_FREQUENCY: frequency in MHz (u32) |
| 3057 | * @NL80211_BSS_TSF: TSF of the received probe response/beacon (u64) | 3057 | * @NL80211_BSS_TSF: TSF of the received probe response/beacon (u64) |
| 3058 | * (if @NL80211_BSS_PRESP_DATA is present then this is known to be | ||
| 3059 | * from a probe response, otherwise it may be from the same beacon | ||
| 3060 | * that the NL80211_BSS_BEACON_TSF will be from) | ||
| 3058 | * @NL80211_BSS_BEACON_INTERVAL: beacon interval of the (I)BSS (u16) | 3061 | * @NL80211_BSS_BEACON_INTERVAL: beacon interval of the (I)BSS (u16) |
| 3059 | * @NL80211_BSS_CAPABILITY: capability field (CPU order, u16) | 3062 | * @NL80211_BSS_CAPABILITY: capability field (CPU order, u16) |
| 3060 | * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the | 3063 | * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the |
| 3061 | * raw information elements from the probe response/beacon (bin); | 3064 | * raw information elements from the probe response/beacon (bin); |
| 3062 | * if the %NL80211_BSS_BEACON_IES attribute is present, the IEs here are | 3065 | * if the %NL80211_BSS_BEACON_IES attribute is present and the data is |
| 3063 | * from a Probe Response frame; otherwise they are from a Beacon frame. | 3066 | * different then the IEs here are from a Probe Response frame; otherwise |
| 3067 | * they are from a Beacon frame. | ||
| 3064 | * However, if the driver does not indicate the source of the IEs, these | 3068 | * However, if the driver does not indicate the source of the IEs, these |
| 3065 | * IEs may be from either frame subtype. | 3069 | * IEs may be from either frame subtype. |
| 3070 | * If present, the @NL80211_BSS_PRESP_DATA attribute indicates that the | ||
| 3071 | * data here is known to be from a probe response, without any heuristics. | ||
| 3066 | * @NL80211_BSS_SIGNAL_MBM: signal strength of probe response/beacon | 3072 | * @NL80211_BSS_SIGNAL_MBM: signal strength of probe response/beacon |
| 3067 | * in mBm (100 * dBm) (s32) | 3073 | * in mBm (100 * dBm) (s32) |
| 3068 | * @NL80211_BSS_SIGNAL_UNSPEC: signal strength of the probe response/beacon | 3074 | * @NL80211_BSS_SIGNAL_UNSPEC: signal strength of the probe response/beacon |
| @@ -3074,6 +3080,10 @@ enum nl80211_bss_scan_width { | |||
| 3074 | * yet been received | 3080 | * yet been received |
| 3075 | * @NL80211_BSS_CHAN_WIDTH: channel width of the control channel | 3081 | * @NL80211_BSS_CHAN_WIDTH: channel width of the control channel |
| 3076 | * (u32, enum nl80211_bss_scan_width) | 3082 | * (u32, enum nl80211_bss_scan_width) |
| 3083 | * @NL80211_BSS_BEACON_TSF: TSF of the last received beacon (u64) | ||
| 3084 | * (not present if no beacon frame has been received yet) | ||
| 3085 | * @NL80211_BSS_PRESP_DATA: the data in @NL80211_BSS_INFORMATION_ELEMENTS and | ||
| 3086 | * @NL80211_BSS_TSF is known to be from a probe response (flag attribute) | ||
| 3077 | * @__NL80211_BSS_AFTER_LAST: internal | 3087 | * @__NL80211_BSS_AFTER_LAST: internal |
| 3078 | * @NL80211_BSS_MAX: highest BSS attribute | 3088 | * @NL80211_BSS_MAX: highest BSS attribute |
| 3079 | */ | 3089 | */ |
| @@ -3091,6 +3101,8 @@ enum nl80211_bss { | |||
| 3091 | NL80211_BSS_SEEN_MS_AGO, | 3101 | NL80211_BSS_SEEN_MS_AGO, |
| 3092 | NL80211_BSS_BEACON_IES, | 3102 | NL80211_BSS_BEACON_IES, |
| 3093 | NL80211_BSS_CHAN_WIDTH, | 3103 | NL80211_BSS_CHAN_WIDTH, |
| 3104 | NL80211_BSS_BEACON_TSF, | ||
| 3105 | NL80211_BSS_PRESP_DATA, | ||
| 3094 | 3106 | ||
| 3095 | /* keep last */ | 3107 | /* keep last */ |
| 3096 | __NL80211_BSS_AFTER_LAST, | 3108 | __NL80211_BSS_AFTER_LAST, |
