adding antenna settings Signed-off-by: Bruno Randolf <br1@xxxxxxxxxxx> --- nl80211.h | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/nl80211.h b/nl80211.h index b7c77f9..46a2c76 100644 --- a/nl80211.h +++ b/nl80211.h @@ -341,6 +341,9 @@ * of any other interfaces, and other interfaces will again take * precedence when they are used. * + * @NL80211_CMD_SET_ANTENNA: Set a bitmap of antennas to use. + * @NL80211_CMD_GET_ANTENNA: Get antenna configuration from driver. + * * @NL80211_CMD_MAX: highest used command number * @__NL80211_CMD_AFTER_LAST: internal use */ @@ -441,6 +444,9 @@ enum nl80211_commands { NL80211_CMD_SET_CHANNEL, + NL80211_CMD_SET_ANTENNA, + NL80211_CMD_GET_ANTENNA, + /* add new commands above here */ /* used to define NL80211_CMD_MAX below */ @@ -725,6 +731,9 @@ enum nl80211_commands { * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations * connected to this BSS. * + * @NL80211_ATTR_ANTENNA_TX: Bitmap of antennas to use for transmitting. + * @NL80211_ATTR_ANTENNA_RX: Bitmap of antennas to use for receiving. + * * @NL80211_ATTR_MAX: highest attribute number currently defined * @__NL80211_ATTR_AFTER_LAST: internal use */ @@ -882,6 +891,9 @@ enum nl80211_attrs { NL80211_ATTR_AP_ISOLATE, + NL80211_ATTR_ANTENNA_TX, + NL80211_ATTR_ANTENNA_RX, + /* add attributes here, update the policy in nl80211.c */ __NL80211_ATTR_AFTER_LAST, -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html