linux/net/mac80211/debugfs_sta.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2003-2005	Devicescape Software, Inc.
 * Copyright (c) 2006	Jiri Benc <[email protected]>
 * Copyright 2007	Johannes Berg <[email protected]>
 * Copyright 2013-2014  Intel Mobile Communications GmbH
 * Copyright(c) 2016 Intel Deutschland GmbH
 * Copyright (C) 2018 - 2023 Intel Corporation
 */

#include <linux/debugfs.h>
#include <linux/ieee80211.h>
#include "ieee80211_i.h"
#include "debugfs.h"
#include "debugfs_sta.h"
#include "sta_info.h"
#include "driver-ops.h"

/* sta attributes */

#define STA_READ(name, field, format_string)
#define STA_READ_D(name, field)

#define STA_OPS(name)

#define STA_OPS_RW(name)

#define STA_FILE(name, field, format)

STA_FILE(aid, sta.aid, D);

static const char * const sta_flag_names[] =;

static ssize_t sta_flags_read(struct file *file, char __user *userbuf,
			      size_t count, loff_t *ppos)
{}
STA_OPS();

static ssize_t sta_num_ps_buf_frames_read(struct file *file,
					  char __user *userbuf,
					  size_t count, loff_t *ppos)
{}
STA_OPS();

static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf,
				      size_t count, loff_t *ppos)
{}
STA_OPS();

#define AQM_TXQ_ENTRY_LEN

static ssize_t sta_aqm_read(struct file *file, char __user *userbuf,
			size_t count, loff_t *ppos)
{}
STA_OPS();

static ssize_t sta_airtime_read(struct file *file, char __user *userbuf,
				size_t count, loff_t *ppos)
{}

static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf,
				 size_t count, loff_t *ppos)
{}
STA_OPS_RW();

static ssize_t sta_aql_read(struct file *file, char __user *userbuf,
				size_t count, loff_t *ppos)
{}

static ssize_t sta_aql_write(struct file *file, const char __user *userbuf,
				 size_t count, loff_t *ppos)
{}
STA_OPS_RW();


static ssize_t sta_agg_status_do_read(struct wiphy *wiphy, struct file *file,
				      char *buf, size_t bufsz, void *data)
{}

static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
				   size_t count, loff_t *ppos)
{}

static ssize_t sta_agg_status_do_write(struct wiphy *wiphy, struct file *file,
				       char *buf, size_t count, void *data)
{}

static ssize_t sta_agg_status_write(struct file *file,
				    const char __user *userbuf,
				    size_t count, loff_t *ppos)
{}
STA_OPS_RW();

/* link sta attributes */
#define LINK_STA_OPS(name)

static ssize_t link_sta_addr_read(struct file *file, char __user *userbuf,
				  size_t count, loff_t *ppos)
{}

LINK_STA_OPS();

static ssize_t link_sta_ht_capa_read(struct file *file, char __user *userbuf,
				     size_t count, loff_t *ppos)
{}
LINK_STA_OPS();

static ssize_t link_sta_vht_capa_read(struct file *file, char __user *userbuf,
				      size_t count, loff_t *ppos)
{}
LINK_STA_OPS();

static ssize_t link_sta_he_capa_read(struct file *file, char __user *userbuf,
				     size_t count, loff_t *ppos)
{}
LINK_STA_OPS();

static ssize_t link_sta_eht_capa_read(struct file *file, char __user *userbuf,
				      size_t count, loff_t *ppos)
{}
LINK_STA_OPS();

#define DEBUGFS_ADD(name)

#define DEBUGFS_ADD_COUNTER(name, field)

void ieee80211_sta_debugfs_add(struct sta_info *sta)
{}

void ieee80211_sta_debugfs_remove(struct sta_info *sta)
{}

#undef DEBUGFS_ADD
#undef DEBUGFS_ADD_COUNTER

#define DEBUGFS_ADD(name)
#define DEBUGFS_ADD_COUNTER(name, field)

void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta)
{}

void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta)
{}

void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta)
{}

void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta)
{}