History

wifi: cfg80211: report per wiphy radio antenna mask

With multi-radio devices, each radio typically gets a fixed set of antennas. In order to be able to disable specific antennas for some radios, user space needs to know which antenna mask bits are assigned to which radio.

Felix Fietkau committed 2 years ago

Commit ebda7161 parent 7b68f633 files · +12 −0Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -8036,6 +8036,8 @@ enum nl80211_ap_settings_flags { · 8035 unmodified lines
80368036 * @NL80211_WIPHY_RADIO_ATTR_INTERFACE_COMBINATION: Supported interface
80378037 * combination for this radio. Attribute may be present multiple times
80388038 * and contains attributes defined in &enum nl80211_if_combination_attrs.
8039+ * @NL80211_WIPHY_RADIO_ATTR_ANTENNA_MASK: bitmask (u32) of antennas
8040+ * connected to this radio.
80398041 *
80408042 * @__NL80211_WIPHY_RADIO_ATTR_LAST: Internal
80418043 * @NL80211_WIPHY_RADIO_ATTR_MAX: Highest attribute
@@ -8046,6 +8048,7 @@ enum nl80211_wiphy_radio_attrs { · 4 unmodified lines
80468048 NL80211_WIPHY_RADIO_ATTR_INDEX,
80478049 NL80211_WIPHY_RADIO_ATTR_FREQ_RANGE,
80488050 NL80211_WIPHY_RADIO_ATTR_INTERFACE_COMBINATION,
8051+ NL80211_WIPHY_RADIO_ATTR_ANTENNA_MASK,
80498052
80508053 /* keep last */
80518054 __NL80211_WIPHY_RADIO_ATTR_LAST,