Parcourir la source

qcacmn: QCA vendor attributes for setting channel width

Define QCA vendor attribute in SET(GET)_WIFI_CONFIGURATION to
dynamically configure capabilities for channel width.

Change-Id: Ice842327ca58e51632ed7acffb4c974629129bd4
CRs-Fixed: 2694595
Min Liu il y a 5 ans
Parent
commit
b725ee6291
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 14 0
      os_if/linux/qca_vendor.h

+ 14 - 0
os_if/linux/qca_vendor.h

@@ -4314,6 +4314,20 @@ enum qca_wlan_vendor_attr_config {
 	 */
 	QCA_WLAN_VENDOR_ATTR_CONFIG_PHY_MODE = 62,
 
+	/* 8-bit unsigned value to configure the maximum supported channel width
+	 * for STA mode. If this value is configured when STA is in connected
+	 * state, it should not exceed the negotiated channel width. If it is
+	 * configured when STA is in disconnected state, the configured value
+	 * will take effect for the next immediate connection.
+	 * Possible values are:
+	 *   NL80211_CHAN_WIDTH_20
+	 *   NL80211_CHAN_WIDTH_40
+	 *   NL80211_CHAN_WIDTH_80
+	 *   NL80211_CHAN_WIDTH_80P80
+	 *   NL80211_CHAN_WIDTH_160
+	 */
+	QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH = 63,
+
 	/* 8-bit unsigned value to configure the maximum number of subframes of
 	 * TX MSDU for aggregation. Possible values are 0-31. When set to 0,
 	 * it is decided by hardware.