Searched refs:mesh_access (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | mesh.c | 160 struct cmd_ds_mesh_access mesh_access; lbs_anycast_get() local 163 memset(&mesh_access, 0, sizeof(mesh_access)); lbs_anycast_get() 165 ret = lbs_mesh_access(priv, CMD_ACT_MESH_GET_ANYCAST, &mesh_access); lbs_anycast_get() 169 return snprintf(buf, 12, "0x%X\n", le32_to_cpu(mesh_access.data[0])); lbs_anycast_get() 183 struct cmd_ds_mesh_access mesh_access; lbs_anycast_set() local 187 memset(&mesh_access, 0, sizeof(mesh_access)); lbs_anycast_set() 189 mesh_access.data[0] = cpu_to_le32(datum); lbs_anycast_set() 191 ret = lbs_mesh_access(priv, CMD_ACT_MESH_SET_ANYCAST, &mesh_access); lbs_anycast_set() 208 struct cmd_ds_mesh_access mesh_access; lbs_prb_rsp_limit_get() local 212 memset(&mesh_access, 0, sizeof(mesh_access)); lbs_prb_rsp_limit_get() 213 mesh_access.data[0] = cpu_to_le32(CMD_ACT_GET); lbs_prb_rsp_limit_get() 216 &mesh_access); lbs_prb_rsp_limit_get() 220 retry_limit = le32_to_cpu(mesh_access.data[1]); lbs_prb_rsp_limit_get() 235 struct cmd_ds_mesh_access mesh_access; lbs_prb_rsp_limit_set() local 239 memset(&mesh_access, 0, sizeof(mesh_access)); lbs_prb_rsp_limit_set() 240 mesh_access.data[0] = cpu_to_le32(CMD_ACT_SET); lbs_prb_rsp_limit_set() 247 mesh_access.data[1] = cpu_to_le32(retry_limit); lbs_prb_rsp_limit_set() 250 &mesh_access); lbs_prb_rsp_limit_set() 1126 struct cmd_ds_mesh_access mesh_access; lbs_mesh_ethtool_get_stats() local 1132 ret = lbs_mesh_access(priv, CMD_ACT_MESH_GET_STATS, &mesh_access); lbs_mesh_ethtool_get_stats() 1139 priv->mstats.fwd_drop_rbt = le32_to_cpu(mesh_access.data[0]); lbs_mesh_ethtool_get_stats() 1140 priv->mstats.fwd_drop_ttl = le32_to_cpu(mesh_access.data[1]); lbs_mesh_ethtool_get_stats() 1141 priv->mstats.fwd_drop_noroute = le32_to_cpu(mesh_access.data[2]); lbs_mesh_ethtool_get_stats() 1142 priv->mstats.fwd_drop_nobuf = le32_to_cpu(mesh_access.data[3]); lbs_mesh_ethtool_get_stats() 1143 priv->mstats.fwd_unicast_cnt = le32_to_cpu(mesh_access.data[4]); lbs_mesh_ethtool_get_stats() 1144 priv->mstats.fwd_bcast_cnt = le32_to_cpu(mesh_access.data[5]); lbs_mesh_ethtool_get_stats() 1145 priv->mstats.drop_blind = le32_to_cpu(mesh_access.data[6]); lbs_mesh_ethtool_get_stats() 1146 priv->mstats.tx_failed_cnt = le32_to_cpu(mesh_access.data[7]); lbs_mesh_ethtool_get_stats()
|
Completed in 80 milliseconds