mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 01:20:38 +07:00
ec5a07d5c4
The firmware interface has functions to send bsscfg specific commands to the device. These functions currently have a bssidx parameter, but that same information is stored in struct brcmf_if, which is in the private data of the net_device parameter. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
42 lines
1.8 KiB
C
42 lines
1.8 KiB
C
/*
|
|
* Copyright (c) 2012 Broadcom Corporation
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef _fwil_h_
|
|
#define _fwil_h_
|
|
|
|
s32 brcmf_fil_cmd_data_set(struct net_device *ndev, u32 cmd, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_cmd_data_get(struct net_device *ndev, u32 cmd, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_cmd_int_set(struct net_device *ndev, u32 cmd, u32 data);
|
|
s32 brcmf_fil_cmd_int_get(struct net_device *ndev, u32 cmd, u32 *data);
|
|
|
|
s32 brcmf_fil_iovar_data_set(struct net_device *ndev, char *name, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_iovar_data_get(struct net_device *ndev, char *name, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_iovar_int_set(struct net_device *ndev, char *name, u32 data);
|
|
s32 brcmf_fil_iovar_int_get(struct net_device *ndev, char *name, u32 *data);
|
|
|
|
s32 brcmf_fil_bsscfg_data_set(struct net_device *ndev, char *name, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_bsscfg_data_get(struct net_device *ndev, char *name, void *data,
|
|
u32 len);
|
|
s32 brcmf_fil_bsscfg_int_set(struct net_device *ndev, char *name, u32 data);
|
|
s32 brcmf_fil_bsscfg_int_get(struct net_device *ndev, char *name, u32 *data);
|
|
|
|
#endif /* _fwil_h_ */
|