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
38623862 * @NL80211_BSS_PARENT_BSSID. (u64).
38633863 * @NL80211_BSS_PARENT_BSSID: the BSS according to which @NL80211_BSS_PARENT_TSF
38643864 * 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.
38653868 * @__NL80211_BSS_AFTER_LAST: internal
38663869 * @NL80211_BSS_MAX: highest BSS attribute
38673870 */
@@ -3885,6 +3888,7 @@ enum nl80211_bss { · 17 unmodified lines
38853888 NL80211_BSS_PAD,
38863889 NL80211_BSS_PARENT_TSF,
38873890 NL80211_BSS_PARENT_BSSID,
3891+ NL80211_BSS_CHAIN_SIGNAL,
38883892
38893893 /* keep last */
38903894 __NL80211_BSS_AFTER_LAST,