qcacld-3.0: Add a sysfs replacement for dl_mode commands

As part of WEXT replacement, replace dl_loglevel, dl_mod_loglevel,
dl_modoff, dl_modon, dl_report, dl_type, dl_vapoff, dl_vapon with
a sysfs file.

file path: /sys/class/net/wlanxx/dl_loglevel
file path: /sys/class/net/wlanxx/dl_mod_loglevel
file path: /sys/class/net/wlanxx/dl_modoff
file path: /sys/class/net/wlanxx/dl_modon
file path: /sys/class/net/wlanxx/dl_report
file path: /sys/class/net/wlanxx/dl_type
file path: /sys/class/net/wlanxx/dl_vapoff
file path: /sys/class/net/wlanxx/dl_vapon
        wlanxx is adapter name

example: echo 1 > dl_loglevel
example: echo 1 > dl_mod_loglevel
example: echo 1 > dl_modoff
example: echo 1 > dl_modon
example: echo 1 > dl_report
example: echo 1 > dl_type
example: echo 1 > dl_vapoff
example: echo 1 > dl_vapon

Change-Id: Ic3d748738d0072e42b7ff07177f2ca711b333193
CRs-Fixed: 2715053
This commit is contained in:
Alan Chen 2020-06-19 20:19:32 -07:00 • committed by snandini
commit 38888ae732
5 changed files with 932 additions and 0 deletions

View file

@ -224,6 +224,7 @@ ifeq ($(CONFIG_QCOM_TDLS), y)
endif
CONFIG_WLAN_SYSFS_TEMPERATURE := y
CONFIG_WLAN_THERMAL_CFG := y
CONFIG_WLAN_DL_MODES := y
endif
CONFIG_WLAN_POWER_DEBUG := y