Merge "Wlan: Lower the log level for unhandled Action frame logs"
diff --git a/CORE/MAC/src/pe/lim/limProcessActionFrame.c b/CORE/MAC/src/pe/lim/limProcessActionFrame.c
index ce2fff9..869b30f 100644
--- a/CORE/MAC/src/pe/lim/limProcessActionFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessActionFrame.c
@@ -2277,7 +2277,9 @@
__limProcessQosMapConfigureFrame(pMac, (tANI_U8 *) pRxPacketInfo,psessionEntry);
break;
default:
- PELOGE(limLog(pMac, LOGE, FL("Qos action %d not handled"), pActionHdr->actionID);)
+ limLog(pMac, LOG1,
+ FL("Qos action %d not handled"),
+ pActionHdr->actionID);
break;
}
break ;
@@ -2319,7 +2321,9 @@
}
break;
default:
- PELOGE(limLog(pMac, LOGE, FL("Spectrum mgmt action id %d not handled"), pActionHdr->actionID);)
+ limLog(pMac, LOG1,
+ FL("Spectrum mgmt action id %d not handled"),
+ pActionHdr->actionID);
break;
}
break;
@@ -2350,7 +2354,8 @@
break;
default:
- PELOGE(limLog(pMac, LOGE, FL("WME action %d not handled"), pActionHdr->actionID);)
+ limLog(pMac, LOG1, FL("WME action %d not handled"),
+ pActionHdr->actionID);
break;
}
break;
@@ -2387,7 +2392,9 @@
__limProcessSMPowerSaveUpdate(pMac, (tANI_U8 *) pRxPacketInfo,psessionEntry);
break;
default:
- PELOGE(limLog(pMac, LOGE, FL("Action ID %d not handled in HT Action category"), pActionHdr->actionID);)
+ limLog(pMac, LOG1,
+ FL("Action ID %d not handled in HT Action category"),
+ pActionHdr->actionID);
break;
}
break;
@@ -2439,7 +2446,8 @@
__limProcessNeighborReport( pMac, (tANI_U8*) pRxPacketInfo, psessionEntry );
break;
default:
- PELOGE( limLog( pMac, LOGE, FL("Action ID %d not handled in RRM"), pActionHdr->actionID);)
+ limLog( pMac, LOG1, FL("Action ID %d not handled in RRM"),
+ pActionHdr->actionID);
break;
}
@@ -2447,7 +2455,8 @@
else
{
// Else we will just ignore the RRM messages.
- PELOGE( limLog( pMac, LOGE, FL("RRM Action frame ignored as RRM is disabled in cfg"));)
+ limLog( pMac, LOG1,
+ FL("RRM Action frame ignored as RRM is disabled in cfg"));
}
break;
#endif
@@ -2477,13 +2486,14 @@
}
else
{
- limLog( pMac, LOGE, FL("Dropping the vendor specific action frame because of( "
- "WES Mode not enabled (WESMODE = %d) or OUI mismatch (%02x %02x %02x) or "
- "not received with SelfSta Mac address) system role = %d"),
- IS_WES_MODE_ENABLED(pMac),
- pVendorSpecific->Oui[0], pVendorSpecific->Oui[1],
- pVendorSpecific->Oui[2],
- psessionEntry->limSystemRole );
+ limLog( pMac, LOG1,
+ FL("Dropping the vendor specific action frame because of( "
+ "WES Mode not enabled (WESMODE = %d) or OUI mismatch (%02x %02x %02x) or "
+ "not received with SelfSta Mac address) system role = %d"),
+ IS_WES_MODE_ENABLED(pMac),
+ pVendorSpecific->Oui[0], pVendorSpecific->Oui[1],
+ pVendorSpecific->Oui[2],
+ psessionEntry->limSystemRole );
}
}
break;
@@ -2506,8 +2516,10 @@
}
else
{
- limLog( pMac, LOGE, FL("Unhandled public action frame (Vendor specific). OUI %x %x %x %x"),
- pPubAction->Oui[0], pPubAction->Oui[1], pPubAction->Oui[2], pPubAction->Oui[3] );
+ limLog( pMac, LOG1,
+ FL("Unhandled public action frame (Vendor specific). OUI %x %x %x %x"),
+ pPubAction->Oui[0], pPubAction->Oui[1],
+ pPubAction->Oui[2], pPubAction->Oui[3] );
}
}
break;
@@ -2542,7 +2554,8 @@
#endif
default:
- PELOGE(limLog(pMac, LOGE, FL("Unhandled public action frame -- %x "), pActionHdr->actionID);)
+ limLog(pMac, LOG1, FL("Unhandled public action frame -- %x "),
+ pActionHdr->actionID);
break;
}
break;
@@ -2589,7 +2602,8 @@
}
#endif
default:
- PELOGE(limLog(pMac, LOGE, FL("Action category %d not handled"), pActionHdr->category);)
+ limLog(pMac, LOG1,
+ FL("Action category %d not handled"), pActionHdr->category);
break;
}
}
@@ -2639,19 +2653,24 @@
}
else
{
- limLog( pMac, LOGE, FL("Unhandled public action frame (Vendor specific). OUI %x %x %x %x"),
- pActionHdr->Oui[0], pActionHdr->Oui[1], pActionHdr->Oui[2], pActionHdr->Oui[3] );
+ limLog( pMac, LOG1,
+ FL("Unhandled public action frame (Vendor specific). OUI %x %x %x %x"),
+ pActionHdr->Oui[0], pActionHdr->Oui[1],
+ pActionHdr->Oui[2], pActionHdr->Oui[3]);
}
}
break;
default:
- PELOGE(limLog(pMac, LOGE, FL("Unhandled public action frame -- %x "), pActionHdr->actionID);)
+ limLog(pMac, LOG1,
+ FL("Unhandled public action frame -- %x "), pActionHdr->actionID);
break;
}
break;
default:
- PELOGE(limLog(pMac, LOG1, FL("Unhandled action frame without session -- %x "), pActionHdr->category);)
- break;
+ limLog(pMac, LOG1,
+ FL("Unhandled action frame without session -- %x "),
+ pActionHdr->category);
+ break;
}
}