Staging: bcm: Remove typedef for _S_MIBS_DROPPED_APP_CNTRL_MESSAGES and call directly.
This patch removes typedef for _S_MIBS_DROPPED_APP_CNTRL_MESSAGES, and changes the name of the struct to bcm_mibs_dropped_cntrl_msg. In addition, any calls to typedef S_MIBS_DROPPED_APP_CNTRL_MESSAGES are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
954f91d1af
commit
2790a3cc82
|
@ -198,7 +198,7 @@ struct bcm_tarang_data {
|
||||||
int AppCtrlQueueLen;
|
int AppCtrlQueueLen;
|
||||||
BOOLEAN MacTracingEnabled;
|
BOOLEAN MacTracingEnabled;
|
||||||
BOOLEAN bApplicationToExit;
|
BOOLEAN bApplicationToExit;
|
||||||
S_MIBS_DROPPED_APP_CNTRL_MESSAGES stDroppedAppCntrlMsgs;
|
struct bcm_mibs_dropped_cntrl_msg stDroppedAppCntrlMsgs;
|
||||||
ULONG RxCntrlMsgBitMask;
|
ULONG RxCntrlMsgBitMask;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ INT flushAllAppQ(void)
|
||||||
pTarang->AppCtrlQueueLen = 0;
|
pTarang->AppCtrlQueueLen = 0;
|
||||||
/* dropped contrl packet statistics also should be reset. */
|
/* dropped contrl packet statistics also should be reset. */
|
||||||
memset((PVOID)&pTarang->stDroppedAppCntrlMsgs, 0,
|
memset((PVOID)&pTarang->stDroppedAppCntrlMsgs, 0,
|
||||||
sizeof(S_MIBS_DROPPED_APP_CNTRL_MESSAGES));
|
sizeof(struct bcm_mibs_dropped_cntrl_msg));
|
||||||
|
|
||||||
}
|
}
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
|
@ -170,7 +170,7 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE {
|
||||||
unsigned int uiTotalTxBytes;
|
unsigned int uiTotalTxBytes;
|
||||||
} S_MIBS_SERVICEFLOW_TABLE;
|
} S_MIBS_SERVICEFLOW_TABLE;
|
||||||
|
|
||||||
typedef struct _S_MIBS_DROPPED_APP_CNTRL_MESSAGES {
|
struct bcm_mibs_dropped_cntrl_msg {
|
||||||
unsigned long cm_responses;
|
unsigned long cm_responses;
|
||||||
unsigned long cm_control_newdsx_multiclassifier_resp;
|
unsigned long cm_control_newdsx_multiclassifier_resp;
|
||||||
unsigned long link_control_resp;
|
unsigned long link_control_resp;
|
||||||
|
@ -179,14 +179,14 @@ typedef struct _S_MIBS_DROPPED_APP_CNTRL_MESSAGES {
|
||||||
unsigned long idle_mode_status;
|
unsigned long idle_mode_status;
|
||||||
unsigned long auth_ss_host_msg;
|
unsigned long auth_ss_host_msg;
|
||||||
unsigned long low_priority_message;
|
unsigned long low_priority_message;
|
||||||
} S_MIBS_DROPPED_APP_CNTRL_MESSAGES;
|
};
|
||||||
|
|
||||||
struct bcm_host_stats_mibs {
|
struct bcm_host_stats_mibs {
|
||||||
S_MIBS_HOST_INFO stHostInfo;
|
S_MIBS_HOST_INFO stHostInfo;
|
||||||
S_MIBS_CLASSIFIER_RULE astClassifierTable[MIBS_MAX_CLASSIFIERS];
|
S_MIBS_CLASSIFIER_RULE astClassifierTable[MIBS_MAX_CLASSIFIERS];
|
||||||
S_MIBS_SERVICEFLOW_TABLE astSFtable[MIBS_MAX_SERVICEFLOWS];
|
S_MIBS_SERVICEFLOW_TABLE astSFtable[MIBS_MAX_SERVICEFLOWS];
|
||||||
S_MIBS_PHS_RULE astPhsRulesTable[MIBS_MAX_PHSRULES];
|
S_MIBS_PHS_RULE astPhsRulesTable[MIBS_MAX_PHSRULES];
|
||||||
S_MIBS_DROPPED_APP_CNTRL_MESSAGES stDroppedAppCntrlMsgs;
|
struct bcm_mibs_dropped_cntrl_msg stDroppedAppCntrlMsgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,7 +98,7 @@ VOID GetDroppedAppCntrlPktMibs(struct bcm_host_stats_mibs *pstHostMibs, struct b
|
||||||
{
|
{
|
||||||
memcpy(&(pstHostMibs->stDroppedAppCntrlMsgs),
|
memcpy(&(pstHostMibs->stDroppedAppCntrlMsgs),
|
||||||
&(pTarang->stDroppedAppCntrlMsgs),
|
&(pTarang->stDroppedAppCntrlMsgs),
|
||||||
sizeof(S_MIBS_DROPPED_APP_CNTRL_MESSAGES));
|
sizeof(struct bcm_mibs_dropped_cntrl_msg));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CopyMIBSExtendedSFParameters(struct bcm_mini_adapter *Adapter, struct bcm_connect_mgr_params *psfLocalSet, UINT uiSearchRuleIndex)
|
VOID CopyMIBSExtendedSFParameters(struct bcm_mini_adapter *Adapter, struct bcm_connect_mgr_params *psfLocalSet, UINT uiSearchRuleIndex)
|
||||||
|
|
Loading…
Reference in a new issue