qcacld-3.0: Remove get_/set_ prefix from sysfs attribute name
sysfs attribute name should not have get_/set_ prefit, it should just be attribute name. read operation is a get and a write operation is a set. Change-Id: I3b87424d1c5cadd836e24f39c20a8bd9ed9ef45e CRs-Fixed: 2720000
This commit is contained in:

committed by
nshrivas

parent
2e78940aef
commit
f4fbeca7d7
@@ -17,7 +17,7 @@
|
||||
/**
|
||||
* DOC: wlan_hdd_sysfs_get_channel.h
|
||||
*
|
||||
* implementation for creating sysfs file get_channel
|
||||
* implementation for creating sysfs file channel
|
||||
*/
|
||||
|
||||
#ifndef _WLAN_HDD_SYSFS_GET_CHANNEL_H
|
||||
@@ -25,22 +25,22 @@
|
||||
|
||||
#if defined(WLAN_SYSFS) && defined(WLAN_SYSFS_GET_CHANNEL)
|
||||
/**
|
||||
* hdd_sysfs_get_channel_interface_create() - API to create get_channel sysfs
|
||||
* hdd_sysfs_get_channel_interface_create() - API to create channel sysfs
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* this file is created for SAP adapter.
|
||||
* file path: /sys/class/net/wlanxx/get_channel
|
||||
* file path: /sys/class/net/wlanxx/channel
|
||||
* where wlanxx is adapter name
|
||||
*
|
||||
* usage:
|
||||
* cat /sys/class/net/wlanxx/get_channel
|
||||
* cat /sys/class/net/wlanxx/channel
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hdd_sysfs_get_channel_interface_create(struct hdd_adapter *adapter);
|
||||
|
||||
/**
|
||||
* hdd_sysfs_get_channel_interface_destroy() - API to destroy get_channel
|
||||
* hdd_sysfs_get_channel_interface_destroy() - API to destroy channel
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* Return: none
|
||||
|
@@ -17,7 +17,7 @@
|
||||
/**
|
||||
* DOC: wlan_hdd_sysfs_get_sta_info.h
|
||||
*
|
||||
* implementation for creating sysfs file get_sta_info
|
||||
* implementation for creating sysfs file sta_info
|
||||
*/
|
||||
|
||||
#ifndef _WLAN_HDD_SYSFS_GET_STA_INFO_H
|
||||
@@ -25,23 +25,23 @@
|
||||
|
||||
#if defined(WLAN_SYSFS) && defined(WLAN_SYSFS_GET_STA_INFO)
|
||||
/**
|
||||
* hdd_sysfs_get_sta_info_interface_create() - API to create get_sta_info sysfs
|
||||
* hdd_sysfs_get_sta_info_interface_create() - API to create sta_info sysfs
|
||||
* interface
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* this file is created for SAP adapter.
|
||||
* file path: /sys/class/net/wlanxx/get_sta_info
|
||||
* file path: /sys/class/net/wlanxx/sta_info
|
||||
* where wlanxx is adapter name
|
||||
*
|
||||
* usage:
|
||||
* cat /sys/class/net/wlanxx/get_sta_info
|
||||
* cat /sys/class/net/wlanxx/sta_info
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hdd_sysfs_get_sta_info_interface_create(struct hdd_adapter *adapter);
|
||||
|
||||
/**
|
||||
* hdd_sysfs_get_sta_info_interface_destroy() - API to destroy get_sta_info
|
||||
* hdd_sysfs_get_sta_info_interface_destroy() - API to destroy sta_info
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* Return: none
|
||||
|
@@ -25,23 +25,23 @@
|
||||
|
||||
#if defined(WLAN_SYSFS) && defined(WLAN_GET_TDLS_PEERS)
|
||||
/**
|
||||
* hdd_sysfs_get_tdls_peers_interface_create() - API to create get_tdls_peers
|
||||
* hdd_sysfs_get_tdls_peers_interface_create() - API to create tdls_peers
|
||||
* sysfs interface
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
* this file is created per adapter.
|
||||
* file path: /sys/class/net/wlanxx/get_tdls_peers
|
||||
* file path: /sys/class/net/wlanxx/tdls_peers
|
||||
* where wlanxx is adapter name
|
||||
*
|
||||
* usage:
|
||||
* cat /sys/class/net/wlanxx/get_tdls_peers
|
||||
* cat /sys/class/net/wlanxx/tdls_peers
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hdd_sysfs_get_tdls_peers_interface_create(struct hdd_adapter *adapter);
|
||||
|
||||
/**
|
||||
* hdd_sysfs_get_tdls_peers_interface_destroy() - API to destroy get_tdls_peers
|
||||
* hdd_sysfs_get_tdls_peers_interface_destroy() - API to destroy tdls_peers
|
||||
* sysfs interface
|
||||
* @adapter: pointer to adapter
|
||||
*
|
||||
|
Reference in New Issue
Block a user