0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __LOCAL_S3FWRN5_NCI_H_
0010 #define __LOCAL_S3FWRN5_NCI_H_
0011
0012 #include "s3fwrn5.h"
0013
0014 #define NCI_PROP_SET_RFREG 0x22
0015
0016 struct nci_prop_set_rfreg_cmd {
0017 __u8 index;
0018 __u8 data[252];
0019 };
0020
0021 struct nci_prop_set_rfreg_rsp {
0022 __u8 status;
0023 };
0024
0025 #define NCI_PROP_START_RFREG 0x26
0026
0027 struct nci_prop_start_rfreg_rsp {
0028 __u8 status;
0029 };
0030
0031 #define NCI_PROP_STOP_RFREG 0x27
0032
0033 struct nci_prop_stop_rfreg_cmd {
0034 __u16 checksum;
0035 };
0036
0037 struct nci_prop_stop_rfreg_rsp {
0038 __u8 status;
0039 };
0040
0041 #define NCI_PROP_FW_CFG 0x28
0042
0043 struct nci_prop_fw_cfg_cmd {
0044 __u8 clk_type;
0045 __u8 clk_speed;
0046 __u8 clk_req;
0047 };
0048
0049 struct nci_prop_fw_cfg_rsp {
0050 __u8 status;
0051 };
0052
0053 extern const struct nci_driver_ops s3fwrn5_nci_prop_ops[4];
0054 int s3fwrn5_nci_rf_configure(struct s3fwrn5_info *info, const char *fw_name);
0055
0056 #endif