Commit f922ffc0 authored by Peter Meerwald's avatar Peter Meerwald Committed by Greg Kroah-Hartman

staging bcm: spelling of suppress in comments

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95dc690e
...@@ -54,8 +54,8 @@ Function: PHSTransmit ...@@ -54,8 +54,8 @@ Function: PHSTransmit
Description: This routine handle PHS(Payload Header Suppression for Tx path. Description: This routine handle PHS(Payload Header Suppression for Tx path.
It extracts a fragment of the NDIS_PACKET containing the header It extracts a fragment of the NDIS_PACKET containing the header
to be suppressed.It then supresses the header by invoking PHS exported compress routine. to be suppressed. It then suppresses the header by invoking PHS exported compress routine.
The header data after supression is copied back to the NDIS_PACKET. The header data after suppression is copied back to the NDIS_PACKET.
Input parameters: IN struct bcm_mini_adapter *Adapter - Miniport Adapter Context Input parameters: IN struct bcm_mini_adapter *Adapter - Miniport Adapter Context
...@@ -101,7 +101,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter, ...@@ -101,7 +101,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter,
if(!bEthCSSupport) if(!bEthCSSupport)
BytesToRemove=ETH_HLEN; BytesToRemove=ETH_HLEN;
/* /*
Accumulate the header upto the size we support supression Accumulate the header upto the size we support suppression
from NDIS packet from NDIS packet
*/ */
...@@ -125,7 +125,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter, ...@@ -125,7 +125,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter,
{ {
// Step 2 Supress Header using PHS and fill into intermediate ucaPHSPktHdrOutBuf. // Step 2 Suppress Header using PHS and fill into intermediate ucaPHSPktHdrOutBuf.
// Suppress only if IP Header and PHS Enabled For the Service Flow // Suppress only if IP Header and PHS Enabled For the Service Flow
if(((usPacketType == ETHERNET_FRAMETYPE_IPV4) || if(((usPacketType == ETHERNET_FRAMETYPE_IPV4) ||
(usPacketType == ETHERNET_FRAMETYPE_IPV6)) && (usPacketType == ETHERNET_FRAMETYPE_IPV6)) &&
...@@ -238,7 +238,7 @@ int PHSReceive(struct bcm_mini_adapter *Adapter, ...@@ -238,7 +238,7 @@ int PHSReceive(struct bcm_mini_adapter *Adapter,
&nTotalsupressedPktHdrBytes, &nTotalsupressedPktHdrBytes,
&nStandardPktHdrLen); &nStandardPktHdrLen);
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, PHS_RECEIVE,DBG_LVL_ALL,"\nSupressed PktHdrLen : 0x%x Restored PktHdrLen : 0x%x", BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, PHS_RECEIVE,DBG_LVL_ALL,"\nSuppressed PktHdrLen : 0x%x Restored PktHdrLen : 0x%x",
nTotalsupressedPktHdrBytes,nStandardPktHdrLen); nTotalsupressedPktHdrBytes,nStandardPktHdrLen);
if(ulPhsStatus != STATUS_PHS_COMPRESSED) if(ulPhsStatus != STATUS_PHS_COMPRESSED)
......
...@@ -117,7 +117,7 @@ typedef struct _stPhsRuleSI { ...@@ -117,7 +117,7 @@ typedef struct _stPhsRuleSI {
B_UINT8 u8PHSM[MAX_PHS_LENGTHS]; B_UINT8 u8PHSM[MAX_PHS_LENGTHS];
/** 8bit Total number of bytes to be suppressed for the Service Flow*/ /** 8bit Total number of bytes to be suppressed for the Service Flow*/
B_UINT8 u8PHSS; B_UINT8 u8PHSS;
/** 8bit Indicates whether or not Packet Header contents need to be verified prior to supression */ /** 8bit Indicates whether or not Packet Header contents need to be verified prior to suppression */
B_UINT8 u8PHSV; B_UINT8 u8PHSV;
/** Vendor Specific PHS param Length Of The Service Flow*/ /** Vendor Specific PHS param Length Of The Service Flow*/
B_UINT8 u8VendorSpecificPHSParamsLength; B_UINT8 u8VendorSpecificPHSParamsLength;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment