summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-03-08 12:10:44 +0530
committernshrivas <nshrivas@codeaurora.org>2018-04-18 09:58:30 -0700
commite074636c12aad3728a19af6ce680c2f742f14950 (patch)
tree0e07238b10c32c707e2c52f8f5c4e35d03d0dd38
parent25b11535d70b604969721b271beb37233a8399aa (diff)
qcacmn: Add OUI support for alternate ITO in low RSSI
In some APs the throughput is not up to the mark when the RSSI is low. To take care of this, alternate ITOs are needed high/low RSSI and applying low RSSI ITO based on configurable OUI. Add support for new ini for alternate ITO for specific OUIs. Change-Id: I6c22e3cc2ef67fad7691a57706ec5dee14f0f965 CRs-Fixed: 2219671
-rw-r--r--wmi/inc/wmi_unified_param.h3
-rw-r--r--wmi/src/wmi_unified_tlv.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h
index 3951beb340a4..ee7a86e3d235 100644
--- a/wmi/inc/wmi_unified_param.h
+++ b/wmi/inc/wmi_unified_param.h
@@ -7390,7 +7390,8 @@ enum wmi_action_oui_id {
WMI_ACTION_OUI_CONNECT_1X1 = 0,
WMI_ACTION_OUI_ITO_EXTENSION = 1,
WMI_ACTION_OUI_CCKM_1X1 = 2,
- WMI_ACTION_OUI_MAXIMUM_ID = 3,
+ WMI_ACTION_OUI_ITO_ALTERNATE = 3,
+ WMI_ACTION_OUI_MAXIMUM_ID = 4,
};
/**
diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c
index 553edf293f78..2bd391e2ba27 100644
--- a/wmi/src/wmi_unified_tlv.c
+++ b/wmi/src/wmi_unified_tlv.c
@@ -14142,6 +14142,10 @@ wmi_get_action_oui_id(enum wmi_action_oui_id action_id,
*id = WMI_VENDOR_OUI_ACTION_CCKM_1X1;
return true;
+ case WMI_ACTION_OUI_ITO_ALTERNATE:
+ *id = WMI_VENDOR_OUI_ACTION_ALT_ITO;
+ return true;
+
default:
return false;
}