summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/wifi_hal.cpp
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@codeaurora.org>2018-01-03 23:21:02 +0530
committerRoshan Pius <rpius@google.com>2018-01-23 06:49:32 -0800
commit486a43078fc42efab6bb28a195286f611fc3c72b (patch)
tree0781cbc253ef7c1100e1966a087147084ce6c12c /qcwcn/wifi_hal/wifi_hal.cpp
parentc6ddbe535daff4246aaaecd69f315379d9afd5c3 (diff)
downloadwlan-486a43078fc42efab6bb28a195286f611fc3c72b.tar.gz
Wifi-HAL: Provision to get the Wi-Fi interface's MAC mode
This commit introduces a call back to get the interface and hardware MAC mode information from the driver. This event is notified from the driver on any connection / disconnection of a specific interface. This shall depict the mode (SCC / MCC / DBS) of the MAC hardware at any given point of time. Bug: 68349158 Test: Compiles (cherry-picked from 0833d0fa4eac75ef172b09b51925ad0dafbfc8e7) Change-Id: Ic9ac81315a9dd50053e927892eb5cf43b999b0d3
Diffstat (limited to 'qcwcn/wifi_hal/wifi_hal.cpp')
-rw-r--r--qcwcn/wifi_hal/wifi_hal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/wifi_hal.cpp b/qcwcn/wifi_hal/wifi_hal.cpp
index daec84b..1d9a2be 100644
--- a/qcwcn/wifi_hal/wifi_hal.cpp
+++ b/qcwcn/wifi_hal/wifi_hal.cpp
@@ -413,6 +413,7 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) {
fn->wifi_enable_firmware_roaming = wifi_enable_firmware_roaming;
fn->wifi_select_tx_power_scenario = wifi_select_tx_power_scenario;
fn->wifi_reset_tx_power_scenario = wifi_reset_tx_power_scenario;
+ fn->wifi_set_radio_mode_change_handler = wifi_set_radio_mode_change_handler;
return WIFI_SUCCESS;
}