Staging: rt2860: reduce superfluous exclamation marks
This removes superfluous exclamation marks from strings and comments, and also three spelling typos. Signed-off-by: Sebastian Dalfuß <sd@sedf.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
956cd45d03
commit
06aea994cf
|
@ -1481,7 +1481,7 @@ static void ba_enqueue_reordering_packet(struct rt_rtmp_adapter *pAd,
|
|||
NdisReleaseSpinLock(&pBAEntry->RxReRingLock);
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("!!! (%d) Can't allocate reordering mpdu blk\n",
|
||||
(" (%d) Can't allocate reordering mpdu blk\n",
|
||||
pBAEntry->list.qlen));
|
||||
|
||||
/*
|
||||
|
@ -1542,7 +1542,7 @@ void Indicate_AMPDU_Packet(struct rt_rtmp_adapter *pAd,
|
|||
}
|
||||
pBAEntry = &pAd->BATable.BARecEntry[Idx];
|
||||
} else {
|
||||
/* impossible !!! */
|
||||
/* impossible ! */
|
||||
ASSERT(0);
|
||||
/* release packet */
|
||||
RELEASE_NDIS_PACKET(pAd, pRxBlk->pRxPacket,
|
||||
|
|
|
@ -1279,7 +1279,7 @@ void AES_GTK_KEY_UNWRAP(u8 * key,
|
|||
|
||||
if (R == NULL) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("!!!AES_GTK_KEY_UNWRAP: no memory!!!\n"));
|
||||
("AES_GTK_KEY_UNWRAP: no memory!\n"));
|
||||
return;
|
||||
}
|
||||
/* End of if */
|
||||
|
|
|
@ -1005,7 +1005,7 @@ void AsicSwitchChannel(struct rt_rtmp_adapter *pAd, u8 Channel, IN BOOLEAN bScan
|
|||
void AsicResetBBPAgent(struct rt_rtmp_adapter *pAd)
|
||||
{
|
||||
BBP_CSR_CFG_STRUC BbpCsr;
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit.!! \n"));
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit!\n"));
|
||||
/* Still need to find why BBP agent keeps busy, but in fact, hardware still function ok. Now clear busy first. */
|
||||
RTMP_IO_READ32(pAd, H2M_BBP_AGENT, &BbpCsr.word);
|
||||
BbpCsr.field.Busy = 0;
|
||||
|
|
|
@ -397,7 +397,7 @@ int MlmeHardTransmitMgmtRing(struct rt_rtmp_adapter *pAd,
|
|||
&& (pAd->CommonCfg.bIEEE80211H == 1)
|
||||
&& (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("MlmeHardTransmit --> radar detect not in normal mode !!!\n"));
|
||||
("MlmeHardTransmit --> radar detect not in normal mode!\n"));
|
||||
/* if (!IrqState) */
|
||||
RTMP_SEM_UNLOCK(&pAd->MgmtRingLock);
|
||||
return (NDIS_STATUS_FAILURE);
|
||||
|
@ -964,7 +964,7 @@ u16 RTMPCalcDuration(struct rt_rtmp_adapter *pAd, u8 Rate, unsigned long Size)
|
|||
IRQL = PASSIVE_LEVEL
|
||||
IRQL = DISPATCH_LEVEL
|
||||
|
||||
See also : BASmartHardTransmit() !!!
|
||||
See also : BASmartHardTransmit() !
|
||||
|
||||
========================================================================
|
||||
*/
|
||||
|
@ -1708,7 +1708,7 @@ BOOLEAN MacTableDeleteEntry(struct rt_rtmp_adapter *pAd,
|
|||
pProbeEntry = pProbeEntry->pNext;
|
||||
} while (pProbeEntry);
|
||||
|
||||
/* not found !!! */
|
||||
/* not found ! */
|
||||
ASSERT(pProbeEntry != NULL);
|
||||
|
||||
RTMP_STA_ENTRY_KEY_DEL(pAd, BSS0, wcid);
|
||||
|
@ -1729,7 +1729,7 @@ BOOLEAN MacTableDeleteEntry(struct rt_rtmp_adapter *pAd,
|
|||
pAd->MacTab.Size));
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_OFF,
|
||||
("\n%s: Impossible Wcid = %d !!!!!\n",
|
||||
("\n%s: Impossible Wcid = %d !\n",
|
||||
__func__, wcid));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -847,7 +847,7 @@ VOID RT28xxPciStaAsicForceWakeup(
|
|||
AutoWakeupCfg.word = 0;
|
||||
RTMP_IO_WRITE32(pAd, AUTO_WAKEUP_CFG, AutoWakeupCfg.word);
|
||||
|
||||
// If this is called from Halt. ALWAYS force wakeup!!!
|
||||
// If this is called from Halt. ALWAYS force wakeup!
|
||||
if (Level == RTMP_HALT)
|
||||
{
|
||||
RT28xxPciAsicRadioOn(pAd, RTMP_HALT);
|
||||
|
|
|
@ -979,7 +979,7 @@ int MlmeHardTransmitTxRing(struct rt_rtmp_adapter *pAd,
|
|||
&& (pAd->CommonCfg.bIEEE80211H == 1)
|
||||
&& (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("MlmeHardTransmit --> radar detect not in normal mode !!!\n"));
|
||||
("MlmeHardTransmit --> radar detect not in normal mode!\n"));
|
||||
/*NdisReleaseSpinLock(&pAd->TxRingLock); */
|
||||
return (NDIS_STATUS_FAILURE);
|
||||
}
|
||||
|
|
|
@ -1650,7 +1650,7 @@ void RT28xxPciMlmeRadioOFF(struct rt_rtmp_adapter *pAd)
|
|||
|
||||
if (brc == FALSE) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("%s call RT28xxPciAsicRadioOff fail !!\n",
|
||||
("%s call RT28xxPciAsicRadioOff fail!\n",
|
||||
__func__));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -205,9 +205,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
/*Allocate URB */
|
||||
LM_USB_ALLOC(pObj, pHTTXContext, struct rt_httx_buffer *,
|
||||
sizeof(struct rt_httx_buffer), Status,
|
||||
("<-- ERROR in Alloc TX TxContext[%d] urb!! \n",
|
||||
("<-- ERROR in Alloc TX TxContext[%d] urb!\n",
|
||||
acidx), done,
|
||||
("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer !! \n",
|
||||
("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer!\n",
|
||||
acidx), out1);
|
||||
|
||||
NdisZeroMemory(pHTTXContext->TransferBuffer->
|
||||
|
@ -259,7 +259,7 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
pMLMEContext->pUrb = RTUSB_ALLOC_URB(0);
|
||||
if (pMLMEContext->pUrb == NULL) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("<-- ERROR in Alloc TX MLMEContext[%d] urb!! \n",
|
||||
("<-- ERROR in Alloc TX MLMEContext[%d] urb!\n",
|
||||
i));
|
||||
Status = NDIS_STATUS_RESOURCES;
|
||||
goto out2;
|
||||
|
@ -296,9 +296,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
/*Allocate URB */
|
||||
LM_USB_ALLOC(pObj, pBeaconContext, struct rt_tx_buffer *,
|
||||
sizeof(struct rt_tx_buffer), Status,
|
||||
("<-- ERROR in Alloc TX BeaconContext[%d] urb!! \n",
|
||||
("<-- ERROR in Alloc TX BeaconContext[%d] urb!\n",
|
||||
i), out2,
|
||||
("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer !! \n",
|
||||
("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer!\n",
|
||||
i), out3);
|
||||
|
||||
pBeaconContext->pAd = pAd;
|
||||
|
@ -315,9 +315,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
/*Allocate URB */
|
||||
LM_USB_ALLOC(pObj, pNullContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer),
|
||||
Status,
|
||||
("<-- ERROR in Alloc TX NullContext urb!! \n"),
|
||||
("<-- ERROR in Alloc TX NullContext urb!\n"),
|
||||
out3,
|
||||
("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer !! \n"),
|
||||
("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer!\n"),
|
||||
out4);
|
||||
|
||||
pNullContext->pAd = pAd;
|
||||
|
@ -333,9 +333,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
/*Allocate URB */
|
||||
LM_USB_ALLOC(pObj, pRTSContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer),
|
||||
Status,
|
||||
("<-- ERROR in Alloc TX RTSContext urb!! \n"),
|
||||
("<-- ERROR in Alloc TX RTSContext urb!\n"),
|
||||
out4,
|
||||
("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer !! \n"),
|
||||
("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer!\n"),
|
||||
out5);
|
||||
|
||||
pRTSContext->pAd = pAd;
|
||||
|
@ -350,9 +350,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
|
|||
/*Allocate URB */
|
||||
LM_USB_ALLOC(pObj, pPsPollContext, struct rt_tx_buffer *,
|
||||
sizeof(struct rt_tx_buffer), Status,
|
||||
("<-- ERROR in Alloc TX PsPollContext urb!! \n"),
|
||||
("<-- ERROR in Alloc TX PsPollContext urb!\n"),
|
||||
out5,
|
||||
("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer !! \n"),
|
||||
("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer!\n"),
|
||||
out6);
|
||||
|
||||
pPsPollContext->pAd = pAd;
|
||||
|
|
|
@ -256,7 +256,7 @@ BOOLEAN PeerBeaconAndProbeRspSanity(struct rt_rtmp_adapter *pAd, void * Msg, uns
|
|||
|
||||
/* For some 11a AP which didn't have DS_IE, we use two conditions to decide the channel */
|
||||
/* 1. If the AP is 11n enabled, then check the control channel. */
|
||||
/* 2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!!) */
|
||||
/* 2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!) */
|
||||
u8 CtrlChannel = 0;
|
||||
|
||||
/* Add for 3 necessary EID field check */
|
||||
|
@ -371,7 +371,7 @@ BOOLEAN PeerBeaconAndProbeRspSanity(struct rt_rtmp_adapter *pAd, void * Msg, uns
|
|||
break;
|
||||
|
||||
case IE_HT_CAP:
|
||||
if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension.!! */
|
||||
if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension! */
|
||||
{
|
||||
NdisMoveMemory(pHtCapability, pEid->Octet,
|
||||
sizeof(struct rt_ht_capability_ie));
|
||||
|
|
|
@ -828,6 +828,6 @@ BOOLEAN RTMPSoftDecryptTKIP(struct rt_rtmp_adapter *pAd,
|
|||
/*RTMPReportMicError(pAd, &pWpaKey[KeyID]); // marked by AlbertY @ 20060630 */
|
||||
return (FALSE);
|
||||
}
|
||||
/*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!!\n"); */
|
||||
/*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!\n"); */
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -245,7 +245,7 @@ BOOLEAN RTMPSoftDecryptWEP(struct rt_rtmp_adapter *pAd,
|
|||
crc32 ^= 0xffffffff; /* complement */
|
||||
|
||||
if (crc32 != cpu2le32(trailfcs)) {
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("! WEP Data CRC Error !\n")); /*CRC error. */
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("WEP Data CRC Error!\n")); /*CRC error. */
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
|
|
@ -1292,7 +1292,7 @@ void PRF(u8 * key,
|
|||
os_alloc_mem(NULL, (u8 **) & input, 1024);
|
||||
|
||||
if (input == NULL) {
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("!!!PRF: no memory!!!\n"));
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("PRF: no memory!\n"));
|
||||
return;
|
||||
}
|
||||
/* Generate concatenation input */
|
||||
|
@ -2672,7 +2672,7 @@ static void CalculateMIC(u8 KeyDescVer,
|
|||
os_alloc_mem(NULL, (u8 **) & OutBuffer, 512);
|
||||
|
||||
if (OutBuffer == NULL) {
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("!!!CalculateMIC: no memory!!!\n"));
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("CalculateMIC: no memory!\n"));
|
||||
return;
|
||||
}
|
||||
/* make a frame for calculating MIC. */
|
||||
|
|
|
@ -483,7 +483,7 @@ void MlmeHandler(struct rt_rtmp_adapter *pAd)
|
|||
#ifdef RTMP_MAC_USB
|
||||
if (Elem->MsgType == MT2_RESET_CONF) {
|
||||
DBGPRINT_RAW(RT_DEBUG_TRACE,
|
||||
("!!! reset MLME state machine !!!\n"));
|
||||
("reset MLME state machine!\n"));
|
||||
MlmeRestartStateMachine(pAd);
|
||||
Elem->Occupied = FALSE;
|
||||
Elem->MsgLen = 0;
|
||||
|
@ -4042,7 +4042,7 @@ void BssTableSsidSort(struct rt_rtmp_adapter *pAd,
|
|||
}
|
||||
/* Since the AP is using hidden SSID, and we are trying to connect to ANY */
|
||||
/* It definitely will fail. So, skip it. */
|
||||
/* CCX also require not even try to connect it!! */
|
||||
/* CCX also require not even try to connect it! */
|
||||
if (SsidLen == 0)
|
||||
continue;
|
||||
|
||||
|
@ -4600,8 +4600,8 @@ void MgtMacHeaderInit(struct rt_rtmp_adapter *pAd,
|
|||
* input params:
|
||||
* Buffer - pointer to a pre-allocated memory segment
|
||||
* args - a list of <int arg_size, arg> pairs.
|
||||
* NOTE NOTE NOTE!!!! the last argument must be NULL, otherwise this
|
||||
* function will FAIL!!!
|
||||
* NOTE NOTE NOTE! the last argument must be NULL, otherwise this
|
||||
* function will FAIL!
|
||||
* return:
|
||||
* Size of the buffer
|
||||
* usage:
|
||||
|
|
|
@ -72,7 +72,7 @@ int RT30xxWriteRFRegister(struct rt_rtmp_adapter *pAd,
|
|||
if ((i == RETRY_LIMIT)
|
||||
|| (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_NIC_NOT_EXIST))) {
|
||||
DBGPRINT_RAW(RT_DEBUG_ERROR,
|
||||
("Retry count exhausted or device removed!!!\n"));
|
||||
("Retry count exhausted or device removed!\n"));
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ struct rt_rtmp_reg_pair MACRegTable[] = {
|
|||
{BCN_OFFSET0, 0xece8e4e0}, /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */
|
||||
{BCN_OFFSET1, 0xfcf8f4f0}, /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */
|
||||
#else
|
||||
#error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]!!!
|
||||
#error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]!
|
||||
#endif /* HW_BEACON_OFFSET // */
|
||||
|
||||
{LEGACY_BASIC_RATE, 0x0000013f}, /* Basic rate set bitmap */
|
||||
|
@ -1272,7 +1272,7 @@ void NICInitAsicFromEEPROM(struct rt_rtmp_adapter *pAd)
|
|||
pAd->bAutoTxAgcA = pAd->bAutoTxAgcG = FALSE;
|
||||
/* */
|
||||
/* Since BBP has been progamed, to make sure BBP setting will be */
|
||||
/* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND!! */
|
||||
/* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND! */
|
||||
/* */
|
||||
pAd->CommonCfg.BandState = UNKNOWN_BAND;
|
||||
|
||||
|
@ -3470,7 +3470,7 @@ err1:
|
|||
err0:
|
||||
#endif /* ST // */
|
||||
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("!!! rt28xx Initialized fail !!!\n"));
|
||||
DBGPRINT(RT_DEBUG_ERROR, ("rt28xx Initialized fail!\n"));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -557,7 +557,7 @@ enum {
|
|||
/* New for MeetingHouse Api support */
|
||||
#define OID_MH_802_1X_SUPPORTED 0xFFEDC100
|
||||
|
||||
/* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! */
|
||||
/* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition! */
|
||||
typedef union _HTTRANSMIT_SETTING {
|
||||
struct {
|
||||
u16 MCS:7; /* MCS */
|
||||
|
@ -614,7 +614,7 @@ struct rt_802_11_event_table {
|
|||
struct rt_802_11_event_log Log[MAX_NUMBER_OF_EVENT];
|
||||
};
|
||||
|
||||
/* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! */
|
||||
/* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition! */
|
||||
typedef union _MACHTTRANSMIT_SETTING {
|
||||
struct {
|
||||
u16 MCS:7; /* MCS */
|
||||
|
|
|
@ -51,7 +51,7 @@ char const *pWirelessSysEventText[IW_SYS_EVENT_TYPE_NUM] = {
|
|||
"connects with our wireless client", /* IW_STA_LINKUP_EVENT_FLAG */
|
||||
"disconnects with our wireless client", /* IW_STA_LINKDOWN_EVENT_FLAG */
|
||||
"scan completed" /* IW_SCAN_COMPLETED_EVENT_FLAG */
|
||||
"scan terminate!! Busy!! Enqueue fail!!" /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */
|
||||
"scan terminate! Busy! Enqueue fail!" /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */
|
||||
};
|
||||
|
||||
/* for wireless IDS_spoof_attack event message */
|
||||
|
@ -1282,7 +1282,7 @@ int RtmpOSNetDevDestory(struct rt_rtmp_adapter *pAd, struct net_device *pNetDev)
|
|||
{
|
||||
|
||||
/* TODO: Need to fix this */
|
||||
printk("WARNING: This function(%s) not implement yet!!!\n", __func__);
|
||||
printk("WARNING: This function(%s) not implement yet!\n", __func__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -427,7 +427,7 @@ do{ \
|
|||
|
||||
#define DBGPRINT_ERR(Fmt) \
|
||||
{ \
|
||||
printk("ERROR!!! "); \
|
||||
printk("ERROR! "); \
|
||||
printk Fmt; \
|
||||
}
|
||||
|
||||
|
|
|
@ -321,7 +321,7 @@ int rt28xx_close(struct net_device *dev)
|
|||
|
||||
if (brc == FALSE) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("%s call RT28xxPciAsicRadioOff fail !!\n",
|
||||
("%s call RT28xxPciAsicRadioOff fail!\n",
|
||||
__func__));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -197,7 +197,7 @@ typedef union _EEPROM_NIC_CINFIG2_STRUC {
|
|||
u16 DynamicTxAgcControl:1; /* */
|
||||
u16 ExternalLNAForG:1; /* */
|
||||
u16 ExternalLNAForA:1; /* external LNA enable for 2.4G */
|
||||
u16 CardbusAcceleration:1; /* !!! NOTE: 0 - enable, 1 - disable */
|
||||
u16 CardbusAcceleration:1; /* ! NOTE: 0 - enable, 1 - disable */
|
||||
u16 BW40MSidebandForG:1;
|
||||
u16 BW40MSidebandForA:1;
|
||||
u16 EnableWPSPBC:1; /* WPS PBC Control bit */
|
||||
|
|
|
@ -409,7 +409,7 @@
|
|||
#define MAX_LEN_OF_MAC_TABLE MAX_NUMBER_OF_MAC /* if MAX_MBSSID_NUM is 8, this value can't be larger than 211 */
|
||||
|
||||
#if MAX_LEN_OF_MAC_TABLE>MAX_AVAILABLE_CLIENT_WCID
|
||||
#error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID!!!!
|
||||
#error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID!
|
||||
#endif
|
||||
|
||||
#define MAX_NUM_OF_WDS_LINK_PERBSSID 3
|
||||
|
|
|
@ -563,7 +563,7 @@ void MlmeAssocReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *
|
|||
pAd->Mlme.AssocMachine.CurrState = ASSOC_WAIT_RSP;
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!!!!!! \n"));
|
||||
("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!\n"));
|
||||
pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE;
|
||||
Status = MLME_INVALID_FORMAT;
|
||||
MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_ASSOC_CONF, 2,
|
||||
|
@ -746,7 +746,7 @@ void MlmeReassocReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem
|
|||
pAd->Mlme.AssocMachine.CurrState = REASSOC_WAIT_RSP;
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!!!! \n"));
|
||||
("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!\n"));
|
||||
pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE;
|
||||
Status = MLME_INVALID_FORMAT;
|
||||
MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_REASSOC_CONF, 2,
|
||||
|
|
|
@ -214,7 +214,7 @@ void MlmeCntlMachinePerformAction(struct rt_rtmp_adapter *pAd,
|
|||
break;
|
||||
#endif /* RTMP_MAC_USB // */
|
||||
default:
|
||||
DBGPRINT_ERR(("!ERROR! CNTL - Illegal message type(=%ld)",
|
||||
DBGPRINT_ERR(("ERROR! CNTL - Illegal message type(=%ld)",
|
||||
Elem->MsgType));
|
||||
break;
|
||||
}
|
||||
|
@ -911,7 +911,7 @@ void CntlWaitStartProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *E
|
|||
pAd->CommonCfg.Bssid[5]));
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("CNTL - Start IBSS fail. BUG!!!!!\n"));
|
||||
("CNTL - Start IBSS fail. BUG!\n"));
|
||||
pAd->Mlme.CntlMachine.CurrState = CNTL_IDLE;
|
||||
}
|
||||
}
|
||||
|
@ -1184,7 +1184,7 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
/* */
|
||||
/* ASSOC - DisassocTimeoutAction */
|
||||
/* CNTL - Dis-associate successful */
|
||||
/* !!! LINK DOWN !!! */
|
||||
/* ! LINK DOWN ! */
|
||||
/* [88888] OID_802_11_SSID should have returned NDTEST_WEP_AP2(Returned: ) */
|
||||
/* */
|
||||
/* To prevent DisassocTimeoutAction to call Link down after we link up, */
|
||||
|
@ -1218,12 +1218,12 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
if (pAd->CommonCfg.PhyMode >= PHY_11ABGN_MIXED)
|
||||
AdhocTurnOnQos(pAd);
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!!Adhoc LINK UP !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("Adhoc LINK UP!\n"));
|
||||
} else {
|
||||
OPSTATUS_SET_FLAG(pAd, fOP_STATUS_INFRA_ON);
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON);
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!!Infra LINK UP !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("Infra LINK UP!\n"));
|
||||
}
|
||||
|
||||
/* 3*3 */
|
||||
|
@ -1262,11 +1262,11 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16);
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
|
||||
}
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!!40MHz Lower LINK UP !!! Control Channel at Below. Central = %d \n",
|
||||
("40MHz Lower LINK UP! Control Channel at Below. Central = %d \n",
|
||||
pAd->CommonCfg.CentralChannel));
|
||||
} else if ((pAd->CommonCfg.CentralChannel < pAd->CommonCfg.Channel)
|
||||
&& (pAd->MlmeAux.HtCapability.HtCapInfo.ChannelWidth ==
|
||||
|
@ -1296,11 +1296,11 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16);
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
|
||||
}
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! 40MHz Upper LINK UP !!! Control Channel at UpperCentral = %d \n",
|
||||
("40MHz Upper LINK UP! Control Channel at UpperCentral = %d \n",
|
||||
pAd->CommonCfg.CentralChannel));
|
||||
} else {
|
||||
pAd->CommonCfg.BBPCurrentBW = BW_20;
|
||||
|
@ -1327,10 +1327,10 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x16);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x08);
|
||||
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x11);
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
|
||||
}
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!! 20MHz LINK UP !!! \n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("20MHz LINK UP!\n"));
|
||||
}
|
||||
|
||||
RTMPSetAGCInitValue(pAd, pAd->CommonCfg.BBPCurrentBW);
|
||||
|
@ -1342,12 +1342,12 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
&pAd->BbpTuning.R66CurrentValue);
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! LINK UP !!! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n",
|
||||
("LINK UP! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n",
|
||||
BssType, pAd->StaActive.Aid, pAd->CommonCfg.Ssid,
|
||||
pAd->CommonCfg.Channel, pAd->CommonCfg.CentralChannel));
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! LINK UP !!! (Density =%d, )\n",
|
||||
("LINK UP! (Density =%d, )\n",
|
||||
pAd->MacTab.Content[BSSID_WCID].MpduDensity));
|
||||
|
||||
AsicSetBssid(pAd, pAd->CommonCfg.Bssid);
|
||||
|
@ -1634,13 +1634,13 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
NdisReleaseSpinLock(&pAd->MacTabLock);
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! LINK UP !!! ClientStatusFlags=%lx)\n",
|
||||
("LINK UP! ClientStatusFlags=%lx)\n",
|
||||
pAd->MacTab.Content[BSSID_WCID].ClientStatusFlags));
|
||||
|
||||
MlmeUpdateTxRates(pAd, TRUE, BSS0);
|
||||
MlmeUpdateHtTxRates(pAd, BSS0);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! LINK UP !! (StaActive.bHtEnable =%d, )\n",
|
||||
("LINK UP! (StaActive.bHtEnable =%d, )\n",
|
||||
pAd->StaActive.SupportedPhyInfo.bHtEnable));
|
||||
|
||||
if (pAd->CommonCfg.bAggregationCapable) {
|
||||
|
@ -1811,7 +1811,7 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
|
|||
pAd->CommonCfg.IOTestParm.bLastAtheros = FALSE;
|
||||
COPY_MAC_ADDR(pAd->CommonCfg.LastBssid, pAd->CommonCfg.Bssid);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!!pAd->bNextDisableRxBA= %d \n",
|
||||
("pAd->bNextDisableRxBA= %d \n",
|
||||
pAd->CommonCfg.IOTestParm.bNextDisableRxBA));
|
||||
/* BSSID add in one MAC entry too. Because in Tx, ASIC need to check Cipher and IV/EIV, BAbitmap */
|
||||
/* Pther information in MACTab.Content[BSSID_WCID] is not necessary for driver. */
|
||||
|
@ -1893,7 +1893,7 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
|
|||
BSS0, 0);
|
||||
}
|
||||
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN !!!\n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN!\n"));
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_AGGREGATION_INUSED);
|
||||
|
||||
#ifdef RTMP_MAC_PCI
|
||||
|
@ -1921,7 +1921,7 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
|
|||
|
||||
if (ADHOC_ON(pAd)) /* Adhoc mode link down */
|
||||
{
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 1!!!\n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 1!\n"));
|
||||
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON);
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED);
|
||||
|
@ -1931,10 +1931,10 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
|
|||
BssTableDeleteEntry(&pAd->ScanTab, pAd->CommonCfg.Bssid,
|
||||
pAd->CommonCfg.Channel);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! MacTab.Size=%d !!!\n", pAd->MacTab.Size));
|
||||
(" MacTab.Size=%d !\n", pAd->MacTab.Size));
|
||||
} else /* Infra structure mode */
|
||||
{
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 2!!!\n"));
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 2!\n"));
|
||||
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_INFRA_ON);
|
||||
OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED);
|
||||
|
|
|
@ -192,7 +192,7 @@ void STARxEAPOLFrameIndicate(struct rt_rtmp_adapter *pAd,
|
|||
pRxWI->RSSI1, pRxWI->RSSI2,
|
||||
pRxD->PlcpSignal);
|
||||
DBGPRINT_RAW(RT_DEBUG_TRACE,
|
||||
("!!! report EAPOL/AIRONET DATA to MLME (len=%d) !!!\n",
|
||||
("report EAPOL/AIRONET DATA to MLME (len=%d) !\n",
|
||||
pRxBlk->DataSize));
|
||||
}
|
||||
}
|
||||
|
@ -940,7 +940,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
|
|||
|
||||
if (pSrcBufVA == NULL) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("STASendPacket --> pSrcBufVA == NULL !!!SrcBufLen=%x\n",
|
||||
("STASendPacket --> pSrcBufVA == NULL !SrcBufLen=%x\n",
|
||||
SrcBufLen));
|
||||
/* Resourece is low, system did not allocate virtual address */
|
||||
/* return NDIS_STATUS_FAILURE directly to upper layer */
|
||||
|
@ -950,7 +950,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
|
|||
|
||||
if (SrcBufLen < 14) {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("STASendPacket --> Ndis Packet buffer error !!!\n"));
|
||||
("STASendPacket --> Ndis Packet buffer error!\n"));
|
||||
RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE);
|
||||
return (NDIS_STATUS_FAILURE);
|
||||
}
|
||||
|
@ -1007,7 +1007,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
|
|||
&& (RTMP_GET_PACKET_EAPOL(pPacket) == FALSE)
|
||||
) {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("STASendPacket --> Drop packet before port secured !!!\n"));
|
||||
("STASendPacket --> Drop packet before port secured!\n"));
|
||||
RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE);
|
||||
|
||||
return (NDIS_STATUS_FAILURE);
|
||||
|
@ -1680,7 +1680,7 @@ void STA_AMPDU_Frame_Tx(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk)
|
|||
|
||||
pMacEntry = pTxBlk->pMacEntry;
|
||||
if (pMacEntry->isCached) {
|
||||
/* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]!!!! */
|
||||
/* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]! */
|
||||
NdisMoveMemory((u8 *)& pTxBlk->
|
||||
HeaderBuf[TXINFO_SIZE],
|
||||
(u8 *)& pMacEntry->CachedBuf[0],
|
||||
|
@ -2506,7 +2506,7 @@ int STAHardTransmit(struct rt_rtmp_adapter *pAd,
|
|||
{
|
||||
/* It should not happened! */
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("Send a pacekt was not classified!! It should not happen!\n"));
|
||||
("Send a packet was not classified! It should not happen!\n"));
|
||||
while (pTxBlk->TxPacketList.Number) {
|
||||
pQEntry =
|
||||
RemoveHeadQueue(&pTxBlk->TxPacketList);
|
||||
|
|
|
@ -150,7 +150,7 @@ BOOLEAN PeerAssocRspSanity(struct rt_rtmp_adapter *pAd, void * pMsg, unsigned lo
|
|||
|
||||
case IE_HT_CAP:
|
||||
case IE_HT_CAP2:
|
||||
if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension.!! */
|
||||
if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension! */
|
||||
{
|
||||
NdisMoveMemory(pHtCapability, pEid->Octet,
|
||||
SIZE_HT_CAP_IE);
|
||||
|
|
|
@ -600,7 +600,7 @@ int rt_ioctl_siwap(struct net_device *dev,
|
|||
if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
|
||||
RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! MLME busy, reset MLME state machine !!!\n"));
|
||||
("MLME busy, reset MLME state machine!\n"));
|
||||
}
|
||||
/* tell CNTL state machine to call NdisMSetInformationComplete() after completing */
|
||||
/* this request, because this request is initiated by NDIS. */
|
||||
|
@ -741,7 +741,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
|
|||
|
||||
if (MONITOR_ON(pAdapter)) {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! Driver is in Monitor Mode now !!!\n"));
|
||||
("Driver is in Monitor Mode now!\n"));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -758,7 +758,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
|
|||
if ((pAdapter->StaCfg.WpaSupplicantUP == WPA_SUPPLICANT_ENABLE)
|
||||
&& (pAdapter->StaCfg.WpaSupplicantScanCount > 3)) {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! WpaSupplicantScanCount > 3\n"));
|
||||
("WpaSupplicantScanCount > 3\n"));
|
||||
Status = NDIS_STATUS_SUCCESS;
|
||||
break;
|
||||
}
|
||||
|
@ -771,7 +771,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
|
|||
&& (pAdapter->StaCfg.PortSecured ==
|
||||
WPA_802_1X_PORT_NOT_SECURED)) {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n"));
|
||||
("Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n"));
|
||||
Status = NDIS_STATUS_SUCCESS;
|
||||
break;
|
||||
}
|
||||
|
@ -779,7 +779,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
|
|||
if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
|
||||
RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! MLME busy, reset MLME state machine !!!\n"));
|
||||
("MLME busy, reset MLME state machine!\n"));
|
||||
}
|
||||
/* tell CNTL state machine to call NdisMSetInformationComplete() after completing */
|
||||
/* this request, because this request is initiated by NDIS. */
|
||||
|
@ -2256,7 +2256,7 @@ int rt_ioctl_siwpmksa(struct net_device *dev,
|
|||
break;
|
||||
default:
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("rt_ioctl_siwpmksa - Unknow Command!!\n"));
|
||||
("rt_ioctl_siwpmksa - Unknown Command!\n"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2664,7 +2664,7 @@ int Set_SSID_Proc(struct rt_rtmp_adapter *pAdapter, char *arg)
|
|||
if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
|
||||
RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("!!! MLME busy, reset MLME state machine !!!\n"));
|
||||
("MLME busy, reset MLME state machine!\n"));
|
||||
}
|
||||
|
||||
if ((pAdapter->StaCfg.WpaPassPhraseLen >= 8) &&
|
||||
|
|
|
@ -584,7 +584,7 @@ void RTUSBWatchDog(struct rt_rtmp_adapter *pAd)
|
|||
RTMP_IO_READ32(pAd, TXRXQ_PCNT, &MACValue);
|
||||
if ((MACValue & 0xff) != 0) {
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("TX QUEUE 0 Not EMPTY(Value=0x%0x). !!!!!!!!!!!!!!!\n",
|
||||
("TX QUEUE 0 Not EMPTY(Value=0x%0x)!\n",
|
||||
MACValue));
|
||||
RTMP_IO_WRITE32(pAd, PBF_CFG, 0xf40012);
|
||||
while ((MACValue & 0xff) != 0 && (idx++ < 10)) {
|
||||
|
@ -707,7 +707,7 @@ void RTUSBWatchDog(struct rt_rtmp_adapter *pAd)
|
|||
}
|
||||
} else {
|
||||
DBGPRINT(RT_DEBUG_ERROR,
|
||||
("Unkonw bulkOut URB maybe hanged!!!!!!!!!!!!\n"));
|
||||
("Unknown bulkOut URB maybe hanged!\n"));
|
||||
}
|
||||
} else {
|
||||
RTMP_IRQ_UNLOCK(&pAd->BulkOutLock[idx],
|
||||
|
|
Loading…
Reference in New Issue