History

cfg80211: Scan results to also report the per chain signal strength

This commit enhances the scan results to report the per chain signal strength based on the latest BSS update. This provides similar information to what is already available through STA information.

Sunil Dutt committed 8 years ago

Commit 983dafa1 parent 86b6c464 files · +22 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -3862,6 +3862,9 @@ enum nl80211_bss_scan_width { · 3861 unmodified lines
3862 * @NL80211_BSS_PARENT_BSSID. (u64).3862 * @NL80211_BSS_PARENT_BSSID. (u64).
3863 * @NL80211_BSS_PARENT_BSSID: the BSS according to which @NL80211_BSS_PARENT_TSF3863 * @NL80211_BSS_PARENT_BSSID: the BSS according to which @NL80211_BSS_PARENT_TSF
3864 * is set.3864 * is set.
3865 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
3866 * Contains a nested array of signal strength attributes (u8, dBm),
3867 * using the nesting index as the antenna number.
3865 * @__NL80211_BSS_AFTER_LAST: internal3868 * @__NL80211_BSS_AFTER_LAST: internal
3866 * @NL80211_BSS_MAX: highest BSS attribute3869 * @NL80211_BSS_MAX: highest BSS attribute
3867 */3870 */
@@ -3885,6 +3888,7 @@ enum nl80211_bss { · 17 unmodified lines
3885 NL80211_BSS_PAD,3888 NL80211_BSS_PAD,
3886 NL80211_BSS_PARENT_TSF,3889 NL80211_BSS_PARENT_TSF,
3887 NL80211_BSS_PARENT_BSSID,3890 NL80211_BSS_PARENT_BSSID,
3891 NL80211_BSS_CHAIN_SIGNAL,
3888 3892
3889 /* keep last */3893 /* keep last */
3890 __NL80211_BSS_AFTER_LAST,3894 __NL80211_BSS_AFTER_LAST,